1globalThis.$localize=Object.assign(globalThis.$localize || {},{locale:"en"}); 2"use strict";(function(global,_global$ng,_global$ng2,_global$ng2$common,_global$ng$common,_global$ng$common$loc){(_global$ng=global.ng)!==null&&_global$ng!==void 0?_global$ng:global.ng={};(_global$ng2$common=(_global$ng2=global.ng).common)!==null&&_global$ng2$common!==void 0?_global$ng2$common:_global$ng2.common={};(_global$ng$common$loc=(_global$ng$common=global.ng.common).locales)!==null&&_global$ng$common$loc!==void 0?_global$ng$common$loc:_global$ng$common.locales={};const u=undefined;function plural(val){const n=val,i=Math.floor(Math.abs(val)),v=val.toString().replace(/^[^.]*\.?/,"").length;if(i===1&&v===0)return 1;return 5}global.ng.common.locales["en"]=["en",[["a","p"],["AM","PM"],u],[["AM","PM"],u,u],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],u,[["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"]],u,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",u,"{1} 'at' {0}",u],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",plural,[[["mi","n","in the morning","in the afternoon","in the evening","at night"],["midnight","noon","in the morning","in the afternoon","in the evening","at night"],u],[["midnight","noon","morning","afternoon","evening","night"],u,u],["00:00","12:00",["06:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","06:00"]]]]})(globalThis);; 3(self.webpackChunkvizor_site=self.webpackChunkvizor_site||[]).push([[179],{689:()=>{"use strict";let yt=null,ts=1;const ns=Symbol("SIGNAL");function Ct(e){const n=yt;return yt=e,n}function Ry(e){if((!Pa(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==ts)){if(!e.producerMustRecompute(e)&&!Ph(e))return e.dirty=!1,void(e.lastCleanEpoch=ts);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=ts}}function Ph(e){is(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],i=e.producerLastReadVersion[n];if(i!==t.version||(Ry(t),i!==t.version))return!0}return!1}function Gc(e,n){if(function Gy(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),is(e),1===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)Gc(e.producerNode[i],e.producerIndexOfThis[i]);const t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[n],o=e.liveConsumerNode[n];is(o),o.producerIndexOfThis[i]=n}}function Pa(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function is(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Uy=null;function Ve(e){return"function"==typeof e}function Nh(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const Rh=Nh(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,o)=>`${o+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Uc(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Rt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const r of t)r.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(Ve(i))try{i()}catch(r){n=r instanceof Rh?r.errors:[r]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const r of o)try{Xy(r)}
3catch(s){n=n??[],s instanceof Rh?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Rh(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Xy(n);else{if(n instanceof Rt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Uc(t,n)}remove(n){const{_finalizers:t}=this;t&&Uc(t,n),n instanceof Rt&&n._removeParent(this)}}Rt.EMPTY=(()=>{const e=new Rt;return e.closed=!0,e})();const qy=Rt.EMPTY;function Yy(e){return e instanceof Rt||e&&"closed"in e&&Ve(e.remove)&&Ve(e.add)&&Ve(e.unsubscribe)}function Xy(e){Ve(e)?e():e.unsubscribe()}const pr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Hc={setTimeout(e,n,...t){const{delegate:i}=Hc;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Hc;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ky(e){Hc.setTimeout(()=>{const{onUnhandledError:n}=pr;if(!n)throw e;n(e)})}function Fh(){}const hk=Lh("C",void 0,void 0);function Lh(e,n,t){return{kind:e,value:n,error:t}}let mr=null;function Wc(e){if(pr.useDeprecatedSynchronousErrorHandling){const n=!mr;if(n&&(mr={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=mr;if(mr=null,t)throw i}}else e()}class $h extends Rt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Yy(n)&&n.add(this)):this.destination=yk}static create(n,t,i){return new os(n,t,i)}next(n){this.isStopped?Bh(function mk(e){return Lh("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Bh(function pk(e){return Lh("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Bh(hk,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const _k=Function.prototype.bind;function Vh(e,n){return _k.call(e,n)}class vk{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){qc(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){qc(i)}else qc(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){qc(t)}}}class os extends $h{constructor(n,t,i){let o;if(super(),Ve(n)||!n)o={next:n??void 0,error:t??void 0,complete:i??void 0};else{let r;this&&pr.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Vh(n.next,r),error:n.error&&Vh(n.error,r),complete:n.complete&&Vh(n.complete,r)}):o=n}this.destination=new vk(o)}}function qc(e){pr.useDeprecatedSynchronousErrorHandling?function gk(e){pr.useDeprecatedSynchronousErrorHandling&&mr&&(mr.errorThrown=!0,mr.error=e)}(e):Ky(e)}function Bh(e,n){const{onStoppedNotification:t}=pr;t&&Hc.setTimeout(()=>t(e,n))}const yk={closed:!0,next:Fh,error:function bk(e){throw e},complete:Fh},jh="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ao(e){return e}function Zy(e){return 0===e.length?Ao:1===e.length?e[0]:function(t){return e.reduce((i,o)=>o(i),t)}}let pt=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,o){const r=function wk(e){return e&&e instanceof $h||function Ek(e){return e&&Ve(e.next)&&Ve(e.error)&&Ve(e.complete)}(e)&&Yy(e)}(t)?t:new os(t,i,o);return Wc(()=>{const{operator:s,source:a}=this;r.add(s?s.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=Qy(i))((o,r)=>{const s=new os({next:a=>{try{t(a)}catch(l){r(l),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[jh](){return this}pipe(...t){return Zy(t)(this)}toPromise(t){return new(t=Qy(t))((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return e.create=n=>new e(n),e})();function Qy(e){var n;return null!==(n=e??pr.Promise)&&void 0!==n?n:Promise}const Sk=Nh(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Se=(()=>{class e extends pt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new Jy(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new Sk}next(t){Wc(()=>
3{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){Wc(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){Wc(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:o,observers:r}=this;return i||o?qy:(this.currentObservers=null,r.push(t),new Rt(()=>{this.currentObservers=null,Uc(r,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:o,isStopped:r}=this;i?t.error(o):r&&t.complete()}asObservable(){const t=new pt;return t.source=this,t}}return e.create=(n,t)=>new Jy(n,t),e})();class Jy extends Se{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:qy}}class Fe extends Se{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function eC(e){return Ve(e?.lift)}function xt(e){return n=>{if(eC(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function gt(e,n,t,i,o){return new Mk(e,n,t,i,o)}class Mk extends $h{constructor(n,t,i,o,r,s){super(n),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Oe(e,n){return xt((t,i)=>{let o=0;t.subscribe(gt(i,r=>{i.next(e.call(n,r,o++))}))})}
3const ka=Nh(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function nn(e,n){return xt((t,i)=>{let o=0;t.subscribe(gt(i,r=>e.call(n,r,o++)&&i.next(r)))})}const Ti=new pt(e=>e.complete());function un(e){return e<=0?()=>Ti:xt((n,t)=>{let i=0;n.subscribe(gt(t,o=>{++i<=e&&(t.next(o),e<=i&&t.complete())}))})}function Yc(e){return xt((n,t)=>{let i=!1;n.subscribe(gt(t,o=>{i=!0,t.next(o)},()=>{i||t.next(e),t.complete()}))})}function tC(e=Dk){return xt((n,t)=>{let i=!1;n.subscribe(gt(t,o=>{i=!0,t.next(o)},()=>i?t.complete():t.error(e())))})}function Dk(){return new ka}function ro(e,n){const t=arguments.length>=2;return i=>i.pipe(e?nn((o,r)=>e(o,r,i)):Ao,un(1),t?Yc(n):tC(()=>new ka))}const nC="https://g.co/ng/security#xss";class N extends Error{constructor(n,t){super(function Po(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function qe(e){for(let n in e)if(e[n]===qe)return n;throw Error("Could not find renamed property on target object.")}function Ok(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function zt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(zt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function zh(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const Ak=qe({__forward_ref__:qe});function ot(e){return e.__forward_ref__=ot,e.toString=function(){return zt(this())},e}function ce(e){return Xc(e)?e():e}function Xc(e){return"function"==typeof e&&e.hasOwnProperty(Ak)&&e.__forward_ref__===ot}function Gh(e){return e&&!!e.\u0275providers}const Na=qe({\u0275cmp:qe}),Uh=qe({\u0275dir:qe}),Hh=qe({\u0275pipe:qe}),rC=qe({\u0275mod:qe}),so=qe({\u0275fac:qe}),Ra=qe({__NG_ELEMENT_ID__:qe}),sC=qe({__NG_ENV_ID__:qe});function me(e){return"string"==typeof e?e:null==e?"":String(e)}function Wh(e,n){throw new N(-201,!1)}function de(e,n,t,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${t} ${i} ${n} <=Actual]`))}function H(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ke(e){return{providers:e.providers||[],imports:e.imports||[]}}function Kc(e){return aC(e,Qc)||aC(e,lC)}function aC(e,n){return e.hasOwnProperty(n)?e[n]:null}function Zc(e){return e&&(e.hasOwnProperty(qh)||e.hasOwnProperty(Bk))?e[qh]:null}const Qc=qe({\u0275prov:qe}),qh=qe({\u0275inj:qe}),lC=qe({ngInjectableDef:qe}),Bk=qe({ngInjectorDef:qe});var Ie=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Ie||{});let Yh;function cC(){return Yh}function kn(e){const n=Yh;return Yh=e,n}function dC(e,n,t){const i=Kc(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&Ie.Optional?null:void 0!==n?n:void Wh()}const rt=globalThis;class W{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=H({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Fa={},Jh="__NG_DI_FLAG__",Jc="ngTempTokenPath",Gk=/\n/gm,fC="__source";let rs;function No(e){const n=rs;return rs=e,n}function Wk(e,n=Ie.Default){if(void 0===rs)throw new N(-203,!1);return null===rs?dC(e,void 0,n):rs.get(e,n&Ie.Optional?null:void 0,n)}function T(e,n=Ie.Default){return(cC()||Wk)(ce(e),n)}function G(e,n=Ie.Default){return T(e,ed(n))}function ed(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ep(e){const n=[];for(let t=0;t<e.length;t++){const i=ce(e[t]);if(Array.isArray(i)){if(0===i.length)throw new N(900,!1);let o,r=Ie.Default;for(let s=0;s<i.length;s++){const a=i[s],l=qk(a);"number"==typeof l?-1===l?o=a.token:r|=l:o=a}n.push(T(o,r))}else n.push(T(i))}return n}function La(e,n){return e[Jh]=n,e.prototype[Jh]=n,e}function qk(e){return e[Jh]}function ao(e){return{toString:e}.toString()}var td=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(td||{}),mi=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(mi||{});const Oi={},Be=[];var Ce=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ce||{});function pC(e,n,t){let i=e.length;for(;;){const o=e.indexOf(n,t);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const r=n.length;if(o+r===i||e.charCodeAt(o+r)<=32)return o}t=o+1}}function tp(e,n,t){let i=0;for(;i<t.length;){const o=t[i];if("number"==typeof o){if(0!==o)break;i++;const r=t[i++],s=t[i++],a=t[i++];e.setAttribute(n,s,a,r)}else{const r=o,s=t[++i];gC(r)?e.setProperty(n,r,s):e.setAttribute(n,r,s),i++}}return i}function mC(e){return 3===e||4===e||6===e}function gC(e){return 64===e.charCodeAt(0)}function $a(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let i=0;i<n.length;i++){const o=n[i];"number"==typeof o?t=o:0===t||_C(e,t,o,null,-1===t||2===t?n[++i]:null)}}return e}function _C(e,n,t,i,o){let r=0,s=e.length;if(-1===n)s=-1;else for(;r<e.length;){const a=e[r++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=r-1;break}}}for(;r<e.length;){const a=e[r];if("number"==typeof a)break;if(a===t){if(null===i)return void(null!==o&&(e[r+1]=o));if(i===e[r+1])return void(e[r+2]=o)}r++,null!==i&&r++,null!==o&&r++}-1!==s&&(e.splice(s,0,n),r=s+1),e.splice(r++,0,t),null!==i&&e.splice(r++,0,i),null!==o&&e.splice(r++,0,o)}const vC="ng-template";function Kk(e,n,t){let i=0,o=!0;for(;i<e.length;){let r=e[i++];if("string"==typeof r&&o){const s=e[i++];if(t&&"class"===r&&-1!==pC(s.toLowerCase(),n,0))return!0}else{if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===n)return!0;return!1}"number"==typeof r&&(o=!1)}}return!1}function bC(e){return 4===e.type&&e.value!==vC}function Zk(e,n,t){return n===(4!==e.type||t?e.value:vC)}function Qk(e,n,t){let i=4;const o=e.attrs||[],r=function tN(e){for(let n=0;n<e.length;n++)if(mC(e[n]))return n;return e.length}(o);let s=!1;for(let a=0;a<n.length;a++){const l=n[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!Zk(e,l,t)||""===l&&1===n.length){if(gi(i))return!1;s=!0}}else{const c=8&i?l:n[++a];if(8&i&&null!==e.attrs){if(!Kk(e.attrs,c,t)){if(gi(i))return!1;s=!0}continue}const u=Jk(8&i?"class":l,o,bC(e),t);if(-1===u){if(gi(i))return!1;s=!0;continue}if(""!==c){let f;f=u>r?"":o[u+1].toLowerCase();const h=8&i?f:null;if(h&&-1!==pC(h,c,0)||2&i&&c!==f){if(gi(i))return!1;s=!0}}}}else{if(!s&&!gi(i)&&!gi(l))return!1;if(s&&gi(l))continue;s=!1,i=l|1&i}}return gi(i)||s}function gi(e){return 0==(1&e)}function Jk(e,n,t,i){if(null===n)return-1;let o=0;if(i||!t){let r=!1;for(;o<n.length;){const s=n[o];if(s===e)return o;if(3===s||6===s)r=!0;else{if(1===s||2===s){let a=n[++o];for(;"string"==typeof a;)a=n[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}
3o+=r?1:2}return-1}return function nN(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const i=e[t];if("number"==typeof i)return-1;if(i===n)return t;t++}return-1}(n,e)}function yC(e,n,t=!1){for(let i=0;i<n.length;i++)if(Qk(e,n[i],t))return!0;return!1}function iN(e,n){e:for(let t=0;t<n.length;t++){const i=n[t];if(e.length===i.length){for(let o=0;o<e.length;o++)if(e[o]!==i[o])continue e;return!0}}return!1}function CC(e,n){return e?":not("+n.trim()+")":n}function oN(e){let n=e[0],t=1,i=2,o="",r=!1;for(;t<e.length;){let s=e[t];if("string"==typeof s)if(2&i){const a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?o+="."+s:4&i&&(o+=" "+s);else""!==o&&!gi(s)&&(n+=CC(r,o),o=""),i=s,r=r||!gi(i);t++}return""!==o&&(n+=CC(r,o)),n}function ne(e){return ao(()=>{const n=wC(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===td.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||mi.Emulated,styles:e.styles||Be,_:null,schemas:e.schemas||null,tView:null,id:""};SC(t);const i=e.dependencies;return t.directiveDefs=nd(i,!1),t.pipeDefs=nd(i,!0),t.id=function dN(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of t)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function aN(e){return De(e)||Gt(e)}function lN(e){return null!==e}function tt(e){return ao(()=>({type:e.type,bootstrap:e.bootstrap||Be,declarations:e.declarations||Be,imports:e.imports||Be,exports:e.exports||Be,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function EC(e,n){if(null==e)return Oi;const t={};for(const i in e)if(e.hasOwnProperty(i)){const o=e[i];let r,s,a=Ce.None;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r):(r=o,s=o),n?(t[r]=a!==Ce.None?[i,a]:i,n[r]=s):t[r]=i}return t}function oe(e){return ao(()=>{const n=wC(e);return SC(n),n})}function Zt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function De(e){return e[Na]||null}function Gt(e){return e[Uh]||null}function on(e){return e[Hh]||null}function fn(e,n){const t=e[rC]||null;if(!t&&!0===n)throw new Error(`Type ${zt(e)} does not have '\u0275mod' property.`);return t}function wC(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||Oi,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Be,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:EC(e.inputs,n),outputs:EC(e.outputs),debugInfo:null}}function SC(e){e.features?.forEach(n=>n(e))}function nd(e,n){if(!e)return null;const t=n?on:aN;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(lN)}const Et=0,X=1,le=2,Dt=3,_i=4,hn=5,vi=6,ss=7,st=8,Cn=9,lo=10,ve=11,Va=12,MC=13,as=14,_t=15,Ba=16,ls=17,Ii=18,ja=19,xC=20,Fo=21,id=22,gr=23,ge=25,np=1,za=6,Ai=7,cs=9,Tt=10;var ip=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(ip||{});function pn(e){return Array.isArray(e)&&"object"==typeof e[np]}function mn(e){return Array.isArray(e)&&!0===e[np]}function op(e){return 0!=(4&e.flags)}function _r(e){return e.componentOffset>-1}function rd(e){return 1==(1&e.flags)}function bi(e){return!!e.template}function rp(e){return 0!=(512&e[le])}function vr(e,n){return e.hasOwnProperty(so)?e[so]:null}class pN{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}
3function IC(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function rn(){return AC}function AC(e){return e.type.prototype.ngOnChanges&&(e.setInput=gN),mN}function mN(){const e=kC(this),n=e?.current;if(n){const t=e.previous;if(t===Oi)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function gN(e,n,t,i,o){const r=this.declaredInputs[i],s=kC(e)||function _N(e,n){return e[PC]=n}(e,{previous:Oi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[r];a[r]=new pN(c&&c.currentValue,t,l===Oi),IC(e,n,o,t)}rn.ngInherit=!0;const PC="__ngSimpleChanges__";function kC(e){return e[PC]||null}const Pi=function(e,n,t){};let FC=!1;function at(e){for(;Array.isArray(e);)e=e[Et];return e}function Ga(e,n){return at(n[e])}function En(e,n){return at(n[e.index])}function Ua(e,n){return e.data[n]}function ds(e,n){return e[n]}function Bn(e,n){const t=n[e];return pn(t)?t:t[Et]}function dp(e){return 128==(128&e[le])}function ki(e,n){return null==n?null:e[n]}function LC(e){e[ls]=0}function wN(e){1024&e[le]||(e[le]|=1024,dp(e)&&Ha(e))}function VC(e){return 9216&e[le]||e[gr]?.dirty}function up(e){VC(e)?Ha(e):64&e[le]&&(function bN(){return FC}()?(e[le]|=1024,Ha(e)):e[lo].changeDetectionScheduler?.notify())}function Ha(e){e[lo].changeDetectionScheduler?.notify();let n=br(e);for(;null!==n&&!(8192&n[le])&&(n[le]|=8192,dp(n));)n=br(n)}function sd(e,n){if(256==(256&e[le]))throw new N(911,!1);null===e[Fo]&&(e[Fo]=[]),e[Fo].push(n)}function br(e){const n=e[Dt];return mn(n)?n[Dt]:n}const fe={lFrame:XC(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function jC(){return fe.bindingsEnabled}function us(){return null!==fe.skipHydrationRootTNode}function j(){return fe.lFrame.lView}function Ne(){return fe.lFrame.tView}function Me(e){return fe.lFrame.contextLView=e,e[st]}function xe(e){return fe.lFrame.contextLView=null,e}function Ze(){let e=zC();for(;null!==e&&64===e.type;)e=e.parent;return e}function zC(){return fe.lFrame.currentTNode}function Wa(){const e=fe.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Ni(e,n){const t=fe.lFrame;t.currentTNode=e,t.isParent=n}function hp(){return fe.lFrame.isParent}function pp(){fe.lFrame.isParent=!1}function wn(){const e=fe.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function co(){return fe.lFrame.bindingIndex}function Ri(){return fe.lFrame.bindingIndex++}function uo(e){const n=fe.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function HC(e){fe.lFrame.inI18n=e}function NN(e,n){const t=fe.lFrame;t.bindingIndex=t.bindingRootIndex=e,mp(n)}function mp(e){fe.lFrame.currentDirectiveIndex=e}function gp(e){const n=fe.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}function WC(){return fe.lFrame.currentQueryIndex}function _p(e){fe.lFrame.currentQueryIndex=e}function FN(e){const n=e[X];return 2===n.type?n.declTNode:1===n.type?e[hn]:null}function qC(e,n,t){if(t&Ie.SkipSelf){let o=n,r=e;for(;!(o=o.parent,null!==o||t&Ie.Host||(o=FN(r),null===o||(r=r[as],10&o.type))););if(null===o)return!1;n=o,e=r}const i=fe.lFrame=YC();return i.currentTNode=n,i.lView=e,!0}function vp(e){const n=YC(),t=e[X];fe.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function YC(){const e=fe.lFrame,n=null===e?null:e.child;return null===n?XC(e):n}function XC(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function KC(){const e=fe.lFrame;return fe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ZC=KC;function bp(){const e=KC();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function gn(){return fe.lFrame.selectedIndex}function yr(e){fe.lFrame.selectedIndex=e}function dt(){const e=fe.lFrame;
3return Ua(e.tView,e.selectedIndex)}function QC(){return fe.lFrame.currentNamespace}let JC=!0;function ad(){return JC}function Lo(e){JC=e}function ld(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){const r=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=r;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),l&&(e.viewHooks??=[]).push(-t,l),c&&((e.viewHooks??=[]).push(t,c),(e.viewCheckHooks??=[]).push(t,c)),null!=d&&(e.destroyHooks??=[]).push(t,d)}}function cd(e,n,t){e0(e,n,3,t)}function dd(e,n,t,i){(3&e[le])===t&&e0(e,n,t,i)}function yp(e,n){let t=e[le];(3&t)===n&&(t&=16383,t+=1,e[le]=t)}function e0(e,n,t,i){const r=i??-1,s=n.length-1;let a=0;for(let l=void 0!==i?65535&e[ls]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=i&&a>=i)break}else n[l]<0&&(e[ls]+=65536),(a<r||-1==r)&&(GN(e,t,n,l),e[ls]=(4294901760&e[ls])+l+2),l++}function t0(e,n){Pi(4,e,n);const t=Ct(null);try{n.call(e)}finally{Ct(t),Pi(5,e,n)}}function GN(e,n,t,i){const o=t[i]<0,r=t[i+1],a=e[o?-t[i]:t[i]];o?e[le]>>14<e[ls]>>16&&(3&e[le])===n&&(e[le]+=16384,t0(a,r)):t0(a,r)}const fs=-1;class qa{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function Ep(e){return e!==fs}function Ya(e){return 32767&e}function Xa(e,n){let t=function YN(e){return e>>16}(e),i=n;for(;t>0;)i=i[as],t--;return i}let wp=!0;function ud(e){const n=wp;return wp=e,n}const n0=255,o0=5;let XN=0;const Fi={};function fd(e,n){const t=r0(e,n);if(-1!==t)return t;const i=n[X];i.firstCreatePass&&(e.injectorIndex=n.length,Sp(i.data,e),Sp(n,null),Sp(i.blueprint,null));const o=hd(e,n),r=e.injectorIndex;if(Ep(o)){const s=Ya(o),a=Xa(o,n),l=a[X].data;for(let c=0;c<8;c++)n[r+c]=a[s+c]|l[s+c]}return n[r+8]=o,r}function Sp(e,n){e.push(0,0,0,0,0,0,0,0,n)}function r0(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function hd(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,o=n;for(;null!==o;){if(i=f0(o),null===i)return fs;if(t++,o=o[as],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return fs}function Mp(e,n,t){!function KN(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Ra)&&(i=t[Ra]),null==i&&(i=t[Ra]=XN++);const o=i&n0;n.data[e+(o>>o0)]|=1<<o}(e,n,t)}function s0(e,n,t){if(t&Ie.Optional||void 0!==e)return e;Wh()}function a0(e,n,t,i){if(t&Ie.Optional&&void 0===i&&(i=null),!(t&(Ie.Self|Ie.Host))){const o=e[Cn],r=kn(void 0);try{return o?o.get(n,i,t&Ie.Optional):dC(n,i,t&Ie.Optional)}finally{kn(r)}}return s0(i,0,t)}function l0(e,n,t,i=Ie.Default,o){if(null!==e){if(2048&n[le]&&!(i&Ie.Self)){const s=function tR(e,n,t,i,o){let r=e,s=n;for(;null!==r&&null!==s&&2048&s[le]&&!(512&s[le]);){const a=c0(r,s,t,i|Ie.Self,Fi);if(a!==Fi)return a;let l=r.parent;if(!l){const c=s[xC];if(c){const d=c.get(t,Fi,i);if(d!==Fi)return d}l=f0(s),s=s[as]}r=l}return o}(e,n,t,i,Fi);if(s!==Fi)return s}const r=c0(e,n,t,i,Fi);if(r!==Fi)return r}return a0(n,t,i,o)}function c0(e,n,t,i,o){const r=function JN(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(Ra)?e[Ra]:void 0;return"number"==typeof n?n>=0?n&n0:eR:n}(t);if("function"==typeof r){if(!qC(n,e,i))return i&Ie.Host?s0(o,0,i):a0(n,t,i,o);try{let s;if(s=r(i),null!=s||i&Ie.Optional)return s;Wh()}finally{ZC()}}else if("number"==typeof r){let s=null,a=r0(e,n),l=fs,c=i&Ie.Host?n[_t][hn]:null;for((-1===a||i&Ie.SkipSelf)&&(l=-1===a?hd(e,n):n[a+8],l!==fs&&u0(i,!1)?(s=n[X],a=Ya(l),n=Xa(l,n)):a=-1);-1!==a;){const d=n[X];if(d0(r,a,d.data)){const u=QN(a,n,t,s,i,c);if(u!==Fi)return u}l=n[a+8],l!==fs&&u0(i,n[X].data[a+8]===c)&&d0(r,a,n)?(s=d,a=Ya(l),n=Xa(l,n)):a=-1}}return o}function QN(e,n,t,i,o,r){const s=n[X],a=s.data[e+8],d=pd(a,s,t,null==i?_r(a)&&wp:i!=s&&0!=(3&a.type),o&Ie.Host&&r===a);return null!==d?Cr(n,s,d,a):Fi}function pd(e,n,t,i,o){const r=e.providerIndexes,s=n.data,a=1048575&r,l=e.directiveStart,d=r>>20,f=o?a+d:e.directiveEnd;for(let h=i?a:a+d;h<f;h++){const m=s[h];if(h<l&&t===m||h>=l&&m.type===t)return h}if(o){const h=s[l];if(h&&bi(h)&&h.type===t)return l}return null}function Cr(e,n,t,i){let o=e[t];const r=n.data;if(function UN(e){return e instanceof qa}(o)){const s=o;s.resolving&&function kk(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new N(-200,`Circular dependency in DI detected for ${e}${t}`)}(function ze(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():me
3(e)}(r[t]));const a=ud(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?kn(s.injectImpl):null;qC(e,i,Ie.Default);try{o=e[t]=s.factory(void 0,r,e,i),n.firstCreatePass&&t>=i.directiveStart&&function zN(e,n,t){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){const s=AC(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),r&&((t.preOrderHooks??=[]).push(e,r),(t.preOrderCheckHooks??=[]).push(e,r))}(t,r[t],n)}finally{null!==c&&kn(c),ud(a),s.resolving=!1,ZC()}}return o}function d0(e,n,t){return!!(t[n+(e>>o0)]&1<<e)}function u0(e,n){return!(e&Ie.Self||e&Ie.Host&&n)}class Ut{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return l0(this._tNode,this._lView,n,ed(i),t)}}function eR(){return new Ut(Ze(),j())}function Qt(e){return ao(()=>{const n=e.prototype.constructor,t=n[so]||xp(n),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const r=o[so]||xp(o);if(r&&r!==t)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function xp(e){return Xc(e)?()=>{const n=xp(ce(e));return n&&n()}:vr(e)}function f0(e){const n=e[X],t=n.type;return 2===t?n.declTNode:1===t?e[hn]:null}const gs="__parameters__";function vs(e,n,t){return ao(()=>{const i=function Dp(e){return function(...t){if(e){const i=e(...t);for(const o in i)this[o]=i[o]}}}(n);function o(...r){if(this instanceof o)return i.apply(this,r),this;const s=new o(...r);return a.annotation=s,a;function a(l,c,d){const u=l.hasOwnProperty(gs)?l[gs]:Object.defineProperty(l,gs,{value:[]})[gs];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function ys(e,n){e.forEach(t=>Array.isArray(t)?ys(t,n):n(t))}function p0(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function gd(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function jn(e,n,t){let i=Cs(e,n);return i>=0?e[1|i]=t:(i=~i,function m0(e,n,t,i){let o=e.length;if(o==n)e.push(t,i);else if(1===o)e.push(i,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;)e[o]=e[o-2],o--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function Op(e,n){const t=Cs(e,n);if(t>=0)return e[1|t]}function Cs(e,n){return function g0(e,n,t){let i=0,o=e.length>>t;for(;o!==i;){const r=i+(o-i>>1),s=e[r<<t];if(n===s)return r<<t;s>n?o=r:i=r+1}return~(o<<t)}(e,n,1)}const bd=La(vs("Optional"),8),yd=La(vs("SkipSelf"),4),$o=new W("ENVIRONMENT_INITIALIZER"),y0=new W("INJECTOR",-1),Pp=new W("INJECTOR_DEF_TYPES");class Ed{get(n,t=Fa){if(t===Fa){const i=new Error(`NullInjectorError: No provider for ${zt(n)}!`);throw i.name="NullInjectorError",i}return t}}function Qa(e){return{\u0275providers:e}}function wR(...e){return{\u0275providers:C0(0,e),\u0275fromNgModule:!0}}function C0(e,...n){const t=[],i=new Set;let o;const r=s=>{t.push(s)};return ys(n,s=>{const a=s;
3wd(a,r,[],i)&&(o||=[],o.push(a))}),void 0!==o&&E0(o,r),t}function E0(e,n){for(let t=0;t<e.length;t++){const{ngModule:i,providers:o}=e[t];kp(o,r=>{n(r,i)})}}function wd(e,n,t,i){if(!(e=ce(e)))return!1;let o=null,r=Zc(e);const s=!r&&De(e);if(r||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(r=Zc(l),!r)return!1;o=l}const a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)wd(c,n,t,i)}}else{if(!r)return!1;{if(null!=r.imports&&!a){let c;i.add(o);try{ys(r.imports,d=>{wd(d,n,t,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&E0(c,n)}if(!a){const c=vr(o)||(()=>new o);n({provide:o,useFactory:c,deps:Be},o),n({provide:Pp,useValue:o,multi:!0},o),n({provide:$o,useValue:()=>T(o),multi:!0},o)}const l=r.providers;if(null!=l&&!a){const c=e;kp(l,d=>{n(d,c)})}}}return o!==e&&void 0!==e.providers}function kp(e,n){for(let t of e)Gh(t)&&(t=t.\u0275providers),Array.isArray(t)?kp(t,n):n(t)}const SR=qe({provide:String,useValue:qe});function Np(e){return null!==e&&"object"==typeof e&&SR in e}function Er(e){return"function"==typeof e}const Rp=new W("Set Injector scope."),Sd={},xR={};let Fp;function Md(){return void 0===Fp&&(Fp=new Ed),Fp}class zn{}class ws extends zn{get destroyed(){return this._destroyed}constructor(n,t,i,o){super(),this.parent=t,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,$p(n,s=>this.processProvider(s)),this.records.set(y0,Ss(void 0,this)),o.has("environment")&&this.records.set(zn,Ss(void 0,this));const r=this.records.get(Rp);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Pp,Be,Ie.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=No(this),i=kn(void 0);try{return n()}finally{No(t),kn(i)}}get(n,t=Fa,i=Ie.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(sC))return n[sC](this);i=ed(i);const r=No(this),s=kn(void 0);try{if(!(i&Ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function AR(e){return"function"==typeof e||"object"==typeof e&&e instanceof W}(n)&&Kc(n);l=c&&this.injectableDefInScope(c)?Ss(Lp(n),Sd):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&Ie.Self?Md():this.parent).get(n,t=i&Ie.Optional&&t===Fa?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[Jc]=a[Jc]||[]).unshift(zt(n)),r)throw a;return function Yk(e,n,t,i){const o=e[Jc];throw n[fC]&&o.unshift(n[fC]),e.message=function Xk(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=zt(n);if(Array.isArray(n))o=n.map(zt).join(" -> ");else if("object"==typeof n){let r=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];r.push(s+":"+("string"==typeof a?JSON.stringify(a):zt(a)))}o=`{${r.join(", ")}}`}return`${t}${i?"("+i+")":""}[${o}]: ${e.replace(Gk,"\n ")}`}("\n"+e.message,o,t,i),e.ngTokenPath=o,e[Jc]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{kn(s),No(r)}}resolveInjectorInitializers(){const n=No(this),t=kn(void 0);try{const o=this.get($o,Be,Ie.Self);for(const r of o)r()}finally{No(n),kn(t)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(zt(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new N(205,!1)}processProvider(n){let t=Er(n=ce(n))?n:ce(n&&n.provide);const i=function TR(e){return Np(e)?Ss(void 0,e.useValue):Ss(M0(e),Sd)}(n);if(!Er(n)&&!0===n.multi){let o=this.records.get(t);o||(o=Ss(void 0,Sd,!0),o.factory=()=>ep(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,i)}hydrate(n,t){return t.value===Sd&&(t.value=xR,t.value=t.factory()),"object"==typeof t.value&&t.value&&function IR(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=ce(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Lp(e){const n=Kc(e),t=null!==n?n.factory:vr(e);if(null!==t)return t;if(e instanceof W)throw new N(204,!1);if(e instanceof Function)return function DR(e){if(e.length>0)throw new N(204,!1);const t=function Vk(e){return e&&(e[Qc]||e[lC])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new N(204,!1)}function M0(e,n,t){let i;if(Er(e)){const o=ce(e);return vr(o)||Lp(o)}if(Np(e))i=()=>ce(e.useValue);else if(function S0(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...ep(e.deps||[]));else if(function w0(e){return!(!e||!e.useExisting)}(e))i=()=>T(ce(e.useExisting));else{const o=ce(e&&(e.useClass||e.provide));if(!function OR(e){return!!e.deps}(e))return vr(o)||Lp(o);i=()=>new o(...ep(e.deps))}return i}function Ss(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function $p(e,n){for(const t of e)Array.isArray(t)?$p(t,n):t&&Gh(t)?$p(t.\u0275providers,n):n(t)}function Vo(e,n){e instanceof ws&&e.assertNotDestroyed();const i=No(e),o=kn(void 0);try{return n()}finally{No(i),kn(o)}}function O0(e,n=null,t=null,i){const o=I0(e,n,t,i);
3return o.resolveInjectorInitializers(),o}function I0(e,n=null,t=null,i,o=new Set){const r=[t||Be,wR(e)];return i=i||("object"==typeof e?void 0:zt(e)),new ws(r,n||Md(),i||null,o)}let jp,mt=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Fa;static#t=this.NULL=new Ed;static create(t,i){if(Array.isArray(t))return O0({name:""},i,t,"");{const o=t.name??"";return O0({name:o},t.parent,t.providers,o)}}static#n=this.\u0275prov=H({token:e,providedIn:"any",factory:()=>T(y0)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function jo(){if(void 0!==jp)return jp;if(typeof document<"u")return document;throw new N(210,!1)}const Dd=new W("AppId",{providedIn:"root",factory:()=>BR}),BR="ng",P0=new W("Platform Initializer"),Ae=new W("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),zo=new W("AnimationModuleType"),zp=new W("CSP nonce",{providedIn:"root",factory:()=>jo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function el(e){return e.ownerDocument.defaultView}function Gn(e){return e instanceof Function?e():e}function Go(e){return"browser"===(e??G(mt)).get(Ae)}const nl="ngSkipHydration",YR="ngskiphydration";function B0(e){const n=e.mergedAttrs;if(null===n)return!1;for(let t=0;t<n.length;t+=2){const i=n[t];if("number"==typeof i)return!1;if("string"==typeof i&&i.toLowerCase()===YR)return!0}return!1}function j0(e){return e.hasAttribute(nl)}function Ad(e){return 128==(128&e.flags)}var Ho=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ho||{});const XR=/^>|^->|<!--|-->|--!>|<!-$/g,KR=/(<|>)/g,ZR="\u200b$1\u200b";const qp=new Map;let QR=0;const Xp="__ngContext__";function _n(e,n){pn(n)?(e[Xp]=n[ja],function eF(e){qp.set(e[ja],e)}(n)):e[Xp]=n}let Kp;function Zp(e,n){return Kp(e,n)}function xs(e,n,t,i,o){if(null!=i){let r,s=!1;mn(i)?r=i:pn(i)&&(s=!0,i=i[Et]);const a=at(i);0===e&&null!==t?null==o?eE(n,t,a):wr(n,t,a,o||null,!0):1===e&&null!==t?wr(n,t,a,o||null,!0):2===e?$d(n,a,s):3===e&&n.destroyNode(a),null!=r&&function bF(e,n,t,i,o){const r=t[Ai];r!==at(t)&&xs(n,e,i,r,o);for(let a=Tt;a<t.length;a++){const l=t[a];Vd(l[X],l,e,n,i,r)}}(n,e,r,t,o)}}function kd(e,n){return e.createText(n)}function K0(e,n,t){e.setValue(n,t)}function Qp(e,n){return e.createComment(function z0(e){return e.replace(XR,n=>n.replace(KR,ZR))}(n))}function Nd(e,n,t){return e.createElement(n,t)}function Z0(e,n){Vd(e,n,n[ve],2,null,null)}function Q0(e,n){const t=e[cs],i=t.indexOf(n);t.splice(i,1)}function ol(e,n){if(e.length<=Tt)return;const t=Tt+n,i=e[t];if(i){const o=i[Ba];null!==o&&o!==e&&Q0(o,i),n>0&&(e[t-1][_i]=i[_i]);const r=gd(e,Tt+n);!function cF(e,n){Z0(e,n),n[Et]=null,n[hn]=null}(i[X],i);const s=r[Ii];null!==s&&s.detachView(r[X]),i[Dt]=null,i[_i]=null,i[le]&=-129}return i}function Rd(e,n){if(!(256&n[le])){const t=n[ve];t.destroyNode&&Vd(e,n,t,3,null,null),function uF(e){let n=e[Va];if(!n)return Jp(e[X],e);for(;n;){let t=null;if(pn(n))t=n[Va];else{const i=n[Tt];i&&(t=i)}if(!t){for(;n&&!n[_i]&&n!==e;)pn(n)&&Jp(n[X],n),n=n[Dt];null===n&&(n=e),pn(n)&&Jp(n[X],n),t=n&&n[_i]}n=t}}(n)}}function Jp(e,n){if(!(256&n[le])){n[le]&=-129,n[le]|=256,n[gr]&&function jy(e){if(is(e),Pa(e))for(let n=0;n<e.producerNode.length;n++)Gc(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}(n[gr]),function mF(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i<t.length;i+=2){const o=n[t[i]];if(!(o instanceof qa)){const r=t[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){const a=o[r[s]],l=r[s+1];Pi(4,a,l);try{l.call(a)}finally{Pi(5,a,l)}}else{Pi(4,o,r);try{r.call(o)}finally{Pi(5,o,r)}}}}}(e,n),function pF(e,n){const t=e.cleanup,i=n[ss];if(null!==t)for(let r=0;r<t.length-1;r+=2)if("string"==typeof t[r]){const s=t[r+3];s>=0?i[s]():i[-s].unsubscribe(),r+=2}else t[r].call(i[t[r+1]]);null!==i&&(n[ss]=null);const o=n[Fo];if(null!==o){n[Fo]=null;for(let r=0;r<o.length;r++)(0,o[r])()}}(e,n),1===n[X].type&&n[ve].destroy();const t=n[Ba];if(null!==t&&mn(n[Dt])){t!==n[Dt]&&Q0(t,n);const i=n[Ii];null!==i&&i.detachView(e)}!function tF(e){qp.delete(e[ja])}(n)}}function em(e,n,t){return J0(e,n.parent,t)}function J0(e,n,t){let i=n;for(;null!==i&&40&i.type;)i=(n=i).parent;if(null===i)return t[Et];
3{const{componentOffset:o}=i;if(o>-1){const{encapsulation:r}=e.data[i.directiveStart+o];if(r===mi.None||r===mi.Emulated)return null}return En(i,t)}}function wr(e,n,t,i,o){e.insertBefore(n,t,i,o)}function eE(e,n,t){e.appendChild(n,t)}function tE(e,n,t,i,o){null!==i?wr(e,n,t,i,o):eE(e,n,t)}function Fd(e,n){return e.parentNode(n)}function nE(e,n,t){return oE(e,n,t)}function iE(e,n,t){return 40&e.type?En(e,t):null}let tm,Bd,jd,oE=iE;function rE(e,n){oE=e,tm=n}function Ld(e,n,t,i){const o=em(e,i,n),r=n[ve],a=nE(i.parent||n[hn],i,n);if(null!=o)if(Array.isArray(t))for(let l=0;l<t.length;l++)tE(r,o,t[l],a,!1);else tE(r,o,t,a,!1);void 0!==tm&&tm(r,i,n,t,o)}function rl(e,n){if(null!==n){const t=n.type;if(3&t)return En(n,e);if(4&t)return nm(-1,e[n.index]);if(8&t){const i=n.child;if(null!==i)return rl(e,i);{const o=e[n.index];return mn(o)?nm(-1,o):at(o)}}if(32&t)return Zp(n,e)()||at(e[n.index]);{const i=sE(e,n);return null!==i?Array.isArray(i)?i[0]:rl(br(e[_t]),i):rl(e,n.next)}}return null}function sE(e,n){return null!==n?e[_t][hn].projection[n.projection]:null}function nm(e,n){const t=Tt+e+1;if(t<n.length){const i=n[t],o=i[X].firstChild;if(null!==o)return rl(i,o)}return n[Ai]}function $d(e,n,t){const i=Fd(e,n);i&&function gF(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}function aE(e){e.textContent=""}function im(e,n,t,i,o,r,s){for(;null!=t;){const a=i[t.index],l=t.type;if(s&&0===n&&(a&&_n(at(a),i),t.flags|=2),32!=(32&t.flags))if(8&l)im(e,n,t.child,i,o,r,!1),xs(n,e,o,a,r);else if(32&l){const c=Zp(t,i);let d;for(;d=c();)xs(n,e,o,d,r);xs(n,e,o,a,r)}else 16&l?lE(e,n,i,t,o,r):xs(n,e,o,a,r);t=s?t.projectionNext:t.next}}function Vd(e,n,t,i,o,r){im(t,i,e.firstChild,n,o,r,!1)}function lE(e,n,t,i,o,r){const s=t[_t],l=s[hn].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)xs(n,e,o,l[c],r);else{let c=l;const d=s[Dt];Ad(i)&&(c.flags|=128),im(e,n,c,d,o,r,!0)}}function cE(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function dE(e,n,t){const{mergedAttrs:i,classes:o,styles:r}=t;null!==i&&tp(e,n,i),null!==o&&cE(e,n,o),null!==r&&function CF(e,n,t){e.setAttribute(n,"style",t)}(e,n,r)}function Ds(e){return function om(){if(void 0===Bd&&(Bd=null,rt.trustedTypes))try{Bd=rt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Bd}()?.createHTML(e)||e}function rm(){if(void 0===jd&&(jd=null,rt.trustedTypes))try{jd=rt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return jd}function uE(e){return rm()?.createHTML(e)||e}function hE(e){return rm()?.createScriptURL(e)||e}class Sr{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${nC})`}}class MF extends Sr{getTypeName(){return"HTML"}}class xF extends Sr{getTypeName(){return"Style"}}class DF extends Sr{getTypeName(){return"Script"}}class TF extends Sr{getTypeName(){return"URL"}}class OF extends Sr{getTypeName(){return"ResourceURL"}}function Un(e){return e instanceof Sr?e.changingThisBreaksApplicationSecurity:e}function Li(e,n){const t=function IF(e){return e instanceof Sr&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${nC})`)}return t===n}function pE(e){const n=new LF(e);return function $F(){try{return!!(new window.DOMParser).parseFromString(Ds(""),"text/html")}catch{return!1}}()?new FF(n):n}class FF{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(Ds(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class LF{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=Ds(n),t}}const VF=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function zd(e){return(e=String(e)).match(VF)?e:"unsafe:"+e}function fo(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function sl(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const mE=fo("area,br,col,hr,img,wbr"),gE=fo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),_E=fo("rp,rt"),sm=sl(mE,sl(gE,fo("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")),sl(_E,fo("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")),sl(_E,gE)),am=fo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),vE=sl(am,fo("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
3olspan,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"),fo("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")),BF=fo("script,style,template");class jF{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=this.checkClobberedElement(t,t.nextSibling);if(o){t=o;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(n){const t=n.nodeName.toLowerCase();if(!sm.hasOwnProperty(t))return this.sanitizedSomething=!0,!BF.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let o=0;o<i.length;o++){const r=i.item(o),s=r.name,a=s.toLowerCase();if(!vE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=r.value;am[a]&&(l=zd(l)),this.buf.push(" ",s,'="',bE(l),'"')}return this.buf.push(">"),!0}endElement(n){const t=n.nodeName.toLowerCase();sm.hasOwnProperty(t)&&!mE.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(bE(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return t}}const zF=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,GF=/([^\#-~ |!])/g;function bE(e){return e.replace(/&/g,"&").replace(zF,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(GF,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Gd;function yE(e,n){let t=null;try{Gd=Gd||pE(e);let i=n?String(n):"";t=Gd.getInertBodyElement(i);let o=5,r=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=t.innerHTML,t=Gd.getInertBodyElement(i)}while(i!==r);return Ds((new jF).sanitizeChildren(lm(t)||t))}finally{if(t){const i=lm(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function lm(e){return"content"in e&&function UF(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Hn=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Hn||{});function Ot(e){const n=al();return n?uE(n.sanitize(Hn.HTML,e)||""):Li(e,"HTML")?uE(Un(e)):yE(jo(),me(e))}function _e(e){const n=al();return n?n.sanitize(Hn.URL,e)||"":Li(e,"URL")?Un(e):zd(me(e))}function cm(e){const n=al();if(n)return hE(n.sanitize(Hn.RESOURCE_URL,e)||"");if(Li(e,"ResourceURL"))return hE(Un(e));throw new N(904,!1)}function al(){const e=j();return e&&e[lo].sanitizer}class dm{}function KF(){const e=new vt;return"browser"===G(Ae)&&(e.store=function ZF(e,n){const t=e.getElementById(n+"-state");if(t?.textContent)try{return JSON.parse(t.textContent)}catch(i){console.warn("Exception while restoring TransferState for app "+n,i)}return{}}(jo(),G(Dd))),e}let vt=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=H({token:e,providedIn:"root",factory:KF});get(t,i){return void 0!==this.store[t]?this.store[t]:i}set(t,i){this.store[t]=i}remove(t){delete this.store[t]}hasKey(t){return this.store.hasOwnProperty(t)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(t,i){this.onSerializeCallbacks[t]=i}toJson(){for(const t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(i){console.warn("Exception in onSerialize callback: ",i)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();const um="h",fm="b";var Ts=function(e){return e.FirstChild="f",e.NextSibling="n",e}(Ts||{});const hm="e",pm="t",ll="c",Ud="x",Os="r",mm="i",gm="n",Hd="d",_m="__nghData__",cl="ngh",QF="nghm";let EE=()=>null;function JF(e,n,t=!1){let i=e.getAttribute(cl);if(null==i)return null;const[o,r]=i.split("|");if(i=t?r:o,!i)return null;const s=t?o:r?`|${r}`:"";let a={};if(""!==i){const c=n.get(vt,null,{optional:!0});null!==c&&(a=c.get(_m,[])[Number(i)])}const l={data:a,firstChild:e.firstChild??null};return t&&(l.firstChild=e,Wd(l,0,e.nextSibling)),s?e.setAttribute(cl,s
3):e.removeAttribute(cl),l}function vm(e,n,t=!1){return EE(e,n,t)}function wE(e){let n=e._lView;return 2===n[X].type?null:(rp(n)&&(n=n[ge]),n)}function Wd(e,n,t){e.segmentHeads??={},e.segmentHeads[n]=t}function bm(e,n){return e.segmentHeads?.[n]??null}function SE(e,n){return e.data[ll]?.[n]??null}function ym(e,n){const t=SE(e,n)??[];let i=0;for(let o of t)i+=o[Os]*(o[Ud]??1);return i}function qd(e,n){if(typeof e.disconnectedNodes>"u"){const t=e.data[Hd];e.disconnectedNodes=t?new Set(t):null}return!!e.disconnectedNodes?.has(n)}class s2{}class ME{}class l2{resolveComponentFactory(n){throw function a2(e){const n=Error(`No component factory found for ${zt(e)}.`);return n.ngComponent=e,n}(n)}}let Is=(()=>{class e{static#e=this.NULL=new l2}return e})();function c2(){return As(Ze(),j())}function As(e,n){return new nt(En(e,n))}let nt=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=c2}return e})();function d2(e){return e instanceof nt?e.nativeElement:e}class Cm{}let ho=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function u2(){const e=j(),t=Bn(Ze().index,e);return(pn(t)?t:e)[ve]}()}return e})(),f2=(()=>{class e{static#e=this.\u0275prov=H({token:e,providedIn:"root",factory:()=>null})}return e})();const Em={};function DE(e){const n=Ct(null);try{return e()}finally{Ct(n)}}function Yd(e){return!!wm(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function wm(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class TE{constructor(){}supports(n){return Yd(n)}create(n){return new v2(n)}}const _2=(e,n)=>n;class v2{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||_2}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,o=0,r=null;for(;t||i;){const s=!i||t&&t.currentIndex<IE(i,o,r)?t:i,a=IE(s,o,r),l=s.currentIndex;if(s===i)o--,i=i._nextRemoved;else if(t=t._next,null==s.previousIndex)o++;else{r||(r=[]);const c=a-o,d=l-o;if(c!=d){for(let f=0;f<c;f++){const h=f<r.length?r[f]:r[f]=0,m=h+f;d<=m&&m<c&&(r[f]=h+1)}r[s.previousIndex]=d-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)n(t)}diff(n){if(null==n&&(n=[]),!Yd(n))throw new N(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let o,r,s,t=this._itHead,i=!1;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)r=n[a],s=this._trackByFn(a,r),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,r,s,a)),Object.is(t.item,r)||this._addIdentityChange(t,r)):(t=this._mismatch(t,r,s,a),i=!0),t=t._next}else o=0,function g2(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{const t=e[Symbol.iterator]();let i;for(;!(i=t.next()).done;)n(i.value)}}(n,a=>{s=this._trackByFn(o,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,o),i=!0),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,o){let r;return null===n?r=this._itTail:(r=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,r,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,r,o)):n=this._addAfter(new b2(t,i),r,o),n}_verifyReinsertion(n,t,i,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,r=n._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const o=null===t?this._itHead:t._next;return n._next=o,n._prev=t,null===o?this._itTail=n:o._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new OE),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new OE),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class b2{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class y2{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class OE{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new y2,this.map.set(t,i)),i.add(n)}get(n,t){const o=this.map.get(n);return o?o.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function IE(e,n,t){const i=e.previousIndex;if(null===i)return i;let o=0;return t&&i<t.length&&(o=t[i]),i+n+o}class AE{constructor(){}supports(n){return n instanceof Map||wm(n)}create(){return new C2}}class C2{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(n){let t;for(t=this._mapHead;null!==t;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}diff(n){if(n){if(!(n instanceof Map||wm(n)))throw new N(900,!1)}else n=new Map;return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._mapHead;
3if(this._appendAfter=null,this._forEach(n,(i,o)=>{if(t&&t.key===o)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(o,i);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const i=n._prev;return t._next=n,t._prev=i,n._prev=t,i&&(i._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const o=this._records.get(n);this._maybeAddToChanges(o,t);const r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}const i=new E2(n);return this._records.set(n,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(i=>t(n[i],i))}}class E2{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function PE(){return new Sm([new TE])}let Sm=(()=>{class e{static#e=this.\u0275prov=H({token:e,providedIn:"root",factory:PE});constructor(t){this.factories=t}static create(t,i){if(null!=i){const o=i.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||PE()),deps:[[e,new yd,new bd]]}}find(t){const i=this.factories.find(o=>o.supports(t));if(null!=i)return i;throw new N(901,!1)}}return e})();function kE(){return new Xd([new AE])}let Xd=(()=>{class e{static#e=this.\u0275prov=H({token:e,providedIn:"root",factory:kE});constructor(t){this.factories=t}static create(t,i){if(i){const o=i.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||kE()),deps:[[e,new yd,new bd]]}}find(t){const i=this.factories.find(o=>o.supports(t));if(i)return i;throw new N(901,!1)}}return e})();function dl(e,n,t,i,o=!1){for(;null!==t;){const r=n[t.index];null!==r&&i.push(at(r)),mn(r)&&NE(r,i);const s=t.type;if(8&s)dl(e,n,t.child,i);else if(32&s){const a=Zp(t,n);let l;for(;l=a();)i.push(l)}else if(16&s){const a=sE(n,t);if(Array.isArray(a))i.push(...a);else{const l=br(n[_t]);dl(l[X],l,a,i,!0)}}t=o?t.projectionNext:t.next}return i}function NE(e,n){for(let t=Tt;t<e.length;t++){const i=e[t],o=i[X].firstChild;null!==o&&dl(i[X],i,o,n)}e[Ai]!==e[Et]&&n.push(e[Ai])}let RE=[];const D2={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ha(e.lView)},consumerOnSignalRead(){this.lView[gr]=this}};function FE(e){return $E(e[Va])}function LE(e){return $E(e[_i])}function $E(e){for(;null!==e&&!mn(e);)e=e[_i];return e}function Mm(e){return e.ngOriginalError}class po{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Mm(n);for(;t&&Mm(t);)t=Mm(t);return t||null}}const BE=new W("",{providedIn:"root",factory:()=>G(po).handleError.bind(void 0)}),Kd=new W(""),zE=new W("",{providedIn:"root",factory:()=>!1}),be={};function w(e=1){WE(Ne(),j(),gn()+e,!1)}function WE(e,n,t,i){if(!i)if(3==(3&n[le])){const r=e.preOrderCheckHooks;null!==r&&cd(n,r,t)}else{const r=e.preOrderHooks;null!==r&&dd(n,r,0,t)}yr(t)}function C(e,n=Ie.Default){const t=j();return null===t?T(e,n):l0(Ze(),t,ce(e),n)}function xm(){throw new Error("invalid")}function qE(e,n,t,i,o,r){const s=Ct(null);try{let a=null;o&Ce.SignalBased&&(a=n[i][ns]),null!==a&&void 0!==a.transformFn&&(r=a.transformFn(r)),o&Ce.HasDecoratorInputTransform&&(r=e.inputTransforms[i].call(n,r)),null!==e.setInput?e.setInput(n,a,r,t,i):IC(n,a,i,r)}finally{Ct(s)}}function Zd(e,n,t,i,o,r,s,a,l,c,d){const u=n.blueprint.slice();return u[Et]=o,u[le]=204|i,(null!==c||e&&2048&e[le])&&(u[le]|=2048),LC(u),u[Dt]=u[as]=e,u[st]=t,u[lo]=s||e&&e[lo],u[ve]=a||e&&e[ve],u[Cn]=l||e&&e[Cn]||null,u[hn]=r,u[ja]=function JR(){return QR++}(),u[vi]=d,u[xC]=c,u[_t]=2==n.type?e[_t]:u,u}function Ps(e,n,t,i,o){let r=e.data[n];if(null===r)r=Dm(e,n,t,i,o),function kN(){return fe.lFrame.inI18n}()&&(r.flags|=32);else if(64&r.type){r.type=t,r.value=i,r.attrs=o;const s=Wa();r.injectorIndex=null===s?-1:s.injectorIndex}return Ni(r,!0),r}function Dm(e,n,t,i,o){const r=zC(),s=hp(),l=e.data[n]=function z2(e,n,t,i,o,r){let s=n?n.injectorIndex:-1,a=0;return us()&&(a|=128),{type:t,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOff
3set:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?r:r&&r.parent,t,n,i,o);return null===e.firstChild&&(e.firstChild=l),null!==r&&(s?null==r.child&&null!==l.parent&&(r.child=l):null===r.next&&(r.next=l,l.prev=r)),l}function ul(e,n,t,i){if(0===t)return-1;const o=n.length;for(let r=0;r<t;r++)n.push(i),e.blueprint.push(i),e.data.push(null);return o}function YE(e,n,t,i,o){const r=gn(),s=2&i;try{yr(-1),s&&n.length>ge&&WE(e,n,ge,!1),Pi(s?2:0,o),t(i,o)}finally{yr(r),Pi(s?3:1,o)}}function Tm(e,n,t){if(op(n)){const i=Ct(null);try{const r=n.directiveEnd;for(let s=n.directiveStart;s<r;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,t[s],s)}}finally{Ct(i)}}}function Om(e,n,t){jC()&&(function X2(e,n,t,i){const o=t.directiveStart,r=t.directiveEnd;_r(t)&&function nL(e,n,t){const i=En(n,e),o=XE(t);let s=16;t.signals?s=4096:t.onPush&&(s=64);const a=Qd(e,Zd(e,o,null,s,i,n,null,e[lo].rendererFactory.createRenderer(i,t),null,null,null));e[n.index]=a}(n,t,e.data[o+t.componentOffset]),e.firstCreatePass||fd(t,n),_n(i,n);const s=t.initialInputs;for(let a=o;a<r;a++){const l=e.data[a],c=Cr(n,e,a,t);_n(c,n),null!==s&&iL(0,a-o,c,l,0,s),bi(l)&&(Bn(t.index,n)[st]=Cr(n,e,a,t))}}(e,n,t,En(t,n)),64==(64&t.flags)&&ew(e,n,t))}function Im(e,n,t=En){const i=n.localNames;if(null!==i){let o=n.index+1;for(let r=0;r<i.length;r+=2){const s=i[r+1],a=-1===s?t(n,e):e[s];e[o++]=a}}}function XE(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=Am(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Am(e,n,t,i,o,r,s,a,l,c,d){const u=ge+i,f=u+o,h=function F2(e,n){const t=[];for(let i=0;i<n;i++)t.push(i<e?null:be);return t}(u,f),m="function"==typeof c?c():c;return h[X]={type:e,blueprint:h,template:t,queries:null,viewQuery:a,declTNode:n,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:f,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:"function"==typeof r?r():r,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:m,incompleteFirstPass:!1,ssrId:d}}let KE=()=>null;function V2(e){j0(e)?aE(e):function n2(e){const n=jo(),t=n.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(r){const s=function t2(e){return e.textContent?.replace(/\s/gm,"")}(r);return"ngetn"===s||"ngtns"===s?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let i;const o=[];for(;i=t.nextNode();)o.push(i);for(const r of o)"ngetn"===r.textContent?r.replaceWith(n.createTextNode("")):r.remove()}(e)}function ZE(e,n,t,i,o){for(let r in n){if(!n.hasOwnProperty(r))continue;const s=n[r];if(void 0===s)continue;i??={};let a,l=Ce.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=r;if(null!==o){if(!o.hasOwnProperty(r))continue;c=o[r]}0===e?QE(i,t,c,a,l):QE(i,t,c,a)}return i}function QE(e,n,t,i,o){let r;e.hasOwnProperty(t)?(r=e[t]).push(n,i):r=e[t]=[n,i],void 0!==o&&r.push(o)}function Wn(e,n,t,i,o,r,s,a){const l=En(n,t);let d,c=n.inputs;!a&&null!=c&&(d=c[i])?(Fm(e,t,d,i,o),_r(n)&&function H2(e,n){const t=Bn(n,e);16&t[le]||(t[le]|=64)}(t,n.index)):3&n.type&&(i=function U2(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=s?s(o,n.value||"",i):o,r.setProperty(l,i,o))}function Pm(e,n,t,i){if(jC()){const o=null===i?null:{"":-1},r=function Z2(e,n){const t=e.directiveRegistry;let i=null,o=null;if(t)for(let r=0;r<t.length;r++){const s=t[r];if(yC(n,s.selectors,!1))if(i||(i=[]),bi(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),i.unshift(...a,s),km(e,n,a.length)}else i.unshift(s),km(e,n,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,i,o),i.push(s)}return null===i?null:[i,o]}(e,t);let s,a;null===r?s=a=null:[s,a]=r,null!==s&&JE(e,n,t,s,o,a),o&&function Q2(e,n,t){if(n){const i=e.localNames=[];for(let o=0;o<n.length;o+=2){const r=t[n[o+1]];if(null==r)throw new N(-301,!1);i.push(n[o],r)}}}(t,i,o)}t.mergedAttrs=$a(t.mergedAttrs,t.attrs)}function JE(e,n,t,i,o,r){for(let c=0;c<i.length;c++)Mp(fd(t,n),e,i[c].type);!function eL(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,i.length);for(let c=0;c<i.length;c++){const d=i[c];d.providersResolver&&d.providersResolver(d)}let s=!1,a=!1,l=ul(e,n,i.length,null);for(let c=0;c<i.length;c++){const d=i[c];t.mergedAttrs=$a(t.mergedAttrs,d.hostAttrs),tL(e,t,n,l,d),J2(l,d,o),null!==d.contentQueries&&(t.flags|=4),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(t.flags|=64);const u=d.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),s=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),a=!0),l++}!function G2(e,n,t){const o=n.directiveEnd,r=e.data,s=n.attrs,a=[];let l=null,c=null;for(let d=n.directiveStart;d<o;d++){const u=r[d],f=t?t.get(u):null,m=f?f.outputs:null;
3l=ZE(0,u.inputs,d,l,f?f.inputs:null),c=ZE(1,u.outputs,d,c,m);const p=null===l||null===s||bC(n)?null:oL(l,d,s);a.push(p)}null!==l&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}(e,t,r)}function ew(e,n,t){const i=t.directiveStart,o=t.directiveEnd,r=t.index,s=function RN(){return fe.lFrame.currentDirectiveIndex}();try{yr(r);for(let a=i;a<o;a++){const l=e.data[a],c=n[a];mp(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&K2(l,c)}}finally{yr(-1),mp(s)}}function K2(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function km(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function J2(e,n,t){if(t){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)t[n.exportAs[i]]=e;bi(n)&&(t[""]=e)}}function tL(e,n,t,i,o){e.data[i]=o;const r=o.factory||(o.factory=vr(o.type)),s=new qa(r,bi(o),C);e.blueprint[i]=s,t[i]=s,function q2(e,n,t,i,o){const r=o.hostBindings;if(r){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~n.index;(function Y2(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,r)}}(e,n,i,ul(e,t,o.hostVars,be),o)}function Nm(e,n,t,i,o,r,s){if(null==r)e.removeAttribute(n,o,t);else{const a=null==s?me(r):s(r,i||"",o);e.setAttribute(n,o,a,t)}}function iL(e,n,t,i,o,r){const s=r[n];if(null!==s)for(let a=0;a<s.length;)qE(i,t,s[a++],s[a++],s[a++],s[a++])}function oL(e,n,t){let i=null,o=0;for(;o<t.length;){const r=t[o];if(0!==r)if(5!==r){if("number"==typeof r)break;if(e.hasOwnProperty(r)){null===i&&(i=[]);const s=e[r];for(let a=0;a<s.length;a+=3)if(s[a]===n){i.push(r,s[a+1],s[a+2],t[o+1]);break}}o+=2}else o+=2;else o+=4}return i}function tw(e,n,t,i){return[e,!0,0,n,null,i,null,t,null,null]}function nw(e,n){const t=e.contentQueries;if(null!==t){const i=Ct(null);try{for(let o=0;o<t.length;o+=2){const s=t[o+1];if(-1!==s){const a=e.data[s];_p(t[o]),a.contentQueries(2,n[s],s)}}}finally{Ct(i)}}}function Qd(e,n){return e[Va]?e[MC][_i]=n:e[Va]=n,e[MC]=n,n}function Rm(e,n,t){_p(0);const i=Ct(null);try{n(e,t)}finally{Ct(i)}}function iw(e){return e[ss]||(e[ss]=[])}function ow(e){return e.cleanup||(e.cleanup=[])}function rw(e,n,t){return(null===e||bi(e))&&(t=function cp(e){for(;Array.isArray(e);){if("object"==typeof e[np])return e;e=e[Et]}return null}(t[n.index])),t[ve]}function Jd(e,n){const t=e[Cn],i=t?t.get(po,null):null;i&&i.handleError(n)}function Fm(e,n,t,i,o){for(let r=0;r<t.length;){const s=t[r++],a=t[r++],l=t[r++];qE(e.data[s],n[s],i,a,l,o)}}function mo(e,n,t){const i=Ga(n,e);K0(e[ve],i,t)}function aL(e,n,t,i){const o=n[le];if(256==(256&o))return;n[lo].inlineEffectRunner?.flush(),vp(n);let s=null,a=null;(function lL(e){return 2!==e.type})(e)&&(a=function S2(e){return e[gr]??function M2(e){const n=RE.pop()??Object.create(D2);return n.lView=e,n}(e)}(n),s=function Vy(e){return e&&(e.nextProducerIndex=0),Ct(e)}(a));try{LC(n),function UC(e){return fe.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&YE(e,n,t,2,i);const l=3==(3&o);if(l){const u=e.preOrderCheckHooks;null!==u&&cd(n,u,null)}else{const u=e.preOrderHooks;null!==u&&dd(n,u,0,null),yp(n,0)}if(function cL(e){for(let n=FE(e);null!==n;n=LE(n)){if(!(n[le]&ip.HasTransplantedViews))continue;const t=n[cs];for(let i=0;i<t.length;i++){wN(t[i])}}}(n),sw(n,0),null!==e.contentQueries&&nw(e,n),l){const u=e.contentCheckHooks;null!==u&&cd(n,u)}else{const u=e.contentHooks;null!==u&&dd(n,u,1),yp(n,1)}!function R2(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let i=0;i<t.length;i++){const o=t[i];if(o<0)yr(~o);else{const r=o,s=t[++i],a=t[++i];NN(s,r),a(2,n[r])}}}finally{yr(-1)}}(e,n);const c=e.components;null!==c&&lw(n,c,0);const d=e.viewQuery;if(null!==d&&Rm(2,d,i),l){const u=e.viewCheckHooks;null!==u&&cd(n,u)}else{const u=e.viewHooks;null!==u&&dd(n,u,2),yp(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[id]){for(const u of n[id])u();n[id]=null}n[le]&=-73}catch(l){throw Ha(n),l}finally{null!==a&&(function By(e,n){if(Ct(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Pa(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)Gc(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function x2(e){e.lView[gr]!==e&&(e.lView=null,RE.push(e))}(a)),bp()}}function sw(e,n){for(let t=FE(e);null!==t;t=LE(t))for(let i=Tt;i<t.length;i++)aw(t[i],n)}function dL(e,n,t){aw(Bn(n,e),t)}function aw(e,n){dp(e)&&$m(e,n)}function $m(e,n){const i=e[X],o=e[le],r=e[gr];let s=!!(0===n&&16&o);if(s||=!!(64&o&&0===n),s||=!!(1024&o),s||=!(!r?.dirty||!Ph(r)),r&&(r.dirty=!1),e[le]&=-9217,s)aL(i,e,i.template,e[st]);else if(8192&o){sw(e,1);const a=i.components;null!==a&&lw(e,a,1)}}function lw(e,n,t){for(let i=0;i<n.length;i++)dL(e,n[i],t)}function fl(e){for(e[lo].changeDetectionScheduler?.notify();e;){e[le]|=64;const n=br(e);if(rp(e)&&!n)return e;e=n}return null}class hl{get rootNodes(){const n=this._lView,t=n[X];return dl(t,n,t.firstChild,[])}constructor(n,t,i=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[st]}set context(n){this._lView[st]=n}get destroyed(){return 256==(256&this._lView[le])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[Dt];if(mn(n)){const t=n[8],i=t?t.indexOf(this):-1;i>-1&&(ol(n,i),gd(t,i))}this._attachedToViewContainer=!1}Rd(this._lView[X],this._lView)}onDestroy(n){sd(this._lView,n)}markForCheck(){fl(this._cdRefInjectingView||this._lView)}detach(){this._lView[le]&=-129}reattach(){up(this._lView),this._lView[le]|=128}detectChanges(){this._lView[le]|=1024,function Lm(e,n=!0){const t=e[lo],i=t.rendererFactory;i.begin?.();try{!function sL(e){$m(e,0);let n=0;for(;VC(e);){if(100===n)throw new N(103,!1);n++,$m(e,1)}}(e)}catch(r){throw n&&Jd(e,r),r}finally{i.end?.(),t.inlineEffectRunner?.flush()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new N(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Z0(this._lView[X],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new N(902,!1);this._appRef=n,up(this._lView)}}let Wo=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=uL}return e})();function uL(e){return function fL(e,n,t){if(_r(e)&&!t){const i=Bn(e.index,n);return new hl(i,i)}return 47&e.type?new hl(n[_t],n):null}(Ze(),j(),16==(16&e))}let eu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=gL;static#t=this.__NG_ENV_ID__=t=>t}return e})();class mL extends eu{constructor(n){super(),this._lView=n}onDestroy(n){return sd(this._lView,n),()=>function fp(e,n){if(null===e[Fo])return;const t=e[Fo].indexOf(n);-1!==t&&e[Fo].splice(t,1)}(this._lView,n)}}function gL(){return new mL(j())}const cw=new Set;function qo(e){cw.has(e)||(cw.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Vm(e){return n=>{setTimeout(e,void 0,n)}}const U=class EL extends Se{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,i){let o=n,r=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=Vm(r),o&&(o=Vm(o)),s&&(s=Vm(s)));const a=super.subscribe({next:o,error:r,complete:s});return n instanceof Rt&&n.add(a),a}};function dw(...e){}class ae{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}
3){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new U(!1),this.onMicrotaskEmpty=new U(!1),this.onStable=new U(!1),this.onError=new U(!1),typeof Zone>"u")throw new N(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&t,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function wL(){const e="function"==typeof rt.requestAnimationFrame;let n=rt[e?"requestAnimationFrame":"setTimeout"],t=rt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function xL(e){const n=()=>{!function ML(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(rt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,jm(e),e.isCheckStableRunning=!0,Bm(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),jm(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,o,r,s,a)=>{if(function DL(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(o,r,s,a);try{return uw(e),t.invokeTask(o,r,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||e.shouldCoalesceRunChangeDetection)&&n(),fw(e)}},onInvoke:(t,i,o,r,s,a,l)=>{try{return uw(e),t.invoke(o,r,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),fw(e)}},onHasTask:(t,i,o,r)=>{t.hasTask(o,r),i===o&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,jm(e),Bm(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,i,o,r)=>(t.handleError(o,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ae.isInAngularZone())throw new N(909,!1)}static assertNotInAngularZone(){if(ae.isInAngularZone())throw new N(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,o){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,SL,dw,dw);try{return r.runTask(s,t,i)}finally{r.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const SL={};function Bm(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function jm(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function uw(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function fw(e){e._nesting--,Bm(e)}class hw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new U,this.onMicrotaskEmpty=new U,this.onStable=new U,this.onError=new U}run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,o){return n.apply(t,i)}}var Mr=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Mr||{});const pw={destroy(){}};function gw(e,n){!n&&function Vp(e){if(!cC()&&!function Hk(){return rs}())throw new N(-203,!1)}();const t=n?.injector??G(mt);if(!Go(t))return pw;qo("NgAfterNextRender");const i=t.get(pl),o=i.handler??=new vw,r=n?.phase??Mr.MixedReadWrite,s=()=>{o.unregister(l),a()},a=t.get(eu).onDestroy(s),l=new _w(t,r,()=>{s(),e()});return o.register(l),{destroy:s}}class _w{constructor(n,t,i){this.phase=t,this.callbackFn=i,this.zone=n.get(ae),this.errorHandler=n.get(po,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){this.errorHandler?.handleError(n)}}}class vw{constructor(){this.executingCallbacks=!1,this.buckets={[Mr.EarlyRead]:new Set,[Mr.Write]:new Set,[Mr.MixedReadWrite]:new Set,[Mr.Read]:new Set},this.deferredCallbacks=new Set}register(n){(this.executingCallbacks?this.deferredCallbacks:this.buckets[n.phase]).add(n)}unregister(n){this.buckets[n.phase].delete(n),this.deferredCallbacks.delete(n)}execute(){let n=!1;this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const i of t)n=!0,i.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);return this.deferredCallbacks.clear(),n}destroy(){for(const n of Object.values(this.buckets))n.clear();this.deferredCallbacks.clear()}}let pl=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const o of t)o();return!!this.handler?.execute()||t.length>0}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=H({token:e,providedIn:"root",factory:()=>new e})}return e})();function IL(e,n){const t=Bn(n,e),i=t[X];!function AL(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(i,t);const o=t[Et];null!==o&&null===t[vi]&&(t[vi]=vm(o,t[Cn])),zm(i,t,t[st])}function zm(e,n,t){vp(n);try{const i=e.viewQuery;null!==i&&Rm(1,i,t);const o=e.template;null!==o&&YE(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&nw(e,n),e.staticViewQueries&&Rm(2,e.viewQuery,t);const r=e.components;null!==r&&function PL(e,n){for(let t=0;t<n.length;t++)IL(e,n[t])}(n,r)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}
3finally{n[le]&=-5,bp()}}function tu(e,n,t){let i=t?e.styles:null,o=t?e.classes:null,r=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?r=a:1==r?o=zh(o,a):2==r&&(i=zh(i,a+": "+n[++s]+";"))}t?e.styles=i:e.stylesWithoutHost=i,t?e.classes=o:e.classesWithoutHost=o}class bw extends Is{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=De(n);return new ml(t,this.ngModule)}}function yw(e){const n=[];for(const t in e){if(!e.hasOwnProperty(t))continue;const i=e[t];void 0!==i&&n.push({propName:Array.isArray(i)?i[0]:i,templateName:t})}return n}class NL{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=ed(i);const o=this.injector.get(n,Em,i);return o!==Em||t===Em?o:this.parentInjector.get(n,t,i)}}class ml extends ME{get inputs(){const n=this.componentDef,t=n.inputTransforms,i=yw(n.inputs);if(null!==t)for(const o of i)t.hasOwnProperty(o.propName)&&(o.transform=t[o.propName]);return i}get outputs(){return yw(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function rN(e){return e.map(oN).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,i,o){let r=(o=o||this.ngModule)instanceof zn?o:o?.injector;r&&null!==this.componentDef.getStandaloneInjector&&(r=this.componentDef.getStandaloneInjector(r)||r);const s=r?new NL(n,r):n,a=s.get(Cm,null);if(null===a)throw new N(407,!1);const u={rendererFactory:a,sanitizer:s.get(f2,null),inlineEffectRunner:null,afterRenderEventManager:s.get(pl,null),changeDetectionScheduler:s.get(dm,null)},f=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",m=i?function L2(e,n,t,i){const r=i.get(zE,!1)||t===mi.ShadowDom,s=e.selectRootElement(n,r);return function $2(e){KE(e)}(s),s}(f,i,this.componentDef.encapsulation,s):Nd(f,h,function kL(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(h));let p=512;this.componentDef.signals?p|=4096:this.componentDef.onPush||(p|=16);let g=null;null!==m&&(g=vm(m,s,!0));const v=Am(0,null,null,1,0,null,null,null,null,null,null),_=Zd(null,v,null,p,null,null,u,f,s,null,g);let E,x;vp(_);try{const O=this.componentDef;let P,F=null;O.findHostDirectiveDefs?(P=[],F=new Map,O.findHostDirectiveDefs(O,P,F),P.push(O)):P=[O];const q=function FL(e,n){const t=e[X],i=ge;return e[i]=n,Ps(t,i,2,"#host",null)}(_,m),K=function LL(e,n,t,i,o,r,s){const a=o[X];!function $L(e,n,t,i){for(const o of e)n.mergedAttrs=$a(n.mergedAttrs,o.hostAttrs);null!==n.mergedAttrs&&(tu(n,n.mergedAttrs,!0),null!==t&&dE(i,t,n))}(i,e,n,s);let l=null;null!==n&&(l=vm(n,o[Cn]));const c=r.rendererFactory.createRenderer(n,t);let d=16;t.signals?d=4096:t.onPush&&(d=64);const u=Zd(o,XE(t),null,d,o[e.index],e,r,c,null,null,l);return a.firstCreatePass&&km(a,e,i.length-1),Qd(o,u),o[e.index]=u}(q,m,O,P,_,u,f);x=Ua(v,ge),m&&function BL(e,n,t,i){if(i)tp(e,t,["ng-version","17.1.1"]);else{const{attrs:o,classes:r}=function sN(e){const n=[],t=[];let i=1,o=2;for(;i<e.length;){let r=e[i];if("string"==typeof r)2===o?""!==r&&n.push(r,e[++i]):8===o&&t.push(r);else{if(!gi(o))break;o=r}i++}return{attrs:n,classes:t}}(n.selectors[0]);o&&tp(e,t,o),r&&r.length>0&&cE(e,t,r.join(" "))}}(f,O,m,i),void 0!==t&&function jL(e,n,t){const i=e.projection=[];for(let o=0;o<n.length;o++){const r=t[o];i.push(null!=r?Array.from(r):null)}}(x,this.ngContentSelectors,t),E=function VL(e,n,t,i,o,r){const s=Ze(),a=o[X],l=En(s,o);JE(a,o,s,t,null,i);for(let d=0;d<t.length;d++)_n(Cr(o,a,s.directiveStart+d,s),o);ew(a,o,s),l&&_n(l,o);const c=Cr(o,a,s.directiveStart+s.componentOffset,s);if(e[st]=o[st]=c,null!==r)for(const d of r)d(c,n);return Tm(a,s,e),c}(K,O,P,F,_,[zL]),zm(v,_,null)}finally{bp()}return new RL(this.componentType,E,As(x,_),_,x)}}class RL extends s2{constructor(n,t,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=t,this.hostView=this.changeDetectorRef=new hl(o,void 0,!1),this.componentType=n}setInput(n,t){const i=this._tNode.inputs;let o;if(null!==i&&(o=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const r=this._rootLView;Fm(r[X],r,o,n,t),this.previousInputValues.set(n,t),fl(Bn(this._tNode.index,r))}}get injector(){return new Ut(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function zL(){const e=Ze();ld(j()[X],e)}function Le(e){let n=function Cw(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let o;if(bi(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new N(903,!1);o=n.\u0275dir}if(o){if(t){i.push(o);const s=e;
3s.inputs=nu(e.inputs),s.inputTransforms=nu(e.inputTransforms),s.declaredInputs=nu(e.declaredInputs),s.outputs=nu(e.outputs);const a=o.hostBindings;a&&qL(e,a);const l=o.viewQuery,c=o.contentQueries;if(l&&HL(e,l),c&&WL(e,c),GL(e,o),Ok(e.outputs,o.outputs),bi(o)&&o.data.animation){const d=e.data;d.animation=(d.animation||[]).concat(o.data.animation)}}const r=o.features;if(r)for(let s=0;s<r.length;s++){const a=r[s];a&&a.ngInherit&&a(e),a===Le&&(t=!1)}}n=Object.getPrototypeOf(n)}!function UL(e){let n=0,t=null;for(let i=e.length-1;i>=0;i--){const o=e[i];o.hostVars=n+=o.hostVars,o.hostAttrs=$a(o.hostAttrs,t=$a(t,o.hostAttrs))}}(i)}function GL(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const o=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=n.inputTransforms[o]}}}function nu(e){return e===Oi?{}:e===Be?[]:e}function HL(e,n){const t=e.viewQuery;e.viewQuery=t?(i,o)=>{n(i,o),t(i,o)}:n}function WL(e,n){const t=e.contentQueries;e.contentQueries=t?(i,o,r)=>{n(i,o,r),t(i,o,r)}:n}function qL(e,n){const t=e.hostBindings;e.hostBindings=t?(i,o)=>{n(i,o),t(i,o)}:n}function Gm(e){const n=e.inputConfig,t={};for(const i in n)if(n.hasOwnProperty(i)){const o=n[i];Array.isArray(o)&&o[3]&&(t[i]=o[3])}e.inputTransforms=t}function Dw(e){const n=e[za]??[],i=e[Dt][ve];for(const o of n)a3(o,i);e[za]=Be}function a3(e,n){let t=0,i=e.firstChild;if(i){const o=e.data[Os];for(;t<o;){const r=i.nextSibling;$d(n,i,!1),i=r,t++}}}function Tw(e){Dw(e);for(let n=Tt;n<e.length;n++)ou(e[n])}function ou(e){const n=e[X];for(let t=ge;t<n.bindingStartIndex;t++)mn(e[t])?Tw(e[t]):pn(e[t])&&ou(e[t])}const c3=new RegExp(`^(\\d+)*(${fm}|${um})*(.*)`);function qm(e){return e.index-ge}function ru(e,n,t,i){let o=null;const r=qm(i),s=e.data[gm];if(s?.[r])o=function p3(e,n){const[t,...i]=function u3(e){const n=e.match(c3),[t,i,o,r]=n,s=i?parseInt(i,10):o,a=[];for(const[l,c,d]of r.matchAll(/(f|n)(\d*)/g)){const u=parseInt(d,10)||1;a.push(c,u)}return[s,...a]}(e);let o;return o=t===um?n[_t][Et]:t===fm?function k0(e){return e.ownerDocument.body}(n[_t][Et]):at(n[Number(t)+ge]),function h3(e,n){let t=e;for(let i=0;i<n.length;i+=2){const o=n[i],r=n[i+1];for(let s=0;s<r;s++)switch(o){case Ts.FirstChild:t=t.firstChild;break;case Ts.NextSibling:t=t.nextSibling}}return t}(o,i)}(s[r],t);else if(n.firstChild===i)o=e.firstChild;else{const a=null===i.prev,l=i.prev??i.parent;if(function f3(e){return!e.prev&&8===e.parent?.type}(i))o=bm(e,qm(i.parent));else{let c=En(l,t);if(a)o=c.firstChild;else{const d=qm(l),u=bm(e,d);o=2===l.type&&u?su(ym(e,d)+1,u):c.nextSibling}}}return o}function su(e,n){let t=n;for(let i=0;i<e;i++)t=t.nextSibling;return t}let Iw=()=>null;function v3(e,n){const t=e[za];return n&&null!==t&&0!==t.length?t[0].data[mm]===n?t.shift():(Dw(e),null):null}function ks(e,n){return Iw(e,n)}function yl(e,n,t,i){const o=n.tView,a=Zd(e,o,t,4096&e[le]?4096:16,null,n,null,null,null,i?.injector??null,i?.dehydratedView??null);a[Ba]=e[n.index];const c=e[Ii];return null!==c&&(a[Ii]=c.createEmbeddedView(o)),zm(o,a,t),a}function Ns(e,n){return!n||null===n.firstChild||Ad(e)}function Cl(e,n,t,i=!0){const o=n[X];if(function fF(e,n,t,i){const o=Tt+i,r=t.length;i>0&&(t[o-1][_i]=n),i<r-Tt?(n[_i]=t[o],p0(t,Tt+i,n)):(t.push(n),n[_i]=null),n[Dt]=t;const s=n[Ba];null!==s&&t!==s&&function hF(e,n){const t=e[cs];n[_t]!==n[Dt][Dt][_t]&&(e[le]|=ip.HasTransplantedViews),null===t?e[cs]=[n]:t.push(n)}(s,n);const a=n[Ii];null!==a&&a.insertView(e),up(n),n[le]|=128}(o,n,e,t),i){const s=nm(t,e),a=n[ve],l=Fd(a,e[Ai]);null!==l&&function dF(e,n,t,i,o,r){i[Et]=o,i[hn]=n,Vd(e,i,t,1,o,r)}(o,e[hn],a,n,l,s)}const r=n[vi];null!==r&&null!==r.firstChild&&(r.firstChild=null)}let Fn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=y3}return e})();function y3(){return Nw(Ze(),j())}const C3=Fn,Pw=class extends C3{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}
3get element(){return As(this._hostTNode,this._hostLView)}get injector(){return new Ut(this._hostTNode,this._hostLView)}get parentInjector(){const n=hd(this._hostTNode,this._hostLView);if(Ep(n)){const t=Xa(n,this._hostLView),i=Ya(n);return new Ut(t[X].data[i+8],t)}return new Ut(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=kw(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Tt}createEmbeddedView(n,t,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const s=ks(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},r,s);return this.insertImpl(a,o,Ns(this._hostTNode,s)),a}createComponent(n,t,i,o,r){const s=n&&!function Ka(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,o=m.projectableNodes,r=m.environmentInjector||m.ngModuleRef}const l=s?n:new ml(De(n)),c=i||this.parentInjector;if(!r&&null==l.ngModule){const p=(s?c:this.parentInjector).get(zn,null);p&&(r=p)}const d=De(l.componentType??{}),u=ks(this._lContainer,d?.id??null),h=l.create(c,o,u?.firstChild??null,r);return this.insertImpl(h.hostView,a,Ns(this._hostTNode,u)),h}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const o=n._lView;if(function EN(e){return mn(e[Dt])}(o)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=o[Dt],c=new Pw(l,l[hn],l[Dt]);c.detach(c.indexOf(n))}}const r=this._adjustIndex(t),s=this._lContainer;return Cl(s,o,r,i),n.attachToViewContainerRef(),p0(Km(s),r,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=kw(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=ol(this._lContainer,t);i&&(gd(Km(this._lContainer),t),Rd(i[X],i))}detach(n){const t=this._adjustIndex(n,-1),i=ol(this._lContainer,t);return i&&null!=gd(Km(this._lContainer),t)?new hl(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function kw(e){return e[8]}function Km(e){return e[8]||(e[8]=[])}function Nw(e,n){let t;const i=n[e.index];return mn(i)?t=i:(t=tw(i,n,null,e),n[e.index]=t,Qd(n,t)),Rw(t,n,e,i),new Pw(t,e,n)}let Rw=Lw,Zm=()=>!1;function Lw(e,n,t,i){if(e[Ai])return;let o;o=8&t.type?at(i):function E3(e,n){const t=e[ve],i=t.createComment(""),o=En(n,e);return wr(t,Fd(t,o),i,function _F(e,n){return e.nextSibling(n)}(t,o),!1),i}(n,t),e[Ai]=o}function w3(e,n,t){if(e[Ai]&&e[za])return!0;const i=t[vi],o=n.index-ge;if(!i||function Pd(e){if(Ad(e))return!0;let n=e.parent;for(;n;){if(Ad(e)||B0(n))return!0;n=n.parent}return!1}(n)||qd(i,o))return!1;const s=bm(i,o),a=i.data[ll]?.[o],[l,c]=function _3(e,n){const t=[];for(const i of n)for(let o=0;o<(i[Ud]??1);o++){const r={data:i,firstChild:null};i[Os]>0&&(r.firstChild=e,e=su(i[Os],e)),t.push(r)}return[e,t]}(s,a);return e[Ai]=l,e[za]=c,!0}function S3(e,n,t,i){Zm(e,t,n)||Lw(e,n,t,i)}function Vi(e,n,t){return e[n]=t}function Ft(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function xr(e,n,t,i){const o=Ft(e,n,t);return Ft(e,n+1,i)||o}function R(e,n,t,i,o,r,s,a){const l=j(),c=Ne(),d=e+ge,u=c.firstCreatePass?function x3(e,n,t,i,o,r,s,a,l){const c=n.consts,d=Ps(n,e,4,s||null,ki(c,a));Pm(n,t,d,ki(c,l)),ld(n,d);const u=d.tView=Am(2,d,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,d),u.queries=n.queries.embeddedTView(d)),d}(d,c,l,n,t,i,o,r,s):c.data[d];Ni(u,!1);const f=$w(c,l,u,e);ad()&&Ld(c,l,f,u),_n(f,l);const h=tw(f,l,f,u);return l[d]=h,Qd(l,h),function Fw(e,n,t){return Zm(e,n,t)}(h,u,l),rd(u)&&Om(c,l,u),null!=s&&Im(l,u,a),R}let $w=Vw;function Vw(e,n,t,i){return Lo(!0),n[ve].createComment("")}function D3(e,n,t,i){const o=n[vi],r=!o||us()||qd(o,i);if(Lo(r),r)return Vw(0,n);const s=o.data[pm]?.[i]??null;null!==s&&null!==t.tView&&null===t.tView.ssrId&&(t.tView.ssrId=s);const a=ru(o,e,n,t);return Wd(o,i,a),su(ym(o,i),a)}function sn(e,n,t,i){const o=j();return Ft(o,Ri(),n)&&(Ne(),function $i(e,n,t,i,o,r){const s=En(e,n);Nm(n[ve],s,r,e.value,t,i,o)}(dt(),o,e,n,t,i)),sn}function zs(e,n,t,i){return Ft(e,Ri(),t)?n+me(t)+i:be}function Gs(e,n,t,i,o,r){const a=xr(e,co(),t,o);return uo(2),a?n+me(t)+i+me(o)+r:be}function hu(e,n){return e<<17|n<<2}function Xo(e){return e>>17&32767}function sg(e){return 2|e}function Tr(e){return(131068&e)>>2}function ag(e,n){return-131069&e|n<<2}function lg(e){return 1|e}function _S(e,n,t,i){const o=e[t+1],r=null===n;let s=i?Xo(o):Tr(o),a=!1;for(;0!==s&&(!1===a||r);){const c=e[s+1];d$(e[s],n)&&(a=!0,e[s+1]=i?lg(c):sg(c)),s=i?Xo(c):Tr(c)}a&&(e[t+1]=i?sg(o):lg(o))}function d$(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Cs(e,n)>=0}const Wt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0}
3;function vS(e){return e.substring(Wt.key,Wt.keyEnd)}function u$(e){return e.substring(Wt.value,Wt.valueEnd)}function bS(e,n){const t=Wt.textEnd;return t===n?-1:(n=Wt.keyEnd=function p$(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,Wt.key=n,t),Ks(e,n,t))}function yS(e,n){const t=Wt.textEnd;let i=Wt.key=Ks(e,n,t);return t===i?-1:(i=Wt.keyEnd=function m$(e,n,t){let i;for(;n<t&&(45===(i=e.charCodeAt(n))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)n++;return n}(e,i,t),i=ES(e,i,t),i=Wt.value=Ks(e,i,t),i=Wt.valueEnd=function g$(e,n,t){let i=-1,o=-1,r=-1,s=n,a=s;for(;s<t;){const l=e.charCodeAt(s++);if(59===l)return a;34===l||39===l?a=s=wS(e,l,s,t):n===s-4&&85===r&&82===o&&76===i&&40===l?a=s=wS(e,41,s,t):l>32&&(a=s),r=o,o=i,i=-33&l}return a}(e,i,t),ES(e,i,t))}function CS(e){Wt.key=0,Wt.keyEnd=0,Wt.value=0,Wt.valueEnd=0,Wt.textEnd=e.length}function Ks(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function ES(e,n,t,i){return(n=Ks(e,n,t))<t&&n++,n}function wS(e,n,t,i){let o=-1,r=t;for(;r<i;){const s=e.charCodeAt(r++);if(s==n&&92!==o)return r;o=92==s&&92===o?0:s}throw new Error}function S(e,n,t){const i=j();return Ft(i,Ri(),n)&&Wn(Ne(),dt(),i,e,n,i[ve],t,!1),S}function cg(e,n,t,i,o){const s=o?"class":"style";Fm(e,t,n.inputs[s],s,i)}function vn(e,n){return function Ci(e,n,t,i){const o=j(),r=Ne(),s=uo(2);r.firstUpdatePass&&xS(r,e,s,i),n!==be&&Ft(o,s,n)&&TS(r,r.data[gn()],o,o[ve],e,o[s+1]=function M$(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=zt(Un(e)))),e}(n,t),i,s)}(e,n,null,!0),vn}function _$(e,n){for(let t=function h$(e){return CS(e),yS(e,Ks(e,0,Wt.textEnd))}(n);t>=0;t=yS(n,t))DS(e,vS(n),u$(n))}function pu(e){Ei(w$,Bi,e,!0)}function Bi(e,n){for(let t=function f$(e){return CS(e),bS(e,Ks(e,0,Wt.textEnd))}(n);t>=0;t=bS(n,t))jn(e,vS(n),!0)}function Ei(e,n,t,i){const o=Ne(),r=uo(2);o.firstUpdatePass&&xS(o,null,r,i);const s=j();if(t!==be&&Ft(s,r,t)){const a=o.data[gn()];if(IS(a,i)&&!MS(o,r)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=zh(l,t||"")),cg(o,a,s,t,i)}else!function S$(e,n,t,i,o,r,s,a){o===be&&(o=Be);let l=0,c=0,d=0<o.length?o[0]:null,u=0<r.length?r[0]:null;for(;null!==d||null!==u;){const f=l<o.length?o[l+1]:void 0,h=c<r.length?r[c+1]:void 0;let p,m=null;d===u?(l+=2,c+=2,f!==h&&(m=u,p=h)):null===u||null!==d&&d<u?(l+=2,m=d):(c+=2,m=u,p=h),null!==m&&TS(e,n,t,i,m,p,s,a),d=l<o.length?o[l]:null,u=c<r.length?r[c]:null}}(o,a,s,s[ve],s[r+1],s[r+1]=function E$(e,n,t){if(null==t||""===t)return Be;const i=[],o=Un(t);if(Array.isArray(o))for(let r=0;r<o.length;r++)e(i,o[r],!0);else if("object"==typeof o)for(const r in o)o.hasOwnProperty(r)&&e(i,r,o[r]);else"string"==typeof o&&n(i,o);return i}(e,n,t),i,r)}}function MS(e,n){return n>=e.expandoStartIndex}function xS(e,n,t,i){const o=e.data;if(null===o[t+1]){const r=o[gn()],s=MS(e,t);IS(r,i)&&null===n&&!s&&(n=!1),n=function v$(e,n,t,i){const o=gp(e);let r=i?n.residualClasses:n.residualStyles;if(null===o)0===(i?n.classBindings:n.styleBindings)&&(t=xl(t=dg(null,e,n,t,i),n.attrs,i),r=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==o)if(t=dg(o,e,n,t,i),null===r){let l=function b$(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Tr(i))return e[Xo(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=dg(null,e,n,l[1],i),l=xl(l,n.attrs,i),function y$(e,n,t,i){e[Xo(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else r=function C$(e,n,t){let i;const o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r<o;r++)i=xl(i,e[r].hostAttrs,t);return xl(i,n.attrs,t)}(e,n,i)}return void 0!==r&&(i?n.residualClasses=r:n.residualStyles=r),t}(o,r,n,i),function l$(e,n,t,i,o,r){let s=r?n.classBindings:n.styleBindings,a=Xo(s),l=Tr(s);e[i]=t;let d,c=!1;if(Array.isArray(t)?(d=t[1],(null===d||Cs(t,d)>0)&&(c=!0)):d=t,o)if(0!==l){const f=Xo(e[a+1]);e[i+1]=hu(f,a),0!==f&&(e[f+1]=ag(e[f+1],i)),e[a+1]=function s$(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=hu(a,0),0!==a&&(e[a+1]=ag(e[a+1],i)),a=i;else e[i+1]=hu(l,0),0===a?a=i:e[l+1]=ag(e[l+1],i),l=i;c&&(e[i+1]=sg(e[i+1])),_S(e,d,i,!0),_S(e,d,i,!1),function c$(e,n,t,i,o){const r=o?e.residualClasses:e.residualStyles;null!=r&&"string"==typeof n&&Cs(r,n)>=0&&(t[i+1]=lg(t[i+1]))}(n,d,e,i,r),s=hu(a,l),r?n.classBindings=s:n.styleBindings=s}(o,r,n,t,s,i)}}function dg(e,n,t,i,o){let r=null;const s=t.directiveEnd;let a=t.directiveStylingLast;
3for(-1===a?a=t.directiveStart:a++;a<s&&(r=n[a],i=xl(i,r.hostAttrs,o),r!==e);)a++;return null!==e&&(t.directiveStylingLast=a),i}function xl(e,n,t){const i=t?1:2;let o=-1;if(null!==n)for(let r=0;r<n.length;r++){const s=n[r];"number"==typeof s?o=s:o===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),jn(e,s,!!t||n[++r]))}return void 0===e?null:e}function DS(e,n,t){jn(e,n,Un(t))}function w$(e,n,t){const i=String(n);""!==i&&!i.includes(" ")&&jn(e,i,t)}function TS(e,n,t,i,o,r,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1],d=function a$(e){return 1==(1&e)}(c)?OS(l,n,t,o,Tr(c),s):void 0;mu(d)||(mu(r)||function r$(e){return 2==(2&e)}(c)&&(r=OS(l,null,t,o,a,s)),function yF(e,n,t,i,o){if(n)o?e.addClass(t,i):e.removeClass(t,i);else{let r=-1===i.indexOf("-")?void 0:Ho.DashCase;null==o?e.removeStyle(t,i,r):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=Ho.Important),e.setStyle(t,i,o,r))}}(i,s,Ga(gn(),t),o,r))}function OS(e,n,t,i,o,r){const s=null===n;let a;for(;o>0;){const l=e[o],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let f=t[o+1];f===be&&(f=u?Be:void 0);let h=u?Op(f,i):d===i?f:void 0;if(c&&!mu(h)&&(h=Op(l,i)),mu(h)&&(a=h,s))return a;const m=e[o+1];o=s?Xo(m):Tr(m)}if(null!==n){let l=r?n.residualClasses:n.residualStyles;null!=l&&(a=Op(l,i))}return a}function mu(e){return void 0!==e}function IS(e,n){return 0!=(e.flags&(n?8:16))}function RS(e,n,t){qo("NgControlFlow");const i=j(),o=Ri(),r=function hg(e,n){return e[n]}(i,ge+e);if(Ft(i,o,n)){const a=Ct(null);try{if(function Xm(e,n){const t=ol(e,n);return void 0!==t&&Rd(t[X],t),t}(r,0),-1!==n){const l=function pg(e,n){return Ua(e,n)}(i[X],ge+n),c=ks(r,l.tView.ssrId);Cl(r,yl(i,l,t,{dehydratedView:c}),0,Ns(l,c))}}finally{Ct(a)}}else{const a=function Aw(e,n){const t=Tt+n;if(t<e.length)return e[t]}(r,0);void 0!==a&&(a[st]=t)}}function y(e,n,t,i){const o=j(),r=Ne(),s=ge+e,a=o[ve],l=r.firstCreatePass?function W$(e,n,t,i,o,r){const s=n.consts,l=Ps(n,e,2,i,ki(s,o));return Pm(n,t,l,ki(s,r)),null!==l.attrs&&tu(l,l.attrs,!1),null!==l.mergedAttrs&&tu(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,r,o,n,t,i):r.data[s],c=FS(r,o,l,a,n,e);o[s]=c;const d=rd(l);return Ni(l,!0),dE(a,c,l),32!=(32&l.flags)&&ad()&&Ld(r,o,c,l),0===function SN(){return fe.lFrame.elementDepthCount}()&&_n(c,o),function MN(){fe.lFrame.elementDepthCount++}(),d&&(Om(r,o,l),Tm(r,l,o)),null!==i&&Im(o,l),y}function b(){let e=Ze();hp()?pp():(e=e.parent,Ni(e,!1));const n=e;(function DN(e){return fe.skipHydrationRootTNode===e})(n)&&function AN(){fe.skipHydrationRootTNode=null}(),function xN(){fe.lFrame.elementDepthCount--}();const t=Ne();return t.firstCreatePass&&(ld(t,e),op(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function WN(e){return 0!=(8&e.flags)}(n)&&cg(t,n,j(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function qN(e){return 0!=(16&e.flags)}(n)&&cg(t,n,j(),n.stylesWithoutHost,!1),b}function z(e,n,t,i){return y(e,n,t,i),b(),z}let FS=(e,n,t,i,o,r)=>(Lo(!0),Nd(i,o,QC()));function q$(e,n,t,i,o,r){const s=n[vi],a=!s||us()||qd(s,r);if(Lo(a),a)return Nd(i,o,QC());const l=ru(s,e,n,t);return SE(s,r)&&Wd(s,r,l.nextSibling),s&&(B0(t)||j0(l))&&_r(t)&&(function ON(e){fe.
3skipHydrationRootTNode=e}(t),aE(l)),l}function At(e,n,t){const i=j(),o=Ne(),r=e+ge,s=o.firstCreatePass?function X$(e,n,t,i,o){const r=n.consts,s=ki(r,i),a=Ps(n,e,8,"ng-container",s);return null!==s&&tu(a,s,!0),Pm(n,t,a,ki(r,o)),null!==n.queries&&n.queries.elementStart(n,a),a}(r,o,i,n,t):o.data[r];Ni(s,!0);const a=$S(o,i,s,e);return i[r]=a,ad()&&Ld(o,i,a,s),_n(a,i),rd(s)&&(Om(o,i,s),Tm(o,s,i)),null!=t&&Im(i,s),At}function Pt(){let e=Ze();const n=Ne();return hp()?pp():(e=e.parent,Ni(e,!1)),n.firstCreatePass&&(ld(n,e),op(e)&&n.queries.elementEnd(e)),Pt}let $S=(e,n,t,i)=>(Lo(!0),Qp(n[ve],""));function K$(e,n,t,i){let o;const r=n[vi],s=!r||us();if(Lo(s),s)return Qp(n[ve],"");const a=ru(r,e,n,t),l=function r2(e,n){const t=e.data;let i=t[hm]?.[n]??null;return null===i&&t[ll]?.[n]&&(i=ym(e,n)),i}(r,i);return Wd(r,i,a),o=su(l,a),o}function Qe(){return j()}function gu(e,n,t){const i=j();return Ft(i,Ri(),n)&&Wn(Ne(),dt(),i,e,n,i[ve],t,!0),gu}function mg(e,n,t){const i=j();if(Ft(i,Ri(),n)){const r=Ne(),s=dt();Wn(r,s,i,e,n,rw(gp(r.data),s,i),t,!0)}return mg}const Or=void 0;var J$=["en",[["a","p"],["AM","PM"],Or],[["AM","PM"],Or,Or],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Or,[["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"]],Or,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Or,"{1} 'at' {0}",Or],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Q$(e){const t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===i?1:5}];let Zs={};function Sn(e){const n=function eV(e){return e.toLowerCase().replace(/_/g,"-")}(e);let t=BS(n);if(t)return t;const i=n.split("-")[0];if(t=BS(i),t)return t;if("en"===i)return J$;throw new N(701,!1)}function BS(e){return e in Zs||(Zs[e]=rt.ng&&rt.ng.common&&rt.ng.common.locales&&rt.ng.common.locales[e]),Zs[e]}var lt=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(lt||{});const tV=["zero","one","two","few","many"],Qs="en-US",_u={marker:"element"},vu={marker:"ICU"};var Ln=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Ln||{});let jS=Qs;function zS(e){(function Pn(e,n){null==e&&de(n,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(jS=e.toLowerCase().replace(/_/g,"-"))}function GS(e,n,t){const i=n.insertBeforeIndex,o=Array.isArray(i)?i[0]:i;return null===o?iE(e,0,t):at(t[o])}function US(e,n,t,i,o){const r=n.insertBeforeIndex;if(Array.isArray(r)){let s=i,a=null;if(3&n.type||(a=s,s=o),null!==s&&-1===n.componentOffset)for(let l=1;l<r.length;l++)wr(e,s,t[r[l]],a,!1)}}function HS(e,n){if(e.push(n),e.length>1)for(let t=e.length-2;t>=0;t--){const i=e[t];WS(i)||rV(i,n)&&null===sV(i)&&aV(i,n.index)}}function WS(e){return!(64&e.type)}function rV(e,n){return WS(n)||e.index>n.index}function sV(e){const n=e.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function aV(e,n){const t=e.insertBeforeIndex;Array.isArray(t)?t[0]=n:(rE(GS,US),e.insertBeforeIndex=n)}function Dl(e,n){const t=e.data[n];return null===t||"string"==typeof t?null:t.hasOwnProperty("currentCaseLViewIndex")?t:t.value}function dV(e,n,t){const i=Dm(e,t,64,null,null);return HS(n,i),i}function bu(e,n){const t=n[e.currentCaseLViewIndex];return null===t?t:t<0?~t:t}function qS(e){return e>>>17}function YS(e){return(131070&e)>>>1}let Tl=0,Ol=0;function KS(e,n,t,i){const o=t[ve];let s,r=null;for(let a=0;a<n.length;a++){const l=n[a];if("string"==typeof l){const c=n[++a];null===t[c]&&(t[c]=kd(o,l))}else if("number"==typeof l)switch(1&l){case 0:const c=qS(l);let d,u;
3if(null===r&&(r=c,s=Fd(o,i)),c===r?(d=i,u=s):(d=null,u=at(t[c])),null!==u){const p=YS(l);wr(o,u,t[p],d,!1);const v=Dl(e,p);if(null!==v&&"object"==typeof v){const _=bu(v,t);null!==_&&KS(e,v.create[_],t,t[v.anchorIdx])}}break;case 1:const h=n[++a],m=n[++a];Nm(o,Ga(l>>>1,t),null,null,h,m,null)}else switch(l){case vu:const c=n[++a],d=n[++a];null===t[d]&&_n(t[d]=Qp(o,c),t);break;case _u:const u=n[++a],f=n[++a];null===t[f]&&_n(t[f]=Nd(o,u,null),t)}}}function ZS(e,n,t,i,o){for(let r=0;r<t.length;r++){const s=t[r],a=t[++r];if(s&o){let l="";for(let c=r+1;c<=r+a;c++){const d=t[c];if("string"==typeof d)l+=d;else if("number"==typeof d)if(d<0)l+=me(n[i-d]);else{const u=d>>>2;switch(3&d){case 1:const f=t[++c],h=t[++c],m=e.data[u];"string"==typeof m?Nm(n[ve],n[u],null,m,f,l,h):Wn(e,m,n,f,l,n[ve],h,!1);break;case 0:const p=n[u];null!==p&&K0(n[ve],p,l);break;case 2:mV(e,Dl(e,u),n,l);break;case 3:QS(e,Dl(e,u),i,n)}}}}else{const l=t[r+1];if(l>0&&3==(3&l)){const d=Dl(e,l>>>2);n[d.currentCaseLViewIndex]<0&&QS(e,d,i,n)}}r+=a}}function QS(e,n,t,i){let o=i[n.currentCaseLViewIndex];if(null!==o){let r=Tl;o<0&&(o=i[n.currentCaseLViewIndex]=~o,r=-1),ZS(e,i,n.update[o],t,r)}}function mV(e,n,t,i){const o=function gV(e,n){let t=e.cases.indexOf(n);if(-1===t)switch(e.type){case 1:{const i=function nV(e,n){const t=function VS(e){return Sn(e)[lt.PluralCase]}(n)(parseInt(e,10)),i=tV[t];return void 0!==i?i:"other"}(n,function oV(){return jS}());t=e.cases.indexOf(i),-1===t&&"other"!==i&&(t=e.cases.indexOf("other"));break}case 0:t=e.cases.indexOf("other")}return-1===t?null:t}(n,i);if(bu(n,t)!==o&&(JS(e,n,t),t[n.currentCaseLViewIndex]=null===o?null:~o,null!==o)){const s=t[n.anchorIdx];s&&KS(e,n.create[o],t,s)}}function JS(e,n,t){let i=bu(n,t);if(null!==i){const o=n.remove[i];for(let r=0;r<o.length;r++){const s=o[r];if(s>0){const a=Ga(s,t);null!==a&&$d(t[ve],a)}else JS(e,Dl(e,~s),t)}}}function _V(){const e=[];let t,i,n=-1;function r(a,l){n=0;const c=bu(a,l);i=null!==c?a.remove[c]:Be}function s(){if(n<i.length){const a=i[n++];return a>0?t[a]:(e.push(n,i),r(t[X].data[~a],t),s())}return 0===e.length?null:(i=e.pop(),n=e.pop(),s())}return function o(a,l){for(t=l;e.length;)e.pop();return r(a.value,l),s}}const yu=/\ufffd(\d+):?\d*\ufffd/gi,bV=/\ufffd(\d+)\ufffd/,tM=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Il="\ufffd",yV=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,CV=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,EV=/\uE500/g;function nM(e,n,t,i,o,r,s){const a=ul(e,i,1,null);let l=a<<Ln.SHIFT,c=Wa();n===c&&(c=null),null===c&&(l|=Ln.APPEND_EAGERLY),s&&(l|=Ln.COMMENT,function lF(e){void 0===Kp&&(Kp=e())}(_V)),o.push(l,null===r?"":r);const d=Dm(e,a,s?32:1,null===r?"":r,null);HS(t,d);const u=d.index;return Ni(d,!1),null!==c&&n!==c&&function cV(e,n){let t=e.insertBeforeIndex;null===t?(rE(GS,US),t=e.insertBeforeIndex=[null,n]):(function ko(e,n,t){e!=n&&de(t,e,n,"==")}(Array.isArray(t),!0,"Expecting array here"),t.push(n))}(c,u),d}function MV(e,n,t,i,o,r,s){const a=s.match(yu),l=nM(e,n,t,r,i,a?null:s,!1);a&&Al(o,s,l.index,null,0,null)}function Al(e,n,t,i,o,r){const s=e.length,a=s+1;e.push(null,null);const l=s+2,c=n.split(yu);let d=0;for(let u=0;u<c.length;u++){const f=c[u];if(1&u){const h=o+parseInt(f,10);e.push(-1-h),d|=iM(h)}else""!==f&&e.push(f)}return e.push(t<<2|(i?1:0)),i&&e.push(i,r),e[s]=d,e[a]=e.length-l,d}function iM(e){return 1<<Math.min(e,31)}function oM(e){let n,r,t="",i=0,o=!1;for(;null!==(n=yV.exec(e));)o?n[0]===`${Il}/*${r}${Il}`&&(i=n.index,o=!1):(t+=e.substring(i,n.index+n[0].length),r=n[1],o=!0);return t+=e.slice(i),t}function rM(e,n,t,i,o,r){let s=0;const a={type:o.type,currentCaseLViewIndex:ul(e,n,1,null),anchorIdx:r,cases:[],create:[],remove:[],update:[]};(function kV(e,n,t){e.push(iM(n.mainBinding),2,-1-n.mainBinding,t<<2|2)})(t,o,r),function lV(e,n,t){const i=e.data[n];null===i?e.data[n]=t:i.value=t}(e,r,a);const l=o.values;for(let c=0;c<l.length;c++){const d=l[c],u=[];for(let f=0;f<d.length;f++){const h=d[f];if("string"!=typeof h){const m=u.push(h)-1;d[f]=`\x3c!--\ufffd${m}\ufffd--\x3e`}}s=AV(e,a,n,t,i,o.cases[c],d.join(""),u)|s}s&&function NV(e,n,t){e.push(n,1,t<<2|3)}
3(t,s,r)}function IV(e){const n=[],t=[];let i=1,o=0;const r=gg(e=e.replace(tM,function(s,a,l){return i="select"===l?0:1,o=parseInt(a.slice(1),10),""}));for(let s=0;s<r.length;){let a=r[s++].trim();1===i&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&n.push(a);const l=gg(r[s++]);n.length>t.length&&t.push(l)}return{type:i,mainBinding:o,cases:n,values:t}}function gg(e){if(!e)return[];let n=0;const t=[],i=[],o=/[{}]/g;let r;for(o.lastIndex=0;r=o.exec(e);){const a=r.index;if("}"==r[0]){if(t.pop(),0==t.length){const l=e.substring(n,a);tM.test(l)?i.push(IV(l)):i.push(l),n=a+1}}else{if(0==t.length){const l=e.substring(n,a);i.push(l),n=a+1}t.push("{")}}const s=e.substring(n);return i.push(s),i}function AV(e,n,t,i,o,r,s,a){const l=[],c=[],d=[];n.cases.push(r),n.create.push(l),n.remove.push(c),n.update.push(d);const f=pE(jo()).getInertBodyElement(s),h=lm(f)||f;return h?sM(e,n,t,i,l,c,d,h,o,a,0):0}function sM(e,n,t,i,o,r,s,a,l,c,d){let u=0,f=a.firstChild;for(;f;){const h=ul(e,t,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:const m=f,p=m.tagName.toLowerCase();if(sm.hasOwnProperty(p)){_g(o,_u,p,l,h),e.data[h]=p;const E=m.attributes;for(let x=0;x<E.length;x++){const O=E.item(x),P=O.name.toLowerCase();O.value.match(yu)?vE.hasOwnProperty(P)&&Al(s,O.value,h,O.name,0,am[P]?zd:null):RV(o,h,O)}u=sM(e,n,t,i,o,r,s,f,h,c,d+1)|u,aM(r,h,d)}break;case Node.TEXT_NODE:const g=f.textContent||"",v=g.match(yu);_g(o,null,v?"":g,l,h),aM(r,h,d),v&&(u=Al(s,g,h,null,0,null)|u);break;case Node.COMMENT_NODE:const _=bV.exec(f.textContent||"");if(_){const x=c[parseInt(_[1],10)];_g(o,vu,"",l,h),rM(e,t,i,l,x,h),PV(r,h,d)}}f=f.nextSibling}return u}function aM(e,n,t){0===t&&e.push(n)}function PV(e,n,t){0===t&&(e.push(~n),e.push(n))}function _g(e,n,t,i,o){null!==n&&e.push(n),e.push(t,o,function uV(e,n,t){return e|n<<17|t<<1}(0,i,o))}function RV(e,n,t){e.push(n<<1|1,t.name,t.value)}const FV=/\[(\ufffd.+?\ufffd?)\]/,LV=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,$V=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,VV=/{([A-Z0-9_]+)}/g,BV=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,jV=/\/\*/,zV=/\d+\:(\d+)/;function ji(e,n,t=-1){const i=Ne(),o=j(),r=ge+e,s=ki(i.consts,n),a=Wa();i.firstCreatePass&&function SV(e,n,t,i,o,r){const s=Wa(),a=[],l=[],c=[[]];o=function OV(e,n){if(function TV(e){return-1===e}(n))return oM(e);{const t=e.indexOf(`:${n}${Il}`)+2+n.toString().length,i=e.search(new RegExp(`${Il}\\/\\*\\d+:${n}${Il}`));return oM(e.substring(t,i))}}(o,r);const d=function wV(e){return e.replace(EV," ")}(o).split(CV);for(let u=0;u<d.length;u++){let f=d[u];if(1&u){const h=47===f.charCodeAt(0),p=(f.charCodeAt(h?1:0),ge+Number.parseInt(f.substring(h?2:1)));if(h)c.shift(),Ni(Wa(),!1);else{const g=dV(e,c[0],p);c.unshift([]),Ni(g,!0)}}else{const h=gg(f);for(let m=0;m<h.length;m++){let p=h[m];if(1&m){const g=p;if("object"!=typeof g)throw new Error(`Unable to parse ICU expression in "${o}" message.`);rM(e,t,l,n,g,nM(e,s,c[0],t,a,"",!0).index)}else""!==p&&MV(e,s,c[0],a,l,t,p)}}}e.data[i]={create:a,update:l}}(i,null===a?0:a.index,o,r,s,t),2===i.type?o[_t][le]|=32:o[le]|=32;const l=i.data[r],d=J0(i,a===o[hn]?null:a,o);(function pV(e,n,t,i){const o=e[ve];for(let r=0;r<n.length;r++){const s=n[r++],a=n[r],c=(s&Ln.APPEND_EAGERLY)===Ln.APPEND_EAGERLY,d=s>>>Ln.SHIFT;let u=e[d];null===u&&(u=e[d]=(s&Ln.COMMENT)===Ln.COMMENT?o.createComment(a):kd(o,a)),c&&null!==t&&wr(o,t,u,i,!1)}})(o,l.create,d,a&&8&a.type?o[a.index]:null),HC(!0)}function zi(){HC(!1)}function J(e,n,t){ji(e,n,t),zi()}function vg(e){return function fV(e){e&&(Tl|=1<<Math.min(Ol,31)),Ol++}(Ft(j(),Ri(),e)),vg}function Cu(e,n={}){return function GV(e,n={}){let t=e;if(FV.test(e)){const i={},o=[0];t=t.replace(LV,(r,s,a)=>{const l=s||a,c=i[l]||[];if(c.length||(l.split("|").forEach(p=>{const g=p.match(zV),v=g?parseInt(g[1],10):0,_=jV.test(p);c.push([v,_,p])}),i[l]=c),!c.length)throw new Error(`i18n postprocess: unmatched placeholder - ${l}`);const d=o[o.length-1];let u=0;for(let p=0;p<c.length;p++)if(c[p][0]===d){u=p;break}const[f,h,m]=c[u];return h?o.pop():d!==f&&o.push(f),c.splice(u,1),m})}return Object.keys(n).length&&(t=t.replace($V,(i,o,r,s,a,l)=>n.hasOwnProperty(r)?`${o}${n[r]}${l}`:i),t=t.replace(VV,(i,o)=>n.hasOwnProperty(o)?n[o]:i),t=t.replace(BV,(i,o)=>
3{if(n.hasOwnProperty(o)){const r=n[o];if(!r.length)throw new Error(`i18n postprocess: unmatched ICU - ${i} with key: ${o}`);return r.shift()}return i})),t}(e,n)}function Pl(e){return!!e&&"function"==typeof e.then}function dM(e){return!!e&&"function"==typeof e.subscribe}function Q(e,n,t,i){const o=j(),r=Ne(),s=Ze();return uM(r,o,o[ve],s,e,n,i),Q}function bg(e,n){const t=Ze(),i=j(),o=Ne();return uM(o,i,rw(gp(o.data),t,i),t,e,n),bg}function uM(e,n,t,i,o,r,s){const a=rd(i),c=e.firstCreatePass&&ow(e),d=n[st],u=iw(n);let f=!0;if(3&i.type||s){const p=En(i,n),g=s?s(p):p,v=u.length,_=s?x=>s(at(x[i.index])):i.index;let E=null;if(!s&&a&&(E=function HV(e,n,t,i){const o=e.cleanup;if(null!=o)for(let r=0;r<o.length-1;r+=2){const s=o[r];if(s===t&&o[r+1]===i){const a=n[ss],l=o[r+2];return a.length>l?a[l]:null}"string"==typeof s&&(r+=2)}return null}(e,n,o,i.index)),null!==E)(E.__ngLastListenerFn__||E).__ngNextListenerFn__=r,E.__ngLastListenerFn__=r,f=!1;else{r=hM(i,n,d,r,!1);const x=t.listen(g,o,r);u.push(r,x),c&&c.push(o,_,v,v+1)}}else r=hM(i,n,d,r,!1);const h=i.outputs;let m;if(f&&null!==h&&(m=h[o])){const p=m.length;if(p)for(let g=0;g<p;g+=2){const O=n[m[g]][m[g+1]].subscribe(r),P=u.length;u.push(r,O),c&&c.push(o,i.index,P,-(P+1))}}}function fM(e,n,t,i){try{return Pi(6,n,t),!1!==t(i)}catch(o){return Jd(e,o),!1}finally{Pi(7,n,t)}}function hM(e,n,t,i,o){return function r(s){if(s===Function)return i;fl(e.componentOffset>-1?Bn(e.index,n):n);let l=fM(n,t,i,s),c=r.__ngNextListenerFn__;for(;c;)l=fM(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function I(e=1){return function LN(e){return(fe.lFrame.contextLView=function $C(e,n){for(;e>0;)n=n[as],e--;return n}(e,fe.lFrame.contextLView))[st]}(e)}function WV(e,n){let t=null;const i=function eN(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let o=0;o<n.length;o++){const r=n[o];if("*"!==r){if(null===i?yC(e,r,!0):iN(i,r))return o}else t=o}return t}function Eu(e){const n=j()[_t][hn];if(!n.projection){const i=n.projection=function _d(e,n){const t=[];for(let i=0;i<e;i++)t.push(n);return t}(e?e.length:1,null),o=i.slice();let r=n.child;for(;null!==r;){const s=e?WV(r,e):0;null!==s&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r),r=r.next}}}function go(e,n=0,t){const i=j(),o=Ne(),r=Ps(o,ge+e,16,null,t||null);null===r.projection&&(r.projection=n),pp(),(!i[vi]||us())&&32!=(32&r.flags)&&function vF(e,n,t){lE(n[ve],0,n,t,em(e,t,n),nE(t.parent||n[hn],t,n))}(o,i,r)}function pe(e,n,t){return Js(e,"",n,"",t),pe}function Js(e,n,t,i,o){const r=j(),s=zs(r,n,t,i);return s!==be&&Wn(Ne(),dt(),r,e,s,r[ve],o,!1),Js}function ut(e,n,t,i,o,r,s){const a=j(),l=Gs(a,n,t,i,o,r);return l!==be&&Wn(Ne(),dt(),a,e,l,a[ve],s,!1),ut}function qV(){return this._results[Symbol.iterator]()}class yg{static#e=Symbol.iterator;get changes(){return this._changes??=new U}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=yg.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=qV)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const i=function Nn(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function sR(e,n,t){if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],r=n[i];if(t&&(o=t(o),r=t(r)),r!==o)return!1}return!0}(this._results,i,t))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}let si=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=KV}return e})();const YV=si,XV=class extends YV{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const o=yl(this._declarationLView,this._declarationTContainer,n,{injector:t,dehydratedView:i});return new hl(o)}};function KV(){return wu(Ze(),j())}function wu(e,n){return 4&e.type?new XV(n,e,As(e,n)):null}class Cg{constructor(n){this.queryList=n,this.matches=null}clone(){return new Cg(this.queryList)}setDirty(){this.queryList.setDirty()}}class Eg{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,o=[];for(let r=0;r<i;r++){const s=t.getByIndex(r);o.push(this.queries[s.indexInDeclarationView].clone())}return new Eg(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)null!==MM(n,t).matches&&this.queries[t].setDirty()}}class CM{constructor(n,t,i=null){this.predicate=n,this.flags=t,this.read=i}}class wg{constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let i=0;i<this.length;i++){const o=null!==t?t.length:0,r=this.getByIndex(i).embeddedTView(n,o);r&&(r.indexInDeclarationView=i,null!==t?t.push(r):t=[r])}return null!==t?new wg(t):null}template(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class Sg{constructor(n,t=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new Sg(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let i=n.parent;for(;null!==i&&8&i.type&&i.index!==t;)i=i.parent;return t===(null!==i?i.index:-1)}return this._appliesToNextNode}
3matchTNode(n,t){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const r=i[o];this.matchTNodeWithReadOption(n,t,ZV(t,r)),this.matchTNodeWithReadOption(n,t,pd(t,n,r,!1,!1))}else i===si?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,pd(t,n,i,!1,!1))}matchTNodeWithReadOption(n,t,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===nt||o===Fn||o===si&&4&t.type)this.addMatch(t.index,-2);else{const r=pd(t,n,o,!1,!1);null!==r&&this.addMatch(t.index,r)}else this.addMatch(t.index,i)}}addMatch(n,t){null===this.matches?this.matches=[n,t]:this.matches.push(n,t)}}function ZV(e,n){const t=e.localNames;if(null!==t)for(let i=0;i<t.length;i+=2)if(t[i]===n)return t[i+1];return null}function JV(e,n,t,i){return-1===t?function QV(e,n){return 11&e.type?As(e,n):4&e.type?wu(e,n):null}(n,e):-2===t?function e4(e,n,t){return t===nt?As(n,e):t===si?wu(n,e):t===Fn?Nw(n,e):void 0}(e,n,i):Cr(e,e[X],t,n)}function EM(e,n,t,i){const o=n[Ii].queries[i];if(null===o.matches){const r=e.data,s=t.matches,a=[];for(let l=0;l<s.length;l+=2){const c=s[l];a.push(c<0?null:JV(n,r[c],s[l+1],t.metadata.read))}o.matches=a}return o.matches}function Mg(e,n,t,i){const o=e.queries.getByIndex(t),r=o.matches;if(null!==r){const s=EM(e,n,o,t);for(let a=0;a<r.length;a+=2){const l=r[a];if(l>0)i.push(s[a/2]);else{const c=r[a+1],d=n[-l];for(let u=Tt;u<d.length;u++){const f=d[u];f[Ba]===f[Dt]&&Mg(f[X],f,c,i)}if(null!==d[cs]){const u=d[cs];for(let f=0;f<u.length;f++){const h=u[f];Mg(h[X],h,c,i)}}}}}return i}function wM(e,n,t){const i=new yg(4==(4&t));(function j2(e,n,t,i){const o=iw(n);o.push(t),e.firstCreatePass&&ow(e).push(i,o.length-1)})(e,n,i,i.destroy),null===n[Ii]&&(n[Ii]=new Eg),n[Ii].queries.push(new Cg(i))}function SM(e,n,t){null===e.queries&&(e.queries=new wg),e.queries.track(new Sg(n,t))}function MM(e,n){return e.queries.getByIndex(n)}function xg(e,n,t,i){const o=Ne();if(o.firstCreatePass){const r=Ze();SM(o,new CM(n,t,i),r.index),function n4(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(o,e),2==(2&t)&&(o.staticContentQueries=!0)}wM(o,j(),t)}function wi(e,n,t){const i=Ne();i.firstCreatePass&&(SM(i,new CM(e,n,t),-1),2==(2&n)&&(i.staticViewQueries=!0)),wM(i,j(),n)}function qn(e){const n=j(),t=Ne(),i=WC();_p(i+1);const o=MM(t,i);if(e.dirty&&function CN(e){return 4==(4&e[le])}(n)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const r=o.crossesNgTemplate?Mg(t,n,i,[]):EM(t,n,o,i);e.reset(r,d2),e.notifyOnChanges()}return!0}return!1}function Yn(){return function t4(e,n){return e[Ii].queries[n].queryList}(j(),WC())}function qt(e){return ds(function PN(){return fe.lFrame.contextLView}(),ge+e)}function ie(e,n=""){const t=j(),i=Ne(),o=e+ge,r=i.firstCreatePass?Ps(i,o,1,n,null):i.data[o],s=RM(i,t,r,n,e);t[o]=s,ad()&&Ld(i,t,s,r),Ni(r,!1)}let RM=(e,n,t,i,o)=>(Lo(!0),kd(n[ve],i));function h4(e,n,t,i,o){const r=n[vi],s=!r||us()||qd(r,o);return Lo(s),s?kd(n[ve],i):ru(r,e,n,t)}function Ye(e){return $t("",e,""),Ye}function $t(e,n,t){const i=j(),o=zs(i,e,n,t);return o!==be&&mo(i,gn(),o),$t}function Dg(e,n,t,i,o){const r=j(),s=Gs(r,e,n,t,i,o);return s!==be&&mo(r,gn(),s),Dg}function Tg(e,n,t,i,o){if(e=ce(e),Array.isArray(e))for(let r=0;r<e.length;r++)Tg(e[r],n,t,i,o);else{const r=Ne(),s=j(),a=Ze();let l=Er(e)?e:ce(e.provide);const c=M0(e),d=1048575&a.providerIndexes,u=a.directiveStart,f=a.providerIndexes>>20;if(Er(e)||!e.multi){const h=new qa(c,o,C),m=Ig(l,n,o?d:d+f,u);-1===m?(Mp(fd(a,s),r,l),Og(r,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(h),s.push(h)):(t[m]=h,s[m]=h)}else{const h=Ig(l,n,d+f,u),m=Ig(l,n,d,d+f),g=m>=0&&t[m];if(o&&!g||!o&&!(h>=0&&t[h])){Mp(fd(a,s),r,l);const v=function v4(e,n,t,i,o){const r=new qa(e,t,C);return r.multi=[],r.index=n,r.componentProviders=0,GM(r,o,i&&!t),r}(o?_4:g4,t.length,o,i,c);!o&&g&&(t[m].providerFactory=v),Og(r,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(v),s.push(v)}else Og(r,e,h>-1?h:m,GM(t[o?m:h],c,!o&&i));!o&&i&&g&&t[m].componentProviders++}}}function Og(e,n,t,i){const o=Er(n),r=function MR(e){return!!e.useClass}(n);if(o||r){const l=(r?ce(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){const d=c.indexOf(t);-1===d?c.push(t,[i,l]):c[d+1].push(i,l)}else c.push(t,l)}}}function GM(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Ig(e,n,t,i){for(let o=t;o<i;o++)if(n[o]===e)return o;return-1}function g4(e,n,t,i){return Ag(this.multi,[])}function _4(e,n,t,i){const o=this.multi;let r;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Cr(t,t[X],this.providerFactory.index,i);r=a.slice(0,s),Ag(o,r);for(let l=s;l<a.length;l++)r.push(a[l])}else r=[],Ag(o,r);return r}function Ag(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function ft(e,n=[]){return t=>{t.providersResolver=(i,o)=>function m4(e,n,t){const i=Ne();if(i.firstCreatePass){const o=bi(e);Tg(t,i.data,i.blueprint,o,!0),Tg(n,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,n)}}class Ir{}class UM{}class Pg extends Ir{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new bw(this);const o=fn(n);this._bootstrapComponents=Gn(o.bootstrap),this._r3Injector=I0(n,t,[{provide:Ir,useValue:this},{provide:Is,useValue:this.componentFactoryResolver},...i],zt(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializer
3s(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class kg extends UM{constructor(n){super(),this.moduleType=n}create(n){return new Pg(this.moduleType,n,[])}}class HM extends Ir{constructor(n){super(),this.componentFactoryResolver=new bw(this),this.instance=null;const t=new ws([...n.providers,{provide:Ir,useValue:this},{provide:Is,useValue:this.componentFactoryResolver}],n.parent||Md(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Ng(e,n,t=null){return new HM({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let C4=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=C0(0,t.type),o=i.length>0?Ng([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=H({token:e,providedIn:"environment",factory:()=>new e(T(zn))})}return e})();function _o(e){qo("NgStandalone"),e.getStandaloneInjector=n=>n.get(C4).getOrCreateStandaloneInjector(e)}function Ko(e,n,t){const i=wn()+e,o=j();return o[i]===be?Vi(o,i,t?n.call(t):n()):function El(e,n){return e[n]}(o,i)}function Jt(e,n,t,i){return tx(j(),wn(),e,n,t,i)}function ex(e,n,t,i,o,r){return function ix(e,n,t,i,o,r,s,a){const l=n+t;return function au(e,n,t,i,o){const r=xr(e,n,t,i);return Ft(e,n+2,o)||r}(e,l,o,r,s)?Vi(e,l+3,a?i.call(a,o,r,s):i(o,r,s)):kl(e,l+3)}(j(),wn(),e,n,t,i,o,r)}function kl(e,n){const t=e[n];return t===be?void 0:t}function tx(e,n,t,i,o,r){const s=n+t;return Ft(e,s,o)?Vi(e,s+1,r?i.call(r,o):i(o)):kl(e,s+1)}function Gi(e,n){const t=Ne();let i;const o=e+ge;t.firstCreatePass?(i=function V4(e,n){if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(e===i.name)return i}}(n,t.pipeRegistry),t.data[o]=i,i.onDestroy&&(t.destroyHooks??=[]).push(o,i.onDestroy)):i=t.data[o];const r=i.factory||(i.factory=vr(i.type)),a=kn(C);try{const l=ud(!1),c=r();return ud(l),function i4(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,j(),o,c),c}finally{kn(a)}}function Zo(e,n,t){const i=e+ge,o=j(),r=ds(o,i);return Nl(o,i)?tx(o,wn(),n,r.transform,t,r):r.transform(t)}function Fg(e,n,t,i){const o=e+ge,r=j(),s=ds(r,o);return Nl(r,o)?function nx(e,n,t,i,o,r,s){const a=n+t;return xr(e,a,o,r)?Vi(e,a+2,s?i.call(s,o,r):i(o,r)):kl(e,a+2)}(r,wn(),n,s.transform,t,i,s):s.transform(t,i)}function Nl(e,n){return e[X].data[n].pure}function an(e,n){return wu(e,n)}let jg=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();class dB{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let Cx=(()=>{class e{compileModuleSync(t){return new kg(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const i=this.compileModuleSync(t),r=Gn(fn(t).declarations).reduce((s,a)=>{const l=De(a);return l&&s.push(new ml(l)),s},[]);return new dB(i,r)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),na=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Fe(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const xx=new W(""),Tu=new W("");let Hg,Gg=(()=>{class e{constructor(t,i,o){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZ
3oneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Hg||(function LB(e){Hg=e}(o),o.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ae.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,o){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==r),t()},i)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:o})}whenStable(t,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,o){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(T(ae),T(Ug),T(Tu))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})(),Ug=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return Hg?.findTestabilityInTree(this,t,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const Wg=new W("Application Initializer");let qg=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=G(Wg,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const o of this.appInits){const r=o();if(Pl(r))t.push(r);else if(dM(r)){const s=new Promise((a,l)=>{r.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(o=>{this.reject(o)}),0===t.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ou=new W("appBootstrapListener");function Ox(e,n){return Array.isArray(n)?n.reduce(Ox,e):{...e,...n}}let Au,vo=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=G(BE),this.afterRenderEffectManager=G(pl),this.componentTypes=[],this.components=[],this.isStable=G(na).hasPendingTasks.pipe(Oe(t=>!t)),this._injector=G(zn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const o=t instanceof ME;if(!this._injector.get(qg).done)throw!o&&function Ro(e){const n=De(e)||Gt(e)||on(e);return null!==n&&n.standalone}(t),new N(405,!1);let s;s=o?t:this._injector.get(Is).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function VB(e){return e.isBoundToModule}
3(s)?void 0:this._injector.get(Ir),c=s.create(mt.NULL,[],i||s.selector,a),d=c.location.nativeElement,u=c.injector.get(xx,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),Iu(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new N(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{try{this.afterRenderEffectManager.execute()}catch(t){this.internalErrorHandler(t)}this._runningTick=!1}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Iu(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(Ou,[]);[...this._bootstrapListeners,...i].forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Iu(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new N(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Iu(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function Ax(e){Au??=new WeakMap;const n=Au.get(e);if(n)return n;const t=e.isStable.pipe(ro(i=>i)).toPromise().then(()=>{});return Au.set(e,t),e.onDestroy(()=>Au?.delete(e)),t}let BB=(()=>{class e{constructor(){this.zone=G(ae),this.applicationRef=G(vo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jB(){const e=G(ae),n=G(po);return t=>e.runOutsideAngular(()=>n.handleError(t))}let GB=(()=>{class e{constructor(){this.subscription=new Rt,this.initialized=!1,this.zone=G(ae),this.pendingTasks=G(na)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ae.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ae.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ui=new W("LocaleId",{providedIn:"root",factory:()=>G(Ui,Ie.Optional|Ie.SkipSelf)||function UB(){return typeof $localize<"u"&&$localize.locale||Qs}()}),Yg=new W("PlatformDestroyListeners");let Nx=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){const o=function TL(e="zone.js",n){return"noop"===e?new hw:"zone.js"===e?new ae(n):e}(i?.ngZone,function kx(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{const r=function y4(e,n,t){return new Pg(e,n,t)}(t.moduleType,this.injector,function Px(e){return[{provide:ae,useFactory:e},{provide:$o,multi:!0,useFactory:()=>{const n=G(BB,{optional:!0});return()=>n.initialize()}},{provide:$o,multi:!0,useFactory:()=>{const n=G(GB);return()=>{n.initialize()}}},{provide:BE,useFactory:jB}]}(()=>o)),s=r.injector.get(po,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});r.onDestroy(()=>{Iu(this._modules,r),a.unsubscribe()})}),function Tx(e,n,t){try{const i=t();return Pl(i)?i.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(s,o,()=>{const a=r.injector.get(qg);
3return a.runInitializers(),a.donePromise.then(()=>(zS(r.injector.get(Ui,Qs)||Qs),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,i=[]){const o=Ox({},i);return function $B(e,n,t){const i=new kg(t);return Promise.resolve(i)}(0,0,t).then(r=>this.bootstrapModuleFactory(r,o))}_moduleDoBootstrap(t){const i=t.injector.get(vo);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!t.instance.ngDoBootstrap)throw new N(-403,!1);t.instance.ngDoBootstrap(i)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new N(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(Yg,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||e)(T(mt))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Qo=null;const Rx=new W("AllowMultipleToken");function Fx(e,n,t=[]){const i=`Platform: ${n}`,o=new W(i);return(r=[])=>{let s=Xg();if(!s||s.injector.get(Rx,!1)){const a=[...t,...r,{provide:o,useValue:!0}];e?e(a):function qB(e){if(Qo&&!Qo.get(Rx,!1))throw new N(400,!1);(function Dx(){!function lk(e){Uy=e}(()=>{throw new N(600,!1)})})(),Qo=e;const n=e.get(Nx);(function $x(e){e.get(P0,null)?.forEach(t=>t())})(e)}(function Lx(e=[],n){return mt.create({name:n,providers:[{provide:Rp,useValue:"platform"},{provide:Yg,useValue:new Set([()=>Qo=null])},...e]})}(a,i))}return function YB(e){const n=Xg();if(!n)throw new N(401,!1);return n}()}}function Xg(){return Qo?.get(Nx)??null}const e8=Fx(null,"core",[]);let t8=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(T(vo))};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({})}return e})(),aD=!1;function D8(){return Qa([{provide:Kd,useFactory:()=>{let e=!0;return Go()&&(e=!!G(vt,{optional:!0})?.get(_m,null)),e&&qo("NgHydration"),e}},{provide:$o,useValue:()=>{Go()&&G(Kd)&&(function T8(){const e=jo();let n;for(const t of e.body.childNodes)if(t.nodeType===Node.COMMENT_NODE&&t.textContent?.trim()===QF){n=t;break}if(!n)throw new N(-507,!1)}(),function M8(){aD||(aD=!0,function e2(){EE=JF}(),function Y$(){FS=q$}(),function p4(){RM=h4}(),function Z$(){$S=K$}(),function T3(){$w=D3}(),function M3(){Rw=S3,Zm=w3}(),function b3(){Iw=v3}(),function B2(){KE=V2}())}())},multi:!0},{provide:zE,useFactory:()=>Go()&&G(Kd)},{provide:Ou,useFactory:()=>
3{if(Go()&&G(Kd)){const e=G(vo);return G(mt),()=>{(function x8(e,n){return Ax(e)})(e).then(()=>{ae.assertInAngularZone(),function l3(e){const n=e._views;for(const t of n){const i=wE(t);null!==i&&null!==i[Et]&&(pn(i)?ou(i):(ou(i[Et]),Tw(i)))}}(e)})}}return()=>{}},multi:!0}])}function Hi(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let n_=null;function Jo(){return n_}class P8{}const Te=new W("DocumentToken");let i_=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:()=>G(N8),providedIn:"platform"})}return e})();const k8=new W("Location Initialized");let N8=(()=>{class e extends i_{constructor(){super(),this._doc=G(Te),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Jo().getBaseHref(this._doc)}onPopState(t){const i=Jo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=Jo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,i,o){this._history.pushState(t,i,o)}replaceState(t,i,o){this._history.replaceState(t,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function o_(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function lD(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function bo(e){return e&&"?"!==e[0]?"?"+e:e}let kr=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:()=>G(dD),providedIn:"root"})}return e})();const cD=new W("appBaseHref");let dD=(()=>{class e extends kr{constructor(t,i){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??G(Te).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return o_(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+bo(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${i}${o}`:i}pushState(t,i,o,r){const s=this.prepareExternalUrl(o+bo(r));this._platformLocation.pushState(t,i,s)}replaceState(t,i,o,r){const s=this.prepareExternalUrl(o+bo(r));this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(i){return new(i||e)(T(i_),T(cD,8))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),R8=(()=>{class e extends kr{constructor(t,i){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(t){const i=o_(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,o,r){let s=this.prepareExternalUrl(o+bo(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,i,s)}replaceState(t,i,o,r){let s=this.prepareExternalUrl(o+bo(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(i){return new(i||e)(T(i_),T(cD,8))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})(),yo=(()=>
3{class e{constructor(t){this._subject=new U,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function $8(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(lD(uD(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+bo(i))}normalize(t){return e.stripTrailingSlash(function L8(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,uD(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",o=null){this._locationStrategy.pushState(o,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+bo(i)),o)}replaceState(t,i="",o=null){this._locationStrategy.replaceState(o,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+bo(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(o=>o(t,i))}subscribe(t,i,o){return this._subject.subscribe({next:t,error:i,complete:o})}static#e=this.normalizeQueryParams=bo;static#t=this.joinWithSlash=o_;static#n=this.stripTrailingSlash=lD;static#i=this.\u0275fac=function(i){return new(i||e)(T(kr))};static#o=this.\u0275prov=H({token:e,factory:()=>function F8(){return new yo(T(kr))}(),providedIn:"root"})}return e})();function uD(e){return e.replace(/\/index.html$/,"")}var xn=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(xn||{}),it=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(it||{}),Xn=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(Xn||{}),kt=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e.Infinity=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}(kt||{});function Bu(e,n){return li(Sn(e)[lt.DateFormat],n)}function ju(e,n){return li(Sn(e)[lt.TimeFormat],n)}function zu(e,n){return li(Sn(e)[lt.DateTimeFormat],n)}function ai(e,n){const t=Sn(e),i=t[lt.NumberSymbols][n];if(typeof i>"u"){if(n===kt.CurrencyDecimal)return t[lt.NumberSymbols][kt.Decimal];if(n===kt.CurrencyGroup)return t[lt.NumberSymbols][kt.Group]}return i}function hD(e){if(!e[lt.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[lt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function li(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new Error("Locale data API: locale data undefined")}function s_(e){const[n,t]=e.split(":");return{hours:+n,minutes:+t}}const Q8=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Vl={},J8=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Co=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(Co||{}),Ge=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(Ge||{}),Ue=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(Ue||{});function ej(e,n,t,i){let o=function cj(e){if(gD(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[o,r=1,s=1]=e.split("-").map(a=>+a);return Gu(o,r-1,s)}const t=parseFloat(e);
3if(!isNaN(e-t))return new Date(t);let i;if(i=e.match(Q8))return function dj(e){const n=new Date(0);let t=0,i=0;const o=e[8]?n.setUTCFullYear:n.setFullYear,r=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),i=Number(e[9]+e[11])),o.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-t,a=Number(e[5]||0)-i,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return r.call(n,s,a,l,c),n}(i)}const n=new Date(e);if(!gD(n))throw new Error(`Unable to convert "${e}" into a date`);return n}(e);n=Eo(t,n)||n;let a,s=[];for(;n;){if(a=J8.exec(n),!a){s.push(n);break}{s=s.concat(a.slice(1));const d=s.pop();if(!d)break;n=d}}let l=o.getTimezoneOffset();i&&(l=mD(i,l),o=function lj(e,n,t){const i=t?-1:1,o=e.getTimezoneOffset();return function aj(e,n){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+n),e}(e,i*(mD(n,o)-o))}(o,i,!0));let c="";return s.forEach(d=>{const u=function sj(e){if(l_[e])return l_[e];let n;switch(e){case"G":case"GG":case"GGG":n=ct(Ue.Eras,it.Abbreviated);break;case"GGGG":n=ct(Ue.Eras,it.Wide);break;case"GGGGG":n=ct(Ue.Eras,it.Narrow);break;case"y":n=Vt(Ge.FullYear,1,0,!1,!0);break;case"yy":n=Vt(Ge.FullYear,2,0,!0,!0);break;case"yyy":n=Vt(Ge.FullYear,3,0,!1,!0);break;case"yyyy":n=Vt(Ge.FullYear,4,0,!1,!0);break;case"Y":n=qu(1);break;case"YY":n=qu(2,!0);break;case"YYY":n=qu(3);break;case"YYYY":n=qu(4);break;case"M":case"L":n=Vt(Ge.Month,1,1);break;case"MM":case"LL":n=Vt(Ge.Month,2,1);break;case"MMM":n=ct(Ue.Months,it.Abbreviated);break;case"MMMM":n=ct(Ue.Months,it.Wide);break;case"MMMMM":n=ct(Ue.Months,it.Narrow);break;case"LLL":n=ct(Ue.Months,it.Abbreviated,xn.Standalone);break;case"LLLL":n=ct(Ue.Months,it.Wide,xn.Standalone);break;case"LLLLL":n=ct(Ue.Months,it.Narrow,xn.Standalone);break;case"w":n=a_(1);break;case"ww":n=a_(2);break;case"W":n=a_(1,!0);break;case"d":n=Vt(Ge.Date,1);break;case"dd":n=Vt(Ge.Date,2);break;case"c":case"cc":n=Vt(Ge.Day,1);break;case"ccc":n=ct(Ue.Days,it.Abbreviated,xn.Standalone);break;case"cccc":n=ct(Ue.Days,it.Wide,xn.Standalone);break;case"ccccc":n=ct(Ue.Days,it.Narrow,xn.Standalone);break;case"cccccc":n=ct(Ue.Days,it.Short,xn.Standalone);break;case"E":case"EE":case"EEE":n=ct(Ue.Days,it.Abbreviated);break;case"EEEE":n=ct(Ue.Days,it.Wide);break;case"EEEEE":n=ct(Ue.Days,it.Narrow);break;case"EEEEEE":n=ct(Ue.Days,it.Short);break;case"a":case"aa":case"aaa":n=ct(Ue.DayPeriods,it.Abbreviated);break;case"aaaa":n=ct(Ue.DayPeriods,it.Wide);break;case"aaaaa":n=ct(Ue.DayPeriods,it.Narrow);break;case"b":case"bb":case"bbb":n=ct(Ue.DayPeriods,it.Abbreviated,xn.Standalone,!0);break;case"bbbb":n=ct(Ue.DayPeriods,it.Wide,xn.Standalone,!0);break;case"bbbbb":n=ct(Ue.DayPeriods,it.Narrow,xn.Standalone,!0);break;case"B":case"BB":case"BBB":n=ct(Ue.DayPeriods,it.Abbreviated,xn.Format,!0);break;case"BBBB":n=ct(Ue.DayPeriods,it.Wide,xn.Format,!0);break;case"BBBBB":n=ct(Ue.DayPeriods,it.Narrow,xn.Format,!0);break;case"h":n=Vt(Ge.Hours,1,-12);break;case"hh":n=Vt(Ge.Hours,2,-12);break;case"H":n=Vt(Ge.Hours,1);break;case"HH":n=Vt(Ge.Hours,2);break;case"m":n=Vt(Ge.Minutes,1);break;case"mm":n=Vt(Ge.Minutes,2);break;case"s":n=Vt(Ge.Seconds,1);break;case"ss":n=Vt(Ge.Seconds,2);break;case"S":n=Vt(Ge.FractionalSeconds,1);break;case"SS":n=Vt(Ge.FractionalSeconds,2);break;case"SSS":n=Vt(Ge.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=Hu(Co.Short);break;case"ZZZZZ":n=Hu(Co.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Hu(Co.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=Hu(Co.Long);break;default:return null}return l_[e]=n,n}(d);c+=u?u(o,t,l):"''"===d?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function Gu(e,n,t){const i=new Date(0);return i.setFullYear(e,n,t),i.setHours(0,0,0),i}function Eo(e,n){const t=function B8(e){return Sn(e)[lt.LocaleId]}(e);if(Vl[t]=Vl[t]||{},Vl[t][n])return Vl[t][n];let i="";switch(n){case"shortDate":i=Bu(e,Xn.Short);break;case"mediumDate":i=Bu(e,Xn.Medium);break;case"longDate":i=Bu(e,Xn.Long);break;case"fullDate":i=Bu(e,Xn.Full);break;case"shortTime":i=ju(e,Xn.Short);break;case"mediumTime":i=ju(e,Xn.Medium);break;case"longTime":i=ju(e,Xn.Long);break;case"fullTime":i=ju(e,Xn.Full);break;case"short":const o=Eo(e,"shortTime"),r=Eo(e,"shortDate");i=Uu(zu(e,Xn.Short),[o,r]);break;case"medium":const s=Eo(e,"mediumTime"),a=Eo(e,"mediumDate");i=Uu(zu(e,Xn.Medium),[s,a]);break;case"long":const l=Eo(e,"longTime"),c=Eo(e,"longDate");i=Uu(zu(e,Xn.Long),[l,c]);break;case"full":const d=Eo(e,"fullTime"),u=Eo(e,"fullDate");i=Uu(zu(e,Xn.Full),[d,u])}return i&&(Vl[t][n]=i),i}function Uu(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,i){return null!=n&&i in n?n[i]:t})),e}function Si(e,n,t="-",i,o){let r="";(e<0||o&&e<=0)&&(o?e=1-e:(e=-e,r=t));let s=String(e);for(;s.length<n;)s="0"+s;return i&&(s=s.slice(s.length-n)),r+s}function Vt(e,n,t=0,i=!1,o=!1){return function(r,s){let a=function nj(e,n){switch(e){case Ge.FullYear:return n.getFullYear();case Ge.Month:return n.getMonth();case Ge.Date:return n.getDate();case Ge.Hours:return n.getHours();case Ge.Minutes:return n.getMinutes();case Ge.Seconds:return n.getSeconds();case Ge.FractionalSeconds:return n.getMilliseconds();case Ge.Day:return n.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,r);if((t>0||a>
3-t)&&(a+=t),e===Ge.Hours)0===a&&-12===t&&(a=12);else if(e===Ge.FractionalSeconds)return function tj(e,n){return Si(e,3).substring(0,n)}(a,n);const l=ai(s,kt.MinusSign);return Si(a,n,l,i,o)}}function ct(e,n,t=xn.Format,i=!1){return function(o,r){return function ij(e,n,t,i,o,r){switch(t){case Ue.Months:return function G8(e,n,t){const i=Sn(e),r=li([i[lt.MonthsFormat],i[lt.MonthsStandalone]],n);return li(r,t)}(n,o,i)[e.getMonth()];case Ue.Days:return function z8(e,n,t){const i=Sn(e),r=li([i[lt.DaysFormat],i[lt.DaysStandalone]],n);return li(r,t)}(n,o,i)[e.getDay()];case Ue.DayPeriods:const s=e.getHours(),a=e.getMinutes();if(r){const c=function q8(e){const n=Sn(e);return hD(n),(n[lt.ExtraData][2]||[]).map(i=>"string"==typeof i?s_(i):[s_(i[0]),s_(i[1])])}(n),d=function Y8(e,n,t){const i=Sn(e);hD(i);const r=li([i[lt.ExtraData][0],i[lt.ExtraData][1]],n)||[];return li(r,t)||[]}(n,o,i),u=c.findIndex(f=>{if(Array.isArray(f)){const[h,m]=f,p=s>=h.hours&&a>=h.minutes,g=s<m.hours||s===m.hours&&a<m.minutes;if(h.hours<m.hours){if(p&&g)return!0}else if(p||g)return!0}else if(f.hours===s&&f.minutes===a)return!0;return!1});if(-1!==u)return d[u]}return function j8(e,n,t){const i=Sn(e),r=li([i[lt.DayPeriodsFormat],i[lt.DayPeriodsStandalone]],n);return li(r,t)}(n,o,i)[s<12?0:1];case Ue.Eras:return function U8(e,n){return li(Sn(e)[lt.Eras],n)}(n,i)[e.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${t}`)}}(o,r,e,n,t,i)}}function Hu(e){return function(n,t,i){const o=-1*i,r=ai(t,kt.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case Co.Short:return(o>=0?"+":"")+Si(s,2,r)+Si(Math.abs(o%60),2,r);case Co.ShortGMT:return"GMT"+(o>=0?"+":"")+Si(s,1,r);case Co.Long:return"GMT"+(o>=0?"+":"")+Si(s,2,r)+":"+Si(Math.abs(o%60),2,r);case Co.Extended:return 0===i?"Z":(o>=0?"+":"")+Si(s,2,r)+":"+Si(Math.abs(o%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}const oj=0,Wu=4;function pD(e){return Gu(e.getFullYear(),e.getMonth(),e.getDate()+(Wu-e.getDay()))}function a_(e,n=!1){return function(t,i){let o;if(n){const r=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();o=1+Math.floor((s+r)/7)}else{const r=pD(t),s=function rj(e){const n=Gu(e,oj,1).getDay();return Gu(e,0,1+(n<=Wu?Wu:Wu+7)-n)}(r.getFullYear()),a=r.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Si(o,e,ai(i,kt.MinusSign))}}function qu(e,n=!1){return function(t,i){return Si(pD(t).getFullYear(),e,ai(i,kt.MinusSign),n)}}const l_={};function mD(e,n){e=e.replace(/:/g,"");const t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function gD(e){return e instanceof Date&&!isNaN(e.valueOf())}function yD(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[o,r]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}const p_=/\s+/,CD=[];let Dn=(()=>{class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=CD,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(p_):CD}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(p_):t}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const i of t)this._updateState(i,!0);else if(null!=t)for(const i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){const o=this.stateMap.get(t);void 0!==o?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const i=t[0],o=t[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(t,i){(t=t.trim()).length>0&&t.split(p_).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\u0275fac=function(i){return new(i||e)(C(nt),C(ho))};static#t=this.\u0275dir=oe({type:e,selectors:[["","ngClass",""]],inputs:{klass:[Ce.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class wj{constructor(n,t,i,o){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let bt=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,o){this._viewContainer=t,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((o,r,s)=>{if(null==o.previousIndex)i.createEmbeddedView(this._template,new wj(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===r?void 0:r);else if(null!==r){const a=i.get(r);i.move(a,s),wD(a,o)}});for(let o=0,r=i.length;o<r;o++){const a=i.get(o).context;a.index=o,a.count=r,a.ngForOf=this._ngForOf}t.forEachIdentityChange(o=>{wD(i.get(o.currentIndex),o)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(C(Fn),C(si),C(Sm))};static#t=this.\u0275dir=oe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function wD(e,n){e.context.$implicit=n.item}let Ee=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new Sj,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenView
3Ref=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){SD("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){SD("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(C(Fn),C(si))};static#t=this.\u0275dir=oe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class Sj{constructor(){this.$implicit=null,this.ngIf=null}}function SD(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${zt(n)}'.`)}class m_{constructor(n,t){this._viewContainerRef=n,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let Xu=(()=>{class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews.push(t)}_matchCase(t){const i=t===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(t){if(this._defaultViews.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(const i of this._defaultViews)i.enforceState(t)}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=oe({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return e})(),MD=(()=>{class e{constructor(t,i,o){this.ngSwitch=o,o._addCase(),this._view=new m_(t,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(i){return new(i||e)(C(Fn),C(si),C(Xu,9))};static#t=this.\u0275dir=oe({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return e})(),xD=(()=>{class e{constructor(t,i,o){o._addDefault(new m_(t,i))}static#e=this.\u0275fac=function(i){return new(i||e)(C(Fn),C(si),C(Xu,9))};static#t=this.\u0275dir=oe({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return e})(),TD=(()=>{class e{constructor(t,i,o){this._ngEl=t,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,i){const[o,r]=t.split("."),s=-1===o.indexOf("-")?void 0:Ho.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,o,r?`${i}${r}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(t){t.forEachRemovedItem(i=>this._setStyle(i.key,null)),t.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),t.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static#e=this.\u0275fac=function(i){return new(i||e)(C(nt),C(Xd),C(ho))};static#t=this.\u0275dir=oe({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return e})(),OD=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,o)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,o),get:(t,i,o)=>
3{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}static#e=this.\u0275fac=function(i){return new(i||e)(C(Fn))};static#t=this.\u0275dir=oe({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[rn]})}return e})();function Mi(e,n){return new N(2100,!1)}class Dj{createSubscription(n,t){return DE(()=>n.subscribe({next:t,error:i=>{throw i}}))}dispose(n){DE(()=>n.unsubscribe())}}class Tj{createSubscription(n,t){return n.then(t,i=>{throw i})}dispose(n){}}const Oj=new Tj,Ij=new Dj;let g_=(()=>{class e{constructor(t){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,i=>this._updateLatestValue(t,i))}_selectStrategy(t){if(Pl(t))return Oj;if(dM(t))return Ij;throw Mi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,i){t===this._obj&&(this._latestValue=i,this._ref.markForCheck())}static#e=this.\u0275fac=function(i){return new(i||e)(C(Wo,16))};static#t=this.\u0275pipe=Zt({name:"async",type:e,pure:!1,standalone:!0})}return e})();const Pj=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
3D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Ku=(()=>{class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw Mi();return t.replace(Pj,i=>i[0].toUpperCase()+i.slice(1).toLowerCase())}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275pipe=Zt({name:"titlecase",type:e,pure:!0,standalone:!0})}return e})(),ID=(()=>{class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw Mi();return t.toUpperCase()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275pipe=Zt({name:"uppercase",type:e,pure:!0,standalone:!0})}return e})();const Nj=new W("DATE_PIPE_DEFAULT_TIMEZONE"),Rj=new W("DATE_PIPE_DEFAULT_OPTIONS");let __=(()=>{class e{constructor(t,i,o){this.locale=t,this.defaultTimezone=i,this.defaultOptions=o}transform(t,i,o,r){if(null==t||""===t||t!=t)return null;try{return ej(t,i??this.defaultOptions?.dateFormat??"mediumDate",r||this.locale,o??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(s){throw Mi()}}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ui,16),C(Nj,24),C(Rj,24))};static#t=this.\u0275pipe=Zt({name:"date",type:e,pure:!0,standalone:!0})}return e})(),y_=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({})}return e})();const PD="browser";function Pe(e){return e===PD}function C_(e){return"server"===e}let Yj=(()=>{class e{static#e=this.\u0275prov=H({token:e,providedIn:"root",factory:()=>Pe(G(Ae))?new Xj(G(Te),window):new Zj})}return e})();class Xj{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){const t=function Kj(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const i=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=i.currentNode;for(;o;){const r=o.shadowRoot;if(r){const s=r.getElementById(n)||r.querySelector(`[name="${n}"]`);if(s)return s}o=i.nextNode()}}return null}(this.document,n);
3t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){const t=n.getBoundingClientRect(),i=t.left+this.window.pageXOffset,o=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(i-r[0],o-r[1])}}class Zj{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}}class kD{}function LD(e,n,t,i,o,r,s){try{var a=e[r](s),l=a.value}catch(c){return void t(c)}a.done?n(l):Promise.resolve(l).then(i,o)}function Nr(e){return function(){var n=this,t=arguments;return new Promise(function(i,o){var r=e.apply(n,t);function s(l){LD(r,i,o,s,a,"next",l)}function a(l){LD(r,i,o,s,a,"throw",l)}s(void 0)})}}function $D(e){return e&&Ve(e.schedule)}function S_(e){return e[e.length-1]}function VD(e){return Ve(S_(e))?e.pop():void 0}function zl(e){return $D(S_(e))?e.pop():void 0}function er(e){return this instanceof er?(this.v=e,this):new er(e)}function GD(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function T_(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(r){t[r]=e[r]&&function(s){return new Promise(function(a,l){!function o(r,s,a,l){Promise.resolve(l).then(function(c){r({value:c,done:a})},s)}(a,l,(s=e[r](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const O_=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function UD(e){return Ve(e?.then)}function HD(e){return Ve(e[jh])}function WD(e){return Symbol.asyncIterator&&Ve(e?.[Symbol.asyncIterator])}function qD(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const YD=function G5(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function XD(e){return Ve(e?.[YD])}function KD(e){return function zD(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=t.apply(e,n||[]),r=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){i[f]&&(o[f]=function(h){return new Promise(function(m,p){r.push([f,h,m,p])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof er?Promise.resolve(f.value.v).then(c,d):u(r[0][2],f)}
3(i[f](h))}catch(m){u(r[0][3],m)}}function c(f){a("next",f)}function d(f){a("throw",f)}function u(f,h){f(h),r.shift(),r.length&&a(r[0][0],r[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:o}=yield er(t.read());if(o)return yield er(void 0);yield yield er(i)}}finally{t.releaseLock()}})}function ZD(e){return Ve(e?.getReader)}function $n(e){if(e instanceof pt)return e;if(null!=e){if(HD(e))return function U5(e){return new pt(n=>{const t=e[jh]();if(Ve(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(O_(e))return function H5(e){return new pt(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(UD(e))return function W5(e){return new pt(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Ky)})}(e);if(WD(e))return QD(e);if(XD(e))return function q5(e){return new pt(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(ZD(e))return function Y5(e){return QD(KD(e))}(e)}throw qD(e)}function QD(e){return new pt(n=>{(function X5(e,n){var t,i,o,r;return function BD(e,n,t,i){return new(t||(t=Promise))(function(r,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?r(d.value):function o(r){return r instanceof t?r:new t(function(s){s(r)})}(d.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=GD(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=t.return)&&(yield r.call(t))}finally{if(o)throw o.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function wo(e,n,t,i=0,o=!1){const r=n.schedule(function(){t(),o?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(r),!o)return r}function JD(e,n=0){return xt((t,i)=>{t.subscribe(gt(i,o=>wo(i,e,()=>i.next(o),n),()=>wo(i,e,()=>i.complete(),n),o=>wo(i,e,()=>i.error(o),n)))})}function e1(e,n=0){return xt((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function t1(e,n){if(!e)throw new Error("Iterable cannot be null");return new pt(t=>{wo(t,n,()=>{const i=e[Symbol.asyncIterator]();wo(t,n,()=>{i.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Bt(e,n){return n?function tz(e,n){if(null!=e){if(HD(e))return function K5(e,n){return $n(e).pipe(e1(n),JD(n))}(e,n);if(O_(e))return function Q5(e,n){return new pt(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(UD(e))return function Z5(e,n){return $n(e).pipe(e1(n),JD(n))}(e,n);if(WD(e))return t1(e,n);if(XD(e))return function J5(e,n){return new pt(t=>{let i;return wo(t,n,()=>{i=e[YD](),wo(t,n,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(s){return void t.error(s)}r?t.complete():t.next(o)},0,!0)}),()=>Ve(i?.return)&&i.return()})}(e,n);if(ZD(e))return function ez(e,n){return t1(KD(e),n)}(e,n)}throw qD(e)}(e,n):$n(e)}function re(...e){return Bt(e,zl(e))}function ln(e,n,t=1/0){return Ve(n)?ln((i,o)=>Oe((r,s)=>n(i,r,o,s))($n(e(i,o))),t):("number"==typeof n&&(t=n),xt((i,o)=>function nz(e,n,t,i,o,r,s,a){const l=[];let c=0,d=0,u=!1;const f=()=>{u&&!l.length&&!c&&n.complete()},h=p=>c<i?m(p):l.push(p),m=p=>{r&&n.next(p),c++;let g=!1;$n(t(p,d++)).subscribe(gt(n,v=>{o?.(v),r?h(v):n.next(v)},()=>{g=!0},void 0,()=>{if(g)try{for(c--;l.length&&c<i;){const v=l.shift();s?wo(n,s,()=>m(v)):m(v)}f()}catch(v){n.error(v)}}))};return e.subscribe(gt(n,h,()=>{u=!0,f()})),()=>{a?.()}}(i,o,e,t)))}function Rr(e,n){return Ve(n)?ln(e,n,1):ln(e,1)}function Gl(e){return xt((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function Tn(e,n){return xt((t,i)=>{let o=null,r=0,s=!1;const a=()=>s&&!o&&i.complete();t.subscribe(gt(i,l=>{o?.unsubscribe();let c=0;const d=r++;$n(e(l,d)).subscribe(o=gt(i,u=>i.next(n?n(l,u,d,c++):u),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function St(e,n,t){const i=Ve(e)||n||t?{next:e,error:n,complete:t}:e;return i?xt((o,r)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;o.subscribe(gt(r,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),r.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),r.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),r.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):Ao}class Ju{}class ef{}class ci{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const i=t.indexOf(":");if(i>
30){const o=t.slice(0,i),r=o.toLowerCase(),s=t.slice(i+1).trim();this.maybeSetNormalizedName(o,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,i)=>{this.setHeaderEntries(i,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,i])=>{this.setHeaderEntries(t,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof ci?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new ci;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof ci?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,t);const o=("a"===n.op?this.headers.get(t):void 0)||[];o.push(...i),this.headers.set(t,o);break;case"d":const r=n.value;if(r){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===r.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const i=(Array.isArray(t)?t:[t]).map(r=>r.toString()),o=n.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class iz{encodeKey(n){return n1(n)}encodeValue(n){return n1(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const rz=/%(\d[a-f0-9])/gi,sz={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function n1(e){return encodeURIComponent(e).replace(rz,(n,t)=>sz[t]??n)}function tf(e){return`${e}`}class tr{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new iz,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function oz(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const r=o.indexOf("="),[s,a]=-1==r?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const i=n.fromObject[t],o=Array.isArray(i)?i.map(tf):[tf(i)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(i=>{const o=n[i];Array.isArray(o)?o.forEach(r=>{t.push({param:i,value:r,op:"a"})}):t.push({param:i,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new tr({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}
3init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(tf(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const o=i.indexOf(tf(n.value));-1!==o&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class az{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function o1(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function r1(e){return typeof Blob<"u"&&e instanceof Blob}function s1(e){return typeof FormData<"u"&&e instanceof FormData}class Ul{constructor(n,t,i,o){let r;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function lz(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers||(this.headers=new ci),this.context||(this.context=new az),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a<t.length-1?"&":"")+s}}else this.params=new tr,this.urlWithParams=t}serializeBody(){return null===this.body?null:o1(this.body)||r1(this.body)||s1(this.body)||function cz(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof tr?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||s1(this.body)?null:r1(this.body)?this.body.type||null:o1(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof tr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){const t=n.method||this.method,i=n.url||this.url,o=n.responseType||this.responseType,r=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,a=void 0!==n.reportProgress?n.reportProgress:this.reportProgress;let l=n.headers||this.headers,c=n.params||this.params;const d=n.context??this.context;return void 0!==n.setHeaders&&(l=Object.keys(n.setHeaders).reduce((u,f)=>u.set(f,n.setHeaders[f]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((u,f)=>u.set(f,n.setParams[f]),c)),new Ul(t,i,r,{params:c,headers:l,context:d,reportProgress:a,responseType:o,withCredentials:s})}}var So=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(So||{});class I_{constructor(n,t=Hl.Ok,i="OK"){this.headers=n.headers||new ci,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class nf extends I_{constructor(n={}){super(n),this.type=So.ResponseHeader}clone(n={}){return new nf({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class nr extends I_{constructor(n={}){super(n),this.type=So.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new nr({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class ra extends I_{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}var Hl=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(Hl||{});function A_(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let Kn=(()=>{class e{constructor(t){this.handler=t}request(t,i,o={}){let r;if(t instanceof Ul)r=t;else{let l,c;l=o.headers instanceof ci?o.headers:new ci(o.headers),o.params&&(c=o.params instanceof tr?o.params:new tr({fromObject:o.params}
3)),r=new Ul(t,i,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=re(r).pipe(Rr(l=>this.handler.handle(l)));if(t instanceof Ul||"events"===o.observe)return s;const a=s.pipe(nn(l=>l instanceof nr));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe(Oe(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(Oe(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(Oe(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(Oe(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:(new tr).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,o={}){return this.request("PATCH",t,A_(o,i))}post(t,i,o={}){return this.request("POST",t,A_(o,i))}put(t,i,o={}){return this.request("PUT",t,A_(o,i))}static#e=this.\u0275fac=function(i){return new(i||e)(T(Ju))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();function l1(e,n){return n(e)}function pz(e,n){return(t,i)=>n.intercept(t,{handle:o=>e(o,i)})}const gz=new W(""),Wl=new W(""),c1=new W(""),d1=new W("");function _z(){let e=null;return(n,t)=>{null===e&&(e=(G(gz,{optional:!0})??[]).reduceRight(pz,l1));const i=G(na),o=i.add();return e(n,t).pipe(Gl(()=>i.remove(o)))}}let u1=(()=>{class e extends Ju{constructor(t,i){super(),this.backend=t,this.injector=i,this.chain=null,this.pendingTasks=G(na);const o=G(d1,{optional:!0});this.backend=o??t}handle(t){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Wl),...this.injector.get(c1,[])]));this.chain=o.reduceRight((r,s)=>function mz(e,n,t){return(i,o)=>Vo(t,()=>n(i,r=>e(r,o)))}(r,s,this.injector),l1)}const i=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Gl(()=>this.pendingTasks.remove(i)))}static#e=this.\u0275fac=function(i){return new(i||e)(T(ef),T(zn))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();const Ez=/^\)\]\}',?\n/;let h1=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new N(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?Bt(i.\u0275loadImpl()):re(null)).pipe(Tn(()=>new pt(r=>{const s=i.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((p,g)=>s.setRequestHeader(p,g.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const p=t.detectContentTypeHeader();null!==p&&s.setRequestHeader("Content-Type",p)}if(t.responseType){const p=t.responseType.toLowerCase();s.responseType="json"!==p?p:"text"}const a=t.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const p=s.statusText||"OK",g=new ci(s.getAllResponseHeaders()),v=function wz(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return l=new nf({headers:g,status:s.status,statusText:p,url:v}),l},d=()=>{let{headers:p,status:g,statusText:v,url:_}=c(),E=null;g!==Hl.NoContent&&(E=typeof s.response>"u"?s.responseText:s.response),0===g&&(g=E?Hl.Ok:0);let x=g>=200&&g<300;if("json"===t.responseType&&"string"==typeof E){const O=E;E=E.replace(Ez,"");try{E=""!==E?JSON.parse(E):null}catch(P){E=O,x&&(x=!1,E={error:P,text:E})}}x?(r.next(new nr({body:E,headers:p,status:g,statusText:v,url:_||void 0})),r.complete()):r.error(new ra({error:E,headers:p,status:g,statusText:v,url:_||void 0}))},u=p=>{const{url:g}=c(),v=new ra({error:p,status:s.status||0,statusText:s.statusText||"Unknown Error",url:g||void 0});r.error(v)};let f=!1;const h=p=>{f||(r.next(c()),f=!0);let g={type:So.DownloadProgress,loaded:p.loaded};p.lengthComputable&&(g.total=p.total),"text"===t.responseType&&s.responseText&&(g.partialText=s.responseText),r.next(g)},m=p=>{let g={type:So.UploadProgress,loaded:p.loaded};p.lengthComputable&&(g.total=p.total),r.next(g)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",u),s.addEventListener("abort",u),t.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),r.next({type:So.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",u),t.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(i){return new(i||e)(T(kD))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();const N_=new W("XSRF_ENABLED"),p1=new W("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),m1=new W("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class g1{}let xz=(()=>{class e{constructor(t,i,o){this.doc=t,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=yD(t,this.cookieName),this.lastCookieString=t),this.lastToken}static#e=this.\u0275fac=function(i){return new(i||e)(T(Te),T(Ae),T(p1))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();function Dz(e,n){const t=e.url.toLowerCase();if(!G(N_)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const i=G(g1).getToken(),o=G(m1);return null!=i&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,i)})),n(e)}var ir=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(ir||{});function Fr(e,n){return{\u0275kind:e,\u0275providers:n}}function _1(...e){const n=[Kn,h1,u1,{provide:Ju,useExisting:u1},{provide:ef,useExisting:h1},{provide:Wl,useValue:Dz,multi:!0},{provide:N_,useValue:!0},{provide:g1,useClass:xz}];for(const t of e)n.push(...t.\u0275providers);return Qa(n)}function Tz(e){return Fr(ir.Interceptors,e.map(n=>({provide:Wl,useValue:n,multi:!0})))}const v1=new W("LEGACY_INTERCEPTOR_FN");function Oz(){return Fr(ir.LegacyInterceptors,[{provide:v1,useFactory:_z},{provide:Wl,useExisting:v1,multi:!0}])}let Iz=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({providers:[_1(Oz())]})}return e})();const b1="b",y1="h",C1="s",E1="st",w1="u",S1="rt",rf=new W(""),Az=["GET","HEAD"];function Pz(e,n){const{isCacheActive:t,...i}=G(rf),{transferCache:o,method:r}=e;if(!t||"POST"===r&&!i.includePostRequests&&!o||"POST"!==r&&!Az.includes(r)||!1===o||!1===i.filter?.(e))return n(e);const s=G(vt),a=function Nz(e){const{params:n,method:t,responseType:i,url:o}=e,r=n.keys().sort().map(l=>`${l}=${n.getAll(l)}`).join("&"),a=function Rz(e){let n=0;for(const t of e)n=Math.imul(31,n)+t.charCodeAt(0)<<0;
3return n+=2147483648,n.toString()}(t+"."+i+"."+o+"?"+r);return a}(e),l=s.get(a,null);let c=i.includeHeaders;if("object"==typeof o&&o.includeHeaders&&(c=o.includeHeaders),l){const{[b1]:d,[S1]:u,[y1]:f,[C1]:h,[E1]:m,[w1]:p}=l;let g=d;switch(u){case"arraybuffer":g=(new TextEncoder).encode(d).buffer;break;case"blob":g=new Blob([d])}let v=new ci(f);return re(new nr({body:g,headers:v,status:h,statusText:m,url:p}))}return n(e).pipe(St(d=>{d instanceof nr&&s.set(a,{[b1]:d.body,[y1]:kz(d.headers,c),[C1]:d.status,[E1]:d.statusText,[w1]:d.url||"",[S1]:e.responseType})}))}function kz(e,n){if(!n)return{};const t={};for(const i of n){const o=e.getAll(i);null!==o&&(t[i]=o)}return t}function Fz(e){return[{provide:rf,useFactory:()=>(qo("NgHttpTransferCache"),{isCacheActive:!0,...e})},{provide:c1,useValue:Pz,multi:!0,deps:[vt,rf]},{provide:Ou,multi:!0,useFactory:()=>{const n=G(vo),t=G(rf);return()=>{Ax(n).then(()=>{t.isCacheActive=!1})}}}]}class Lz extends P8{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class R_ extends Lz{static makeCurrent(){!function A8(e){n_||(n_=e)}(new R_)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function $z(){return ql=ql||document.querySelector("base"),ql?ql.getAttribute("href"):null}();return null==t?null:function Vz(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){ql=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return yD(document.cookie,n)}}let ql=null,jz=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();const F_=new W("EventManagerPlugins");let M1=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,o){return this._findPluginFor(i).addEventListener(t,i,o)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(r=>r.supports(t)),!i)throw new N(5101,!1);return this._eventNameToPlugin.set(t,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(T(F_),T(ae))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();class x1{constructor(n){this._doc=n}}const L_="ng-app-id";let D1=(()=>{class e{constructor(t,i,o,r={}){this.doc=t,this.appId=i,this.nonce=o,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=C_(r),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(o=>o.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${L_}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(o=>{null!=o.textContent&&i.set(o.textContent,o)}),i}return null}changeUsageCount(t,i){const o=this.styleRef;if(o.has(t)){const r=o.get(t);return r.usage+=i,r.usage}return o.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const o=this.styleNodesInDOM,r=o?.get(i);if(r?.parentNode===t)return o.delete(i),r.removeAttribute(L_),r;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(L_,this.appId),t.appendChild(s),s}}addStyleToHost(t,i){const o=this.getStyleElement(t,i),r=this.styleRef,s=r.get(i)?.elements;s?s.push(o):r.set(i,{elements:[o],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(T(Te),T(Dd),T(zp,8),T(Ae))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();const $_={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/MathML/"},V_=/%COMP%/g,Hz=new W("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function O1(e,n){return n.map(t=>t.replace(V_,e))}let B_=(()=>{class e{constructor(t,i,o,r,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=C_(a),this.defaultRenderer=new j_(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===mi.ShadowDom&&(i={...i,encapsulation:mi.Emulated});const o=this.getOrCreateRenderer(t,i);
3return o instanceof A1?o.applyToHost(t):o instanceof z_&&o.applyStyles(),o}getOrCreateRenderer(t,i){const o=this.rendererByCompId;let r=o.get(i.id);if(!r){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(i.encapsulation){case mi.Emulated:r=new A1(l,c,i,this.appId,d,s,a,u);break;case mi.ShadowDom:return new Xz(l,c,t,i,s,a,this.nonce,u);default:r=new z_(l,c,i,d,s,a,u)}o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(T(M1),T(D1),T(Dd),T(Hz),T(Te),T(Ae),T(ae),T(zp))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();class j_{constructor(n,t,i,o){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS($_[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(I1(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(I1(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new N(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,o){if(o){t=o+":"+t;const r=$_[o];r?n.setAttributeNS(r,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const o=$_[i];o?n.removeAttributeNS(o,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,o){o&(Ho.DashCase|Ho.Important)?n.style.setProperty(t,i,o&Ho.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&Ho.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=Jo().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function I1(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class Xz extends j_{constructor(n,t,i,o,r,s,a,l){super(n,r,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=O1(o.id,o.styles);for(const d of c){const u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class z_ extends j_{constructor(n,t,i,o,r,s,a,l){super(n,r,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=l?O1(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class A1 extends z_{constructor(n,t,i,o,r,s,a,l){const c=o+"-"+i.id;super(n,t,i,r,s,a,l,c),this.contentAttr=function Wz(e){return"_ngcontent-%COMP%".replace(V_,e)}(c),this.hostAttr=function qz(e){return"_nghost-%COMP%".replace(V_,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}let Kz=(()=>{class e extends x1{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,o){return t.addEventListener(i,o,!1),()=>this.removeEventListener(t,i,o)}removeEventListener(t,i,o){return t.removeEventListener(i,o)}static#e=this.\u0275fac=function(i){return new(i||e)(T(Te))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();const P1=["alt","control","meta","shift"],Zz={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Qz={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Jz=(()=>{class e extends x1{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,o){const r=e.parseEventName(i),s=e.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Jo().onAndCancel(t,r.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const r=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>
3-1&&(i.splice(a,1),s="code."),P1.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=r,0!=i.length||0===r.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let o=Zz[t.key]||t.key,r="";return i.indexOf("code.")>-1&&(o=t.code,r="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),P1.forEach(s=>{s!==o&&(0,Qz[s])(t)&&(r+=s+".")}),r+=o,r===i)}static eventCallback(t,i,o){return r=>{e.matchEventFullKeyCode(r,t)&&o.runGuarded(()=>i(r))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(i){return new(i||e)(T(Te))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();const iG=Fx(e8,"browser",[{provide:Ae,useValue:PD},{provide:P0,useValue:function eG(){R_.makeCurrent()},multi:!0},{provide:Te,useFactory:function nG(){return function VR(e){jp=e}(document),document},deps:[]}]),oG=new W(""),R1=[{provide:Tu,useClass:class Bz{addToWindow(n){rt.getAngularTestability=(i,o=!0)=>{const r=n.findTestabilityInTree(i,o);if(null==r)throw new N(5103,!1);return r},rt.getAllAngularTestabilities=()=>n.getAllTestabilities(),rt.getAllAngularRootElements=()=>n.getAllRootElements(),rt.frameworkStabilizers||(rt.frameworkStabilizers=[]),rt.frameworkStabilizers.push(i=>{const o=rt.getAllAngularTestabilities();let r=o.length;const s=function(){r--,0==r&&i()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?Jo().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:xx,useClass:Gg,deps:[ae,Ug,Tu]},{provide:Gg,useClass:Gg,deps:[ae,Ug,Tu]}],F1=[{provide:Rp,useValue:"root"},{provide:po,useFactory:function tG(){return new po},deps:[]},{provide:F_,useClass:Kz,multi:!0,deps:[Te,ae,Ae]},{provide:F_,useClass:Jz,multi:!0,deps:[Te]},B_,D1,M1,{provide:Cm,useExisting:B_},{provide:kD,useClass:jz,deps:[]},[]];let L1=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Dd,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(T(oG,12))};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({providers:[...F1,...R1],imports:[y_,t8]})}return e})(),Zn=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static#e=this.\u0275fac=function(i){return new(i||e)(T(Te))};static#t=this.\u0275prov=H({token:e,factory:function(i){let o=null;return o=i?new i:function sG(){return new Zn(T(Te))}(),o},providedIn:"root"})}return e})();typeof window<"u"&&window;let Yl=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:function(i){let o=null;return o=i?new(i||e):T(B1),o},providedIn:"root"})}return e})(),B1=(()=>{class e extends Yl{constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case Hn.NONE:return i;case Hn.HTML:return Li(i,"HTML")?Un(i):yE(this._doc,String(i)).toString();case Hn.STYLE:return Li(i,"Style")?Un(i):i;case Hn.SCRIPT:if(Li(i,"Script"))return Un(i);throw new N(5200,!1);case Hn.URL:return Li(i,"URL")?Un(i):zd(String(i));case Hn.RESOURCE_URL:if(Li(i,"ResourceURL"))return Un(i);throw new N(5201,!1);default:throw new N(5202,!1)}}bypassSecurityTrustHtml(t){return function AF(e){return new MF(e)}(t)}bypassSecurityTrustStyle(t){return function PF(e){return new xF(e)}(t)}bypassSecurityTrustScript(t){return function kF(e){return new DF(e)}(t)}bypassSecurityTrustUrl(t){return function NF(e){return new TF(e)}(t)}bypassSecurityTrustResourceUrl(t){return function RF(e){return new OF(e)}(t)}static#e=this.\u0275fac=function(i){return new(i||e)(T(Te))};static#t=this.\u0275prov=H({token:e,factory:function(i){let o=null;return o=i?new i:function dG(e){return new B1(e.get(Te))}(T(mt)),o},providedIn:"root"})}return e})();var Xl=function(e){return e[e.NoHttpTransferCache=0]="NoHttpTransferCache",e[e.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",e}(Xl||{});function uG(...e){const n=[],t=new Set,i=t.has(Xl.HttpTransferCacheOptions);for(const{\u0275providers:o,\u0275kind:r}of e)t.add(r),o.length&&n.push(o);return Qa([[],D8(),t.has(Xl.NoHttpTransferCache)||i?[]:Fz({}),n])}const{isArray:hG}=Array,{getPrototypeOf:pG,prototype:mG,keys:gG}=Object;function z1(e){if(1===e.length){const n=e[0];if(hG(n))return{args:n,keys:null};if(function _G(e){return e&&"object"==typeof e&&pG(e)===mG}(n)){const t=gG(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}const{isArray:vG}=Array;function U_(e){return Oe(n=>function bG(e,n){return vG(n)?e(...n):e(n)}(e,n))}function G1(e,n){return e.reduce((t,i,o)=>(t[i]=n[o],t),{})}function Kl(...e){const n=zl(e),t=VD(e),{args:i,keys:o}=z1(e);if(0===i.length)return Bt([],n);const r=new pt(function yG(e,n,t=Ao){return i=>{U1(n,()=>{const{length:o}=e,r=new Array(o);let s=o,a=o;for(let l=0;l<o;l++)U1(n,()=>{const c=Bt(e[l],n);let d=!1;c.subscribe(gt(i,u=>{r[l]=u,d||(d=!0,a--),a||i.next(t(r.slice()))},()=>{--s||i.complete()}
3))},i)},i)}}(i,n,o?s=>G1(o,s):Ao));return t?r.pipe(U_(t)):r}function U1(e,n,t){e?wo(t,e,n):n()}function sa(e=1/0){return ln(Ao,e)}function sf(...e){return function CG(){return sa(1)}()(Bt(e,zl(e)))}function af(e){return new pt(n=>{$n(e()).subscribe(n)})}function lf(e,n){const t=Ve(e)?e:()=>e,i=o=>o.error(t());return new pt(n?o=>n.schedule(i,0,o):i)}function H_(){return xt((e,n)=>{let t=null;e._refCount++;const i=gt(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const o=e._connection,r=t;t=null,o&&(!r||o===r)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(i),i.closed||(t=e.connect())})}class H1 extends pt{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,eC(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Rt;const t=this.getSubject();n.add(this.source.subscribe(gt(t,void 0,()=>{this._teardown(),t.complete()},i=>{this._teardown(),t.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Rt.EMPTY)}return n}refCount(){return H_()(this)}}function Zl(...e){const n=zl(e);return xt((t,i)=>{(n?sf(e,t,n):sf(e,t)).subscribe(i)})}function aa(e){return xt((n,t)=>{let r,i=null,o=!1;i=n.subscribe(gt(t,void 0,void 0,s=>{r=$n(e(s,aa(e)(n))),i?(i.unsubscribe(),i=null,r.subscribe(t)):o=!0})),o&&(i.unsubscribe(),i=null,r.subscribe(t))})}function W_(e){return e<=0?()=>Ti:xt((n,t)=>{let i=[];n.subscribe(gt(t,o=>{i.push(o),e<i.length&&i.shift()},()=>{for(const o of i)t.next(o);t.complete()},void 0,()=>{i=null}))})}function W1(e){return Oe(()=>e)}function la(e){return xt((n,t)=>{$n(e).subscribe(gt(t,()=>t.complete(),Fh)),!t.closed&&n.subscribe(t)})}const we="primary",Ql=Symbol("RouteTitle");class MG{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function ca(e){return new MG(e)}function xG(e,n,t){const i=t.path.split("/");if(i.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||i.length<e.length))return null;const o={};for(let r=0;r<i.length;r++){const s=i[r],a=e[r];if(s.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,i.length),posParams:o}}function Wi(e,n){const t=e?q_(e):void 0,i=n?q_(n):void 0;if(!t||!i||t.length!=i.length)return!1;let o;for(let r=0;r<t.length;r++)if(o=t[r],!q1(e[o],n[o]))return!1;return!0}function q_(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function q1(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;const t=[...e].sort(),i=[...n].sort();return t.every((o,r)=>i[r]===o)}return e===n}function Y1(e){return e.length>0?e[e.length-1]:null}function rr(e){return function fG(e){return!!e&&(e instanceof pt||Ve(e.lift)&&Ve(e.subscribe))}(e)?e:Pl(e)?Bt(Promise.resolve(e)):re(e)}const TG={exact:function Z1(e,n,t){if(!Lr(e.segments,n.segments)||!cf(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!e.children[i]||!Z1(e.children[i],n.children[i],t))return!1;return!0},subset:Q1},X1={exact:function OG(e,n){return Wi(e,n)},subset:function IG(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>q1(e[t],n[t]))},ignored:()=>!0};function K1(e,n,t){return TG[t.paths](e.root,n.root,t.matrixParams)&&X1[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function Q1(e,n,t){return J1(e,n,n.segments,t)}function J1(e,n,t,i){if(e.segments.length>t.length){const o=e.segments.slice(0,t.length);return!(!Lr(o,t)||n.hasChildren()||!cf(o,t,i))}if(e.segments.length===t.length){if(!Lr(e.segments,t)||!cf(e.segments,t,i))return!1;for(const o in n.children)if(!e.children[o]||!Q1(e.children[o],n.children[o],i))return!1;return!0}{const o=t.slice(0,e.segments.length),r=t.slice(e.segments.length);return!!(Lr(e.segments,o)&&cf(e.segments,o,i)&&e.children[we])&&J1(e.children[we],n,r,i)}}function cf(e,n,t){return n.every((i,o)=>X1[t](e[o].parameters,i.parameters))}class da{constructor(n=new Je([],{}),t={},i=null){this.root=n,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap??=ca(this.queryParams),this._queryParamMap}toString(){return kG.serialize(this)}}class Je{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(i=>
3i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return df(this)}}class Jl{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=ca(this.parameters),this._parameterMap}toString(){return nT(this)}}function Lr(e,n){return e.length===n.length&&e.every((t,i)=>t.path===n[i].path)}let ua=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:()=>new Y_,providedIn:"root"})}return e})();class Y_{parse(n){const t=new UG(n);return new da(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${ec(n.root,!0)}`,i=function FG(e){const n=Object.entries(e).map(([t,i])=>Array.isArray(i)?i.map(o=>`${uf(t)}=${uf(o)}`).join("&"):`${uf(t)}=${uf(i)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${i}${"string"==typeof n.fragment?`#${function NG(e){return encodeURI(e)}(n.fragment)}`:""}`}}const kG=new Y_;function df(e){return e.segments.map(n=>nT(n)).join("/")}function ec(e,n){if(!e.hasChildren())return df(e);if(n){const t=e.children[we]?ec(e.children[we],!1):"",i=[];return Object.entries(e.children).forEach(([o,r])=>{o!==we&&i.push(`${o}:${ec(r,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}{const t=function PG(e,n){let t=[];return Object.entries(e.children).forEach(([i,o])=>{i===we&&(t=t.concat(n(o,i)))}),Object.entries(e.children).forEach(([i,o])=>{i!==we&&(t=t.concat(n(o,i)))}),t}(e,(i,o)=>o===we?[ec(e.children[we],!1)]:[`${o}:${ec(i,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[we]?`${df(e)}/${t[0]}`:`${df(e)}/(${t.join("//")})`}}function eT(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function uf(e){return eT(e).replace(/%3B/gi,";")}function X_(e){return eT(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ff(e){return decodeURIComponent(e)}function tT(e){return ff(e.replace(/\+/g,"%20"))}function nT(e){return`${X_(e.path)}${function RG(e){return Object.entries(e).map(([n,t])=>`;${X_(n)}=${X_(t)}`).join("")}(e.parameters)}`}const LG=/^[^\/()?;#]+/;function K_(e){const n=e.match(LG);return n?n[0]:""}const $G=/^[^\/()?;=#]+/,BG=/^[^=?&#]+/,zG=/^[^&#]+/;class UG{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Je([],{}):new Je([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(i[we]=new Je(n,t)),i}parseSegment(){const n=K_(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new N(4009,!1);return this.capture(n),new Jl(ff(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function VG(e){const n=e.match($G);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const o=K_(this.remaining);o&&(i=o,this.capture(i))}n[ff(t)]=ff(i)}parseQueryParam(n){const t=function jG(e){const n=e.match(BG);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const s=function GG(e){const n=e.match(zG);return n?n[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const o=tT(t),r=tT(i);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(r)}else n[o]=r}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=K_(this.remaining),o=this.remaining[i.length];if("/"!==o&&")"!==o&&";"!==o)throw new N(4010,!1);let r;i.indexOf(":")>-1?(r=i.slice(0,i.indexOf(":")),this.capture(r),this.capture(":")):n&&(r=we);const s=this.parseChildren();t[r]=1===Object.keys(s).length?s[we]:new Je([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new N(4011,!1)}}function iT(e){return e.segments.length>0?new Je([],{[we]:e}):e}function oT(e){const n={};for(const[i,o]of Object.entries(e.children)){const r=oT(o);if(i===we&&0===r.segments.length&&r.hasChildren())for(const[s,a]of Object.entries(r.children))n[s]=a;else(r.segments.length>0||r.hasChildren())&&(n[i]=r)}return function HG(e){if(1===e.numberOfChildren&&e.children[we]){const n=e.children[we];return new Je(e.segments.concat(n.segments),n.children)}return e}(new Je(e.segments,n))}function $r(e){return e instanceof da}function rT(e){let n;const o=iT(function t(r){const s={};for(const l of r.children){const c=t(l);s[l.outlet]=c}const a=new Je(r.url,s);return r===e&&(n=a),a}(e.root));return n??o}function sT(e,n,t,i){let o=e;for(;o.parent;)o=o.parent;if(0===n.length)return Z_(o,o,o,t,i);const r=function qG(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new lT(!0,0,e);let n=0,t=!1;const i=e.reduce((o,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const a={};
3return Object.entries(r.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...o,{outlets:a}]}if(r.segmentPath)return[...o,r.segmentPath]}return"string"!=typeof r?[...o,r]:0===s?(r.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&o.push(a))}),o):[...o,r]},[]);return new lT(t,n,i)}(n);if(r.toRoot())return Z_(o,o,new Je([],{}),t,i);const s=function YG(e,n,t){if(e.isAbsolute)return new pf(n,!0,0);if(!t)return new pf(n,!1,NaN);if(null===t.parent)return new pf(t,!0,0);const i=hf(e.commands[0])?0:1;return function XG(e,n,t){let i=e,o=n,r=t;for(;r>o;){if(r-=o,i=i.parent,!i)throw new N(4005,!1);o=i.segments.length}return new pf(i,!1,o-r)}(t,t.segments.length-1+i,e.numberOfDoubleDots)}(r,o,e),a=s.processChildren?nc(s.segmentGroup,s.index,r.commands):cT(s.segmentGroup,s.index,r.commands);return Z_(o,s.segmentGroup,a,t,i)}function hf(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function tc(e){return"object"==typeof e&&null!=e&&e.outlets}function Z_(e,n,t,i,o){let s,r={};i&&Object.entries(i).forEach(([l,c])=>{r[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`}),s=e===n?t:aT(e,n,t);const a=iT(oT(s));return new da(a,r,o)}function aT(e,n,t){const i={};return Object.entries(e.children).forEach(([o,r])=>{i[o]=r===n?t:aT(r,n,t)}),new Je(e.segments,i)}class lT{constructor(n,t,i){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=i,n&&i.length>0&&hf(i[0]))throw new N(4003,!1);const o=i.find(tc);if(o&&o!==Y1(i))throw new N(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class pf{constructor(n,t,i){this.segmentGroup=n,this.processChildren=t,this.index=i}}function cT(e,n,t){if(e??=new Je([],{}),0===e.segments.length&&e.hasChildren())return nc(e,n,t);const i=function ZG(e,n,t){let i=0,o=n;const r={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(i>=t.length)return r;const s=e.segments[o],a=t[i];if(tc(a))break;const l=`${a}`,c=i<t.length-1?t[i+1]:null;if(o>0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!uT(l,c,s))return r;i+=2}else{if(!uT(l,{},s))return r;i++}o++}return{match:!0,pathIndex:o,commandIndex:i}}(e,n,t),o=t.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){const r=new Je(e.segments.slice(0,i.pathIndex),{});return r.children[we]=new Je(e.segments.slice(i.pathIndex),e.children),nc(r,0,o)}return i.match&&0===o.length?new Je(e.segments,{}):i.match&&!e.hasChildren()?Q_(e,n,t):i.match?nc(e,0,o):Q_(e,n,t)}function nc(e,n,t){if(0===t.length)return new Je(e.segments,{});{const i=function KG(e){return tc(e[0])?e[0].outlets:{[we]:e}}(t),o={};if(Object.keys(i).some(r=>r!==we)&&e.children[we]&&1===e.numberOfChildren&&0===e.children[we].segments.length){const r=nc(e.children[we],n,t);return new Je(e.segments,r.children)}return Object.entries(i).forEach(([r,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[r]=cT(e.children[r],n,s))}),Object.entries(e.children).forEach(([r,s])=>{void 0===i[r]&&(o[r]=s)}),new Je(e.segments,o)}}function Q_(e,n,t){const i=e.segments.slice(0,n);let o=0;for(;o<t.length;){const r=t[o];if(tc(r)){const l=QG(r.outlets);return new Je(i,l)}if(0===o&&hf(t[0])){i.push(new Jl(e.segments[n].path,dT(t[0]))),o++;continue}const s=tc(r)?r.outlets[we]:`${r}`,a=o<t.length-1?t[o+1]:null;s&&a&&hf(a)?(i.push(new Jl(s,dT(a))),o+=2):(i.push(new Jl(s,{})),o++)}return new Je(i,{})}function QG(e){const n={};return Object.entries(e).forEach(([t,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(n[t]=Q_(new Je([],{}),0,i))}),n}function dT(e){const n={};return Object.entries(e).forEach(([t,i])=>n[t]=`${i}`),n}function uT(e,n,t){return e==t.path&&Wi(n,t.parameters)}const ic="imperative";var Re=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(Re||{});class qi{constructor(n,t){this.id=n,this.url=t}}class oc extends qi{constructor(n,t,i="imperative",o=null){super(n,t),this.type=Re.NavigationStart,this.navigationTrigger=i,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Yi extends qi{constructor(n,t,i){super(n,t),this.urlAfterRedirects=i,this.type=Re.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var di=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromRe
3solver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(di||{}),mf=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(mf||{});class fa extends qi{constructor(n,t,i,o){super(n,t),this.reason=i,this.code=o,this.type=Re.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ha extends qi{constructor(n,t,i,o){super(n,t),this.reason=i,this.code=o,this.type=Re.NavigationSkipped}}class gf extends qi{constructor(n,t,i,o){super(n,t),this.error=i,this.target=o,this.type=Re.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class fT extends qi{constructor(n,t,i,o){super(n,t),this.urlAfterRedirects=i,this.state=o,this.type=Re.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class JG extends qi{constructor(n,t,i,o){super(n,t),this.urlAfterRedirects=i,this.state=o,this.type=Re.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class eU extends qi{constructor(n,t,i,o,r){super(n,t),this.urlAfterRedirects=i,this.state=o,this.shouldActivate=r,this.type=Re.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class tU extends qi{constructor(n,t,i,o){super(n,t),this.urlAfterRedirects=i,this.state=o,this.type=Re.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nU extends qi{constructor(n,t,i,o){super(n,t),this.urlAfterRedirects=i,this.state=o,this.type=Re.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class iU{constructor(n){this.route=n,this.type=Re.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class oU{constructor(n){this.route=n,this.type=Re.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class rU{constructor(n){this.snapshot=n,this.type=Re.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sU{constructor(n){this.snapshot=n,this.type=Re.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class aU{constructor(n){this.snapshot=n,this.type=Re.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lU{constructor(n){this.snapshot=n,this.type=Re.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hT{constructor(n,t,i){this.routerEvent=n,this.position=t,this.anchor=i,this.type=Re.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class J_{}class ev{constructor(n){this.url=n}}class cU{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new rc,this.attachRef=null}}let rc=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,i){const o=this.getOrCreateContext(t);o.outlet=i,this.contexts.set(t,o)}onChildOutletDestroyed(t){const i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new cU,this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class pT{constructor(n){this._root=n}get root(){return this._root.value}
3parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=tv(n,this._root);return t?t.children.map(i=>i.value):[]}firstChild(n){const t=tv(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=nv(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return nv(n,this._root).map(t=>t.value)}}function tv(e,n){if(e===n.value)return n;for(const t of n.children){const i=tv(e,t);if(i)return i}return null}function nv(e,n){if(e===n.value)return[n];for(const t of n.children){const i=nv(e,t);if(i.length)return i.unshift(n),i}return[]}class xi{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function pa(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class mT extends pT{constructor(n,t){super(n),this.snapshot=t,rv(this,n)}toString(){return this.snapshot.toString()}}function gT(e){const n=function dU(e){const r=new ov([],{},{},"",{},we,e,null,{});return new _T("",new xi(r,[]))}(e),t=new Fe([new Jl("",{})]),i=new Fe({}),o=new Fe({}),r=new Fe({}),s=new Fe(""),a=new Qn(t,i,r,s,o,we,e,n.root);return a.snapshot=n.root,new mT(new xi(a,[]),n)}class Qn{constructor(n,t,i,o,r,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=i,this.fragmentSubject=o,this.dataSubject=r,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(Oe(c=>c[Ql]))??re(void 0),this.url=n,this.params=t,this.queryParams=i,this.fragment=o,this.data=r}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(Oe(n=>ca(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Oe(n=>ca(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function iv(e,n,t="emptyOnly"){let i;const{routeConfig:o}=e;return i=null===n||"always"!==t&&""!==o?.path&&(n.component||n.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.data,...o?.data,...e._resolvedData}},o&&bT(o)&&(i.resolve[Ql]=o.title),i}class ov{get title(){return this.data?.[Ql]}constructor(n,t,i,o,r,s,a,l,c){this.url=n,this.params=t,this.queryParams=i,this.fragment=o,this.data=r,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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??=ca(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ca(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class _T extends pT{constructor(n,t){super(t),this.url=n,rv(this,t)}toString(){return vT(this._root)}}function rv(e,n){n.value._routerState=e,n.children.forEach(t=>rv(e,t))}function vT(e){const n=e.children.length>0?` { ${e.children.map(vT).join(", ")} } `:"";return`${e.value}${n}`}function sv(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Wi(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),Wi(n.params,t.params)||e.paramsSubject.next(t.params),function DG(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!Wi(e[t],n[t]))return!1;return!0}(n.url,t.url)||e.urlSubject.next(t.url),Wi(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function av(e,n){const t=Wi(e.params,n.params)&&function AG(e,n){return Lr(e,n)&&e.every((t,i)=>Wi(t.parameters,n[i].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||av(e.parent,n.parent))}function bT(e){return"string"==typeof e.title||null===e.title}let lv=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=we,this.activateEvents=new U,this.deactivateEvents=new U,this.attachEvents=new U,this.detachEvents=new U,this.parentContexts=G(rc),this.location=G(Fn),this.changeDetector=G(Wo),this.environmentInjector=G(zn),this.inputBinder=G(_f,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:i,previousValue:o}=t.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new N(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new N(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new N(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,i){this.activated=t,this._activatedRoute=i,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,i){if(this.isActivated)throw new N(4013,!1);this._activatedRoute=t;
3const o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new uU(t,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=oe({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[rn]})}return e})();class uU{constructor(n,t,i){this.route=n,this.childContexts=t,this.parent=i}get(n,t){return n===Qn?this.route:n===rc?this.childContexts:this.parent.get(n,t)}}const _f=new W("");let yT=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:i}=t,o=Kl([i.queryParams,i.params,i.data]).pipe(Tn(([r,s,a],l)=>(a={...r,...s,...a},0===l?re(a):Promise.resolve(a)))).subscribe(r=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==i||null===i.component)return void this.unsubscribeFromRouteData(t);const s=function I8(e){const n=De(e);if(!n)return null;const t=new ml(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(i.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,r[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,o)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();function sc(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const i=t.value;i._futureSnapshot=n.value;const o=function hU(e,n,t){return n.children.map(i=>{for(const o of t.children)if(e.shouldReuseRoute(i.value,o.value.snapshot))return sc(e,i,o);return sc(e,i)})}(e,n,t);return new xi(i,o)}{if(e.shouldAttach(n.value)){const r=e.retrieve(n.value);if(null!==r){const s=r.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>sc(e,a)),s}}const i=function pU(e){return new Qn(new Fe(e.url),new Fe(e.params),new Fe(e.queryParams),new Fe(e.fragment),new Fe(e.data),e.outlet,e.component,e)}(n.value),o=n.children.map(r=>sc(e,r));return new xi(i,o)}}const cv="ngNavigationCancelingError";function CT(e,n){const{redirectTo:t,navigationBehaviorOptions:i}=$r(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=ET(!1,di.Redirect,n);return o.url=t,o.navigationBehaviorOptions=i,o}function ET(e,n,t){const i=new Error("NavigationCancelingError: "+(e||""));return i[cv]=!0,i.cancellationCode=n,t&&(i.url=t),i}function wT(e){return e&&e[cv]}let ST=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ne({type:e,selectors:[["ng-component"]],standalone:!0,features:[_o],decls:1,vars:0,template:function(i,o){1&i&&z(0,"router-outlet")},dependencies:[lv],encapsulation:2})}return e})();function dv(e){const n=e.children&&e.children.map(dv),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==we&&(t.component=ST),t}function Xi(e){return e.outlet||we}function ac(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class EU{constructor(n,t,i,o,r){this.routeReuseStrategy=n,this.futureState=t,this.currState=i,this.forwardEvent=o,this.inputBindingEnabled=r}
3activate(n){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,n),sv(this.futureState.root),this.activateChildRoutes(t,i,n)}deactivateChildRoutes(n,t,i){const o=pa(t);n.children.forEach(r=>{const s=r.value.outlet;this.deactivateRoutes(r,o[s],i),delete o[s]}),Object.values(o).forEach(r=>{this.deactivateRouteAndItsChildren(r,i)})}deactivateRoutes(n,t,i){const o=n.value,r=t?t.value:null;if(o===r)if(o.component){const s=i.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,i);else r&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const i=t.getContext(n.value.outlet),o=i&&n.value.component?i.children:t,r=pa(n);for(const s of Object.values(r))this.deactivateRouteAndItsChildren(s,o);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const i=t.getContext(n.value.outlet),o=i&&n.value.component?i.children:t,r=pa(n);for(const s of Object.values(r))this.deactivateRouteAndItsChildren(s,o);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,t,i){const o=pa(t);n.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],i),this.forwardEvent(new lU(r.value.snapshot))}),n.children.length&&this.forwardEvent(new sU(n.value.snapshot))}activateRoutes(n,t,i){const o=n.value,r=t?t.value:null;if(sv(o),o===r)if(o.component){const s=i.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,i);else if(o.component){const s=i.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),sv(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=ac(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,i)}}class MT{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class vf{constructor(n,t){this.component=n,this.route=t}}function wU(e,n,t){const i=e._root;return lc(i,n?n._root:null,t,[i.value])}function ma(e,n){const t=Symbol(),i=n.get(e,t);return i===t?"function"!=typeof e||function $k(e){return null!==Kc(e)}(e)?n.get(e):e:i}function lc(e,n,t,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=pa(n);return e.children.forEach(s=>{(function MU(e,n,t,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&r.routeConfig===s.routeConfig){const l=function xU(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!Lr(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Lr(e.url,n.url)||!Wi(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!av(e,n)||!Wi(e.queryParams,n.queryParams);default:return!av(e,n)}}(s,r,r.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new MT(i)):(r.data=s.data,r._resolvedData=s._resolvedData),lc(e,n,r.component?a?a.children:null:t,i,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new vf(a.outlet.component,s))}else s&&cc(n,a,o),o.canActivateChecks.push(new MT(i)),lc(e,null,r.component?a?a.children:null:t,i,o)})(s,r[s.value.outlet],t,i.concat([s.value]),o),delete r[s.value.outlet]}),Object.entries(r).forEach(([s,a])=>cc(a,t.getContext(s),o)),o}function cc(e,n,t){const i=pa(e),o=e.value;Object.entries(i).forEach(([r,s])=>{cc(s,o.component?n?n.children.getContext(r):null:n,t)}),t.canDeactivateChecks.push(new vf(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}function dc(e){return"function"==typeof e}function xT(e){return e instanceof ka||"EmptyError"===e?.name}const bf=Symbol("INITIAL_VALUE");function ga(){return Tn(e=>Kl(e.map(n=>
3n.pipe(un(1),Zl(bf)))).pipe(Oe(n=>{for(const t of n)if(!0!==t){if(t===bf)return bf;if(!1===t||t instanceof da)return t}return!0}),nn(n=>n!==bf),un(1)))}function DT(e){return function Ck(...e){return Zy(e)}(St(n=>{if($r(n))throw CT(0,n)}),Oe(n=>!0===n))}class uv{constructor(n){this.segmentGroup=n||null}}class fv extends Error{constructor(n){super(),this.urlTree=n}}function _a(e){return lf(new uv(e))}class WU{constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let i=[],o=t.root;for(;;){if(i=i.concat(o.segments),0===o.numberOfChildren)return re(i);if(o.numberOfChildren>1||!o.children[we])return lf(new N(4e3,!1));o=o.children[we]}}applyRedirectCommands(n,t,i){const o=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,i);if(t.startsWith("/"))throw new fv(o);return o}applyRedirectCreateUrlTree(n,t,i,o){const r=this.createSegmentGroup(n,t.root,i,o);return new da(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const i={};return Object.entries(n).forEach(([o,r])=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=t[a]}else i[o]=r}),i}createSegmentGroup(n,t,i,o){const r=this.createSegments(n,t.segments,i,o);let s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,i,o)}),new Je(r,s)}createSegments(n,t,i,o){return t.map(r=>r.path.startsWith(":")?this.findPosParam(n,r,o):this.findOrReturn(r,i))}findPosParam(n,t,i){const o=i[t.path.substring(1)];if(!o)throw new N(4001,!1);return o}findOrReturn(n,t){let i=0;for(const o of t){if(o.path===n.path)return t.splice(i),o;i++}return n}}const hv={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function qU(e,n,t,i,o){const r=pv(e,n,t);return r.matched?(i=function gU(e,n){return e.providers&&!e._injector&&(e._injector=Ng(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,i),function GU(e,n,t,i){const o=n.canMatch;return o&&0!==o.length?re(o.map(s=>{const a=ma(s,e);return rr(function PU(e){return e&&dc(e.canMatch)}(a)?a.canMatch(n,t):Vo(e,()=>a(n,t)))})).pipe(ga(),DT()):re(!0)}(i,n,t).pipe(Oe(s=>!0===s?r:{...hv}))):re(r)}function pv(e,n,t){if("**"===n.path)return function YU(e){return{matched:!0,parameters:e.length>0?Y1(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(t);if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...hv}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const o=(n.matcher||xG)(t,e,n);if(!o)return{...hv};const r={};Object.entries(o.posParams??{}).forEach(([a,l])=>{r[a]=l.path});const s=o.consumed.length>0?{...r,...o.consumed[o.consumed.length-1].parameters}:r;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function TT(e,n,t,i){return t.length>0&&function ZU(e,n,t){return t.some(i=>yf(e,n,i)&&Xi(i)!==we)}(e,t,i)?{segmentGroup:new Je(n,KU(i,new Je(t,e.children))),slicedSegments:[]}:0===t.length&&function QU(e,n,t){return t.some(i=>yf(e,n,i))}(e,t,i)?{segmentGroup:new Je(e.segments,XU(e,t,i,e.children)),slicedSegments:t}:{segmentGroup:new Je(e.segments,e.children),slicedSegments:t}}function XU(e,n,t,i){const o={};for(const r of t)if(yf(e,n,r)&&!i[Xi(r)]){const s=new Je([],{});o[Xi(r)]=s}return{...i,...o}}function KU(e,n){const t={};t[we]=n;for(const i of e)if(""===i.path&&Xi(i)!==we){const o=new Je([],{});t[Xi(i)]=o}return t}function yf(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class tH{}class oH{constructor(n,t,i,o,r,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=i,this.config=o,this.urlTree=r,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new WU(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new N(4002,`'${n.segmentGroup}'`)}recognize(){const n=TT(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(Oe(t=>{const i=new ov([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},we,this.rootComponentType,null,{}),o=new xi(i,t),r=new _T("",o),s=function WG(e,n,t=null,i=null){return sT(rT(e),n,t,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(r._root,null),{state:r,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n,we).pipe(aa(i=>{if(i instanceof fv)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof uv?this.noMatchError(i):i}))}inheritParamsAndData(n,t){const i=n.value,o=iv(i,t,this.paramsInheritanceStrategy);i.params=Object.freeze(o.params),i.data=Object.freeze(o.data),n.children.forEac
3h(r=>this.inheritParamsAndData(r,i))}processSegmentGroup(n,t,i,o){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,t,i):this.processSegment(n,t,i,i.segments,o,!0).pipe(Oe(r=>r instanceof xi?[r]:[]))}processChildren(n,t,i){const o=[];for(const r of Object.keys(i.children))"primary"===r?o.unshift(r):o.push(r);return Bt(o).pipe(Rr(r=>{const s=i.children[r],a=function yU(e,n){const t=e.filter(i=>Xi(i)===n);return t.push(...e.filter(i=>Xi(i)!==n)),t}(t,r);return this.processSegmentGroup(n,a,s,r)}),function wG(e,n){return xt(function EG(e,n,t,i,o){return(r,s)=>{let a=t,l=n,c=0;r.subscribe(gt(s,d=>{const u=c++;l=a?e(l,d,u):(a=!0,d),i&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}(e,n,arguments.length>=2,!0))}((r,s)=>(r.push(...s),r)),Yc(null),function SG(e,n){const t=arguments.length>=2;return i=>i.pipe(e?nn((o,r)=>e(o,r,i)):Ao,W_(1),t?Yc(n):tC(()=>new ka))}(),ln(r=>{if(null===r)return _a(i);const s=OT(r);return function rH(e){e.sort((n,t)=>n.value.outlet===we?-1:t.value.outlet===we?1:n.value.outlet.localeCompare(t.value.outlet))}(s),re(s)}))}processSegment(n,t,i,o,r,s){return Bt(t).pipe(Rr(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,i,o,r,s).pipe(aa(l=>{if(l instanceof uv)return re(null);throw l}))),ro(a=>!!a),aa(a=>{if(xT(a))return function eH(e,n,t){return 0===n.length&&!e.children[t]}(i,o,r)?re(new tH):_a(i);throw a}))}processSegmentAgainstRoute(n,t,i,o,r,s,a){return function JU(e,n,t,i){return!!(Xi(e)===i||i!==we&&yf(n,t,e))&&pv(n,e,t).matched}(i,o,r,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,o,i,r,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,o,t,i,r,s):_a(o):_a(o)}expandSegmentAgainstRouteUsingRedirect(n,t,i,o,r,s){const{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:d}=pv(t,o,r);if(!a)return _a(t);o.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const u=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,c);return this.applyRedirects.lineralizeSegments(o,u).pipe(ln(f=>this.processSegment(n,i,t,f.concat(d),s,!1)))}matchSegmentAgainstRoute(n,t,i,o,r){const s=qU(t,i,o,n);return"**"===i.path&&(t.children={}),s.pipe(Tn(a=>a.matched?this.getChildConfig(n=i._injector??n,i,o).pipe(Tn(({routes:l})=>{const c=i._loadedInjector??n,{consumedSegments:d,remainingSegments:u,parameters:f}=a,h=new ov(d,f,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function aH(e){return e.data||{}}(i),Xi(i),i.component??i._loadedComponent??null,i,function lH(e){return e.resolve||{}}(i)),{segmentGroup:m,slicedSegments:p}=TT(t,d,u,l);if(0===p.length&&m.hasChildren())return this.processChildren(c,l,m).pipe(Oe(v=>null===v?null:new xi(h,v)));if(0===l.length&&0===p.length)return re(new xi(h,[]));const g=Xi(i)===r;return this.processSegment(c,l,m,p,g?we:r,!0).pipe(Oe(v=>new xi(h,v instanceof xi?[v]:[])))})):_a(t)))}getChildConfig(n,t,i){return t.children?re({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?re({routes:t._loadedRoutes,injector:t._loadedInjector}):function zU(e,n,t,i){const o=n.canLoad;return void 0===o||0===o.length?re(!0):re(o.map(s=>{const a=ma(s,e);return rr(function TU(e){return e&&dc(e.canLoad)}(a)?a.canLoad(n,t):Vo(e,()=>a(n,t)))})).pipe(ga(),DT())}(n,t,i).pipe(ln(o=>o?this.configLoader.loadChildren(n,t).pipe(St(r=>{t._loadedRoutes=r.routes,t._loadedInjector=r.injector})):function HU(e){return lf(ET(!1,di.GuardRejected))}())):re({routes:[],injector:n})}}function sH(e){const n=e.value.routeConfig;return n&&""===n.path}function OT(e){const n=[],t=new Set;for(const i of e){if(!sH(i)){n.push(i);continue}const o=n.find(r=>i.value.routeConfig===r.value.routeConfig);void 0!==o?(o.children.push(...i.children),t.add(o)):n.push(i)}for(const i of t){const o=OT(i.children);n.push(new xi(i.value,o))}return n.filter(i=>!t.has(i))}function IT(e){const n=e.children.map(t=>IT(t)).flat();return[e,...n]}function mv(e){return Tn(n=>{const t=e(n);return t?Bt(t).pipe(Oe(()=>n)):re(n)})}let AT=(()=>{class e{buildTitle(t){let i,o=t.root;for(;void 0!==o;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(r=>r.outlet===we);return i}getResolvedTitleForRoute(t){return t.data[Ql]}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:()=>G(pH),providedIn:"root"})}return e})(),pH=(()=>{class e extends AT{constructor(t){super(),this.title=t}updateTitle(t){const i=this.buildTitle(t);void 0!==i&&this.title.setTitle(i)}static#e=this.\u0275fac=function(i){return new(i||e)(T(Zn))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const va=new W("",{providedIn:"root",factory:()=>({})}),ba=new W("ROUTES");let gv=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=G(Cx)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return re(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const i=rr(t.loadComponent()).pipe(Oe(PT),St(r=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=r}),Gl(()=>{this.componentLoaders.delete(t)})),o=new H1(i,()=>new Se).pipe(H_());return this.componentLoaders.set(t,o),o}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return re({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const r=function mH(e,n,t,i){return rr(e.loadChildren()).pipe(Oe(PT),ln(o=>o instanceof UM||Array.isArray(o)?re(o):Bt(n.compileModuleAsync(o))),Oe(o=>{i&&i(e);let r,s,a=!1;return Array.isArray(o)?(s=o,!0):(r=o.create(t).injector,s=r.get(ba,[],{optional:!0,self:!0}).flat()),{routes:s.map(dv),injector:r}}))}(i,this.compiler,t,this.onLoadEndListener).pipe(Gl(()=>{this.childrenLoaders.delete(i)})),s=new H1(r,()=>new Se).pipe(H_());return this.childrenLoaders.set(i,s),s}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function PT(e){return function gH(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let _v=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:()=>G(_H),providedIn:"root"})}return e})(),_H=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,i){return t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const kT=new W(""),NT=new W("");function vH(e,n,t){const i=e.get(NT),o=e.get(Te);return e.get(ae).runOutsideAngular(()=>{if(!o.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,Promise.resolve();let r;const s=new Promise(c=>{r=c}),a=o.startViewTransition(()=>(r(),function bH(e){return new Promise(n=>{gw(n,{injector:e})})}(e))),{onViewTransitionCreated:l}=i;return l&&Vo(e,()=>l({transition:a,from:n,to:t})),s})}let Cf=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Se,this.transitionAbortSubject=ne
3w Se,this.configLoader=G(gv),this.environmentInjector=G(zn),this.urlSerializer=G(ua),this.rootContexts=G(rc),this.location=G(yo),this.inputBindingEnabled=null!==G(_f,{optional:!0}),this.titleStrategy=G(AT),this.options=G(va,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=G(_v),this.createViewTransition=G(kT,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>re(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new oU(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new iU(o))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:i})}setupNavigations(t,i,o){return this.transitions=new Fe({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ic,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(nn(r=>0!==r.id),Oe(r=>({...r,extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),Tn(r=>{this.currentTransition=r;let s=!1,a=!1;return re(r).pipe(St(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Tn(l=>{const c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!c&&"reload"!==(l.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const u="";return this.events.next(new ha(l.id,this.urlSerializer.serialize(l.rawUrl),u,mf.IgnoredSameUrlNavigation)),l.resolve(null),Ti}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return re(l).pipe(Tn(u=>{const f=this.transitions?.getValue();return this.events.next(new oc(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),f!==this.transitions?.getValue()?Ti:Promise.resolve(u)}),function cH(e,n,t,i,o,r){return ln(s=>function nH(e,n,t,i,o,r,s="emptyOnly"){return new oH(e,n,t,i,o,s,r).recognize()}(e,n,t,i,s.extractedUrl,o,r).pipe(Oe(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),St(u=>{r.targetSnapshot=u.targetSnapshot,r.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:u.urlAfterRedirects};const f=new fT(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(f)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:u,extractedUrl:f,source:h,restoredState:m,extras:p}=l,g=new oc(u,this.urlSerializer.serialize(f),h,m);this.events.next(g);const v=gT(this.rootComponentType).snapshot;return this.currentTransition=r={...l,targetSnapshot:v,urlAfterRedirects:f,extras:{...p,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=f,re(r)}{const u="";return this.events.next(new ha(l.id,this.urlSerializer.serialize(l.extractedUrl),u,mf.IgnoredByUrlHandlingStrategy)),l.resolve(null),Ti}}),St(l=>{const c=new JG(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),Oe(l=>(this.currentTransition=r={...l,guards:wU(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},r)),function NU(e,n){return ln(t=>{const{targetSnapshot:i,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:s}}=t;return 0===s.length&&0===r.length?re({...t,guardsResult:!0}):function RU(e,n,t,i){return Bt(e).pipe(ln(o=>function jU(e,n,t,i,o){const r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return r&&0!==r.length?re(r.map(a=>{const l=ac(n)??o,c=ma(a,l);return rr(function AU(e){return e&&dc(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,i):Vo(l,()=>c(e,n,t,i))).pipe(ro())})).pipe(ga()):re(!0)}(o.component,o.route,t,n,i)),ro(o=>!0!==o,!0))}(s,i,o,e).pipe(ln(a=>a&&function DU(e){return"boolean"==typeof e}(a)?function FU(e,n,t,i){return Bt(n).pipe(Rr(o=>sf(function $U(e,n){return null!==e&&n&&n(new rU(e)),re(!0)}(o.route.parent,i),function LU(e,n){return null!==e&&n&&n(new aU(e)),re(!0)}(o.route,i),function BU(e,n,t){const i=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(s=>function SU(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>af(()=>re(s.guards.map(l=>{const c=ac(s.node)??t,d=ma(l,c);return rr(function IU(e){return e&&dc(e.canActivateChild)}
3(d)?d.canActivateChild(i,e):Vo(c,()=>d(i,e))).pipe(ro())})).pipe(ga())));return re(r).pipe(ga())}(e,o.path,t),function VU(e,n,t){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return re(!0);const o=i.map(r=>af(()=>{const s=ac(n)??t,a=ma(r,s);return rr(function OU(e){return e&&dc(e.canActivate)}(a)?a.canActivate(n,e):Vo(s,()=>a(n,e))).pipe(ro())}));return re(o).pipe(ga())}(e,o.route,t))),ro(o=>!0!==o,!0))}(i,r,e,n):re(a)),Oe(a=>({...t,guardsResult:a})))})}(this.environmentInjector,l=>this.events.next(l)),St(l=>{if(r.guardsResult=l.guardsResult,$r(l.guardsResult))throw CT(0,l.guardsResult);const c=new eU(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),nn(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",di.GuardRejected),!1)),mv(l=>{if(l.guards.canActivateChecks.length)return re(l).pipe(St(c=>{const d=new tU(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),Tn(c=>{let d=!1;return re(c).pipe(function dH(e,n){return ln(t=>{const{targetSnapshot:i,guards:{canActivateChecks:o}}=t;if(!o.length)return re(t);const r=new Set(o.map(l=>l.route)),s=new Set;for(const l of r)if(!s.has(l))for(const c of IT(l))s.add(c);let a=0;return Bt(s).pipe(Rr(l=>r.has(l)?function uH(e,n,t,i){const o=e.routeConfig,r=e._resolve;return void 0!==o?.title&&!bT(o)&&(r[Ql]=o.title),function fH(e,n,t,i){const o=q_(e);if(0===o.length)return re({});const r={};return Bt(o).pipe(ln(s=>function hH(e,n,t,i){const o=ac(n)??i,r=ma(e,o);return rr(r.resolve?r.resolve(n,t):Vo(o,()=>r(n,t)))}(e[s],n,t,i).pipe(ro(),St(a=>{r[s]=a}))),W_(1),W1(r),aa(s=>xT(s)?Ti:lf(s)))}(r,e,n,i).pipe(Oe(s=>(e._resolvedData=s,e.data=iv(e,e.parent,t).resolve,null)))}(l,i,e,n):(l.data=iv(l,l.parent,e).resolve,re(void 0))),St(()=>a++),W_(1),ln(l=>a===s.size?re(t):Ti))})}(this.paramsInheritanceStrategy,this.environmentInjector),St({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(c,"",di.NoDataFromResolver)}}))}),St(c=>{const d=new nU(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}))}),mv(l=>{const c=d=>{const u=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(d.routeConfig).pipe(St(f=>{d.component=f}),Oe(()=>{})));for(const f of d.children)u.push(...c(f));return u};return Kl(c(l.targetSnapshot.root)).pipe(Yc(null),un(1))}),mv(()=>this.afterPreactivation()),Tn(()=>{const{currentSnapshot:l,targetSnapshot:c}=r,d=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return d?Bt(d).pipe(Oe(()=>r)):re(r)}),Oe(l=>{const c=function fU(e,n,t){const i=sc(e,n._root,t?t._root:void 0);return new mT(i,n)}(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=r={...l,targetRouterState:c},this.currentNavigation.targetRouterState=c,r}),St(()=>{this.events.next(new J_)}),((e,n,t,i)=>Oe(o=>(new EU(n,o.targetRouterState,o.currentRouterState,t,i).activate(e),o)))(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),un(1),St({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Yi(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),la(this.transitionAbortSubject.pipe(St(l=>{throw l}))),Gl(()=>{!s&&!a&&this.cancelNavigationTransition(r,"",di.SupersededByNewNavigation),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),aa(l=>{if(a=!0,wT(l))this.events.next(new fa(r.id,this.urlSerializer.serialize(r.extractedUrl),l.message,l.cancellationCode)),function mU(e){return wT(e)&&$r(e.url)}(l)?this.events.next(new ev(l.url)):r.resolve(!1);else{this.events.next(new gf(r.id,this.urlSerializer.serialize(r.extractedUrl),l,r.targetSnapshot??void 0));try{r.resolve(t.errorHandler(l))}catch(c){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(c)}}return Ti}))}))}cancelNavigationTransition(t,i,o){const r=new fa(t.id,this.urlSerializer.serialize(t.extractedUrl),i,o);this.events.next(r),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function yH(e){return e!==ic}let CH=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:()=>G(wH),providedIn:"root"})}return e})();class EH{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}
3shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let wH=(()=>{class e extends EH{static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qt(e)))(o||e)}})();static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),RT=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:()=>G(SH),providedIn:"root"})}return e})(),SH=(()=>{class e extends RT{constructor(){super(...arguments),this.location=G(yo),this.urlSerializer=G(ua),this.options=G(va,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=G(_v),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new da,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=gT(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(i=>{"popstate"===i.type&&t(i.url,i.state)})}handleRouterEvent(t,i){if(t instanceof oc)this.stateMemento=this.createStateMemento();else if(t instanceof ha)this.rawUrlTree=i.initialUrl;else if(t instanceof fT){if("eager"===this.urlUpdateStrategy&&!i.extras.skipLocationChange){const o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else t instanceof J_?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,"deferred"===this.urlUpdateStrategy&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):t instanceof fa&&(t.code===di.GuardRejected||t.code===di.NoDataFromResolver)?this.restoreHistory(i):t instanceof gf?this.restoreHistory(i,!0):t instanceof Yi&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,i){const o=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){const s={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const r={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId+1)};this.location.go(o,"",r)}}restoreHistory(t,i=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-this.browserPageId;0!==r?this.location.historyGo(r):this.currentUrlTree===t.finalUrl&&0===r&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,i){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qt(e)))(o||e)}})();static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var uc=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(uc||{});function FT(e,n){e.events.pipe(nn(t=>t instanceof Yi||t instanceof fa||t instanceof gf||t instanceof ha),Oe(t=>t instanceof Yi||t instanceof ha?uc.COMPLETE:t instanceof fa&&(t.code===di.Redirect||t.code===di.SupersededByNewNavigation)?uc.REDIRECTING:uc.FAILED),nn(t=>t!==uc.REDIRECTING),un(1)).subscribe(()=>{n()})}function MH(e){throw e}const xH={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},DH={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let en=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=G(jg),this.stateManager=G(RT),this.options=G(va,{optional:!0})||{},this.pendingTasks=G(na),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=G(Cf),this.urlSerializer
3=G(ua),this.location=G(yo),this.urlHandlingStrategy=G(_v),this._events=new Se,this.errorHandler=this.options.errorHandler||MH,this.navigated=!1,this.routeReuseStrategy=G(CH),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=G(ba,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!G(_f,{optional:!0}),this.eventsSubscription=new Rt,this.isNgZoneEnabled=G(ae)instanceof ae&&ae.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(i=>{try{const o=this.navigationTransitions.currentTransition,r=this.navigationTransitions.currentNavigation;if(null!==o&&null!==r)if(this.stateManager.handleRouterEvent(i,r),i instanceof fa&&i.code!==di.Redirect&&i.code!==di.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Yi)this.navigated=!0;else if(i instanceof ev){const s=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),a={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||yH(o.source)};this.scheduleNavigation(s,ic,null,a,{resolve:o.resolve,reject:o.reject,promise:o.promise})}(function OH(e){return!(e instanceof J_||e instanceof ev)})(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ic,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",i)},0)})}navigateToSyncWithBrowser(t,i,o){const r={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const l={...o};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(r.state=l)}const a=this.parseUrl(t);this.scheduleNavigation(a,i,s,r)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(dv),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,i={}){const{relativeTo:o,queryParams:r,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s;let u,d=null;switch(a){case"merge":d={...this.currentUrlTree.queryParams,...r};break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=r||null}null!==d&&(d=this.removeEmptyProps(d));try{u=rT(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),u=this.currentUrlTree.root}return sT(u,t,d,c??null)}navigateByUrl(t,i={skipLocationChange:!1}){const o=$r(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,ic,null,i)}navigate(t,i={skipLocationChange:!1}){return function TH(e){for(let n=0;n<e.length;n++)if(null==e[n])throw new N(4008,!1)}(t),this.navigateByUrl(this.createUrlTree(t,i),i)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,i){let o;if(o=!0===i?{...xH}:!1===i?{...DH}:i,$r(t))return K1(this.currentUrlTree,t,o);const r=this.parseUrl(t);return K1(this.currentUrlTree,r,o)}removeEmptyProps(t){return Object.entries(t).reduce((i,[o,r])=>(null!=r&&(i[o]=r),i),{})}scheduleNavigation(t,i,o,r,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((u,f)=>{a=u,l=f});const d=this.pendingTasks.add();return FT(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:r,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(u=>Promise.reject(u))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cn=(()=>{class e{constructor(t,i,o,r,s,a){this.router=t,this.route=i,this.tabIndexAttribute=o,this.renderer=r,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new Se,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof Yi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,i,o,r,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==t||i||o||r||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const t=null===this.href?null:function CE(e,n,t){return function XF(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?cm:_e}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,i){const o=this.renderer,r=this.el.nativeElement;null!==i?o.setAttribute(r,t,i):o.removeAttribute(r,t)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(i){return new(i||e)(C(en),C(Qn),function md(e){return function ZN(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const i=t.length;let o=0;for(;o<i;){const r=t[o];if(mC(r))break;if(0===r)o+=2;else if("number"==typeof r)for(o++;o<i&&"string"==typeof t[o];)o++;else{if(r===n)return t[o+1];o+=2}}}return null}(Ze(),e)}("tabindex"),C(ho),C(nt),C(kr))};static#t=this.\u0275dir=oe({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){1&i&&Q("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&i&&sn("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[Ce.HasDecoratorInputTransform,"preserveFragment","preserveFragment",Hi],skipLocationChange:[Ce.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",Hi],replaceUrl:[Ce.HasDecoratorInputTransform,"replaceUrl","replaceUrl",Hi],routerLink:"routerLink"},standalone:!0,features:[Gm,rn]})}return e})(),vv=(()=>{class e{get isActive(){return this._isActive}constructor(t,i,o,r,s){this.router=t,this.element=i,this.renderer=o,this.cdr=r,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new U,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof Yi&&this.update()})}ngAfterContentInit(){re(this.links.changes,re(null)).pipe(sa()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=Bt(t).pipe(sa()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(t){const i=Array.isArray(t)?t:t.split(" ");this.classes=i.filter(o=>!!o)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const t=this.hasActiveLinks();this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.classes.forEac
3h(i=>{t?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(t))})}isLinkActive(t){const i=function IH(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>!!o.urlTree&&t.isActive(o.urlTree,i)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static#e=this.\u0275fac=function(i){return new(i||e)(C(en),C(nt),C(ho),C(Wo),C(cn,8))};static#t=this.\u0275dir=oe({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,r){if(1&i&&xg(r,cn,5),2&i){let s;qn(s=Yn())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[rn]})}return e})();class LT{}let AH=(()=>{class e{constructor(t,i,o,r,s){this.router=t,this.injector=o,this.preloadingStrategy=r,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(nn(t=>t instanceof Yi),Rr(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,i){const o=[];for(const r of i){r.providers&&!r._injector&&(r._injector=Ng(r.providers,t,`Route: ${r.path}`));const s=r._injector??t,a=r._loadedInjector??s;(r.loadChildren&&!r._loadedRoutes&&void 0===r.canLoad||r.loadComponent&&!r._loadedComponent)&&o.push(this.preloadConfig(s,r)),(r.children||r._loadedRoutes)&&o.push(this.processRoutes(a,r.children??r._loadedRoutes))}return Bt(o).pipe(sa())}preloadConfig(t,i){return this.preloadingStrategy.preload(i,()=>{let o;o=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(t,i):re(null);const r=o.pipe(ln(s=>null===s?re(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return i.loadComponent&&!i._loadedComponent?Bt([r,this.loader.loadComponent(i)]).pipe(sa()):r})}static#e=this.\u0275fac=function(i){return new(i||e)(T(en),T(Cx),T(zn),T(LT),T(gv))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const bv=new W("");let $T=(()=>{class e{constructor(t,i,o,r,s={}){this.urlSerializer=t,this.transitions=i,this.viewportScroller=o,this.zone=r,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof oc?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Yi?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof ha&&t.code===mf.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof hT&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new hT(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){xm()};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();function Ki(e,n){return{\u0275kind:e,\u0275providers:n}}function BT(){const e=G(mt);return n=>{const t=e.get(vo);if(n!==t.components[0])return;const i=e.get(en),o=e.get(jT);1===e.get(yv)&&i.initialNavigation(),e.get(zT,null,Ie.Optional)?.setUpPreloading(),e.get(bv,null,Ie.Optional)?.init(),i.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const jT=new W("",{factory:()=>new Se}),yv=new W("",{providedIn:"root",factory:()=>1}),zT=new W("");function RH(e){return Ki(0,[{provide:zT,useExisting:AH},{provide:LT,useExisting:e}])}function LH(e){return Ki(9,[{provide:kT,useValue:vH},{provide:NT,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}
3const GT=new W("ROUTER_FORROOT_GUARD"),$H=[yo,{provide:ua,useClass:Y_},en,rc,{provide:Qn,useFactory:function VT(e){return e.routerState.root},deps:[en]},gv,[]];let UT=(()=>{class e{constructor(t){}static forRoot(t,i){return{ngModule:e,providers:[$H,[],{provide:ba,multi:!0,useValue:t},{provide:GT,useFactory:zH,deps:[[en,new bd,new yd]]},{provide:va,useValue:i||{}},i?.useHash?{provide:kr,useClass:R8}:{provide:kr,useClass:dD},{provide:bv,useFactory:()=>{const e=G(Yj),n=G(ae),t=G(va),i=G(Cf),o=G(ua);return t.scrollOffset&&e.setOffset(t.scrollOffset),new $T(o,i,e,n,t)}},i?.preloadingStrategy?RH(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?GH(i):[],i?.bindToComponentInputs?Ki(8,[yT,{provide:_f,useExisting:yT}]).\u0275providers:[],i?.enableViewTransitions?LH().\u0275providers:[],[{provide:HT,useFactory:BT},{provide:Ou,multi:!0,useExisting:HT}]]}}static forChild(t){return{ngModule:e,providers:[{provide:ba,multi:!0,useValue:t}]}}static#e=this.\u0275fac=function(i){return new(i||e)(T(GT,8))};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({})}return e})();function zH(e){return"guarded"}function GH(e){return["disabled"===e.initialNavigation?Ki(3,[{provide:Wg,multi:!0,useFactory:()=>{const n=G(en);return()=>{n.setUpLocationChangeListener()}}},{provide:yv,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Ki(2,[{provide:yv,useValue:0},{provide:Wg,multi:!0,deps:[mt],useFactory:n=>{const t=n.get(k8,Promise.resolve());return()=>t.then(()=>new Promise(i=>{const o=n.get(en),r=n.get(jT);FT(o,()=>{i(!0)}),n.get(Cf).afterPreactivation=()=>(i(!0),r.closed?re(void 0):r),o.initialNavigation()}))}}]).\u0275providers:[]]}const HT=new W("");let He=(()=>{class e{constructor(){this.currentSiteLang=new Fe("en"),this.sharedCurrentSiteLang=this.currentSiteLang.asObservable()}setCurrentSiteLang(t){return this.currentSiteLang.next(t)}getCurrentLang(){return this.currentSiteLang.value}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ke=new Proxy(new class HH{constructor(){this.vacanciesUrl="/api/jobs/",this.linksUrl="/api/links/",this.imagesUrl="/api/images/",this.departmentsUrl="/api/departments/",this.blogUrl="/api/blog/",this.categoriesUrl="/api/categories/",this.gamesUrl="/api/games/",this.ourworkUrl="/api/ourwork/",this.ourworkSliderUrl="/api/ourwork-slider/",this.ourworkImagesUrl="/api/ourwork-images/",this.aboutusUrl="/api/aboutus/",this.aboutusImagesUrl="/api/aboutus-images/",this.aboutusAwardsUrl="/api/aboutus-awards/",this.vacanciesBenefitsUrl="/api/jobs/benefits/",this.vacanciesPageUrl="/api/jobs/page/",this.contactusUrl="/api/contactus/",this.redirectsUrl="/api/redirects",this.formsUrl="/api/forms",this.cvsUrl="/api/cvs",this.legaldocsUrl="/api/legaldocs/",this.legaldocsDataUrl="/api/legaldocs-data",this.legaldocsTitlesUrl="/api/legaldocs-data/titles",this.videosUrl="/api/videos/",this.menuUrl="/api/menus",this.gameGalleriesUrl="/api/games-gallery/",this.gameIconsUrl="/api/game-icons/",this.gameWidgetUrl="/api/games/widget",this.refreshKeycloakUrl="/api/admin/refresh/token"}},{get:function(e,n){return e[n]},set:(e,n,t)=>(e[n]=t,!0)}),Xe=new Proxy(new class WH{constructor(){this.imagesUrl="/media/images/",this.videosUrl="/media/videos/",this.s3Url="",this.cookieDomain="",this.siteUrl=""}},{get:function(e,n){return e[n]},set:(e,n,t)=>(e[n]=t,!0)});let YH=(()=>{class e{constructor(t){this.http=t}fetchVideos(){return this.http.get(ke.videosUrl)}fetchVideoByName(t){return this.http.get(ke.videosUrl+"name/"+t)}static#e=this.\u0275fac=function(i){return new(i||e)(T(Kn))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function XH(e,n){if(1&e&&(y(0,"video",9),z(1,"source",10),b()),2&e){const t=I();w(),ut("src","",t.videosUrl,"",t.video.path,"",_e)}}class Vr{static#e=this.VIDEO_KEY="mainVideo";constructor(n,t,i){this.platformId=n,this.videosService=t,this.transferState=i,this.videosUrl=Xe.videosUrl,this.isBrowser=!1,this.isBrowser=Pe(this.platformId)}ngOnInit(){this.video=this.transferState.get(Vr.VIDEO_KEY,null),this.loadMainVideo()}loadMainVideo(){this.transferState.hasKey(Vr.VIDEO_KEY)||this.videosService.fetchVideoByName("main").subscribe(n=>{this.video=n,this.transferState.set(Vr.VIDEO_KEY,n)})}static#t=this.\u0275fac=function(t){return new(t||Vr)(C(Ae),C(YH),C(vt))};static#n=this.\u0275cmp=ne({type:Vr,selectors:[["app-header"]],decls:11,vars:1,consts:()=>{let n;return n="" + "[\ufffd#5\ufffd|\ufffd#6\ufffd]" + "People play games." + "[\ufffd/#5\ufffd|\ufffd/#6\ufffd]" + "" + "[\ufffd#5\ufffd|\ufffd#6\ufffd]" + "We make them." + "[\ufffd/#5\ufffd|\ufffd/#6\ufffd]" + "",n=Cu(n),[[1,"header"],[1,"container"],[1,"header-content","content-main-padding"],[1,"section-title-large","header-title"],n,[1,"header-media"],[1,"header-video"],[1,"header-video-wrapper"],["class","border-radius-wide-block","loop","","muted","","autoplay","","playsinline","","oncanplay","this.play()","preload","metadata","onloadedmetadata","this.muted = true",4,"ngIf"],["loop","","muted","","autoplay","","playsinline","","oncanplay","this.play()","preload","metadata","onloadedmetadata","this.muted = true",1,"border-radius-wide-block"],["type","video/mp4",3,"src"]]},template:function(t,i){1&t&&(y(0,"section",0)(1,"div",1)(2,"div",2)(3,"h1",3),ji(4,4),z(5,"p")(6,"p"),zi(),b(),y(7,"div",5)(8,"div",6)(9,"div",7),R(10,XH,2,2,"video",8),b()()()()()()),2&t&&(w(10),S("ngIf",i.isBrowser&&i.video))},dependencies:[Ee],styles:[".header-title[_ngcontent-%COMP%]{max-width:800px}.header-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{opacity:0}
3.header-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:nth-child(1){animation:fadeInDownUp .5s .4s forwards}.header-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:nth-child(2){animation:fadeInDownUp .5s .5s forwards}.header-media[_ngcontent-%COMP%]{position:relative;margin-top:50px}.header-media-button[_ngcontent-%COMP%]{position:absolute;display:flex;align-items:center;justify-content:center;height:80px;left:215px;top:80px;border-radius:100px;background-color:#fff}.header-media-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#121212;padding:0 25px 0 35px}.header-media-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:100px;margin-right:15px}.header-video-wrapper[_ngcontent-%COMP%]{position:relative;padding-bottom:56.25%;height:56.25%}.header-video-wrapper[_ngcontent-%COMP%] video[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%}.header-video[_ngcontent-%COMP%] .frame-container[_ngcontent-%COMP%]{position:relative;padding-bottom:56.25%;padding-top:25px;width:300%;left:-100%;pointer-events:none}.header-video[_ngcontent-%COMP%] .frame-container[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:15px}.header-video[_ngcontent-%COMP%] .frame-wrapper[_ngcontent-%COMP%]{overflow:hidden;max-width:100%}@media (max-width: 768px){.header-media[_ngcontent-%COMP%]{margin-top:40px}}"]})}function KH(e,n){1&e&&(y(0,"a",8),J(1,9),b()),2&e&&S("href",I().separateSupportLink,_e)}function ZH(e,n){1&e&&(y(0,"a",10),J(1,11),b())}let fc=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-contactsup"]],inputs:{separateSupportLink:"separateSupportLink"},decls:9,vars:2,consts:()=>{let t,i,o;return t="Our customer care team is available 24/7.",i="Support page",o="Support page",[[1,"section","contactsup","pt-90"],[1,"container"],[1,"content-main-padding"],[1,"contactsup-content","d-flex","flex-column","align-items-center","justify-content-center"],[1,"section-title-medium"],t,["class","main-button main-button-body","target","_blank",3,"href",4,"ngIf","ngIfElse"],["routerLink",""],["target","_blank",1,"main-button","main-button-body",3,"href"],i,["routerLink","/support",1,"main-button","main-button-body"],o]},template:function(i,o){if(1&i&&(y(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h2",4),J(5,5),b(),R(6,KH,2,1,"a",6)(7,ZH,2,0,"ng-template",null,7,an),b()()()()),2&i){const r=qt(8);w(6),S("ngIf",o.separateSupportLink)("ngIfElse",r)}},dependencies:[Ee,cn],styles:[".section[_ngcontent-%COMP%]{background-color:#f2f2f2}.contactsup[_ngcontent-%COMP%]{opacity:0;animation:fadeInAnimation ease-out .5s;animation-iteration-count:1;animation-fill-mode:forwards;animation-delay:.4s}.contactsup-content[_ngcontent-%COMP%]{margin:0 auto}.contactsup-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center;margin-bottom:30px}"]})}return e})(),WT=(()=>{class e{constructor(t){this.http=t}fetchAboutusPageData(){return this.http.get(ke.aboutusUrl)}fetchAboutusPageImages(){return this.http.get(ke.aboutusImagesUrl)}fetchAboutusPageAwards(){return this.http.get(ke.aboutusAwardsUrl)}static#e=this.\u0275fac=function(i){return new(i||e)(T(Kn))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ya=(()=>{class e{constructor(t,i,o,r){this.platformId=t,this.http=i,this.langService=o,this.transferState=r,this.isBrowser=!1,this._allVacanciesRawSource=new Fe(null),this.allVacanciesRaw$=this._allVacanciesRawSource.asObservable(),this._sortedJobsDataSource=new Fe([]),this.sortedJobsData$=this._sortedJobsDataSource.asObservable(),this._departmentsSource=new Fe([]),this.departments$=this._departmentsSource.asObservable(),this._latestFiveVacanciesSource=new Fe([]),this.latestFiveVacanciesByDate$=this._latestFiveVacanciesSource.asObservable(),this.currentVacancy=new Fe(1),this.sharedCurrentVacancy=this.currentVacancy.asObservable(),this.isBrowser=Pe(this.platformId),Kl([this.allVacanciesRaw$.pipe(nn(s=>null!==s)),this.langService.sharedCurrentSiteLang]).pipe(St(([s,a])=>{if(s){this.processVacancies(s,a);const c=s.filter(d=>"en"===a?d.titleEn&&""!==d.titleEn:d.titleRu&&""!==d.titleRu).sort((d,u)=>{const f=new Date(d.created);return new Date(u.created).getTime()-f.getTime()});this._latestFiveVacanciesSource.next(c.slice(0,5))}})).subscribe()}setCurrentVacancy(t){return this.currentVacancy.next(t)}fetchVacancies(){return this.http.get(ke.vacanciesUrl).pipe(St(t=>this._allVacanciesRawSource.next(t)))}fetchVacancyBySlug(t){return this.http.get(ke.vacanciesUrl+t)}fetchVacanciesBenefits(){return this.http.get(ke.vacanciesBenefitsUrl)}fetchVacanciesPageData(){return this.http.get(ke.vacanciesPageUrl)}loadAndProcessVacancies(){return this.allVacanciesRaw$.pipe(un(1),Tn(t=>t&&0!==t.length?this.sortedJobsData$.pipe(un(1)):this.fetchVacancies().pipe(Tn(()=>this.sortedJobsData$.pipe(un(1))))))}getRawVacancies(){return this.allVacanciesRaw$.pipe(un(1),Tn(t=>null===t||0===t.length?this.fetchVacancies():re(t)))}processVacancies(t,i){if(!t)return this._sortedJobsDataSource.next([]),void this._departmentsSource.next([]);const o=t.filter(d=>"en"===i?d.titleEn&&""!==d.titleEn:d.titleRu&&""!==d.titleRu),r=new Map;o.length&&o.forEach(d=>{d.department&&d.department.id&&r.set(d.department.id,d.department)});const s=Array.from(r.values());s.sort((d,u)=>("en"===i?d.titleEn||"":d.titleRu||"").localeCompare("en"===i?u.titleEn||"":u.titleRu||""));const a=[],l=[];a.push("en"===i?"All departments":"\u0412\u0441\u0435 \u0434\u0435\u043f\u0430\u0440\u0442\u0430\u043c\u0435\u043d\u0442\u044b");const c=o.slice().sort((d,u)=>("en"===i?d.titleEn||"":d.titleRu||"").localeCompare("en"===i?u.titleEn||"":u.titleRu||""));
3l.push(c),s.forEach(d=>{const u="en"===i?d.titleEn:d.titleRu;if(u){a.push(u);let f=o.filter(h=>h.department&&h.department.id===d.id);f.sort((h,m)=>("en"===i?h.titleEn||"":h.titleRu||"").localeCompare("en"===i?m.titleEn||"":m.titleRu||"")),l.push(f)}}),this._sortedJobsDataSource.next(l),this._departmentsSource.next(a)}static#e=this.\u0275fac=function(i){return new(i||e)(T(Ae),T(Kn),T(He),T(vt))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function QH(e,n){if(1&e){const t=Qe();y(0,"a",2),Q("click",function(){const r=Me(t).$implicit;return xe(I(3).setCurrentVacancy(r.id))}),y(1,"p",3),ie(2),b(),y(3,"span"),ie(4),b()()}if(2&e){const t=n.$implicit,i=I(3);S("routerLink","/jobs/"+t.slug),w(2),Ye("en"==i.currentLang?t.titleEn:t.titleRu),w(2),Ye("en"==i.currentLang?t.department.titleEn:t.department.titleRu)}}function JH(e,n){if(1&e&&(At(0),R(1,QH,5,3,"a",1),Pt()),2&e){const t=I(2);w(),S("ngForOf",t.fiveVacancies)}}function e6(e,n){if(1&e&&(y(0,"div"),R(1,JH,2,1,"ng-container",0),b()),2&e){const t=I();w(),S("ngIf",t.fiveVacancies.length>0)}}const qT="fiveVacancies";let t6=(()=>{class e{constructor(t,i,o){this.vacanciesService=t,this.platformId=i,this.transferState=o}ngOnInit(){this.isBrowser=Pe(this.platformId),this.vacanciesService.latestFiveVacanciesByDate$.subscribe(t=>{t&&t.length&&(this.fiveVacancies=t,this.transferState.set(qT,t))}),this.isBrowser&&(this.fiveVacancies=this.transferState.get(qT,[]),this.fiveVacancies.length||this.vacanciesService.loadAndProcessVacancies().subscribe())}setCurrentVacancy(t){this.vacanciesService.setCurrentVacancy(t)}static#e=this.\u0275fac=function(i){return new(i||e)(C(ya),C(Ae),C(vt))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-vacancies-short-list"]],inputs:{currentLang:"currentLang"},decls:2,vars:1,consts:[[4,"ngIf"],["class","vacancies-list-link",3,"routerLink","click",4,"ngFor","ngForOf"],[1,"vacancies-list-link",3,"routerLink","click"],[1,"pb-5"]],template:function(i,o){1&i&&(At(0),R(1,e6,2,1,"div",0),Pt()),2&i&&(w(),S("ngIf",o.fiveVacancies))},dependencies:[bt,Ee,cn],styles:['.vacancies-list-link[_ngcontent-%COMP%]{position:relative;display:block;border-bottom:1px solid rgba(0,0,0,.15);padding:15px 35px}.vacancies-list-link[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:24px;padding-right:25px;color:#121212}.vacancies-list-link[_ngcontent-%COMP%]:first-child{border-top:1px solid rgba(0,0,0,.15)}.vacancies-list-link[_ngcontent-%COMP%]:before{position:absolute;content:"";right:35px;top:50%;width:15px;height:15px;transform:translateY(-50%);background:url(nav-arrow-corner.785e090435242688.svg) center no-repeat}.vacancies-list-link[_ngcontent-%COMP%]:hover{background:#f2f2f2}.vacancies-list-link[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#888}@media (max-width: 1024px){.vacancies-list-link[_ngcontent-%COMP%]{padding:15px 20px}.vacancies-list-link[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:20px}.vacancies-list-link[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px}}']})}return e})();function n6(e,n){if(1&e&&(y(0,"div",19),z(1,"img",20),b()),2&e){const t=I();w(),ut("src","",t.imagesUrl,"",t.aboutusWidgetImage.path,"",_e),pe("alt","en"===t.currentLang?t.aboutusWidgetImage.altEn:t.aboutusWidgetImage.altRu)}}function i6(e,n){if(1&e&&(y(0,"div",21),z(1,"app-vacancies-short-list",22),y(2,"a",23),J(3,24),b()()),2&e){const t=I();w(),pe("currentLang",t.currentLang)}}function o6(e,n){1&e&&(y(0,"p",8),J(1,25),b())}const Ef="aboutusWidgetImage",Cv="noVacancies";let r6=(()=>{class e{constructor(t,i,o,r){this.aboutusPageService=t,this.vacanciesService=i,this.transferState=o,this.platformId=r,this.imagesUrl=Xe.imagesUrl}ngOnInit(){this.isBrowser=Pe(this.platformId),this.vacanciesService.allVacanciesRaw$.subscribe(t=>{t&&0!=t.length&&(this.noVacancies=!1,this.isBrowser||this.transferState.set(Cv,!1))}),this.isBrowser?(this.aboutusWidgetImage=this.transferState.get(Ef,null),this.aboutusWidgetImage||this.aboutusPageService.fetchAboutusPageData().subscribe(t=>{this.transferState.set(Ef,t.aboutusWidgetImage),this.aboutusWidgetImage=this.transferState.get(Ef,null)}),this.noVacancies=this.transferState.get(Cv,!1)):(this.aboutusPageService.fetchAboutusPageData().subscribe(t=>{this.transferState.set(Ef,t.aboutusWidgetImage)}),this.vacanciesService.fetchVacancies().subscribe(t=>{this.transferState.set(Cv,!t.length)}))}static#e=this.\u0275fac=function(i){return new(i||e)(C(WT),C(ya),C(vt),C(Ae))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-vacancies-main"]],inputs:{currentLang:"currentLang"},decls:20,vars:4,consts:()=>{let t,i,o,r,s,a;return t="Company",i="Our employees are free to create without worrying about the small things: VIZOR has already taken care\n of everything.\n ",o="More",r="Jobs",s="All list",a="No open jobs right now",[[1,"section","page-default-content","pt-100"],[1,"container"],[1,"vacancies-content","content-main-padding","d-flex","align-items-stretch","gap-32"],[1,"vacancies-block","vacancies-about","d-flex","flex-column","justify-content-sb"],[1,"vacancies-about-content","d-flex","flex-column","align-items-baseline","justify-content-sb","p-35"],[1,"vacancies-about-text"],[1,"section-title-big","color-black","mb-20"],t,[1,"big-text"],i,[1,"vacancies-about-button","mt-30","d-flex","flex-column"],["routerLink","/about-us",1,"main-button","main-button-nobody"],o,["class","vacancies-about-media d-flex",4,"ngIf"],[1,"vacancies-block","vacancies-offers","d-flex","flex-column","justify-content-sb","p-35",3,"ngClass"],[1,"section-title-big","color-black"],r,["class","vacancies-offers-content d-flex flex-column justify-content-sb gap-10",4,"ngIf","ngIfElse"],["noVacanciesText",""],[1,"vacancies-about-media","d-flex"],[3,"src","alt"],[1,"vacancies-offers-content","d-flex","flex-column","justify-content-sb","gap-10"],[3,"currentLang"],["routerLink","/jobs",1,"main-button","main-button-nobody","mt-10"],s,a]},template:function(i,o){if(1&i&&(y(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"h2",6),J(7,7),b(),y(8,"p",8),J(9,9),b()(),y(10,"div",10)(11,"a",11),J(12,12),b()()(),R(13,n6,2,3,"div",13),b(),y(14,"div",14)(15,"h2",15),J(16,16),b(),R(17,i6,4,1,"div",17)(18,o6,2,0,"ng-template",null,18,an),b()()()()),2&i){const r=qt(19);w(13),S("ngIf",o.aboutusWidgetImage),w(),S("ngClass",o.noVacancies?"justify-content-fs":""),w(3),S("ngIf",!o.noVacancies)("ngIfElse",r)}},dependencies:[Dn,Ee,cn,t6],styles:['.section[_ngcontent-%COMP%]{background-color:#f2f2f2}.vacancies-content[_ngcontent-%COMP%]{display:flex}.vacancies-block[_ngcontent-%COMP%]{flex-basis:50%;max-width:704px}.vacancies-block[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#121212}.vacancies-offers[_ngcontent-%COMP%]{background-color:#fff;padding:35px 0;border-radius:22px}.vacancies-offers[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:20px;line-height:1;color:#121212;padding-left:35px;padding-right:35px}.vacancies-offers-content[_ngcontent-%COMP%]{height:100%}.vacancies-offers[_ngcontent-%COMP%] .main-button[_ngcontent-%COMP%]{margin-left:35px}.vacancies-about[_ngcontent-%COMP%]{position:relative;overflow:hidden;border-radius:22px}.vacancies-about-content[_ngcontent-%COMP%]{position:absolute;z-index:1;padding:35px;height:100%}.vacancies-about-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .vacancies-about-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{position:relative;z-index:1}.vacancies-about-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{line-height:1}.vacancies-about-button[_ngcontent-%COMP%]{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;width:100%}.vacancies-about-media[_ngcontent-%COMP%]{position:absolute;
3left:0;top:0;height:100%;width:100%;object-fit:cover}.vacancies-about-media[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;height:100%;width:100%;object-fit:cover}.vacancies-list-link[_ngcontent-%COMP%]{position:relative;display:block;border-bottom:1px solid rgba(0,0,0,.15);padding:10px 0}.vacancies-list-link[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding-right:25px}.vacancies-list-link[_ngcontent-%COMP%]:first-child{border-top:1px solid rgba(0,0,0,.15)}.vacancies-list-link[_ngcontent-%COMP%]:before{position:absolute;content:"";right:0;top:50%;width:15px;height:15px;transform:translateY(-50%);background:url(nav-arrow-corner.785e090435242688.svg) center no-repeat}.vacancies-list-link[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:34px;color:#121212}.vacancies-list-link[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px;color:#121212}@media (min-width: 1601px){.vacancies-block[_ngcontent-%COMP%]{max-height:704px;min-height:704px}}@media (max-width: 1024px){.vacancies-about-content[_ngcontent-%COMP%]{padding:20px;background:linear-gradient(180deg,#fff,#fff0 50%)}.vacancies-offers[_ngcontent-%COMP%]{padding:20px 0}.vacancies-offers[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}.vacancies-offers[_ngcontent-%COMP%] .main-button[_ngcontent-%COMP%]{margin-top:20px;margin-left:20px}}@media (max-width: 800px){.vacancies-content[_ngcontent-%COMP%]{flex-direction:column}.vacancies-block[_ngcontent-%COMP%]{max-width:100%;min-height:500px}.vacancies-about-media[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:absolute;width:110%;left:50%;top:50%;transform:translate(-50%,-50%)}}@media (max-width: 768px){.vacancies-block[_ngcontent-%COMP%]{height:unset}.vacancies-offers[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:20px}}']})}return e})(),wf=(()=>{class e{constructor(t,i){this.http=t,this.ngZone=i,this.currentSlideData=new Fe([]),this.currentSlideIndexObservable=this.currentSlideData.asObservable(),this.currentSlideCategoryIndex=new Fe(0),this.currentSlideCategoryIndexObservable=this.currentSlideCategoryIndex.asObservable(),this.currentSlideDataTablet=new Fe(""),this.currentSlideIndexTabletObservable=this.currentSlideDataTablet.asObservable(),this.currentSlideCategoryIndexTablet=new Fe(0),this.currentSlideCategoryIndexTabletObservable=this.currentSlideCategoryIndexTablet.asObservable(),this.currentBlog=new Fe(1),this.sharedCurrentBlog=this.currentBlog.asObservable()}setCurrentDataFromSlide(t){this.ngZone.run(()=>this.currentSlideData.next(t))}setCurrentCategoryIndex(t){this.ngZone.run(()=>this.currentSlideCategoryIndex.next(t))}setCurrentDataFromSlideTablet(t){this.ngZone.run(()=>this.currentSlideDataTablet.next(t))}setCurrentCategoryIndexTablet(t){this.ngZone.run(()=>this.currentSlideCategoryIndexTablet.next(t))}setCurrentBlog(t){return this.currentBlog.next(t)}fetchOneBlog(t){return this.http.get(ke.blogUrl+t)}fetchBlog(){return this.http.get(ke.blogUrl)}fetchBlogBySlug(t){return this.http.get(ke.blogUrl+t)}getBlog(){return this.requestBlog}fetchCategories(){return this.http.get(ke.categoriesUrl)}static#e=this.\u0275fac=function(i){return new(i||e)(T(Kn),T(ae))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function YT(e,n=0){return function s6(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):n}function Sf(e){return Array.isArray(e)?e:[e]}function jt(e){return null==e?"":"string"==typeof e?e:`${e}px`}function Ca(e){return e instanceof nt?e.nativeElement:e}const a6=["addListener","removeListener"],l6=["addEventListener","removeEventListener"],c6=["on","off"];function Ev(e,n,t,i){if(Ve(t)&&(i=t,t=void 0),i)return Ev(e,n,t).pipe(U_(i));const[o,r]=function f6(e){return Ve(e.addEventListener)&&Ve(e.removeEventListener)}(e)?l6.map(s=>a=>e[s](n,a,t)):function d6(e){return Ve(e.addListener)&&Ve(e.removeListener)}(e)?a6.map(XT(e,n)):function u6(e){return Ve(e.on)&&Ve(e.off)}(e)?c6.map(XT(e,n)):[];if(!o&&O_(e))return ln(s=>Ev(s,n,t))($n(e));if(!o)throw new TypeError("Invalid event target");return new pt(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return o(a),()=>r(a)})}function XT(e,n){return t=>i=>e[t](n,i)}class h6 extends Rt{constructor(n,t){super()}schedule(n,t=0){return this}}const Mf={setInterval(e,n,...t){const{delegate:i}=Mf;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=Mf;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};
3class wv extends h6{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const o=this.id,r=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(r,o,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(r,this.id,t),this}requestAsyncId(n,t,i=0){return Mf.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&Mf.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let o,i=!1;try{this.work(n)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Uc(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}const hc={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=hc;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);const o=n(r=>{t=void 0,e(r)});return new Rt(()=>t?.(o))},requestAnimationFrame(...e){const{delegate:n}=hc;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=hc;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0},Sv={now:()=>(Sv.delegate||Date).now(),delegate:void 0};class pc{constructor(n,t=pc.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}pc.now=Sv.now;class Mv extends pc{constructor(n,t=pc.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}new class m6 extends Mv{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw o}}}(class p6 extends wv{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=hc.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:r}=n;null!=t&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==t&&(hc.cancelAnimationFrame(t),n._scheduled=void 0)}});let xv,_6=1;const xf={};function KT(e){return e in xf&&(delete xf[e],!0)}const v6={setImmediate(e){const n=_6++;return xf[n]=!0,xv||(xv=Promise.resolve()),xv.then(()=>KT(n)&&e()),n},clearImmediate(e){KT(e)}},{setImmediate:b6,clearImmediate:y6}=v6,Df={setImmediate(...e){const{delegate:n}=Df;return(n?.setImmediate||b6)(...e)},clearImmediate(e){const{delegate:n}=Df;return(n?.clearImmediate||y6)(e)},delegate:void 0},Dv=(new class E6 extends Mv{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw o}}}(class C6 extends wv{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=Df.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:r}=n;null!=t&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==t&&(Df.clearImmediate(t),n._scheduled=void 0)}}),new Mv(wv)),S6=Dv;function ZT(e=0,n,t=S6){let i=-1;
3return null!=n&&($D(n)?t=n:i=n),new pt(o=>{let r=function x6(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;r<0&&(r=0);let s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=i?this.schedule(void 0,i):o.complete())},r)})}function QT(e,n=Dv){return function M6(e){return xt((n,t)=>{let i=!1,o=null,r=null,s=!1;const a=()=>{if(r?.unsubscribe(),r=null,i){i=!1;const c=o;o=null,t.next(c)}s&&t.complete()},l=()=>{r=null,s&&t.complete()};n.subscribe(gt(t,c=>{i=!0,o=c,r||$n(e(c)).subscribe(r=gt(t,a,l))},()=>{s=!0,(!i||!r||r.closed)&&t.complete()}))})}(()=>ZT(e,n))}let Tv;try{Tv=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Tv=!1}let mc,Br,Ov,bn=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Pe(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Tv)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(i){return new(i||e)(T(Ae))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),D6=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({})}return e})();function Tf(e){return function T6(){if(null==mc&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>mc=!0}))}finally{mc=mc||!1}return mc}()?e:!!e.capture}function O6(){if(null==Br){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Br=!1,Br;if("scrollBehavior"in document.documentElement.style)Br=!0;else{const e=Element.prototype.scrollTo;Br=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Br}function Iv(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){const n=e.shadowRoot.activeElement;if(n===e)break;e=n}return e}function sr(e){return e.composedPath?e.composedPath()[0]:e.target}function Av(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const P6=new W("cdk-dir-doc",{providedIn:"root",factory:function k6(){return G(Te)}}),N6=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Pv=(()=>{class e{constructor(t){this.value="ltr",this.change=new U,t&&(this.value=function R6(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?N6.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(i){return new(i||e)(T(P6,8))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),_c=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({})}return e})(),L6=(()=>{class e{constructor(t,i,o){this._ngZone=t,this._platform=i,this._scrolled=new Se,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new pt(i=>{this._globalSubscription||this._addGlobalListener();const o=t>0?this._scrolled.pipe(QT(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}
3):re()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){const o=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(nn(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(t){const i=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,t)&&i.push(r)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let o=Ca(i),r=t.getElementRef().nativeElement;do{if(o==r)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Ev(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(i){return new(i||e)(T(ae),T(bn),T(Te,8))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),eO=(()=>{class e{constructor(t,i,o){this._platform=t,this._change=new Se,this._changeListener=r=>{this._change.next(r)},this._document=o,i.runOutsideAngular(()=>{if(t.isBrowser){const r=this._getWindow();r.addEventListener("resize",this._changeListener),r.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),o=t.documentElement,r=o.getBoundingClientRect();return{top:-r.top||t.body.scrollTop||i.scrollY||o.scrollTop||0,left:-r.left||t.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(QT(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(i){return new(i||e)(T(bn),T(ae),T(Te,8))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),tO=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({})}return e})(),nO=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({imports:[_c,tO,_c,tO]})}return e})();class kv{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class vc extends kv{constructor(n,t,i,o,r){super(),this.component=n,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=o,this.projectableNodes=r}}class Nv extends kv{constructor(n,t,i,o){super(),this.templateRef=n,this.viewContainerRef=t,this.context=i,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class V6 extends kv{constructor(n){super(),this.element=n instanceof nt?n.nativeElement:n}}class If{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof vc?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof Nv?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof V6?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDis
3poseFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class B6 extends If{constructor(n,t,i,o,r){super(),this.outletElement=n,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=o,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=r}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let o;return n.viewContainerRef?(o=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=i.create(n.injector||this._defaultInjector||mt.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=n,o}attachTemplatePortal(n){let t=n.viewContainerRef,i=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=t.indexOf(i);-1!==o&&t.remove(o)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let bc=(()=>{class e extends If{constructor(t,i,o){super(),this._componentFactoryResolver=t,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new U,this.attachDomPortal=r=>{const s=r.element,a=this._document.createComment("dom-portal");r.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=r,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=o}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);const i=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),s=i.createComponent(r,i.length,t.injector||i.injector,t.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=t,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(t){t.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static#e=this.\u0275fac=function(i){return new(i||e)(C(Is),C(Fn),C(Te))};static#t=this.\u0275dir=oe({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[Ce.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[Le]})}return e})(),Af=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({})}return e})();function Rv(...e){const n=zl(e),t=function C5(e,n){return"number"==typeof S_(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?$n(i[0]):sa(t)(Bt(i,n)):Ti}const iO=O6();class j6{constructor(n,t){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=jt(-this._previousScrollPosition.left),n.style.top=jt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,o=this._document.body.style,r=i.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),iO&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),iO&&(i.scrollBehavior=r,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}}class z6{constructor(n,t,i,o){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler
3=i,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(nn(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class oO{enable(){}disable(){}attach(){}}function Fv(e,n){return n.some(t=>e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right)}function rO(e,n){return n.some(t=>e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}class G6{constructor(n,t,i,o){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=i,this._config=o,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:o}=this._viewportRuler.getViewportSize();Fv(t,[{width:i,height:o,bottom:o,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let U6=(()=>{class e{constructor(t,i,o,r){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new oO,this.close=s=>new z6(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new j6(this._viewportRuler,this._document),this.reposition=s=>new G6(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=r}static#e=this.\u0275fac=function(i){return new(i||e)(T(L6),T(eO),T(ae),T(Te))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class Lv{constructor(n){if(this.scrollStrategy=new oO,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const t=Object.keys(n);for(const i of t)void 0!==n[i]&&(this[i]=n[i])}}}class H6{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let sO=(()=>{class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(i){return new(i||e)(T(Te))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),W6=(()=>{class e extends sO{constructor(t,i){super(t),this._ngZone=i,this._key
3downListener=o=>{const r=this._attachedOverlays;for(let s=r.length-1;s>-1;s--)if(r[s]._keydownEvents.observers.length>0){const a=r[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(o)):a.next(o);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(i){return new(i||e)(T(Te),T(ae,8))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),q6=(()=>{class e extends sO{constructor(t,i,o){super(t),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=sr(r)},this._clickListener=r=>{const s=sr(r),a="click"===r.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(s)||d.overlayElement.contains(a))break;const u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(r)):u.next(r)}}}add(t){if(super.add(t),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(i){return new(i||e)(T(Te),T(bn),T(ae,8))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pf=(()=>{class e{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||Av()){const o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let r=0;r<o.length;r++)o[r].remove()}const i=this._document.createElement("div");i.classList.add(t),Av()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}static#e=this.\u0275fac=function(i){return new(i||e)(T(Te),T(bn))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class kf{constructor(n,t,i,o,r,s,a,l,c,d=!1){this._portalOutlet=n,this._host=t,this._pane=i,this._config=o,this._ngZone=r,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._backdropElement=null,this._backdropClick=new Se,this._attachments=new Se,this._detachments=new Se,this._locationChanges=Rt.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new Se,this._outsidePointerEvents=new Se,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(un(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dis
3pose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=jt(this._config.width),n.height=jt(this._config.height),n.minWidth=jt(this._config.minWidth),n.minHeight=jt(this._config.minHeight),n.maxWidth=jt(this._config.maxWidth),n.maxHeight=jt(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,t,i){const o=Sf(t||[]).filter(r=>!!r);o.length&&(i?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(la(Rv(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const aO="cdk-overlay-connected-position-bounding-box",Y6=/([A-Za-z%]+)$/;class X6{get positions(){return this._preferredPositions}
3constructor(n,t,i,o,r){this._viewportRuler=t,this._document=i,this._platform=o,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Se,this._resizeSubscription=Rt.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(aO),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,t=this._overlayRect,i=this._viewportRect,o=this._containerRect,r=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,o,a),c=this._getOverlayPoint(l,t,a),d=this._getOverlayFit(c,t,i,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(d,c,i)?r.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:t})}if(r.length){let a=null,l=-1;for(const c of r){const d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&jr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(aO),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,i){let o,r;if("center"==i.originX)o=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;o="start"==i.originX?s:a}return t.left<0&&(o-=t.left),r="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,t.top<0&&(r-=t.top),{x:o,y:r}}_getOverlayPoint(n,t,i){let o,r;return o="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:n.x+o,y:n.y+r}}_getOverlayFit(n,t,i,o){const r=cO(t);let{x:s,y:a}=n,l=this._getOffset(o,"x"),c=this._getOffset(o,"y");l&&(s+=l),c&&(a+=c);let f=0-a,h=a+r.height-i.height,m=this._subtractOverflows(r.width,0-s,s+r.width-i.width),p=this._subtractOverflows(r.height,f,h),g=m*p;return{visibleArea:g,isCompletelyWithinViewport:r.width*r.height===g,fitsInViewportVertically:p===r.height,fitsInViewportHorizontally:m==r.width}}_canFitWithFlexibleDimensions(n,t,i){if(this._hasFlexibleDimensions){const o=i.bottom-t.y,r=i.right-t.x,s=lO(this._overlayRef.getConfig().minHeight),a=lO(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=o)&&(n.fitsInViewportHorizontally||null!=a&&a<=r)}return!1}_pushOverlayOnScreen(n,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const o=cO(t),r=this._viewportRect,s=Math.max(n.x+o.width-r.width,0),a=Math.max(n.y+o.height-r.height,0),l=Math.max(r.top-i.top-n.y,0),c=Math.max(r.left-i.left-n.x,0);let d=0,u=0;return d=o.width<=r.width?c||-s:n.x<this._viewportMargin?r.left-i.left-n.x:0,u=o.height<=r.height?l||-a:n.y<this._viewportMargin?r.top-i.top-n.y:0,this._previousPushAmount={x:d,y:u},{x:n.x+d,y:n.y+u}}_applyPosition(n,t){if(this._setTransformOrigin(n),this._setOverlayElementStyles(t,n),this._setBoundingBoxStyles(t,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._lastPosition=n,this._positionChanges.observers.length){const i=this._getScrollVisibility(),o=new H6(n,i);this._positionChanges.next(o)}this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,o=n.overlayY;i="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(let r=0;r<t.length;r++)t[r].style.transformOrigin=`${i} ${o}`}_calculateBoundingBoxRect(n,t){const i=this._viewportRect,o=this._isRtl();let r,s,a,d,u,f;if("top"===t.overlayY)s=n.y,r=i.height-s+this._viewportMargin;else if("bottom"===t.overlayY)a=i.height-n.y+2*this._viewportMargin,r=i.height-a+this._viewportMargin;else{const h=Math.min(i.bottom-n.y+i.top,n.y),m=this._lastBoundingBoxSize.height;r=2*h,s=n.y-h,r>m&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-m/2)}if("end"===t.overlayX&&!o||"start"===t.overlayX&&o)f=i.width-n.x+this._viewportMargin,d=n.x-this._viewportMargin;else if("start"===t.overlayX&&!o||"end"===t.overlayX&&o)u=n.x,d=i.right-n.x;else{const h=Math.min(i.right-n.x+i.left,n.x),m=this._lastBoundingBoxSize.width;d=2*h,u=n.x-h,d>m&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-m/2)}return{top:s,left:u,bottom:a,right:f,width:d,height:r}}_setBoundingBoxStyles(n,t){const i=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=jt(i.height),o.top=jt(i.top),o.bottom=jt(i.bottom),o.width=jt(i.width),o.left=jt(i.left),o.right=jt(i.right),o.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",o.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=jt(r)),s&&(o.maxWidth=jt(s))}this._lastBoundingBoxSize=i,jr(this._boundingBox.style,o)}_resetBoundingBoxStyles(){jr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){jr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const i={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const d=this._viewportRuler.getViewportScrollPosition();jr(i,this._getExactOverlayY(t,n,d)),jr(i,this._getExactOverlayX(t,n,d))}else i.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(o?i.maxHeight=jt(s.maxHeight):r&&(i.maxHeight="")),s.maxWidth&&(o?i.maxWidth=jt(s.maxWidth):r&&(i.maxWidth="")),jr(this._pane.style,i)}
3_getExactOverlayY(n,t,i){let o={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"bottom"===n.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=jt(r.y),o}_getExactOverlayX(n,t,i){let s,o={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=jt(r.x),o}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:rO(n,i),isOriginOutsideView:Fv(n,i),isOverlayClipped:rO(t,i),isOverlayOutsideView:Fv(t,i)}}_subtractOverflows(n,...t){return t.reduce((i,o)=>i-Math.max(o,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Sf(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof nt)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+t,height:i,width:t}}}function jr(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function lO(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(Y6);return t&&"px"!==t?null:parseFloat(n)}return e||null}function cO(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const dO="cdk-global-overlay-wrapper";class K6{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(dO),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:s,maxHeight:a}=i,l=!("100%"!==o&&"100vw"!==o||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a),d=this._xPosition,u=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let h="",m="",p="";l?p="flex-start":"center"===d?(p="center",f?m=u:h=u):f?"left"===d||"end"===d?(p="flex-end",h=u):("right"===d||"start"===d)&&(p="flex-start",m=u):"left"===d||"start"===d?(p="flex-start",h=u):("right"===d||"end"===d)&&(p="flex-end",m=u),n.position=this._cssPosition,n.marginLeft=l?"0":h,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":m,t.justifyContent=p,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(dO),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let Z6=(()=>
3{class e{constructor(t,i,o,r){this._viewportRuler=t,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new K6}flexibleConnectedTo(t){return new X6(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(i){return new(i||e)(T(eO),T(Te),T(bn),T(Pf))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Q6=0,Zi=(()=>{class e{constructor(t,i,o,r,s,a,l,c,d,u,f,h){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=f,this._animationsModuleType=h}create(t){const i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),s=new Lv(t);return s.direction=s.direction||this._directionality.value,new kf(r,i,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id="cdk-overlay-"+Q6++,i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(vo)),new B6(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(i){return new(i||e)(T(U6),T(Pf),T(Is),T(Z6),T(W6),T(mt),T(ae),T(Te),T(Pv),T(yo),T(q6),T(zo,8))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const t7={provide:new W("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=G(Zi);return()=>e.scrollStrategies.reposition()}}),deps:[Zi],useFactory:function e7(e){return()=>e.scrollStrategies.reposition()}};let uO=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({providers:[Zi,t7],imports:[_c,Af,nO,nO]})}return e})();function hO(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}function pO(e){return nn((n,t)=>e<=t)}function mO(e,n=Ao){return e=e??a7,xt((t,i)=>{let o,r=!0;t.subscribe(gt(i,s=>{const a=n(s);(r||!e(o,a))&&(r=!1,o=a,i.next(s))}))})}function a7(e,n){return e===n}let l7=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),c7=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({providers:[l7]})}return e})();const gO=new Set;let zr,u7=(()=>{class e{constructor(t,i){this._platform=t,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):h7}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function f7(e,n){if(!gO.has(e))try{zr||(zr=document.createElement("style"),n&&(zr.nonce=n),zr.setAttribute("type","text/css"),document.head.appendChild(zr)),zr.sheet&&(zr.sheet.insertRule(`@media ${e} {body{ }}`,0),gO.add(e))}catch(t){console.error(t)}}(t,this._nonce),this._matchMedia(t)}static#e=this.\u0275fac=function(i){return new(i||e)(T(bn),T(zp,8))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function h7(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let _O=(()=>{class e{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new Se}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return vO(Sf(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let r=Kl(vO(Sf(t)).map(s=>this._registerQuery(s).observable));return r=sf(r.pipe(un(1)),r.pipe(pO(1),function d7(e,n=Dv){return xt((t,i)=>{let o=null,r=null,s=null;const a=()=>
3{if(o){o.unsubscribe(),o=null;const c=r;r=null,i.next(c)}};function l(){const c=s+e,d=n.now();if(d<c)return o=this.schedule(void 0,c-d),void i.add(o);a()}t.subscribe(gt(i,c=>{r=c,s=n.now(),o||(o=n.schedule(l,e),i.add(o))},()=>{a(),i.complete()},void 0,()=>{r=o=null}))})}(0))),r.pipe(Oe(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const i=this._mediaMatcher.matchMedia(t),r={observable:new pt(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Zl(i),Oe(({matches:s})=>({query:t,matches:s})),la(this._destroySubject)),mql:i};return this._queries.set(t,r),r}static#e=this.\u0275fac=function(i){return new(i||e)(T(u7),T(ae))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function vO(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}let $v=(()=>{class e{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function v7(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const i=function _7(e){try{return e.frameElement}catch{return null}}(function x7(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}(t));if(i&&(-1===EO(i)||!this.isVisible(i)))return!1;let o=t.nodeName.toLowerCase(),r=EO(t);return t.hasAttribute("contenteditable")?-1!==r:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function S7(e){let n=e.nodeName.toLowerCase(),t="input"===n&&e.type;return"text"===t||"password"===t||"select"===n||"textarea"===n}(t))&&("audio"===o?!!t.hasAttribute("controls")&&-1!==r:"video"===o?-1!==r&&(null!==r||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,i){return function M7(e){return!function y7(e){return function E7(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function b7(e){let n=e.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(e)||function C7(e){return function w7(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||CO(e))}(t)&&!this.isDisabled(t)&&(i?.ignoreVisibility||this.isVisible(t))}static#e=this.\u0275fac=function(i){return new(i||e)(T(bn))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function CO(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let n=e.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function EO(e){if(!CO(e))return null;const n=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class D7{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,t,i,o,r=!1){this._element=n,this._checker=t,this._ngZone=i,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}destroy(){const n=this._startAnchor,t=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const t=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){const i=this._getFirstTabbableElement(t);return i?.focus(n),!!i}return t.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const t=this._getRegionBoundary("start");return t&&t.focus(n),!!t}focusLastTabbableElement(n){const t=this._getRegionBoundary("end");return t&&t.focus(n),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const t=n.children;for(let i=0;i<t.length;i++){const o=t[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[i]):null;if(o)return o}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const t=n.children;for(let i=t.length-1;i>=0;i--){const o=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):null;if(o)return o}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,t){n?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(un(1)).subscribe(n)}}let wO=(()=>{class e{constructor(t,i,o){this._checker=t,this._ngZone=i,this._document=o}create(t,i=!1){return new D7(t,this._checker,this._ngZone,this._document,i)}static#e=this.\u0275fac=function(i){return new(i||e)(T($v),T(ae),T(Te))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function SO(e){return 0===e.buttons||0===e.detail}function MO(e){const n=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const T7=new W("cdk-input-modality-detector-options"),O7={ignoreKeys:[18,17,224,91,16]},wa=Tf({passive:!0,capture:!0});let I7=(()=>{class e{get mostRecentModality(){return this._modality.value}constructor(t,i,o,r){this._platform=t,this._mostRecentTarget=null,this._modality=new Fe(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=sr(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(SO(s)?"keyboard":"mouse"),this._mostRecentTarget=sr(s))},this._onTouchstart=s=>{MO(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=sr(s))},this._options={...O7,...r},this.modalityDetected=this._modality.pipe(pO(1)),this.modalityChanged=this.modalityDetected.pipe(mO()),t.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,wa),o.addEventListener("mousedown",this._onMousedown,wa),o.addEventListener("touchstart",this._onTouchstart,wa)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,wa),document.removeEventListener("mousedown",this._onMousedown,wa),document.removeEventListener("touchstart",this._onTouchstart,wa))}static#e=this.\u0275fac=function(i){return new(i||e)(T(bn),T(ae),T(Te),T(T7,8))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const A7=new W("liveAnnouncerElement",{providedIn:"root",factory:function P7(){return null}}),k7=new W("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let N7=0,R7=(()=>{class e{constructor(t,i,o,r){this._ngZone=i,this._defaultOptions=r,this._document=o,this._liveElement=t||this._createLiveElement()}announce(t,...i){const o=this._defaultOptions;let r,s;return 1===i.length&&"number"==typeof i[0]?s=i[0]:[r,s]=i,this.clear(),clearTimeout(this._previousTimeout),r||(r=o&&o.politeness?o.politeness:"polite"),null==s&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",r),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const t="cdk-live-announcer-element",i=this._document.getElementsByClassName(t),o=this._document.createElement("div");for(let r=0;r<i.length;r++)i[r].remove();return o.classList.add(t),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),o.id="cdk-live-announcer-"+N7++,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(t){const i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<i.length;o++){const r=i[o],s=r.getAttribute("aria-owns");s?-1===s.indexOf(t)&&r.setAttribute("aria-owns",s+" "+t):r.setAttribute("aria-owns",t)}}static#e=this.\u0275fac=function(i){return new(i||e)(T(A7,8),T(ae),T(Te),T(k7,8))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();
3var Nf=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(Nf||{});const F7=new W("cdk-focus-monitor-default-options"),Rf=Tf({passive:!0,capture:!0});let Vv=(()=>{class e{constructor(t,i,o,r,s){this._ngZone=t,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Se,this._rootNodeFocusAndBlurListener=a=>{for(let c=sr(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=r,this._detectionMode=s?.detectionMode||Nf.IMMEDIATE}monitor(t,i=!1){const o=Ca(t);if(!this._platform.isBrowser||1!==o.nodeType)return re();const r=function A6(e){if(function I6(){if(null==Ov){const e=typeof document<"u"?document.head:null;Ov=!(!e||!e.createShadowRoot&&!e.attachShadow)}return Ov}()){const n=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new Se,rootNode:r};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){const i=Ca(t),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(t,i,o){const r=Ca(t);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof r.focus&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===Nf.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused","touch"===i),t.classList.toggle("cdk-keyboard-focused","keyboard"===i),t.classList.toggle("cdk-mouse-focused","mouse"===i),t.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&i,this._detectionMode===Nf.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,i){const o=this._elementInfo.get(i),r=sr(t);!o||!o.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),o)}_onBlur(t,i){const o=this._elementInfo.get(i);!o||o.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(t,i){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const i=t.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Rf),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Rf)}),this._rootNodeFocusListenerCount.set(i,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(la(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(t){const i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Rf),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Rf),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,o){this._setClasses(t,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){const i=[];return this._elementInfo.forEach((o,r)=>
3{(r===t||o.checkChildren&&r.contains(t))&&i.push([r,o])}),i}_isLastInteractionFromInputLabel(t){const{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if("mouse"!==o||!i||i===t||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName||t.disabled)return!1;const r=t.labels;if(r)for(let s=0;s<r.length;s++)if(r[s].contains(i))return!0;return!1}static#e=this.\u0275fac=function(i){return new(i||e)(T(ae),T(bn),T(I7),T(Te,8),T(F7,8))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Gr=function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e}(Gr||{});const DO="cdk-high-contrast-black-on-white",TO="cdk-high-contrast-white-on-black",Bv="cdk-high-contrast-active";let OO=(()=>{class e{constructor(t,i){this._platform=t,this._document=i,this._breakpointSubscription=G(_O).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Gr.NONE;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(t):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Gr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Gr.BLACK_ON_WHITE}return Gr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(Bv,DO,TO),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();i===Gr.BLACK_ON_WHITE?t.add(Bv,DO):i===Gr.WHITE_ON_BLACK&&t.add(Bv,TO)}}static#e=this.\u0275fac=function(i){return new(i||e)(T(bn),T(Te))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),L7=(()=>{class e{constructor(t){t._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(i){return new(i||e)(T(OO))};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({imports:[c7]})}return e})();function $7(e,n){}class Ff{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let IO=(()=>{class e extends If{constructor(t,i,o,r,s,a,l,c){super(),this._elementRef=t,this._focusTrapFactory=i,this._config=r,this._interactivityChecker=s,this._ngZone=a,this._overlayRef=l,this._focusMonitor=c,this._platform=G(bn),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=G(Wo),this.attachDomPortal=d=>{this._portalOutlet.hasAttached();const u=this._portalOutlet.attachDomPortal(d);return this._contentAttached(),u},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(t){this._ariaLabelledByQueue.push(t),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(t){const i=this._ariaLabelledByQueue.indexOf(t);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),i}attachTemplatePortal(t){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,i){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const o=()=>{t.removeEventListener("blur",o),t.removeEventListener("mousedown",o),t.removeAttribute("tabindex")};t.addEventListener("blur",o),t.addEventListener("mousedown",o)})),t.focus(i)}_focusByCssSelector(t,i){let o=this._elementRef.nativeElement.querySelector(t);o&&this._forceFocus(o,i)}_trapFocus(){const t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focu
3s();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const t=this._config.restoreFocus;let i=null;if("string"==typeof t?i=this._document.querySelector(t):"boolean"==typeof t?i=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(i=t),this._config.restoreFocus&&i&&"function"==typeof i.focus){const o=Iv(),r=this._elementRef.nativeElement;(!o||o===this._document.body||o===r||r.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,i=Iv();return t===i||t.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Iv()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(i){return new(i||e)(C(nt),C(wO),C(Te,8),C(Ff),C($v),C(ae),C(kf),C(Vv))};static#t=this.\u0275cmp=ne({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(i,o){if(1&i&&wi(bc,7),2&i){let r;qn(r=Yn())&&(o._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,o){2&i&&sn("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},standalone:!0,features:[Le,_o],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){1&i&&R(0,$7,0,0,"ng-template",0)},dependencies:[bc],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return e})();class jv{constructor(n,t){this.overlayRef=n,this.config=t,this.closed=new Se,this.disableClose=t.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!hO(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{!1!==t.closeOnOverlayDetachments&&this.close()})}close(n,t){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=t?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",t=""){return this.overlayRef.updateSize({width:n,height:t}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}}const AO=new W("DialogScrollStrategy",{providedIn:"root",factory:()=>{const e=G(Zi);return()=>e.scrollStrategies.block()}}),V7=new W("DialogData"),B7=new W("DefaultDialogConfig");let z7=0,PO=(()=>{class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(t,i,o,r,s,a){this._overlay=t,this._injector=i,this._defaultOptions=o,this._parentDialog=r,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Se,this._afterOpenedAtThisLevel=new Se,this._ariaHiddenElements=new Map,this.afterAllClosed=af(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Zl(void 0))),this._scrollStrategy=a}open(t,i){(i={...this._defaultOptions||new Ff,...i}).id=i.id||"cdk-dialog-"+z7++,i.id&&this.getDialogById(i.id);const r=this._getOverlayConfig(i),s=this._overlay.create(r),a=new jv(s,i),l=this._attachContainer(s,a,i);return a.containerInstance=l,this._attachDialogContent(t,a,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){zv(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){zv(this._openDialogsAtThisLevel,t=>{!1===t.config.closeOnDestroy&&this._removeOpenDialog(t,!1)}),zv(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){const i=new Lv({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(i.backdropClass=t.backdropClass),i}_attachContainer(t,i,o){const r=o.injector||o.viewContainerRef?.injector,s=[{provide:Ff,useValue:o},{provide:jv,useValue:i},{provide:kf,useValue:t}];let a;o.container?"function"==typeof o.container?a=o.container:(a=o.container.type,s.push(...o.container.providers(o))):a=IO;const l=new vc(a,o.viewContainerRef,mt.create({parent:r||this._injector,providers:s}),o.componentFactoryResolver);return t.attach(l).instance}_attachDialogContent(t,i,o,r){if(t instanceof si){const s=this._createInjector(r,i,o,void 0);let a={$implicit:r.data,dialogRef:i};r.templateContext&&(a={...a,..."function"==typeof r.templateContext?r.templateContext():r.templateContext}),o.attachTemplatePortal(new Nv(t,null,a,s))}else{const s=this._createInjector(r,i,o,this._injector),a=o.attachComponentPortal(new vc(t,r.viewContainerRef,s,r.componentFactoryResolver));i.componentRef=a,i.componentInstance=a.instance}}_createInjector(t,i,o,r){const s=t.injector||t.viewContainerRef?.injector,a=[{provide:V7,useValue:t.data},{provide:jv,useValue:i}];return t.providers&&("function"==typeof t.providers?a.push(...t.providers(i,t,o)):a.push(...t.providers)),t.direction&&(!s||!s.get(Pv,null,{optional:!0}))&&a.push({provide:Pv,useValue:{value:t.direction,change:re()}}),mt.create({parent:s||r,providers:a})}_removeOpenDialog(t,i){const o=this.openDialogs.indexOf(t);o>
3-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,s)=>{r?s.setAttribute("aria-hidden",r):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const i=t.parentElement.children;for(let o=i.length-1;o>-1;o--){const r=i[o];r!==t&&"SCRIPT"!==r.nodeName&&"STYLE"!==r.nodeName&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(i){return new(i||e)(T(Zi),T(mt),T(B7,8),T(e,12),T(Pf),T(AO))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zv(e,n){let t=e.length;for(;t--;)n(e[t])}let G7=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({providers:[PO],imports:[uO,Af,L7,Af]})}return e})();const H7=new W("mat-sanity-checks",{providedIn:"root",factory:function U7(){return!0}});let RO=(()=>{class e{constructor(t,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!Av()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}static#e=this.\u0275fac=function(i){return new(i||e)(T(OO),T(H7,8),T(Te))};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({imports:[_c,_c]})}return e})();var ui=function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e}(ui||{});class Q7{constructor(n,t,i,o=!1){this._renderer=n,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=o,this.state=ui.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const FO=Tf({passive:!0,capture:!0});class J7{constructor(){this._events=new Map,this._delegateEventHandler=n=>{const t=sr(n);t&&this._events.get(n.type)?.forEach((i,o)=>{(o===t||o.contains(t))&&i.forEach(r=>r.handleEvent(n))})}}addHandler(n,t,i,o){const r=this._events.get(t);if(r){const s=r.get(i);s?s.add(o):r.set(i,new Set([o]))}else this._events.set(t,new Map([[i,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,FO)})}removeHandler(n,t,i){const o=this._events.get(n);if(!o)return;const r=o.get(t);r&&(r.delete(i),0===r.size&&o.delete(t),0===o.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,FO)))}}const LO={enterDuration:225,exitDuration:150},$O=Tf({passive:!0,capture:!0}),VO=["mousedown","touchstart"],BO=["mouseup","mouseleave","touchend","touchcancel"];class Lf{static#e=this._eventManager=new J7;constructor(n,t,i,o){this._target=n,this._ngZone=t,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=Ca(i))}fadeInRipple(n,t,i={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r={...LO,...i.animation};i.centered&&(n=o.left+o.width/2,t=o.top+o.height/2);const s=i.radius||function t9(e,n,t){const i=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),o=Math.max(Math.abs(n-t.top),Math.abs(n-t.bottom));return Math.sqrt(i*i+o*o)}(n,t,o),a=n-o.left,l=t-o.top,c=r.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=a-s+"px",d.style.top=l-s+"px",d.style.height=2*s+"px",d.style.width=2*s+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),h=u.transitionDuration,m="none"===u.transitionProperty||"0s"===h||"0s, 0s"===h||0===o.width&&0===o.height,p=new Q7(this,d,i,m);d.style.transform="scale3d(1, 1, 1)",p.state=ui.FADING_IN,i.persistent||(this._mostRecentTransientRipple=p);let g=null;return!m&&(c||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const v=()=>this._finishRippleTransition(p),_=()=>this._destroyRipple(p);d.addEventListener("transitionend",v),d.addEventListener("transitioncancel",_),g={onTransitionEnd:v,onTransitionCancel:_}}),this._activeRipples.set(p,g),(m||!c)&&this._finishRippleTransition(p),p}fadeOutRipple(n){if(n.state===ui.FADING_OUT||n.state===ui.HIDDEN)return;const t=n.element,i={...LO,...n.config.animation};t.style.transitionDuration=`${i.exitDuration}ms`,t.style.opacity="0",n.state=ui.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}
3fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const t=Ca(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,VO.forEach(i=>{Lf._eventManager.addHandler(this._ngZone,i,t,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{BO.forEach(t=>{this._triggerElement.addEventListener(t,this,$O)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===ui.FADING_IN?this._startFadeOutTransition(n):n.state===ui.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){const t=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=ui.VISIBLE,!i&&(!t||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const t=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=ui.HIDDEN,null!==t&&(n.element.removeEventListener("transitionend",t.onTransitionEnd),n.element.removeEventListener("transitioncancel",t.onTransitionCancel)),n.element.remove()}_onMousedown(n){const t=SO(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!t&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!MO(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=n.changedTouches;if(t)for(let i=0;i<t.length;i++)this.fadeInRipple(t[i].clientX,t[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{!n.config.persistent&&(n.state===ui.VISIBLE||n.config.terminateOnPointerUp&&n.state===ui.FADING_IN)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(VO.forEach(t=>Lf._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&BO.forEach(t=>n.removeEventListener(t,this,$O)))}}const jO=new W("mat-ripple-global-options");let n9=(()=>{class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,i,o,r,s){this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new Lf(this,i,t,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:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,i=0,o){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,i,{...this.rippleConfig,...o}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...t})}static#e=this.\u0275fac=function(i){return new(i||e)(C(nt),C(ae),C(bn),C(jO,8),C(zo,8))};static#t=this.\u0275dir=oe({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){2&i&&vn("mat-ripple-unbounded",o.unbounded)},inputs:{color:[Ce.None,"matRippleColor","color"],unbounded:[Ce.None,"matRippleUnbounded","unbounded"],centered:[Ce.None,"matRippleCentered","centered"],radius:[Ce.None,"matRippleRadius","radius"],animation:[Ce.None,"matRippleAnimation","animation"],disabled:[Ce.None,"matRippleDisabled","disabled"],trigger:[Ce.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}return e})();const zO={capture:!0}
3,GO=["focus","click","mouseenter","touchstart"],Gv="mat-ripple-loader-uninitialized",Uv="mat-ripple-loader-class-name",UO="mat-ripple-loader-centered",$f="mat-ripple-loader-disabled";let i9=(()=>{class e{constructor(){this._document=G(Te,{optional:!0}),this._animationMode=G(zo,{optional:!0}),this._globalRippleOptions=G(jO,{optional:!0}),this._platform=G(bn),this._ngZone=G(ae),this._hosts=new Map,this._onInteraction=t=>{if(!(t.target instanceof HTMLElement))return;const o=t.target.closest(`[${Gv}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(const t of GO)this._document?.addEventListener(t,this._onInteraction,zO)})}ngOnDestroy(){const t=this._hosts.keys();for(const i of t)this.destroyRipple(i);for(const i of GO)this._document?.removeEventListener(i,this._onInteraction,zO)}configureRipple(t,i){t.setAttribute(Gv,""),(i.className||!t.hasAttribute(Uv))&&t.setAttribute(Uv,i.className||""),i.centered&&t.setAttribute(UO,""),i.disabled&&t.setAttribute($f,"")}getRipple(t){return this._hosts.get(t)||this._createRipple(t)}setDisabled(t,i){const o=this._hosts.get(t);o?o.disabled=i:i?t.setAttribute($f,""):t.removeAttribute($f)}_createRipple(t){if(!this._document)return;const i=this._hosts.get(t);if(i)return i;t.querySelector(".mat-ripple")?.remove();const o=this._document.createElement("span");o.classList.add("mat-ripple",t.getAttribute(Uv)),t.append(o);const r=new n9(new nt(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return r._isInitialized=!0,r.trigger=t,r.centered=t.hasAttribute(UO),r.disabled=t.hasAttribute($f),this.attachRipple(t,r),r}attachRipple(t,i){t.removeAttribute(Gv),this._hosts.set(t,i)}destroyRipple(t){const i=this._hosts.get(t);i&&(i.ngOnDestroy(),this._hosts.delete(t))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var he=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(he||{});const Mo="*";function HO(e,n){return{type:he.Trigger,name:e,definitions:n,options:{}}}function Vf(e,n=null){return{type:he.Animate,styles:n,timings:e}}function xo(e){return{type:he.Style,styles:e,offset:null}}function Bf(e,n,t){return{type:he.State,name:e,styles:n,options:t}}function jf(e,n,t=null){return{type:he.Transition,expr:e,animation:n,options:t}}class Cc{constructor(n=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class XO{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let t=0,i=0,o=0;const r=this.players.length;0==r?queueMicrotask(()=>
3this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==r&&this._onFinish()}),s.onDestroy(()=>{++i==r&&this._onDestroy()}),s.onStart(()=>{++o==r&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const t=n*this.totalTime;this.players.forEach(i=>{const o=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(o)})}getPosition(){const n=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}function l9(e,n){}class Wv{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const qv="mdc-dialog--open",KO="mdc-dialog--opening",ZO="mdc-dialog--closing";let QO=(()=>{class e extends IO{constructor(t,i,o,r,s,a,l,c,d){super(t,i,o,r,s,a,l,d),this._animationMode=c,this._animationStateChanged=new U,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?eI(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?eI(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(JO,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(KO,qv)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(qv),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(qv),this._animationsEnabled?(this._hostElement.style.setProperty(JO,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ZO)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(KO,ZO)}_waitForAnimationToComplete(t,i){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,t)}_requestAnimationFrame(t){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(t):t()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}attachComponentPortal(t){const i=super.attachComponentPortal(t);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static#e=this.\u0275fac=function(i){return new(i||e)(C(nt),C(wO),C(Te,8),C(Wv),C($v),C(ae),C(kf),C(zo,8),C(Vv))};static#t=this.\u0275cmp=ne({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(i,o){2&i&&(gu("id",o._config.id),sn("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),vn("_mat-animation-noopable",!o._animationsEnabled))},standalone:!0,features:[Le,_o],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,o){1&i&&(y(0,"div",0)(1,"div",1),R(2,l9,0,0,"ng-template",2),b()())},dependencies:[bc],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}
3@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}
3.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}return e})();const JO="--mat-dialog-transition-duration";function eI(e){return null==e?null:"number"==typeof e?e:e.endsWith("ms")?YT(e.substring(0,e.length-2)):e.endsWith("s")?1e3*YT(e.substring(0,e.length-1)):"0"===e?0:null}var zf=function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e}(zf||{});class Sa{constructor(n,t,i){this._ref=n,this._containerInstance=i,this._afterOpened=new Se,this._beforeClosed=new Se,this._state=zf.OPEN,this.disableClose=t.disableClose,this.id=n.id,i._animationStateChanged.pipe(nn(o=>"opened"===o.state),un(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(nn(o=>"closed"===o.state),un(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Rv(this.backdropClick(),this.keydownEvents().pipe(nn(o=>27===o.keyCode&&!this.disableClose&&!hO(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),tI(this,"keydown"===o.type?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(nn(t=>"closing"===t.state),un(1)).subscribe(t=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=zf.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(n){let t=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?t.left(n.left):t.right(n.right):t.centerHorizontally(),n&&(n.top||n.bottom)?n.top?t.top(n.top):t.bottom(n.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",t=""){return this._ref.updateSize(n,t),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=zf.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function tI(e,n,t){return e._closeInteractionType=n,e.close(t)}const nI=new W("MatMdcDialogData"),u9=new W("mat-mdc-dialog-default-options"),iI=new W("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{const e=G(Zi);return()=>e.scrollStrategies.block()}});let h9=0,Jn=(()=>{class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(t,i,o,r,s,a,l,c){this._overlay=t,this._defaultOptions=r,this._scrollStrategy=s,this._parentDialog=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Se,this._afterOpenedAtThisLevel=new Se,this.dialogConfigClass=Wv,this.afterAllClosed=af(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Zl(void 0))),this._dialog=i.get(PO),this._dialogRefConstructor=Sa,this._dialogContainerType=QO,this._dialogDataToken=nI}open(t,i){let o;(i={...this._defaultOptions||new Wv,...i}).id=i.id||"mat-mdc-dialog-"+h9++,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const r=this._dialog.open(t,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Ff,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(s,a,l)=>(o=new this._dialogRefConstructor(s,i,l),o.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:o}])});return o.componentRef=r.componentRef,o.componentInstance=r.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{const s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let i=t.length;for(;i--;)t[i].close()}static#e=this.\u0275fac=function(i){return new(i||e)(T(Zi),T(mt),T(yo,8),T(u9,8),T(iI),T(e,12),T(Pf),T(zo,8))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Yv=(()=>{class e{constructor(t,i,o){this.dialogRef=t,this._elementRef=i,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function oI(e,n){let t=e.nativeElement.parentElement;for(;t&&!t.classList.contains("mat-mdc-dialog-container");)t=t.parentElement;return t?n.find(i=>i.id===t.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const i=t._matDialogClose||t._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(t){tI(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}static#e=this.\u0275fac=function(i){return new(i||e)(C(Sa,8),C(nt),C(Jn))};static#t=this.\u0275dir=oe({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,o){1&i&&Q("click",function(s){return o._onButtonClick(s)}),2&i&&sn("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[Ce.None,"aria-label","ariaLabel"],type:"type",dialogResult:[Ce.None,"mat-dialog-close","dialogResult"],_matDialogClose:[Ce.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[rn]})}return e})();let v9=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({providers:[Jn],imports:[G7,uO,Af,RO,RO]})}return e})(),b9=(()=>{class e{constructor(t){this.sanitizer=t}transform(t){return this.sanitizer.bypassSecurityTrustResourceUrl(t)}
3static#e=this.\u0275fac=function(i){return new(i||e)(C(Yl,16))};static#t=this.\u0275pipe=Zt({name:"safeUrl",type:e,pure:!0})}return e})(),Ec=(()=>{class e{constructor(t){this.dialogRef=t}ngOnInit(){this.videoSrc&&(this.videoSrc="https://www.youtube-nocookie.com/embed/"+this.videoSrc.slice(-11))}static#e=this.\u0275fac=function(i){return new(i||e)(C(Sa))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-modal-video"]],decls:4,vars:3,consts:[[1,"modal-container"],[1,"modal-video-youtube-block"],["title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share","allowfullscreen","",1,"youTube-embed-video",3,"src"]],template:function(i,o){1&i&&(y(0,"div",0)(1,"div",1),z(2,"iframe",2),Gi(3,"safeUrl"),b()()),2&i&&(w(2),S("src",Zo(3,1,o.videoSrc),cm))},dependencies:[b9],styles:[".modal-video-youtube-block[_ngcontent-%COMP%]{width:100%;padding-bottom:56.25%}.modal-video-youtube-block[_ngcontent-%COMP%] .youTube-embed-video[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;border:0}"]})}return e})();function y9(e,n){if(1&e){const t=Qe();y(0,"div",7),Q("click",function(o){Me(t);const r=I();return xe(r.openModalVideo(o,r.item.newsVideoLink))}),b()}}const C9=e=>({"important-news":e});let Xv=(()=>{class e{constructor(t,i){this.langService=t,this.dialog=i,this.imagesUrl=Xe.imagesUrl}openModalVideo(t,i){t.preventDefault(),t.stopPropagation(),this.dialog.open(Ec,{width:"1000px"}).componentInstance.videoSrc=i}ngOnInit(){this.langService.sharedCurrentSiteLang.subscribe(t=>{this.title="en"==t?this.item.titleEn:this.item.titleRu,this.categoryTitle="en"==t?this.item.category.titleEn:this.item.category.titleRu})}static#e=this.\u0275fac=function(i){return new(i||e)(C(He),C(Jn))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-blog-preview-item"]],inputs:{item:"item",firstNews:"firstNews",importantCheck:"importantCheck"},decls:11,vars:16,consts:[[1,"news-preview-item"],[1,"d-flex","flex-column",3,"routerLink","ngClass","click"],[1,"news-preview-item-image-block"],[3,"src","alt"],["class","play-icon big white",3,"click",4,"ngIf"],[1,"news-preview-item-content","d-flex","flex-column","justify-content-sb"],[1,"big-text"],[1,"play-icon","big","white",3,"click"]],template:function(i,o){1&i&&(y(0,"div",0)(1,"a",1),Q("click",function(){return o.item(o.item.id)}),y(2,"div",2),z(3,"img",3),R(4,y9,1,0,"div",4),b(),y(5,"div",5)(6,"p",6),ie(7),b(),y(8,"span"),ie(9),Gi(10,"date"),b()()()()),2&i&&(vn("news-preview-first",o.firstNews),w(),S("routerLink","/blog/"+o.item.slug)("ngClass",Jt(14,C9,o.item.important&&o.importantCheck)),w(2),ut("src","",o.imagesUrl,"",o.item.newsImagePreview?o.item.newsImagePreview.path:o.item.newsImageMain.path,"",_e),pe("alt",o.title),w(),S("ngIf","Video"===o.item.type&&o.item.newsVideoLink),w(3),Ye(o.title),w(2),Dg("",Fg(10,11,o.item.created,"dd.MM.yy")," | ",o.categoryTitle,""))},dependencies:[Dn,Ee,cn,__],styles:['[_nghost-%COMP%]{display:contents}.news-preview-first[_ngcontent-%COMP%]{width:100%;max-width:100%!important}.news-preview-first[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{flex-direction:row!important}.news-preview-first[_ngcontent-%COMP%] .news-preview-item-content[_ngcontent-%COMP%]{padding-top:50px}.news-preview-first[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:950px!important}.news-preview-item[_ngcontent-%COMP%]{max-width:calc(33% - 10px);background-color:#fff;border-radius:22px;overflow:hidden}.news-preview-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{height:100%}.news-preview-item-image-block[_ngcontent-%COMP%]{position:relative}.news-preview-item-image-block[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;width:100%;max-width:1043px;border-radius:22px}.news-preview-item.important[_ngcontent-%COMP%]{display:flex;align-items:flex-end;width:100%;max-width:unset}.news-preview-item-content[_ngcontent-%COMP%]{padding:30px 40px;flex-grow:1;background-color:#fff}.news-preview-item-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-weight:600}.news-preview-item-content[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;padding:15px 0;line-height:1;color:#767676}.news-preview-item[_ngcontent-%COMP%] .important-news[_ngcontent-%COMP%]{position:relative;padding:10px;border-radius:15px;border:2px solid #656665;box-shadow:0 0 19px 3px #656665,inset 0 0 200px 20px #363636;overflow:hidden}.news-preview-item[_ngcontent-%COMP%] .important-news[_ngcontent-%COMP%]:before{position:absolute;top:0;left:-75%;z-index:2;display:block;content:"";width:40%;height:100%;background:linear-gradient(to right,#fff0,#ffffff26);transform:skew(-25deg);animation:_ngcontent-%COMP%_importantNewsAnimation 6s,delay-animation 6s linear;animation-iteration-count:infinite;pointer-events:none}@keyframes _ngcontent-%COMP%_importantNewsAnimation{0%{left:-70%}25%{left:125%}}@keyframes _ngcontent-%COMP%_delay-animation{0%{opacity:1}25%{opacity:1}25.01%{opacity:0}
3to{opacity:0}}@media (max-width: 1600px){.news-preview-item-content[_ngcontent-%COMP%]{padding:20px 25px}.news-preview-first[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:692px!important}}@media (max-width: 1200px){.news-preview-item-content[_ngcontent-%COMP%]{padding:15px 20px}.news-preview-item-content[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:16px}}@media (max-width: 1051px){.news-preview-item[_ngcontent-%COMP%]{max-width:calc(50% - 10px)}}@media (max-width: 1024px){.news-preview-first[_ngcontent-%COMP%] .news-preview-item-content[_ngcontent-%COMP%]{padding-top:25px;min-width:30%}.news-preview-first[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%!important}}@media (max-width: 768px){.news-preview-first[_ngcontent-%COMP%] .news-preview-item-content[_ngcontent-%COMP%]{padding:15px}}@media (max-width: 768px) and (max-width: 600px){.news-preview-item[_ngcontent-%COMP%]{width:100%}.news-preview-item[_ngcontent-%COMP%]:not(.news-preview-first){max-width:100%}.news-preview-first[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{flex-direction:column!important}}']})}return e})();function E9(e,n){if(1&e&&(At(0),z(1,"app-blog-preview-item",10),Pt()),2&e){const t=n.$implicit;w(),S("item",t)}}function w9(e,n){if(1&e&&(y(0,"section",1)(1,"div",2)(2,"div",3)(3,"h2",4),ie(4),b(),y(5,"div",5),R(6,E9,2,1,"ng-container",6),b(),y(7,"div",7)(8,"a",8),J(9,9),b()()()()()),2&e){const t=I();w(4),Ye(t.sectionTitle?t.sectionTitle:"en"==t.currentLang?"Blog":"\u0411\u043b\u043e\u0433"),w(2),S("ngForOf",t.allNews.slice(0,3))}}const Kv="allNews";let sI=(()=>{class e{constructor(t,i,o){this.blogService=t,this.transferState=i,this.platformId=o}ngOnInit(){this.isBrowser=Pe(this.platformId),this.isBrowser?(this.allNews=this.transferState.get(Kv,null),this.allNews||this.blogService.fetchBlog().subscribe(t=>{this.allNews=t.newsList,this.transferState.set(Kv,t.newsList)})):this.blogService.fetchBlog().subscribe(t=>{this.transferState.set(Kv,t.newsList)})}static#e=this.\u0275fac=function(i){return new(i||e)(C(wf),C(vt),C(Ae))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-blog-preview"]],inputs:{sectionTitle:"sectionTitle",currentLang:"currentLang"},decls:1,vars:1,consts:()=>{let t;return t="All posts",[["class","section blog-preview-section pt-100",4,"ngIf"],[1,"section","blog-preview-section","pt-100"],[1,"container"],[1,"blog-preview-content","content-main-padding"],[1,"section-title-big"],[1,"blog-preview-items","d-flex","flex-wrap","gap-20"],[4,"ngFor","ngForOf"],[1,"blog-preview-button-block","d-flex","justify-content-center","mt-50"],["routerLink","/blog",1,"main-button","main-button-body"],t,[3,"item"]]},template:function(i,o){1&i&&R(0,w9,10,2,"section",0),2&i&&S("ngIf",null==o.allNews?null:o.allNews.length)},dependencies:[bt,Ee,cn,Xv],styles:[".section[_ngcontent-%COMP%]{background-color:#e6e6e6}@media (max-width: 1200px){.blog-preview-block-button-block[_ngcontent-%COMP%]{margin-top:20px}}@media (max-width: 1051px){.blog-preview-items[_ngcontent-%COMP%] app-blog-preview-item[_ngcontent-%COMP%]:nth-child(3){display:none}}@media (max-width: 600px){.blog-preview-items[_ngcontent-%COMP%] app-blog-preview-item[_ngcontent-%COMP%]:nth-child(3){display:block}}"]})}return e})(),Qi=(()=>{class e{constructor(t){this.http=t,this.game=new Fe({}),this.sharedGame=this.game.asObservable(),this.gameData=new Fe(""),this.sharedGameData=this.gameData.asObservable()}setCurrentGame(t){return this.game.next(t)}setCurrentGameData(t){return this.gameData.next(t)}fetchGameBySlug(t){return this.http.get(ke.gamesUrl+t)}fetchGames(){return this.http.get(ke.gamesUrl)}fetchGamesFor404(){return this.http.get(`${ke.gamesUrl}404`)}fetchGamesForSupport(){return this.http.get(`${ke.gamesUrl}support`)}fetchGameGalleryBySeveralTypes(t){return this.http.post(`${ke.gameGalleriesUrl}type`,t)}fetchWidgetData(){return this.http.get(ke.gameWidgetUrl)}fetchGameGalleryByType(t,i){return this.http.get(`${ke.gameGalleriesUrl}${t}/${i}`)}getIconsByGameId(t){return this.http.get(`${ke.gameIconsUrl}${t}`)}static#e=this.\u0275fac=function(i){return new(i||e)(T(Kn))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function S9(e,n){if(1&e&&z(0,"img",6),2&e){const t=I().$implicit;ut("src","",I(2).imagesUrl,"",t.image.path,"",_e),pe("alt",t.image.path)}}function M9(e,n){if(1&e&&(y(0,"a",4),R(1,S9,1,3,"img",5),b()),2&e){const t=n.$implicit;pe("href",t.link.link,_e),w(),S("ngIf",t.image)}}function x9(e,n){if(1&e&&(y(0,"div",1)(1,"div",2),At(2),R(3,M9,2,2,"a",3),Pt(),b()()),2&e){const t=I();w(),S("ngClass",t.toRight?"justify-content-fe":"justify-content-fs"),w(2),S("ngForOf",t.currentPlatforms)}}let Zv=(()=>{class e{constructor(t){this.langService=t,this.imagesUrl=Xe.imagesUrl,this.currentLang=this.langService.getCurrentLang()}ngOnChanges(){this.currentPlatforms=[],this.platforms.map(t=>{this.currentLang===t.lang&&this.currentPlatforms.push(t)})}static#e=this.\u0275fac=function(i){return new(i||e)(C(He))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-game-links"]],inputs:{platforms:"platforms",toRight:"toRight"},features:[rn],decls:1,vars:1,consts:[["class","game-links page-default-content page-default-content-nodelay",4,"ngIf"],[1,"game-links","page-default-content","page-default-content-nodelay"],[1,"game-links-block","d-flex","align-items-center","gap-10","flex-wrap",3,"ngClass"],["target","_blank","class","store-platform-item animated-scale-small",3,"href",4,"ngFor","ngForOf"],["target","_blank",1,"store-platform-item","animated-scale-small",3,"href"],[3,"src","alt",4,"ngIf"],[3,"src","alt"]],template:function(i,o){1&i&&R(0,x9,4,2,"div",0),2&i&&S("ngIf",o.currentPlatforms.length>0)},dependencies:[Dn,bt,Ee],styles:["@media (max-width: 1024px){.game-links-block[_ngcontent-%COMP%]{justify-content:flex-start!important}}"]})}return e})(),aI=(()=>{class e{constructor(t){this.http=t}fetchImage(t){return this.http.get(`${ke.imagesUrl}data/${t}`)}parseHtmlForImages(t){var i=this;return Nr(function*(){let r="";if(t){const s=t.match(/src="id=\d+#\w+"/g);if(s)for(let a=0;a<s.length;a++){const l=s[a],c=parseInt(l.match(/\d+/g)[0]),d=yield i.fetchImage(c).toPromise();return r=t.replace(l,`id=${c} src=${Xe.imagesUrl}${d.path} alt=${d.altEn} width=${d.width} height=${d.height}`),Promise.resolve(r)}}return Promise.resolve(t)})()}static#e=this.\u0275fac=function(i){return new(i||e)(T(Kn))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function D9(e,n){if(1&e&&(y(0,"div",5),z(1,"img",6),b()),2&e){const t=I();w(),ut("src","",t.imagesUrl,"",t.gameImage.path,"",_e),pe("alt","en"===t.currentLang?t.gameImage.altEn:t.gameImage.altRu)}}let T9=(()=>{class e{constructor(t,i,o){this.gamesService=t,this.imagesService=i,this.langService=o,this.imagesUrl=Xe.imagesUrl,this.currentLang=this.langService.getCurrentLang()}
3static#e=this.\u0275fac=function(i){return new(i||e)(C(Qi),C(aI),C(He))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-games-widget-item"]],inputs:{gameItem:"gameItem",gameImage:"gameImage"},decls:5,vars:3,consts:[[1,"game-widget-item"],[1,"game-widget-item-text"],[1,"section-title-medium","mb-20",3,"innerHTML"],[1,"big-text",3,"innerHTML"],["class","game-widget-item-image",4,"ngIf"],[1,"game-widget-item-image"],[3,"src","alt"]],template:function(i,o){1&i&&(y(0,"div",0)(1,"div",1),z(2,"h2",2)(3,"p",3),b(),R(4,D9,2,3,"div",4),b()),2&i&&(w(2),S("innerHTML",o.gameItem.title,Ot),w(),S("innerHTML","en"===o.currentLang?o.gameItem.descriptionEn:o.gameItem.descriptionRu,Ot),w(),S("ngIf",o.gameImage))},dependencies:[Ee],styles:['.game-widget-item[_ngcontent-%COMP%]{position:relative;height:100%}.game-widget-item[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;box-shadow:inset 0 0 150px #000000a6;transition:opacity ease .4s}.game-widget-item-text[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;color:#fff;transition:all ease .4s;padding:25px}.game-widget-item-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-shadow:0 0 10px rgba(0,0,0,.65);transition:text-shadow ease .4s}.game-widget-item-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{opacity:0;pointer-events:none;visibility:hidden}@media (min-width: 1025px){.game-widget-item[_ngcontent-%COMP%]:hover .game-widget-item-text[_ngcontent-%COMP%]{background:#855aff9c}.game-widget-item[_ngcontent-%COMP%]:hover .game-widget-item-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-shadow:none}.game-widget-item[_ngcontent-%COMP%]:hover .game-widget-item-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{opacity:1;pointer-events:all;visibility:visible}}.game-widget-item-image[_ngcontent-%COMP%]{height:100%}.game-widget-item-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{min-height:100%;display:block;object-fit:cover}@media (max-width: 1600px){.game-widget-item-text[_ngcontent-%COMP%]{padding:15px}.game-widget-item-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:2cqw!important}.game-widget-item-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:1cqw!important}}@media (max-width: 1300px){.game-widget-item-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:1.3cqw!important}}@media (max-width: 900px){.game-widget-item-text[_ngcontent-%COMP%]{padding:12px}.game-widget-item-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:3cqw!important}.game-widget-item-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:2cqw!important}}@media (max-width: 768px){.game-widget-item-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:4.5cqw!important}.game-widget-item-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:2.8cqw!important}}@media (max-width: 444px){.game-widget-item-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:7cqw!important}.game-widget-item-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:5cqw!important}}']})}return e})();const O9=["gameActiveBlock"];function I9(e,n){if(1&e){const t=Qe();y(0,"a",15),Q("click",function(o){Me(t);const r=I(3);return xe(r.openModalVideo(o,r.activeGameData.gameTrailer))}),z(1,"div",16)(2,"img",17),b()}if(2&e){const t=I(3);pe("href",t.activeGameData.gameTrailer,_e),w(2),ut("src","",t.imagesUrl,"/",t.activeGameImage.path,"",_e),pe("alt","en"===t.currentLang?t.activeGameImage.altEn:t.activeGameImage.altRu)}}function A9(e,n){if(1&e&&z(0,"img",17),2&e){const t=I(3);ut("src","",t.imagesUrl,"/",t.activeGameImage.path,"",_e),pe("alt","en"===t.currentLang?t.activeGameImage.altEn:t.activeGameImage.altRu)}}const lI=e=>["/games/",e];function P9(e,n){if(1&e){const t=Qe();y(0,"div",18)(1,"div",19)(2,"a",20),Q("click",function(){Me(t);const o=I(3);return xe(o.setCurrentGameData(o.activeGameData.id))}),b()(),y(3,"div",21),z(4,"p",22),b(),y(5,"a",23),Q("click",function(){Me(t);const o=I(3);return xe(o.setCurrentGameData(o.activeGameData.id))}),y(6,"p"),J(7,24),b()(),y(8,"div",25)(9,"div",26),z(10,"app-game-links",27),b()()()}if(2&e){const t=I(3);w(2),S("routerLink",Jt(5,lI,t.activeGameData.slug))("innerHTML",t.activeGameData.title,Ot),w(2),S("innerHTML","en"===t.currentLang?t.activeGameData.additionalDescriptionEn:t.activeGameData.additionalDescriptionRu,Ot),w(),S("routerLink",Jt(7,lI,t.activeGameData.slug)),w(5),S("platforms",t.activeGamePlatforms)}}function k9(e,n){if(1&e&&(y(0,"div",8,9)(2,"div",10)(3,"div",11),R(4,I9,3,4,"a",12)(5,A9,1,3,"ng-template",null,13,an),b()(),R(7,P9,11,9,"div",14),b()),2&e){const t=qt(6),i=I(2);w(4),S("ngIf",i.activeGameData.gameTrailer)("ngIfElse",t),w(3),S("ngIf",i.activeGameData)}}function N9(e,n){if(1&e){const t=Qe();y(0,"div",31),Q("click",function(){const r=Me(t).$implicit;return xe(I(3).setActiveGame(r))}),z(1,"app-games-widget-item",32),b()}if(2&e){const t=n.$implicit,i=n.index,o=I(3);S("ngClass","gameRectangleImage"!=o.mosaicRules[i].imageType||o.isMobile?"":"rectangle"),w(),S("gameItem",t)("gameImage",o.isMobile&&"gameRectangleImage"==o.mosaicRules[i].imageType?o.getCurrentSquareImage(t):o.allGamesImages[i])}}function R9(e,n){if(1&e&&(y(0,"div",33),z(1,"img",17)(2,"h2",34),b()),2&e){const t=I(3);w(),ut("src","",t.imagesUrl,"/",t.stubData.gameStubImage.path,"",_e),pe("alt",t.stubData.gameStubImage.altEn),w(),S("innerHTML","en"==t.currentLang?t.stubData.gameTextEn:t.stubData.gameTextRu,Ot)}}function F9(e,n){if(1&e&&(y(0,"div",28),R(1,N9,2,3,"div",29)(2,R9,3,4,"div",30),b()),2&e){const t=I(2);w(),S("ngForOf",t.gameItems),w(),S("ngIf","gameStub"==t.mosaicRules[t.mosaicRules.length-1].imageType)}}function L9(e,n){if(1&e&&(y(0,"section",1)(1,"div",2)(2,"div",3)(3,"h2",4),J(4,5),b(),R(5,k9,8,3,"div",6)(6,F9,3,2,"div",7),b()()()),2&e){const t=I();w(5),S("ngIf",t.activeGameImage),w(),S("ngIf",t.allGamesImages)}}const Qv="mosaicRules",Jv="stubData",eb="initialGameItems";let $9=(()=>{class e{constructor(t,i,o,r,s){this.gamesService=t,this.langService=i,this.dialog=o,this.transferState=r,this.platformId=s,this.imagesUrl=Xe.imagesUrl,this.allGamesImages=[],this.activeGameId=0,this.isMobile=!1,this.gameItems=void 0,this.currentLang=this.langService.getCurrentLang()}removeDuplicatedWidgetBlock(){this.gameItems=this.isMobile?[...this.initialGameItems.filter(t=>t.id!=this.activeGameId)]:[...this.initialGameItems]}setData(){this.activeGameId=this.initialGameItems[0].id,this.removeDuplicatedWidgetBlock(),this.gameItems.length>0&&(this.activeGameData=this.initialGameItems[0],this.initialGameItems[0].gamesGalleryEntity.find(i=>"gameSquareImageMain"==i.type)&&(this.activeGameImage=this.initialGameItems[0].gamesGalleryEntity.find(i=>"gameSquareImageMain"==i.type).image),this.activeGamePlatforms=this.initialGameItems[0].gamePlatformsEntity,this.mosaicRules.forEac
3h(i=>{if(i){const o=this.gameItems.find(r=>r.id==i.game);if(o&&"gameStub"!=i.imageType){const r=o.gamesGalleryEntity.find(s=>s.type==i.imageType);r&&this.allGamesImages.push(r.image)}}}))}ngOnInit(){this.isBrowser=Pe(this.platformId),this.isBrowser?(this.isMobile=window?.innerWidth<=444,this.mosaicRules=this.transferState.get(Qv,null),this.stubData=this.transferState.get(Jv,[]),this.initialGameItems=this.transferState.get(eb,[]),this.mosaicRules?this.setData():this.gamesService.fetchWidgetData().subscribe(t=>{this.mosaicRules=t.mosaic,this.stubData=t.placeholder,this.transferState.set(Qv,t.mosaic),this.transferState.set(Jv,t.placeholder),this.gamesService.fetchGames().subscribe(i=>{this.initialGameItems=i,this.transferState.set(eb,i),this.setData()})})):this.gamesService.fetchWidgetData().subscribe(t=>{this.transferState.set(Qv,t.mosaic),this.transferState.set(Jv,t.placeholder),this.gamesService.fetchGames().subscribe(i=>{this.transferState.set(eb,i)})})}getCurrentSquareImage(t){return this.gameItems.find(i=>i.id==t.id).gamesGalleryEntity.find(i=>"gameSquareImage"==i.type)?this.gameItems.find(i=>i.id==t.id).gamesGalleryEntity.find(i=>"gameSquareImage"==i.type).image:this.gameItems.find(i=>i.id==t.id).gamesGalleryEntity.find(i=>"gameSquareImageMain"==i.type).image}setActiveGame(t){this.activeGameId=t.id,this.removeDuplicatedWidgetBlock();const i=this.initialGameItems.find(l=>l.id==this.activeGameId);this.gameActiveBlock.nativeElement.scrollTo({top:100}),this.allGamesImages=[],this.mosaicRules.forEach(l=>{if(l){const c=this.gameItems.find(d=>d.id==l.game);if(c&&"gameStub"!=l.imageType){const d=c.gamesGalleryEntity.find(u=>u.type==l.imageType);d&&this.allGamesImages.push(d.image)}}});const s=this.gameActiveBlock.nativeElement.getBoundingClientRect().top+window.pageYOffset+-65;window.scrollTo({top:s,behavior:"smooth"}),i.gamesGalleryEntity.find(l=>"gameSquareImageMain"==l.type)&&(this.activeGameImage=i.gamesGalleryEntity.find(l=>"gameSquareImageMain"==l.type).image),this.activeGamePlatforms=i.gamePlatformsEntity,this.activeGameData=i}setCurrentGameData(t){this.gamesService.setCurrentGameData(t)}openModalVideo(t,i){t.preventDefault(),this.dialog.open(Ec,{width:"1000px"}).componentInstance.videoSrc=i}static#e=this.\u0275fac=function(i){return new(i||e)(C(Qi),C(He),C(Jn),C(vt),C(Ae))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-games-widget"]],viewQuery:function(i,o){if(1&i&&wi(O9,5),2&i){let r;qn(r=Yn())&&(o.gameActiveBlock=r.first)}},decls:1,vars:1,consts:()=>{let t,i;return t="Our games",i="More",[["class","section page-default-content game-widget-section",4,"ngIf"],[1,"section","page-default-content","game-widget-section"],[1,"container"],[1,"game-widget-content","content-main-padding"],[1,"section-title-big"],t,["class","game-widget-active d-flex mb-20 gap-30",4,"ngIf"],["class","game-widget-block d-flex flex-wrap gap-15",4,"ngIf"],[1,"game-widget-active","d-flex","mb-20","gap-30"],["gameActiveBlock",""],[1,"d-flex"],[1,"game-widget-active-poster","d-flex","align-items-start"],["target","_blank","class","game-widget-active-video-block",3,"href","click",4,"ngIf","ngIfElse"],["image",""],["class","game-widget-active-data d-flex flex-column ",4,"ngIf"],["target","_blank",1,"game-widget-active-video-block",3,"href","click"],[1,"play-icon","big","white","center"],[3,"src","alt"],[1,"game-widget-active-data","d-flex","flex-column"],[1,"game-widget-active-title","d-flex","align-items-center","justify-content-sb","flex-wrap","mb-20","gap-10"],[1,"section-title-medium","mr-15",3,"routerLink","innerHTML","click"],[1,"game-widget-active-text-block"],[1,"game-widget-active-text","big-text","mb-30",3,"innerHTML"],[1,"main-button","main-button-nobody","mb-40",3,"routerLink","click"],i,[1,"game-widget-active-platforms"],[1,"game-widget-links"],[3,"platforms"],[1,"game-widget-block","d-flex","flex-wrap","gap-15"],["class","game-widget-block-item",3,"ngClass","click",4,"ngFor","ngForOf"],["class","game-widget-block-item game-widget-block-stub d-flex justify-content-center align-items-center flex-column p-20 gap-10",4,"ngIf"],[1,"game-widget-block-item",3,"ngClass","click"],[3,"gameItem","gameImage"],[1,"game-widget-block-item","game-widget-block-stub","d-flex","justify-content-center","align-items-center","flex-column","p-20","gap-10"],[1,"section-title-medium",3,"innerHTML"]]},template:function(i,o){1&i&&R(0,L9,7,2,"section",0),2&i&&S("ngIf",null==o.gameItems?null:o.gameItems.length)},dependencies:[Dn,bt,Ee,cn,Zv,T9],styles:[".game-widget-section{padding-top:0!important}.game-widget-active-poster img,.game-widget-active-poster a{border-radius:22px;display:block}.game-widget-active-data{width:100%;max-width:670px}.game-widget-active-video-block{position:relative;display:inline-block}.game-widget-active-video-block:hover .play-icon{transform:translate(-50%,-50%) scale(1.05)}@media (max-width: 1600px){.game-widget-active-text{font-size:18px!important}}@media (max-width: 1024px){.game-widget-active-text{margin-bottom:20px}}.game-widget-block-item{flex:1 0 calc(33% - 15px);max-width:517px;max-height:517px;
3min-width:200px;border-radius:22px;overflow:hidden;cursor:url(arrow-up-white.83480107fc9d7000.svg) 10 0,auto}.game-widget-block-item.rectangle{flex:2 0 calc(66% - 15px)!important;max-width:955px}.game-widget-block-stub{cursor:auto;border:1px solid #808080}.game-widget-block-stub h2{text-align:center}@media (max-width: 1200px){.game-widget-block-stub h2{font-size:30px}}@media (max-width: 720px){.game-widget-active{flex-direction:column-reverse;align-self:center}.game-widget-active-data{max-width:100%}}@media (max-width: 930px){.game-widget-active-data .big-text{font-size:18px!important}.game-widget-block-item{min-width:300px}.game-widget-block-item.rectangle{flex:2 0 100%!important}.game-widget-block-stub h2{font-size:22px}}@media (max-width: 800px){.game-widget-block-item{min-width:240px}}@media (max-width: 659px){.game-widget-block-item.rectangle{flex:3 0 calc(100% - 15px)!important}}@media (max-width: 550px){.game-widget-block-item{min-width:200px}}@media (max-width: 444px){.game-widget-block-stub{display:none!important}}\n"],encapsulation:2})}return e})(),V9=(()=>{class e{constructor(t){this.langService=t}ngOnInit(){this.langService.sharedCurrentSiteLang.subscribe(t=>{this.currentLang=t})}static#e=this.\u0275fac=function(i){return new(i||e)(C(He))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-main-page"]],decls:5,vars:2,consts:[[3,"currentLang"]],template:function(i,o){1&i&&z(0,"app-header")(1,"app-games-widget")(2,"app-vacancies-main",0)(3,"app-blog-preview",0)(4,"app-contactsup"),2&i&&(w(2),S("currentLang",o.currentLang),w(),S("currentLang",o.currentLang))},dependencies:[Vr,fc,r6,sI,$9]})}return e})();function cI(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function tb(e={},n={}){Object.keys(n).forEach(t=>{typeof e[t]>"u"?e[t]=n[t]:cI(n[t])&&cI(e[t])&&Object.keys(n[t]).length>0&&tb(e[t],n[t])})}const dI={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function dn(){const e=typeof document<"u"?document:{};return tb(e,dI),e}const B9={document:dI,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>typeof setTimeout>"u"?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function Xt(){const e=typeof window<"u"?window:{};return tb(e,B9),e}class ar extends Array{constructor(n){"number"==typeof n?super(n):(super(...n||[]),function j9(e){const n=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>n,set(t){n.__proto__=t}})}(this))}}function wc(e=[]){const n=[];return e.forEach(t=>{Array.isArray(t)?n.push(...wc(t)):n.push(t)}),n}function uI(e,n){return Array.prototype.filter.call(e,n)}function ye(e,n){const t=Xt(),i=dn();let o=[];if(!n&&e instanceof ar)return e;if(!e)return new ar(o);if("string"==typeof e){const r=e.trim();if(r.indexOf("<")>=0&&r.indexOf(">")>=0){let s="div";0===r.indexOf("<li")&&(s="ul"),0===r.indexOf("<tr")&&(s="tbody"),(0===r.indexOf("<td")||0===r.indexOf("<th"))&&(s="tr"),0===r.indexOf("<tbody")&&(s="table"),0===r.indexOf("<option")&&(s="select");const a=i.createElement(s);a.innerHTML=r;for(let l=0;l<a.childNodes.length;l+=1)o.push(a.childNodes[l])}else o=function U9(e,n){if("string"!=typeof e)return[e];const t=[],i=n.querySelectorAll(e);for(let o=0;o<i.length;o+=1)t.push(i[o]);return t}(e.trim(),n||i)}else if(e.nodeType||e===t||e===i)o.push(e);else if(Array.isArray(e)){if(e instanceof ar)return e;o=e}return new ar(function z9(e){const n=[];for(let t=0;t<e.length;t+=1)-1===n.indexOf(e[t])&&n.push(e[t]);return n}(o))}ye.fn=ar.prototype;const DW="resize scroll".split(" ");function Mt(e){return function n(...t){if(typeof t[0]>"u"){for(let i=0;i<this.length;i+=1)DW.indexOf(e)<0&&(e in this[i]?this[i][e]():ye(this[i]).trigger(e));return this}return this.on(e,...t)}}Mt("click"),Mt("blur"),Mt("focus"),Mt("focusin"),Mt("focusout"),Mt("keyup"),Mt("keydown"),Mt("keypress"),Mt("submit"),Mt("change"),Mt("mousedown"),Mt("mousemove"),Mt("mouseup"),Mt("mouseenter"),Mt("mouseleave"),Mt("mouseout"),Mt("mouseover"),Mt("touchstart"),Mt("touchend"),Mt("touchmove"),Mt("resize"),Mt("scroll");const fI={addClass:function H9(...e){const n=wc(e.map(t=>t.split(" ")));return this.forEach(t=>{t.classList.add(...n)}),this},removeClass:function W9(...e){const n=wc(e.map(t=>t.split(" ")));return this.forEach(t=>{t.classList.remove(...n)}),this},hasClass:function Y9(...e){const n=wc(e.map(t=>t.split(" ")));return uI(this,t=>n.filter(i=>t.classList.contains(i)).length>0).length>0},toggleClass:function q9(...e){const n=wc(e.map(t=>t.split(" ")));this.forEach(t=>
3{n.forEach(i=>{t.classList.toggle(i)})})},attr:function X9(e,n){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let t=0;t<this.length;t+=1)if(2===arguments.length)this[t].setAttribute(e,n);else for(const i in e)this[t][i]=e[i],this[t].setAttribute(i,e[i]);return this},removeAttr:function K9(e){for(let n=0;n<this.length;n+=1)this[n].removeAttribute(e);return this},transform:function Z9(e){for(let n=0;n<this.length;n+=1)this[n].style.transform=e;return this},transition:function Q9(e){for(let n=0;n<this.length;n+=1)this[n].style.transitionDuration="string"!=typeof e?`${e}ms`:e;return this},on:function J9(...e){let[n,t,i,o]=e;function r(c){const d=c.target;if(!d)return;const u=c.target.dom7EventData||[];if(u.indexOf(c)<0&&u.unshift(c),ye(d).is(t))i.apply(d,u);else{const f=ye(d).parents();for(let h=0;h<f.length;h+=1)ye(f[h]).is(t)&&i.apply(f[h],u)}}function s(c){const d=c&&c.target&&c.target.dom7EventData||[];d.indexOf(c)<0&&d.unshift(c),i.apply(this,d)}"function"==typeof e[1]&&([n,i,o]=e,t=void 0),o||(o=!1);const a=n.split(" ");let l;for(let c=0;c<this.length;c+=1){const d=this[c];if(t)for(l=0;l<a.length;l+=1){const u=a[l];d.dom7LiveListeners||(d.dom7LiveListeners={}),d.dom7LiveListeners[u]||(d.dom7LiveListeners[u]=[]),d.dom7LiveListeners[u].push({listener:i,proxyListener:r}),d.addEventListener(u,r,o)}else for(l=0;l<a.length;l+=1){const u=a[l];d.dom7Listeners||(d.dom7Listeners={}),d.dom7Listeners[u]||(d.dom7Listeners[u]=[]),d.dom7Listeners[u].push({listener:i,proxyListener:s}),d.addEventListener(u,s,o)}}return this},off:function eW(...e){let[n,t,i,o]=e;"function"==typeof e[1]&&([n,i,o]=e,t=void 0),o||(o=!1);const r=n.split(" ");for(let s=0;s<r.length;s+=1){const a=r[s];for(let l=0;l<this.length;l+=1){const c=this[l];let d;if(!t&&c.dom7Listeners?d=c.dom7Listeners[a]:t&&c.dom7LiveListeners&&(d=c.dom7LiveListeners[a]),d&&d.length)for(let u=d.length-1;u>=0;u-=1){const f=d[u];i&&f.listener===i||i&&f.listener&&f.listener.dom7proxy&&f.listener.dom7proxy===i?(c.removeEventListener(a,f.proxyListener,o),d.splice(u,1)):i||(c.removeEventListener(a,f.proxyListener,o),d.splice(u,1))}}}return this},trigger:function tW(...e){const n=Xt(),t=e[0].split(" "),i=e[1];for(let o=0;o<t.length;o+=1){const r=t[o];for(let s=0;s<this.length;s+=1){const a=this[s];if(n.CustomEvent){const l=new n.CustomEvent(r,{detail:i,bubbles:!0,cancelable:!0});a.dom7EventData=e.filter((c,d)=>d>0),a.dispatchEvent(l),a.dom7EventData=[],delete a.dom7EventData}}}return this},transitionEnd:function nW(e){const n=this;return e&&n.on("transitionend",function t(i){i.target===this&&(e.call(this,i),n.off("transitionend",t))}),this},outerWidth:function iW(e){if(this.length>0){if(e){const n=this.styles();return this[0].offsetWidth+parseFloat(n.getPropertyValue("margin-right"))+parseFloat(n.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function oW(e){if(this.length>0){if(e){const n=this.styles();return this[0].offsetHeight+parseFloat(n.getPropertyValue("margin-top"))+parseFloat(n.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function sW(){const e=Xt();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function rW(){if(this.length>0){const e=Xt(),n=dn(),t=this[0],i=t.getBoundingClientRect(),o=n.body;return{top:i.top+(t===e?e.scrollY:t.scrollTop)-(t.clientTop||o.clientTop||0),left:i.left+(t===e?e.scrollX:t.scrollLeft)-(t.clientLeft||o.clientLeft||0)}}return null},css:function aW(e,n){const t=Xt();let i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(const o in e)this[i].style[o]=e[o];return this}if(this[0])return t.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=n;return this}return this},each:function lW(e){return e?(this.forEach((n,t)=>{e.apply(n,[n,t])}),this):this},html:function dW(e){if(typeof e>"u")return this[0]?this[0].innerHTML:null;for(let n=0;n<this.length;n+=1)this[n].innerHTML=e;return this},text:function uW(e){if(typeof e>"u")return this[0]?this[0].textContent.trim():null;for(let n=0;n<this.length;n+=1)this[n].textContent=e;return this},is:function fW(e){const n=Xt(),t=dn(),i=this[0];let o,r;if(!i||typeof e>"u")return!1;if("string"==typeof e){if(i.matches)return i.matches(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e);
3if(i.msMatchesSelector)return i.msMatchesSelector(e);for(o=ye(e),r=0;r<o.length;r+=1)if(o[r]===i)return!0;return!1}if(e===t)return i===t;if(e===n)return i===n;if(e.nodeType||e instanceof ar){for(o=e.nodeType?[e]:e,r=0;r<o.length;r+=1)if(o[r]===i)return!0;return!1}return!1},index:function hW(){let n,e=this[0];if(e){for(n=0;null!==(e=e.previousSibling);)1===e.nodeType&&(n+=1);return n}},eq:function pW(e){if(typeof e>"u")return this;const n=this.length;if(e>n-1)return ye([]);if(e<0){const t=n+e;return ye(t<0?[]:[this[t]])}return ye([this[e]])},append:function mW(...e){let n;const t=dn();for(let i=0;i<e.length;i+=1){n=e[i];for(let o=0;o<this.length;o+=1)if("string"==typeof n){const r=t.createElement("div");for(r.innerHTML=n;r.firstChild;)this[o].appendChild(r.firstChild)}else if(n instanceof ar)for(let r=0;r<n.length;r+=1)this[o].appendChild(n[r]);else this[o].appendChild(n)}return this},prepend:function gW(e){const n=dn();let t,i;for(t=0;t<this.length;t+=1)if("string"==typeof e){const o=n.createElement("div");for(o.innerHTML=e,i=o.childNodes.length-1;i>=0;i-=1)this[t].insertBefore(o.childNodes[i],this[t].childNodes[0])}else if(e instanceof ar)for(i=0;i<e.length;i+=1)this[t].insertBefore(e[i],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this},next:function _W(e){return this.length>0?e?this[0].nextElementSibling&&ye(this[0].nextElementSibling).is(e)?ye([this[0].nextElementSibling]):ye([]):ye(this[0].nextElementSibling?[this[0].nextElementSibling]:[]):ye([])},nextAll:function vW(e){const n=[];let t=this[0];if(!t)return ye([]);for(;t.nextElementSibling;){const i=t.nextElementSibling;e?ye(i).is(e)&&n.push(i):n.push(i),t=i}return ye(n)},prev:function bW(e){if(this.length>0){const n=this[0];return e?n.previousElementSibling&&ye(n.previousElementSibling).is(e)?ye([n.previousElementSibling]):ye([]):ye(n.previousElementSibling?[n.previousElementSibling]:[])}return ye([])},prevAll:function yW(e){const n=[];let t=this[0];if(!t)return ye([]);for(;t.previousElementSibling;){const i=t.previousElementSibling;e?ye(i).is(e)&&n.push(i):n.push(i),t=i}return ye(n)},parent:function CW(e){const n=[];for(let t=0;t<this.length;t+=1)null!==this[t].parentNode&&(e?ye(this[t].parentNode).is(e)&&n.push(this[t].parentNode):n.push(this[t].parentNode));return ye(n)},parents:function EW(e){const n=[];for(let t=0;t<this.length;t+=1){let i=this[t].parentNode;for(;i;)e?ye(i).is(e)&&n.push(i):n.push(i),i=i.parentNode}return ye(n)},closest:function wW(e){let n=this;return typeof e>"u"?ye([]):(n.is(e)||(n=n.parents(e).eq(0)),n)},find:function SW(e){const n=[];for(let t=0;t<this.length;t+=1){const i=this[t].querySelectorAll(e);for(let o=0;o<i.length;o+=1)n.push(i[o])}return ye(n)},children:function MW(e){const n=[];for(let t=0;t<this.length;t+=1){const i=this[t].children;for(let o=0;o<i.length;o+=1)(!e||ye(i[o]).is(e))&&n.push(i[o])}return ye(n)},filter:function cW(e){return ye(uI(this,e))},remove:function xW(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};Object.keys(fI).forEach(e=>{Object.defineProperty(ye.fn,e,{value:fI[e],writable:!0})});const $e=ye;function Ur(e,n=0){return setTimeout(e,n)}function Ji(){return Date.now()}function Gf(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function AW(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function ei(...e){const n=Object(e[0]),t=["__proto__","constructor","prototype"];for(let i=1;i<e.length;i+=1){const o=e[i];if(null!=o&&!AW(o)){const r=Object.keys(Object(o)).filter(s=>t.indexOf(s)<0);for(let s=0,a=r.length;s<a;s+=1){const l=r[s],c=Object.getOwnPropertyDescriptor(o,l);void 0!==c&&c.enumerable&&(Gf(n[l])&&Gf(o[l])?o[l].__swiper__?n[l]=o[l]:ei(n[l],o[l]):!Gf(n[l])&&Gf(o[l])?(n[l]={},o[l].__swiper__?n[l]=o[l]:ei(n[l],o[l])):n[l]=o[l])}}}return n}function Uf(e,n,t){e.style.setProperty(n,t)}function hI({swiper:e,targetPosition:n,side:t}){const i=Xt(),o=-e.translate;let s,r=null;const a=e.params.speed;e.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(e.cssModeFrameID);const l=n>o?"next":"prev",c=(u,f)=>"next"===l&&u>=f||"prev"===l&&u<=f,d=()=>{s=(new Date).getTime(),null===r&&(r=s);const u=Math.max(Math.min((s-r)/a,1),0),f=.5-Math.cos(u*Math.PI)/2;let h=o+f*(n-o);if(c(h,n)&&(h=n),e.wrapperEl.scrollTo({[t]:h}),c(h,n))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[t]:h})}),void i.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=i.requestAnimationFrame(d)};d()}let nb,ib,ob;function pI(){return nb||(nb=function PW(){const e=Xt(),n=dn();return{smoothScroll:n.documentElement&&"scrollBehavior"in n.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&n instanceof e.DocumentTouch),passiveListener:function(){let i=!1;try{const o=Object.defineProperty({},"passive",{get(){i=!0}});e.addEventListener("testPassiveListener",null,o)}catch{}return i}(),gestures:"ongesturestart"in e}}()),nb}function mI({swiper:e,runCallbacks:n,direction:t,step:i}){const{activeIndex:o,previousIndex:r}=e;let s=t;if(s||(s=o>r?"next":o<r?"prev":"reset"),e.emit(`transition${i}`),n&&o!==r){if("reset"===s)return void e.emit(`slideResetTransition${i}`);e.emit(`slideChangeTransition${i}`),e.emit("next"===s?`slideNextTransition${i}`:`slidePrevTransition${i}`)}}function Eq(e){const n=this,t=dn(),i=Xt(),o=n.touchEventsData,{params:r,touches:s,enabled:a}=n;if(!a||n.animating&&r.preventInteractionOnTransition)return;!n.animating&&r.cssMode&&r.loop&&n.loopFix();let l=e;l.originalEvent&&(l=l.originalEvent);let c=$e(l.target);if("wrapper"===r.touchEventsTarget&&!c.closest(n.wrapperEl).length||(o.isTouchEvent="touchstart"===l.type,!o.isTouchEvent&&"which"in l&&3===l.which)||!o.isTouchEvent&&"button"in l&&l.button>0||o.isTouched&&o.isMoved)return;
3const d=!!r.noSwipingClass&&""!==r.noSwipingClass,u=e.composedPath?e.composedPath():e.path;d&&l.target&&l.target.shadowRoot&&u&&(c=$e(u[0]));const f=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`;if(r.noSwiping&&(l.target&&l.target.shadowRoot?function Cq(e,n=this){return function t(i){if(!i||i===dn()||i===Xt())return null;i.assignedSlot&&(i=i.assignedSlot);const o=i.closest(e);return o||i.getRootNode?o||t(i.getRootNode().host):null}(n)}(f,c[0]):c.closest(f)[0]))return void(n.allowClick=!0);if(r.swipeHandler&&!c.closest(r.swipeHandler)[0])return;s.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,s.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;const m=s.currentX,p=s.currentY,g=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,v=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(g&&(m<=v||m>=i.innerWidth-v)){if("prevent"!==g)return;e.preventDefault()}if(Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=m,s.startY=p,o.touchStartTime=Ji(),n.allowClick=!0,n.updateSize(),n.swipeDirection=void 0,r.threshold>0&&(o.allowThresholdMove=!1),"touchstart"!==l.type){let _=!0;c.is(o.focusableElements)&&(_=!1,"SELECT"===c[0].nodeName&&(o.isTouched=!1)),t.activeElement&&$e(t.activeElement).is(o.focusableElements)&&t.activeElement!==c[0]&&t.activeElement.blur(),(r.touchStartForcePreventDefault||_&&n.allowTouchMove&&r.touchStartPreventDefault)&&!c[0].isContentEditable&&l.preventDefault()}n.params.freeMode&&n.params.freeMode.enabled&&n.freeMode&&n.animating&&!r.cssMode&&n.freeMode.onTouchStart(),n.emit("touchStart",l)}function wq(e){const n=dn(),t=this,i=t.touchEventsData,{params:o,touches:r,rtlTranslate:s,enabled:a}=t;if(!a)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),!i.isTouched)return void(i.startMoving&&i.isScrolling&&t.emit("touchMoveOpposite",l));if(i.isTouchEvent&&"touchmove"!==l.type)return;const c="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),d="touchmove"===l.type?c.pageX:l.pageX,u="touchmove"===l.type?c.pageY:l.pageY;if(l.preventedByNestedSwiper)return r.startX=d,void(r.startY=u);if(!t.allowTouchMove)return $e(l.target).is(i.focusableElements)||(t.allowClick=!1),void(i.isTouched&&(Object.assign(r,{startX:d,startY:u,currentX:d,currentY:u}),i.touchStartTime=Ji()));if(i.isTouchEvent&&o.touchReleaseOnEdges&&!o.loop)if(t.isVertical()){if(u<r.startY&&t.translate<=t.maxTranslate()||u>r.startY&&t.translate>=t.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(d<r.startX&&t.translate<=t.maxTranslate()||d>r.startX&&t.translate>=t.minTranslate())return;if(i.isTouchEvent&&n.activeElement&&l.target===n.activeElement&&$e(l.target).is(i.focusableElements))return i.isMoved=!0,void(t.allowClick=!1);if(i.allowTouchCallbacks&&t.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;r.currentX=d,r.currentY=u;const f=r.currentX-r.startX,h=r.currentY-r.startY;if(t.params.threshold&&Math.sqrt(f**2+h**2)<t.params.threshold)return;if(typeof i.isScrolling>"u"){let v;t.isHorizontal()&&r.currentY===r.startY||t.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:f*f+h*h>=25&&(v=180*Math.atan2(Math.abs(h),Math.abs(f))/Math.PI,i.isScrolling=t.isHorizontal()?v>o.touchAngle:90-v>o.touchAngle)}if(i.isScrolling&&t.emit("touchMoveOpposite",l),typeof i.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(i.startMoving=!0),i.isScrolling)return void(i.isTouched=!1);if(!i.startMoving)return;t.allowClick=!1,!o.cssMode&&l.cancelable&&l.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&l.stopPropagation(),i.isMoved||(o.loop&&!o.cssMode&&t.loopFix(),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,o.grabCursor&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",l)),t.emit("sliderMove",l),i.isMoved=!0;let m=t.isHorizontal()?f:h;r.diff=m,m*=o.touchRatio,s&&(m=-m),t.swipeDirection=m>0?"prev":"next",i.currentTranslate=m+i.startTranslate;let p=!0,g=o.resistanceRatio;if(o.touchReleaseOnEdges&&(g=0),m>0&&i.currentTranslate>t.minTranslate()?(p=!1,o.resistance&&(i.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+i.startTranslate+m)**g)):m<0&&i.currentTranslate<t.maxTranslate()&&(p=!1,o.resistance&&(i.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-i.startTranslate-m)**g)),p&&(l.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(i.currentTranslate=i.startTranslate),o.threshold>0){if(!(Math.abs(m)>o.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);
3if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=t.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&t.freeMode||o.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),t.params.freeMode&&o.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(i.currentTranslate),t.setTranslate(i.currentTranslate))}function Sq(e){const n=this,t=n.touchEventsData,{params:i,touches:o,rtlTranslate:r,slidesGrid:s,enabled:a}=n;if(!a)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),t.allowTouchCallbacks&&n.emit("touchEnd",l),t.allowTouchCallbacks=!1,!t.isTouched)return t.isMoved&&i.grabCursor&&n.setGrabCursor(!1),t.isMoved=!1,void(t.startMoving=!1);i.grabCursor&&t.isMoved&&t.isTouched&&(!0===n.allowSlideNext||!0===n.allowSlidePrev)&&n.setGrabCursor(!1);const c=Ji(),d=c-t.touchStartTime;if(n.allowClick){const _=l.path||l.composedPath&&l.composedPath();n.updateClickedSlide(_&&_[0]||l.target),n.emit("tap click",l),d<300&&c-t.lastClickTime<300&&n.emit("doubleTap doubleClick",l)}if(t.lastClickTime=Ji(),Ur(()=>{n.destroyed||(n.allowClick=!0)}),!t.isTouched||!t.isMoved||!n.swipeDirection||0===o.diff||t.currentTranslate===t.startTranslate)return t.isTouched=!1,t.isMoved=!1,void(t.startMoving=!1);let u;if(t.isTouched=!1,t.isMoved=!1,t.startMoving=!1,u=i.followFinger?r?n.translate:-n.translate:-t.currentTranslate,i.cssMode)return;if(n.params.freeMode&&i.freeMode.enabled)return void n.freeMode.onTouchEnd({currentPos:u});let f=0,h=n.slidesSizesGrid[0];for(let _=0;_<s.length;_+=_<i.slidesPerGroupSkip?1:i.slidesPerGroup){const E=_<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;typeof s[_+E]<"u"?u>=s[_]&&u<s[_+E]&&(f=_,h=s[_+E]-s[_]):u>=s[_]&&(f=_,h=s[s.length-1]-s[s.length-2])}let m=null,p=null;i.rewind&&(n.isBeginning?p=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1:n.isEnd&&(m=0));const g=(u-s[f])/h,v=f<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(d>i.longSwipesMs){if(!i.longSwipes)return void n.slideTo(n.activeIndex);"next"===n.swipeDirection&&n.slideTo(g>=i.longSwipesRatio?i.rewind&&n.isEnd?m:f+v:f),"prev"===n.swipeDirection&&(g>1-i.longSwipesRatio?n.slideTo(f+v):null!==p&&g<0&&Math.abs(g)>i.longSwipesRatio?n.slideTo(p):n.slideTo(f))}else{if(!i.shortSwipes)return void n.slideTo(n.activeIndex);!n.navigation||l.target!==n.navigation.nextEl&&l.target!==n.navigation.prevEl?("next"===n.swipeDirection&&n.slideTo(null!==m?m:f+v),"prev"===n.swipeDirection&&n.slideTo(null!==p?p:f)):n.slideTo(l.target===n.navigation.nextEl?f+v:f)}}function gI(){const e=this,{params:n,el:t}=e;if(t&&0===t.offsetWidth)return;n.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:o,snapGrid:r}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),e.slideTo(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slides.length-1:e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=o,e.allowSlideNext=i,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function Mq(e){const n=this;n.enabled&&(n.allowClick||(n.params.preventClicks&&e.preventDefault(),n.params.preventClicksPropagation&&n.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function xq(){const e=this,{wrapperEl:n,rtlTranslate:t,enabled:i}=e;if(!i)return;let o;e.previousTranslate=e.translate,e.translate=e.isHorizontal()?-n.scrollLeft:-n.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();o=0===r?0:(e.translate-e.minTranslate())/r,o!==e.progress&&e.updateProgress(t?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let _I=!1;function Dq(){}const vI=(e,n)=>{const t=dn(),{params:i,touchEvents:o,el:r,wrapperEl:s,device:a,support:l}=e,c=!!i.nested,d="on"===n?"addEventListener":"removeEventListener",u=n;if(l.touch){const f=!("touchstart"!==o.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};r[d](o.start,e.onTouchStart,f),r[d](o.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:c}:c),r[d](o.end,e.onTouchEnd,f),o.cancel&&r[d](o.cancel,e.onTouchEnd,f)}else r[d](o.start,e.onTouchStart,!1),t[d](o.move,e.onTouchMove,c),t[d](o.end,e.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&r[d]("click",e.onClick,!0),i.cssMode&&s[d]("scroll",e.onScroll),e[u](i.updateOnWindowResize?a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate":"observerUpdate",gI,!0)},bI=(e,n)=>e.grid&&n.grid&&n.grid.rows>1,yI={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",
3spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function Gq(e,n){return function(i={}){const o=Object.keys(i)[0],r=i[o];"object"==typeof r&&null!==r?(["navigation","pagination","scrollbar"].indexOf(o)>=0&&!0===e[o]&&(e[o]={auto:!0}),o in e&&"enabled"in r?(!0===e[o]&&(e[o]={enabled:!0}),"object"==typeof e[o]&&!("enabled"in e[o])&&(e[o].enabled=!0),e[o]||(e[o]={enabled:!1}),ei(n,i)):ei(n,i)):ei(n,i)}}const rb={eventsEmitter:{on(e,n,t){const i=this;if(!i.eventsListeners||i.destroyed||"function"!=typeof n)return i;const o=t?"unshift":"push";return e.split(" ").forEach(r=>{i.eventsListeners[r]||(i.eventsListeners[r]=[]),i.eventsListeners[r][o](n)}),i},once(e,n,t){const i=this;if(!i.eventsListeners||i.destroyed||"function"!=typeof n)return i;function o(...r){i.off(e,o),o.__emitterProxy&&delete o.__emitterProxy,n.apply(i,r)}return o.__emitterProxy=n,i.on(e,o,t)},onAny(e,n){const t=this;if(!t.eventsListeners||t.destroyed||"function"!=typeof e)return t;const i=n?"unshift":"push";return t.eventsAnyListeners.indexOf(e)<0&&t.eventsAnyListeners[i](e),t},offAny(e){const n=this;if(!n.eventsListeners||n.destroyed||!n.eventsAnyListeners)return n;const t=n.eventsAnyListeners.indexOf(e);return t>=0&&n.eventsAnyListeners.splice(t,1),n},off(e,n){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||e.split(" ").forEach(i=>{typeof n>"u"?t.eventsListeners[i]=[]:t.eventsListeners[i]&&t.eventsListeners[i].forEac
3h((o,r)=>{(o===n||o.__emitterProxy&&o.__emitterProxy===n)&&t.eventsListeners[i].splice(r,1)})}),t},emit(...e){const n=this;if(!n.eventsListeners||n.destroyed||!n.eventsListeners)return n;let t,i,o;return"string"==typeof e[0]||Array.isArray(e[0])?(t=e[0],i=e.slice(1,e.length),o=n):(t=e[0].events,i=e[0].data,o=e[0].context||n),i.unshift(o),(Array.isArray(t)?t:t.split(" ")).forEach(s=>{n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(a=>{a.apply(o,[s,...i])}),n.eventsListeners&&n.eventsListeners[s]&&n.eventsListeners[s].forEach(a=>{a.apply(o,i)})}),n}},update:{updateSize:function BW(){const e=this;let n,t;const i=e.$el;n=typeof e.params.width<"u"&&null!==e.params.width?e.params.width:i[0].clientWidth,t=typeof e.params.height<"u"&&null!==e.params.height?e.params.height:i[0].clientHeight,!(0===n&&e.isHorizontal()||0===t&&e.isVertical())&&(n=n-parseInt(i.css("padding-left")||0,10)-parseInt(i.css("padding-right")||0,10),t=t-parseInt(i.css("padding-top")||0,10)-parseInt(i.css("padding-bottom")||0,10),Number.isNaN(n)&&(n=0),Number.isNaN(t)&&(t=0),Object.assign(e,{width:n,height:t,size:e.isHorizontal()?n:t}))},updateSlides:function jW(){const e=this;function n(Y){return e.isHorizontal()?Y:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[Y]}function t(Y,k){return parseFloat(Y.getPropertyValue(n(k))||0)}const i=e.params,{$wrapperEl:o,size:r,rtlTranslate:s,wrongRTL:a}=e,l=e.virtual&&i.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,d=o.children(`.${e.params.slideClass}`),u=l?e.virtual.slides.length:d.length;let f=[];const h=[],m=[];let p=i.slidesOffsetBefore;"function"==typeof p&&(p=i.slidesOffsetBefore.call(e));let g=i.slidesOffsetAfter;"function"==typeof g&&(g=i.slidesOffsetAfter.call(e));const v=e.snapGrid.length,_=e.slidesGrid.length;let E=i.spaceBetween,x=-p,O=0,P=0;if(typeof r>"u")return;"string"==typeof E&&E.indexOf("%")>=0&&(E=parseFloat(E.replace("%",""))/100*r),e.virtualSize=-E,d.css(s?{marginLeft:"",marginBottom:"",marginTop:""}:{marginRight:"",marginBottom:"",marginTop:""}),i.centeredSlides&&i.cssMode&&(Uf(e.wrapperEl,"--swiper-centered-offset-before",""),Uf(e.wrapperEl,"--swiper-centered-offset-after",""));const F=i.grid&&i.grid.rows>1&&e.grid;let q;F&&e.grid.initSlides(u);const K="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter(Y=>typeof i.breakpoints[Y].slidesPerView<"u").length>0;for(let Y=0;Y<u;Y+=1){q=0;const k=d.eq(Y);if(F&&e.grid.updateSlide(Y,k,u,n),"none"!==k.css("display")){if("auto"===i.slidesPerView){K&&(d[Y].style[n("width")]="");const D=getComputedStyle(k[0]),L=k[0].style.transform,te=k[0].style.webkitTransform;if(L&&(k[0].style.transform="none"),te&&(k[0].style.webkitTransform="none"),i.roundLengths)q=e.isHorizontal()?k.outerWidth(!0):k.outerHeight(!0);else{const se=t(D,"width"),M=t(D,"padding-left"),B=t(D,"padding-right"),V=t(D,"margin-left"),ee=t(D,"margin-right"),ue=D.getPropertyValue("box-sizing");if(ue&&"border-box"===ue)q=se+V+ee;else{const{clientWidth:ht,offsetWidth:Nt}=k[0];q=se+M+B+V+ee+(Nt-ht)}}L&&(k[0].style.transform=L),te&&(k[0].style.webkitTransform=te),i.roundLengths&&(q=Math.floor(q))}else q=(r-(i.slidesPerView-1)*E)/i.slidesPerView,i.roundLengths&&(q=Math.floor(q)),d[Y]&&(d[Y].style[n("width")]=`${q}px`);d[Y]&&(d[Y].swiperSlideSize=q),m.push(q),i.centeredSlides?(x=x+q/2+O/2+E,0===O&&0!==Y&&(x=x-r/2-E),0===Y&&(x=x-r/2-E),Math.abs(x)<.001&&(x=0),i.roundLengths&&(x=Math.floor(x)),P%i.slidesPerGroup==0&&f.push(x),h.push(x)):(i.roundLengths&&(x=Math.floor(x)),(P-Math.min(e.params.slidesPerGroupSkip,P))%e.params.slidesPerGroup==0&&f.push(x),h.push(x),x=x+q+E),e.virtualSize+=q+E,O=q,P+=1}}if(e.virtualSize=Math.max(e.virtualSize,r)+g,s&&a&&("slide"===i.effect||"coverflow"===i.effect)&&o.css({width:`${e.virtualSize+i.spaceBetween}px`}),i.setWrapperSize&&o.css({[n("width")]:`${e.virtualSize+i.spaceBetween}px`}),F&&e.grid.updateWrapperSize(q,f,n),!i.centeredSlides){const Y=[];for(let k=0;k<f.length;k+=1){let D=f[k];i.roundLengths&&(D=Math.floor(D)),f[k]<=e.virtualSize-r&&Y.push(D)}f=Y,Math.floor(e.virtualSize-r)-Math.floor(f[f.length-1])>1&&f.push(e.virtualSize-r)}if(0===f.length&&(f=[0]),0!==i.spaceBetween){const Y=e.isHorizontal()&&s?"marginLeft":n("marginRight");d.filter((k,D)=>!i.cssMode||D!==d.length-1).css({[Y]:`${E}px`})}
3if(i.centeredSlides&&i.centeredSlidesBounds){let Y=0;m.forEach(D=>{Y+=D+(i.spaceBetween?i.spaceBetween:0)}),Y-=i.spaceBetween;const k=Y-r;f=f.map(D=>D<0?-p:D>k?k+g:D)}if(i.centerInsufficientSlides){let Y=0;if(m.forEach(k=>{Y+=k+(i.spaceBetween?i.spaceBetween:0)}),Y-=i.spaceBetween,Y<r){const k=(r-Y)/2;f.forEach((D,L)=>{f[L]=D-k}),h.forEach((D,L)=>{h[L]=D+k})}}if(Object.assign(e,{slides:d,snapGrid:f,slidesGrid:h,slidesSizesGrid:m}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Uf(e.wrapperEl,"--swiper-centered-offset-before",-f[0]+"px"),Uf(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-m[m.length-1]/2+"px");const Y=-e.snapGrid[0],k=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(D=>D+Y),e.slidesGrid=e.slidesGrid.map(D=>D+k)}if(u!==c&&e.emit("slidesLengthChange"),f.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==_&&e.emit("slidesGridLengthChange"),i.watchSlidesProgress&&e.updateSlidesOffset(),!(l||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect)){const Y=`${i.containerModifierClass}backface-hidden`,k=e.$el.hasClass(Y);u<=i.maxBackfaceHiddenSlides?k||e.$el.addClass(Y):k&&e.$el.removeClass(Y)}},updateAutoHeight:function zW(e){const n=this,t=[],i=n.virtual&&n.params.virtual.enabled;let r,o=0;"number"==typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed);const s=a=>i?n.slides.filter(l=>parseInt(l.getAttribute("data-swiper-slide-index"),10)===a)[0]:n.slides.eq(a)[0];if("auto"!==n.params.slidesPerView&&n.params.slidesPerView>1)if(n.params.centeredSlides)(n.visibleSlides||$e([])).each(a=>{t.push(a)});else for(r=0;r<Math.ceil(n.params.slidesPerView);r+=1){const a=n.activeIndex+r;if(a>n.slides.length&&!i)break;t.push(s(a))}else t.push(s(n.activeIndex));for(r=0;r<t.length;r+=1)if(typeof t[r]<"u"){const a=t[r].offsetHeight;o=a>o?a:o}(o||0===o)&&n.$wrapperEl.css("height",`${o}px`)},updateSlidesOffset:function GW(){const e=this,n=e.slides;for(let t=0;t<n.length;t+=1)n[t].swiperSlideOffset=e.isHorizontal()?n[t].offsetLeft:n[t].offsetTop},updateSlidesProgress:function UW(e=this&&this.translate||0){const n=this,t=n.params,{slides:i,rtlTranslate:o,snapGrid:r}=n;if(0===i.length)return;typeof i[0].swiperSlideOffset>"u"&&n.updateSlidesOffset();let s=-e;o&&(s=e),i.removeClass(t.slideVisibleClass),n.visibleSlidesIndexes=[],n.visibleSlides=[];for(let a=0;a<i.length;a+=1){const l=i[a];let c=l.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(c-=i[0].swiperSlideOffset);const d=(s+(t.centeredSlides?n.minTranslate():0)-c)/(l.swiperSlideSize+t.spaceBetween),u=(s-r[0]+(t.centeredSlides?n.minTranslate():0)-c)/(l.swiperSlideSize+t.spaceBetween),f=-(s-c),h=f+n.slidesSizesGrid[a];(f>=0&&f<n.size-1||h>1&&h<=n.size||f<=0&&h>=n.size)&&(n.visibleSlides.push(l),n.visibleSlidesIndexes.push(a),i.eq(a).addClass(t.slideVisibleClass)),l.progress=o?-d:d,l.originalProgress=o?-u:u}n.visibleSlides=$e(n.visibleSlides)},updateProgress:function HW(e){const n=this;typeof e>"u"&&(e=n&&n.translate&&n.translate*(n.rtlTranslate?-1:1)||0);const t=n.params,i=n.maxTranslate()-n.minTranslate();let{progress:o,isBeginning:r,isEnd:s}=n;const a=r,l=s;0===i?(o=0,r=!0,s=!0):(o=(e-n.minTranslate())/i,r=o<=0,s=o>=1),Object.assign(n,{progress:o,isBeginning:r,isEnd:s}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&n.updateSlidesProgress(e),r&&!a&&n.emit("reachBeginning toEdge"),s&&!l&&n.emit("reachEnd toEdge"),(a&&!r||l&&!s)&&n.emit("fromEdge"),n.emit("progress",o)},updateSlidesClasses:function WW(){const e=this,{slides:n,params:t,$wrapperEl:i,activeIndex:o,realIndex:r}=e,s=e.virtual&&t.virtual.enabled;let a;n.removeClass(`${t.slideActiveClass} ${t.slideNextClass} ${t.slidePrevClass} ${t.slideDuplicateActiveClass} ${t.slideDuplicateNextClass} ${t.slideDuplicatePrevClass}`),a=s?e.$wrapperEl.find(`.${t.slideClass}[data-swiper-slide-index="${o}"]`):n.eq(o),a.addClass(t.slideActiveClass),t.loop&&(a.hasClass(t.slideDuplicateClass)?i.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(t.slideDuplicateActiveClass):i.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(t.slideDuplicateActiveClass));let l=a.nextAll(`.${t.slideClass}`).eq(0).addClass(t.slideNextClass);t.loop&&0===l.length&&(l=n.eq(0),l.addClass(t.slideNextClass));let c=a.prevAll(`.${t.slideClass}`).eq(0).addClass(t.slidePrevClass);t.loop&&0===c.length&&(c=n.eq(-1),c.addClass(t.slidePrevClass)),t.loop&&(l.hasClass(t.slideDuplicateClass)?i.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(t.slideDuplicateNextClass):i.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(t.slideDuplicateNextClass),c.hasClass(t.slideDuplicateClass)?i.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(t.slideDuplicatePrevClass):i.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(t.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function qW(e){const n=this,t=n.rtlTranslate?n.translate:-n.translate,{slidesGrid:i,snapGrid:o,params:r,activeIndex:s,realIndex:a,snapIndex:l}=n;let d,c=e;if(typeof c>"u"){for(let f=0;f<i.length;f+=1)typeof i[f+1]<"u"?t>=i[f]&&t<i[f+1]-(i[f+1]-i[f])/2?c=f:t>=i[f]&&t<i[f+1]&&(c=f+1):t>=i[f]&&(c=f);r.normalizeSlideIndex&&(c<0||typeof c>"u")&&(c=0)}if(o.indexOf(t)>=0)d=o.indexOf(t);else{const f=Math.min(r.slidesPerGroupSkip,c);d=f+Math.floor((c-f)/r.slidesPerGroup)}if(d>=o.length&&(d=o.length-1),c===s)return void(d!==l&&(n.snapIndex=d,n.emit("snapIndexChange")));const u=parseInt(n.slides.eq(c).attr("data-swiper-slide-index")||c,10);Object.assign(n,{snapIndex:d,realIndex:u,previousIndex:s,activeIndex:c}),n.emit("activeIndexChange"),n.emit("snapIndexChange"),a!==u&&n.emit("realIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&n.emit("slideChange")},updateClickedSlide:function YW(e){const n=this,t=n.params,i=$e(e).closest(`.${t.slideClass}`)[0];let r,o=!1;if(i)for(let s=0;s<n.slides.length;s+=1)if(n.slides[s]===i){o=!0,r=s;break}if(!i||!o)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=i,n.clickedIndex=n.virtual&&n.params.virtual.enabled?parseInt($e(i).attr("data-swiper-slide-index"),10):r,t.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}},translate:{getTranslate:function KW(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:i,translate:o,$wrapperEl:r}=this;if(t.virtualTranslate)return i?-o:o;if(t.cssMode)return o;let s=function IW(e,n="x"){const t=Xt();let i,o,r;const s=function OW(e){const n=Xt();let t;return n.getComputedStyle&&(t=n.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return t.WebKitCSSMatrix?(o=s.transform||s.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(a=>a.replace(",",".")).join(", ")),r=new t.WebKitCSSMatrix("none"===o?"":o)):(r=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=r.toString().split(",")),"x"===n&&(o=t.WebKitCSSMatrix?r.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===n&&(o=t.WebKitCSSMatrix?r.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),o||0}(r[0],e);return i&&(s=-s),s||0},setTranslate:function ZW(e,n){const t=this,{rtlTranslate:i,params:o,$wrapperEl:r,wrapperEl:s,progress:a}=t;let u,l=0,c=0;t.isHorizontal()?l=i?-e:e:c=e,o.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),o.cssMode?s[t.isHorizontal()?"scrollLeft":"scrollTop"]=t.isHorizontal()?-l:-c:o.virtualTranslate||r.transform(`translate3d(${l}px, ${c}px, 0px)`),t.previousTranslate=t.translate,t.translate=t.isHorizontal()?l:c;const f=t.maxTranslate()-t.minTranslate();u=0===f?0:(e-t.minTranslate())/f,u!==a&&t.updateProgress(e),t.emit("setTranslate",t.translate,n)},minTranslate:function QW(){return-this.snapGrid[0]},maxTranslate:function JW(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function eq(e=0,n=this.params.speed,t=!0,i=!0,o){const r=this,{params:s,wrapperEl:a}=r;if(r.animating&&s.preventInteractionOnTransition)return!1;const l=r.minTranslate(),c=r.maxTranslate();let d;if(d=i&&e>
3l?l:i&&e<c?c:e,r.updateProgress(d),s.cssMode){const u=r.isHorizontal();if(0===n)a[u?"scrollLeft":"scrollTop"]=-d;else{if(!r.support.smoothScroll)return hI({swiper:r,targetPosition:-d,side:u?"left":"top"}),!0;a.scrollTo({[u?"left":"top"]:-d,behavior:"smooth"})}return!0}return 0===n?(r.setTransition(0),r.setTranslate(d),t&&(r.emit("beforeTransitionStart",n,o),r.emit("transitionEnd"))):(r.setTransition(n),r.setTranslate(d),t&&(r.emit("beforeTransitionStart",n,o),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(f){!r||r.destroyed||f.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,t&&r.emit("transitionEnd"))}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function nq(e,n){const t=this;t.params.cssMode||t.$wrapperEl.transition(e),t.emit("setTransition",e,n)},transitionStart:function iq(e=!0,n){const t=this,{params:i}=t;i.cssMode||(i.autoHeight&&t.updateAutoHeight(),mI({swiper:t,runCallbacks:e,direction:n,step:"Start"}))},transitionEnd:function oq(e=!0,n){const t=this,{params:i}=t;t.animating=!1,!i.cssMode&&(t.setTransition(0),mI({swiper:t,runCallbacks:e,direction:n,step:"End"}))}},slide:{slideTo:function sq(e=0,n=this.params.speed,t=!0,i,o){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const E=parseInt(e,10);if(!isFinite(E))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=E}const r=this;let s=e;s<0&&(s=0);const{params:a,snapGrid:l,slidesGrid:c,previousIndex:d,activeIndex:u,rtlTranslate:f,wrapperEl:h,enabled:m}=r;if(r.animating&&a.preventInteractionOnTransition||!m&&!i&&!o)return!1;const p=Math.min(r.params.slidesPerGroupSkip,s);let g=p+Math.floor((s-p)/r.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const v=-l[g];if(a.normalizeSlideIndex)for(let E=0;E<c.length;E+=1){const x=-Math.floor(100*v),O=Math.floor(100*c[E]),P=Math.floor(100*c[E+1]);typeof c[E+1]<"u"?x>=O&&x<P-(P-O)/2?s=E:x>=O&&x<P&&(s=E+1):x>=O&&(s=E)}if(r.initialized&&s!==u&&(!r.allowSlideNext&&v<r.translate&&v<r.minTranslate()||!r.allowSlidePrev&&v>r.translate&&v>r.maxTranslate()&&(u||0)!==s))return!1;let _;if(s!==(d||0)&&t&&r.emit("beforeSlideChangeStart"),r.updateProgress(v),_=s>u?"next":s<u?"prev":"reset",f&&-v===r.translate||!f&&v===r.translate)return r.updateActiveIndex(s),a.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==a.effect&&r.setTranslate(v),"reset"!==_&&(r.transitionStart(t,_),r.transitionEnd(t,_)),!1;if(a.cssMode){const E=r.isHorizontal(),x=f?v:-v;if(0===n){const O=r.virtual&&r.params.virtual.enabled;O&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),h[E?"scrollLeft":"scrollTop"]=x,O&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._swiperImmediateVirtual=!1})}else{if(!r.support.smoothScroll)return hI({swiper:r,targetPosition:x,side:E?"left":"top"}),!0;h.scrollTo({[E?"left":"top"]:x,behavior:"smooth"})}return!0}return r.setTransition(n),r.setTranslate(v),r.updateActiveIndex(s),r.updateSlidesClasses(),r.emit("beforeTransitionStart",n,i),r.transitionStart(t,_),0===n?r.transitionEnd(t,_):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(x){!r||r.destroyed||x.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(t,_))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function aq(e=0,n=this.params.speed,t=!0,i){if("string"==typeof e){const s=parseInt(e,10);if(!isFinite(s))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=s}const o=this;let r=e;return o.params.loop&&(r+=o.loopedSlides),o.slideTo(r,n,t,i)},slideNext:function lq(e=this.params.speed,n=!0,t){const i=this,{animating:o,enabled:r,params:s}=i;
3if(!r)return i;let a=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(a=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<s.slidesPerGroupSkip?1:a;if(s.loop){if(o&&s.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}return i.slideTo(s.rewind&&i.isEnd?0:i.activeIndex+l,e,n,t)},slidePrev:function cq(e=this.params.speed,n=!0,t){const i=this,{params:o,animating:r,snapGrid:s,slidesGrid:a,rtlTranslate:l,enabled:c}=i;if(!c)return i;if(o.loop){if(r&&o.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}function u(g){return g<0?-Math.floor(Math.abs(g)):Math.floor(g)}const f=u(l?i.translate:-i.translate),h=s.map(g=>u(g));let m=s[h.indexOf(f)-1];if(typeof m>"u"&&o.cssMode){let g;s.forEach((v,_)=>{f>=v&&(g=_)}),typeof g<"u"&&(m=s[g>0?g-1:g])}let p=0;return typeof m<"u"&&(p=a.indexOf(m),p<0&&(p=i.activeIndex-1),"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(p=p-i.slidesPerViewDynamic("previous",!0)+1,p=Math.max(p,0))),i.slideTo(o.rewind&&i.isBeginning?i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1:p,e,n,t)},slideReset:function dq(e=this.params.speed,n=!0,t){return this.slideTo(this.activeIndex,e,n,t)},slideToClosest:function uq(e=this.params.speed,n=!0,t,i=.5){const o=this;let r=o.activeIndex;const s=Math.min(o.params.slidesPerGroupSkip,r),a=s+Math.floor((r-s)/o.params.slidesPerGroup),l=o.rtlTranslate?o.translate:-o.translate;if(l>=o.snapGrid[a]){const c=o.snapGrid[a];l-c>(o.snapGrid[a+1]-c)*i&&(r+=o.params.slidesPerGroup)}else{const c=o.snapGrid[a-1];l-c<=(o.snapGrid[a]-c)*i&&(r-=o.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,o.slidesGrid.length-1),o.slideTo(r,e,n,t)},slideToClickedSlide:function fq(){const e=this,{params:n,$wrapperEl:t}=e,i="auto"===n.slidesPerView?e.slidesPerViewDynamic():n.slidesPerView;let r,o=e.clickedIndex;if(n.loop){if(e.animating)return;r=parseInt($e(e.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?o<e.loopedSlides-i/2||o>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),o=t.children(`.${n.slideClass}[data-swiper-slide-index="${r}"]:not(.${n.slideDuplicateClass})`).eq(0).index(),Ur(()=>{e.slideTo(o)})):e.slideTo(o):o>e.slides.length-i?(e.loopFix(),o=t.children(`.${n.slideClass}[data-swiper-slide-index="${r}"]:not(.${n.slideDuplicateClass})`).eq(0).index(),Ur(()=>{e.slideTo(o)})):e.slideTo(o)}else e.slideTo(o)}},loop:{loopCreate:function pq(){const e=this,n=dn(),{params:t,$wrapperEl:i}=e,o=i.children().length>0?$e(i.children()[0].parentNode):i;o.children(`.${t.slideClass}.${t.slideDuplicateClass}`).remove();let r=o.children(`.${t.slideClass}`);if(t.loopFillGroupWithBlank){const l=t.slidesPerGroup-r.length%t.slidesPerGroup;if(l!==t.slidesPerGroup){for(let c=0;c<l;c+=1){const d=$e(n.createElement("div")).addClass(`${t.slideClass} ${t.slideBlankClass}`);o.append(d)}r=o.children(`.${t.slideClass}`)}}"auto"===t.slidesPerView&&!t.loopedSlides&&(t.loopedSlides=r.length),e.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>r.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=r.length);const s=[],a=[];r.each((l,c)=>{$e(l).attr("data-swiper-slide-index",c)});for(let l=0;l<e.loopedSlides;l+=1){const c=l-Math.floor(l/r.length)*r.length;a.push(r.eq(c)[0]),s.unshift(r.eq(r.length-c-1)[0])}for(let l=0;l<a.length;l+=1)o.append($e(a[l].cloneNode(!0)).addClass(t.slideDuplicateClass));for(let l=s.length-1;l>=0;l-=1)o.prepend($e(s[l].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function mq(){const e=this;e.emit("beforeLoopFix");const{activeIndex:n,slides:t,loopedSlides:i,allowSlidePrev:o,allowSlideNext:r,snapGrid:s,rtlTranslate:a}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const d=-s[n]-e.getTranslate();n<i?(l=t.length-3*i+n,l+=i,e.slideTo(l,0,!1,!0)&&0!==d&&e.setTranslate((a?-e.translate:e.translate)-d)):n>=t.length-i&&(l=-t.length+n+i,l+=i,e.slideTo(l,0,!1,!0)&&0!==d&&e.setTranslate((a?-e.translate:e.translate)-d)),e.allowSlidePrev=o,e.allowSlideNext=r,e.emit("loopFix")},loopDestroy:function gq(){const{$wrapperEl:n,params:t,slides:i}=this;n.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),i.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function vq(e){const n=this;if(n.support.touch||!n.params.simulateTouch||n.params.watchOverflow&&n.isLocked||n.params.cssMode)return;const t="container"===n.params.touchEventsTarget?n.el:n.wrapperEl;t.style.cursor="move",t.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function bq(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:{attachEvents:function Tq(){const e=this,n=dn(),{params:t,supp
3ort:i}=e;e.onTouchStart=Eq.bind(e),e.onTouchMove=wq.bind(e),e.onTouchEnd=Sq.bind(e),t.cssMode&&(e.onScroll=xq.bind(e)),e.onClick=Mq.bind(e),i.touch&&!_I&&(n.addEventListener("touchstart",Dq),_I=!0),vI(e,"on")},detachEvents:function Oq(){vI(this,"off")}},breakpoints:{setBreakpoint:function Aq(){const e=this,{activeIndex:n,initialized:t,loopedSlides:i=0,params:o,$el:r}=e,s=o.breakpoints;if(!s||s&&0===Object.keys(s).length)return;const a=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(!a||e.currentBreakpoint===a)return;const c=(a in s?s[a]:void 0)||e.originalParams,d=bI(e,o),u=bI(e,c),f=o.enabled;d&&!u?(r.removeClass(`${o.containerModifierClass}grid ${o.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&u&&(r.addClass(`${o.containerModifierClass}grid`),(c.grid.fill&&"column"===c.grid.fill||!c.grid.fill&&"column"===o.grid.fill)&&r.addClass(`${o.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(g=>{const v=o[g]&&o[g].enabled,_=c[g]&&c[g].enabled;v&&!_&&e[g].disable(),!v&&_&&e[g].enable()});const h=c.direction&&c.direction!==o.direction,m=o.loop&&(c.slidesPerView!==o.slidesPerView||h);h&&t&&e.changeDirection(),ei(e.params,c);const p=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),f&&!p?e.disable():!f&&p&&e.enable(),e.currentBreakpoint=a,e.emit("_beforeBreakpoint",c),m&&t&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(n-i+e.loopedSlides,0,!1)),e.emit("breakpoint",c)},getBreakpoint:function Pq(e,n="window",t){if(!e||"container"===n&&!t)return;let i=!1;const o=Xt(),r="window"===n?o.innerHeight:t.clientHeight,s=Object.keys(e).map(a=>{if("string"==typeof a&&0===a.indexOf("@")){const l=parseFloat(a.substr(1));return{value:r*l,point:a}}return{value:a,point:a}});s.sort((a,l)=>
3parseInt(a.value,10)-parseInt(l.value,10));for(let a=0;a<s.length;a+=1){const{point:l,value:c}=s[a];"window"===n?o.matchMedia(`(min-width: ${c}px)`).matches&&(i=l):c<=t.clientWidth&&(i=l)}return i||"max"}},checkOverflow:{checkOverflow:function jq(){const e=this,{isLocked:n,params:t}=e,{slidesOffsetBefore:i}=t;if(i){const o=e.slides.length-1;e.isLocked=e.size>e.slidesGrid[o]+e.slidesSizesGrid[o]+2*i}else e.isLocked=1===e.snapGrid.length;!0===t.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===t.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),n&&n!==e.isLocked&&(e.isEnd=!1),n!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function Rq(){const e=this,{classNames:n,params:t,rtl:i,$el:o,device:r,support:s}=e,a=function Nq(e,n){const t=[];return e.forEach(i=>{"object"==typeof i?Object.keys(i).forEach(o=>{i[o]&&t.push(n+o)}):"string"==typeof i&&t.push(n+i)}),t}(["initialized",t.direction,{"pointer-events":!s.touch},{"free-mode":e.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);n.push(...a),o.addClass([...n].join(" ")),e.emitContainerClasses()},removeClasses:function Fq(){const{$el:n,classNames:t}=this;n.removeClass(t.join(" ")),this.emitContainerClasses()}},images:{loadImage:function $q(e,n,t,i,o,r){const s=Xt();let a;function l(){r&&r()}$e(e).parent("picture")[0]||e.complete&&o||!n?l():(a=new s.Image,a.onload=l,a.onerror=l,i&&(a.sizes=i),t&&(a.srcset=t),n&&(a.src=n))},preloadImages:function Vq(){const e=this;function n(){typeof e>"u"||null===e||!e||e.destroyed||(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let t=0;t<e.imagesToLoad.length;t+=1){const i=e.imagesToLoad[t];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,n)}}}},sb={};class fi{constructor(...n){let t,i;if(1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?i=n[0]:[t,i]=n,i||(i={}),i=ei({},i),t&&!i.el&&(i.el=t),i.el&&$e(i.el).length>1){const a=[];return $e(i.el).each(l=>{const c=ei({},i,{el:l});a.push(new fi(c))}),a}const o=this;o.__swiper__=!0,o.support=pI(),o.device=function NW(e={}){return ib||(ib=function kW({userAgent:e}={}){const n=pI(),t=Xt(),i=t.navigator.platform,o=e||t.navigator.userAgent,r={ios:!1,android:!1},s=t.screen.width,a=t.screen.height,l=o.match(/(Android);?[\s\/]+([\d.]+)?/);let c=o.match(/(iPad).*OS\s([\d_]+)/);const d=o.match(/(iPod)(.*OS\s([\d_]+))?/),u=!c&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===i;let h="MacIntel"===i;return!c&&h&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${s}x${a}`)>=0&&(c=o.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),l&&!f&&(r.os="android",r.android=!0),(c||u||d)&&(r.os="ios",r.ios=!0),r}(e)),ib}({userAgent:i.userAgent}),o.browser=function FW(){return ob||(ob=function RW(){const e=Xt();return{isSafari:function n(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),ob}(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],i.modules&&Array.isArray(i.modules)&&o.modules.push(...i.modules);const r={};o.modules.forEach(a=>{a({swiper:o,extendParams:Gq(i,r),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const s=ei({},yI,r);return o.params=ei({},s,sb,i),o.originalParams=ei({},o.params),o.passedParams=ei({}
3,i),o.params&&o.params.on&&Object.keys(o.params.on).forEach(a=>{o.on(a,o.params.on[a])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),o.$=$e,Object.assign(o,{enabled:o.params.enabled,el:t,classNames:[],slides:$e(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===o.params.direction,isVertical:()=>"vertical"===o.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEvents:function(){const l=["touchstart","touchmove","touchend","touchcancel"],c=["pointerdown","pointermove","pointerup"];return o.touchEventsTouch={start:l[0],move:l[1],end:l[2],cancel:l[3]},o.touchEventsDesktop={start:c[0],move:c[1],end:c[2]},o.support.touch||!o.params.simulateTouch?o.touchEventsTouch:o.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:Ji(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}enable(){const n=this;n.enabled||(n.enabled=!0,n.params.grabCursor&&n.setGrabCursor(),n.emit("enable"))}disable(){const n=this;n.enabled&&(n.enabled=!1,n.params.grabCursor&&n.unsetGrabCursor(),n.emit("disable"))}setProgress(n,t){const i=this;n=Math.min(Math.max(n,0),1);const o=i.minTranslate(),s=(i.maxTranslate()-o)*n+o;i.translateTo(s,typeof t>"u"?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const n=this;if(!n.params._emitClasses||!n.el)return;const t=n.el.className.split(" ").filter(i=>0===i.indexOf("swiper")||0===i.indexOf(n.params.containerModifierClass));n.emit("_containerClasses",t.join(" "))}getSlideClasses(n){const t=this;return t.destroyed?"":n.className.split(" ").filter(i=>0===i.indexOf("swiper-slide")||0===i.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const n=this;if(!n.params._emitClasses||!n.el)return;const t=[];n.slides.each(i=>{const o=n.getSlideClasses(i);t.push({slideEl:i,classNames:o}),n.emit("_slideClass",i,o)}),n.emit("_slideClasses",t)}slidesPerViewDynamic(n="current",t=!1){const{params:o,slides:r,slidesGrid:s,slidesSizesGrid:a,size:l,activeIndex:c}=this;let d=1;if(o.centeredSlides){let f,u=r[c].swiperSlideSize;for(let h=c+1;h<r.length;h+=1)r[h]&&!f&&(u+=r[h].swiperSlideSize,d+=1,u>l&&(f=!0));for(let h=c-1;h>=0;h-=1)r[h]&&!f&&(u+=r[h].swiperSlideSize,d+=1,u>l&&(f=!0))}else if("current"===n)for(let u=c+1;u<r.length;u+=1)(t?s[u]+a[u]-s[c]<l:s[u]-s[c]<l)&&(d+=1);else for(let u=c-1;u>=0;u-=1)s[c]-s[u]<l&&(d+=1);return d}update(){const n=this;if(!n||n.destroyed)return;const{snapGrid:t,params:i}=n;function o(){const a=Math.min(Math.max(n.rtlTranslate?-1*n.translate:n.translate,n.maxTranslate()),n.minTranslate());n.setTranslate(a),n.updateActiveIndex(),n.updateSlidesClasses()}let r;i.breakpoints&&n.setBreakpoint(),n.updateSize(),n.updateSlides(),n.updateProgress(),n.updateSlidesClasses(),n.params.freeMode&&n.params.freeMode.enabled?(o(),n.params.autoHeight&&n.updateAutoHeight()):(r=n.slideTo(("auto"===n.params.slidesPerView||n.params.slidesPerView>1)&&n.isEnd&&!n.params.centeredSlides?n.slides.length-1:n.activeIndex,0,!1,!0),r||o()),i.watchOverflow&&t!==n.snapGrid&&n.checkOverflow(),n.emit("update")}changeDirection(n,t=!0){const i=this,o=i.params.direction;return n||(n="horizontal"===o?"vertical":"horizontal"),n===o||"horizontal"!==n&&"vertical"!==n||(i.$el.removeClass(`${i.params.containerModifierClass}${o}`).addClass(`${i.params.containerModifierClass}${n}`),i.emitContainerClasses(),i.params.direction=n,i.slides.each(r=>{"vertical"===n?r.style.width="":r.style.height=""}),i.emit("changeDirection"),t&&i.update()),i}changeLanguageDirection(n){const t=this;t.rtl&&"rtl"===n||!t.rtl&&"ltr"===n||(t.rtl="rtl"===n,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}
3rtl`),t.el.dir="ltr"),t.update())}mount(n){const t=this;if(t.mounted)return!0;const i=$e(n||t.params.el);if(!(n=i[0]))return!1;n.swiper=t;const o=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=(()=>{if(n&&n.shadowRoot&&n.shadowRoot.querySelector){const a=$e(n.shadowRoot.querySelector(o()));return a.children=l=>i.children(l),a}return i.children?i.children(o()):$e(i).children(o())})();if(0===s.length&&t.params.createElements){const l=dn().createElement("div");s=$e(l),l.className=t.params.wrapperClass,i.append(l),i.children(`.${t.params.slideClass}`).each(c=>{s.append(c)})}return Object.assign(t,{$el:i,el:n,$wrapperEl:s,wrapperEl:s[0],mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===i.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===i.css("direction")),wrongRTL:"-webkit-box"===s.css("display")}),!0}init(n){const t=this;return t.initialized||!1===t.mount(n)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.slideTo(t.params.loop?t.params.initialSlide+t.loopedSlides:t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(n=!0,t=!0){const i=this,{params:o,$el:r,$wrapperEl:s,slides:a}=i;return typeof i.params>"u"||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),o.loop&&i.loopDestroy(),t&&(i.removeClasses(),r.removeAttr("style"),s.removeAttr("style"),a&&a.length&&a.removeClass([o.slideVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(l=>{i.off(l)}),!1!==n&&(i.$el[0].swiper=null,function TW(e){const n=e;Object.keys(n).forEach(t=>{try{n[t]=null}catch{}try{delete n[t]}catch{}})}(i)),i.destroyed=!0),null}static extendDefaults(n){ei(sb,n)}static get extendedDefaults(){return sb}static get defaults(){return yI}static installModule(n){fi.prototype.__modules__||(fi.prototype.__modules__=[]);const t=fi.prototype.__modules__;"function"==typeof n&&t.indexOf(n)<0&&t.push(n)}static use(n){return Array.isArray(n)?(n.forEach(t=>fi.installModule(t)),fi):(fi.installModule(n),fi)}}Object.keys(rb).forEach(e=>
3{Object.keys(rb[e]).forEach(n=>{fi.prototype[n]=rb[e][n]})}),fi.use([function LW({swiper:e,on:n,emit:t}){const i=Xt();let o=null,r=null;const s=()=>{!e||e.destroyed||!e.initialized||(t("beforeResize"),t("resize"))},c=()=>{!e||e.destroyed||!e.initialized||t("orientationchange")};n("init",()=>{e.params.resizeObserver&&typeof i.ResizeObserver<"u"?!e||e.destroyed||!e.initialized||(o=new ResizeObserver(d=>{r=i.requestAnimationFrame(()=>{const{width:u,height:f}=e;let h=u,m=f;d.forEach(({contentBoxSize:p,contentRect:g,target:v})=>{v&&v!==e.el||(h=g?g.width:(p[0]||p).inlineSize,m=g?g.height:(p[0]||p).blockSize)}),(h!==u||m!==f)&&s()})}),o.observe(e.el)):(i.addEventListener("resize",s),i.addEventListener("orientationchange",c))}),n("destroy",()=>{r&&i.cancelAnimationFrame(r),o&&o.unobserve&&e.el&&(o.unobserve(e.el),o=null),i.removeEventListener("resize",s),i.removeEventListener("orientationchange",c)})},function $W({swiper:e,extendParams:n,on:t,emit:i}){const o=[],r=Xt(),s=(c,d={})=>{const f=new(r.MutationObserver||r.WebkitMutationObserver)(h=>{if(1===h.length)return void i("observerUpdate",h[0]);const m=function(){i("observerUpdate",h[0])};r.requestAnimationFrame?r.requestAnimationFrame(m):r.setTimeout(m,0)});f.observe(c,{attributes:typeof d.attributes>"u"||d.attributes,childList:typeof d.childList>"u"||d.childList,characterData:typeof d.characterData>"u"||d.characterData}),o.push(f)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),t("init",()=>{if(e.params.observer){if(e.params.observeParents){const c=e.$el.parents();for(let d=0;d<c.length;d+=1)s(c[d])}s(e.$el[0],{childList:e.params.observeSlideChildren}),s(e.$wrapperEl[0],{attributes:!1})}}),t("destroy",()=>{o.forEach(c=>{c.disconnect()}),o.splice(0,o.length)})}]);const Ma=fi;function CI(e,n,t,i){const o=dn();
3return e.params.createElements&&Object.keys(i).forEach(r=>{if(!t[r]&&!0===t.auto){let s=e.$el.children(`.${i[r]}`)[0];s||(s=o.createElement("div"),s.className=i[r],e.$el.append(s)),t[r]=s,n[r]=s}}),t}function xa(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}const Xq=["prevElRef"],Kq=["nextElRef"],Zq=["scrollbarElRef"],Qq=["paginationElRef"];function Jq(e,n){1&e&&(At(0),z(1,"div",6,7)(3,"div",8,9),Pt())}function eY(e,n){1&e&&z(0,"div",10,11)}function tY(e,n){1&e&&z(0,"div",12,13)}function nY(e,n){}function iY(e,n){1&e&&R(0,nY,0,0,"ng-template")}function oY(e,n){}function rY(e,n){1&e&&R(0,oY,0,0,"ng-template")}function sY(e,n){}function aY(e,n){1&e&&R(0,sY,0,0,"ng-template")}function lY(e,n){}const EI=e=>({$implicit:e});function cY(e,n){if(1&e&&(y(0,"div",3),R(1,lY,0,0,"ng-template",18),b()),2&e){const t=I().$implicit;S("ngClass",I(2).zoomContainerClass),w(),S("ngTemplateOutlet",t.template)("ngTemplateOutletContext",Jt(3,EI,t.slideData))}}function dY(e,n){}function uY(e,n){if(1&e&&(At(0),R(1,dY,0,0,"ng-template",18),Pt()),2&e){const t=I().$implicit;w(),S("ngTemplateOutlet",t.template)("ngTemplateOutletContext",Jt(2,EI,t.slideData))}}function fY(e,n){if(1&e&&(y(0,"div",15),R(1,cY,2,5,"div",16)(2,uY,2,4,"ng-container",17),b()),2&e){const t=n.$implicit,i=I().key,o=I();(function yi(e){Ei(DS,_$,e,!1)})(o.style),S("ngClass",(t.class?t.class+" ":"")+o.slideClass+(""!==i?" "+o.slideDuplicateClass:""))("ngSwitch",t.zoom),sn("data-swiper-slide-index",t.virtualIndex?t.virtualIndex:t.slideIndex)("data-swiper-autoplay",t.autoplayDelay),w(),S("ngSwitchCase",!0)}}function hY(e,n){1&e&&(R(0,fY,3,7,"div",14),Gi(1,"async")),2&e&&S("ngForOf",Zo(1,1,n.loopSlides))}const pY=[[["","slot","container-start"]],[["","slot","wrapper-start"]],[["","slot","wrapper-end"]],[["","slot","container-end"]]],mY=e=>({loopSlides:e,key:"prepend"}),gY=e=>({loopSlides:e,key:""}),_Y=e=>({loopSlides:e,key:"append"}),vY=["[slot=container-start]","[slot=wrapper-start]","[slot=wrapper-end]","[slot=container-end]"],wI=["init","enabled","_direction","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_preloadImages","updateOnImagesReady","_loop","_loopAdditionalSlides","_loopedSlides","_loopedSlidesLimit","_loopFillGroupWithBlank","loopPreventsSlide","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideBlankClass","slideActiveClass","slideDuplicateActiveClass","slideVisibleClass","slideDuplicateClass","slideNextClass","slideDuplicateNextClass","slidePrevClass","slideDuplicatePrevClass","wrapperClass","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","lazy","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","on"];function Da(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function ab(e){return typeof e<"u"&&"boolean"!=typeof e&&!0===e.enabled}
3function SI(e,n,t){return!0===Hf(e)&&n&&!n.el||!("boolean"!=typeof n&&n.el!==t?.nativeElement&&("string"==typeof n.el||"object"==typeof n.el))}function lr(e,n){const t=["__proto__","constructor","prototype"];Object.keys(n).filter(i=>t.indexOf(i)<0).forEach(i=>{typeof e[i]>"u"?e[i]=n[i]:e[i]&&!n[i]||(Da(n[i])&&Da(e[i])&&Object.keys(n[i]).length>0?n[i].__swiper__?e[i]=n[i]:lr(e[i],n[i]):e[i]=n[i])})}function Hf(e){return null!=e&&"false"!=`${e}`}const bY=["pagination","navigation","scrollbar","virtual"];function Wf(e,n={}){return Da(e)?e:!0===Hf(e)&&n}function lb(e={}){const n={on:{}},t={};lr(n,Ma.defaults),lr(n,Ma.extendedDefaults),n._emitClasses=!0,n.init=!1;const i={},o=wI.map(r=>r.replace(/_/,""));return Object.keys(e).forEach(r=>{const s=r.replace(/^_/,"");o.indexOf(s)>=0?Da(e[r])?(n[s]={},t[s]={},lr(n[s],e[r]),lr(t[s],e[r])):(n[s]=e[r],t[s]=e[r]):i[s]=e[r]}),["navigation","pagination","scrollbar"].forEach(r=>{!0===n[r]&&(n[r]={}),!1===n[r]&&delete n[r]}),{params:n,passedParams:t,rest:i}}wI.map(e=>e.replace(/_/,""));let cb=(()=>{class e{constructor(t){this.template=t,this.class="",this.autoplayDelay=null,this.slideData={isActive:!1,isPrev:!1,isNext:!1,isVisible:!1,isDuplicate:!1}}set ngClass(t){this.class=[this.class||"",t].join(" ")}set zoom(t){this._zoom=Hf(t)}get zoom(){return this._zoom}get classNames(){return this._classNames}set classNames(t){this._classNames!==t&&(this._classNames=t,this.slideData={isActive:this._hasClass(["swiper-slide-active","swiper-slide-duplicate-active"]),isVisible:this._hasClass(["swiper-slide-visible"]),isDuplicate:this._hasClass(["swiper-slide-duplicate"]),isPrev:this._hasClass(["swiper-slide-prev","swiper-slide-duplicate-prev"]),isNext:this._hasClass(["swiper-slide-next","swiper-slide-duplicate-next"])})}_hasClass(t){return t.some(i=>this._classNames.indexOf(i)>=0)}}return e.\u0275fac=function(t){return new(t||e)(C(si))},e.\u0275dir=oe({type:e,selectors:[["ng-template","swiperSlide",""]],inputs:{virtualIndex:"virtualIndex",class:"class",ngClass:"ngClass",autoplayDelay:[Ce.None,"data-swiper-autoplay","autoplayDelay"],zoom:"zoom"}}),e})(),MI=(()=>{class e{constructor(t,i,o,r){this._ngZone=t,this.elementRef=i,this._changeDetectorRef=o,this._platformId=r,this.slideClass="swiper-slide",this.wrapperClass="swiper-wrapper",this.showNavigation=!0,this.showPagination=!0,this.showScrollbar=!0,this.s__beforeBreakpoint=new U,this.s__containerClasses=new U,this.s__slideClass=new U,this.s__swiper=new U,this.s_activeIndexChange=new U,this.s_afterInit=new U,this.s_autoplay=new U,this.s_autoplayStart=new U,this.s_autoplayStop=new U,this.s_autoplayPause=new U,this.s_autoplayResume=new U,this.s_beforeDestroy=new U,this.s_beforeInit=new U,this.s_beforeLoopFix=new U,this.s_beforeResize=new U,this.s_beforeSlideChangeStart=new U,this.s_beforeTransitionStart=new U,this.s_breakpoint=new U,this.s_changeDirection=new U,this.s_click=new U,this.s_doubleTap=new U,this.s_doubleClick=new U,this.s_destroy=new U,this.s_fromEdge=new U,this.s_hashChange=new U,this.s_hashSet=new U,this.s_imagesReady=new U,this.s_init=new U,this.s_keyPress=new U,this.s_lazyImageLoad=new U,this.s_lazyImageReady=new U,this.s_loopFix=new U,this.s_momentumBounce=new U,this.s_navigationHide=new U,this.s_navigationShow=new U,this.s_navigationPrev=new U,this.s_navigationNext=new U,this.s_observerUpdate=new U,this.s_orientationchange=new U,this.s_paginationHide=new U,this.s_paginationRender=new U,this.s_paginationShow=new U,this.s_paginationUpdate=new U,this.s_progress=new U,this.s_reachBeginning=new U,this.s_reachEnd=new U,this.s_realIndexChange=new U,this.s_resize=new U,this.s_scroll=new U,this.s_scrollbarDragEnd=new U,this.s_scrollbarDragMove=new U,this.s_scrollbarDragStart=new U,this.s_setTransition=new U,this.s_setTranslate=new U,this.s_slideChange=new U,this.s_slideChangeTransitionEnd=new U,this.s_slideChangeTransitionStart=new U,this.s_slideNextTransitionEnd=new U,this.s_slideNextTransitionStart=new U,this.s_slidePrevTransitionEnd=new U,this.s_slidePrevTransitionStart=new U,this.s_slideResetTransitionStart=new U,this.s_slideResetTransitionEnd=new U,this.s_sliderMove=new U,this.s_sliderFirstMove=new U,this.s_slidesLengthChange=new U,this.s_slidesGridLengthChange=new U,this.s_snapGridLengthChange=new U,this.s_snapIndexChange=new U,this.s_tap=new U,this.s_toEdge=new U,this.s_touchEnd=new U,this.s_touchMove=new U,this.s_touchMoveOpposite=new U,this.s_touchStart=new U,this.s_transitionEnd=new U,this.s_transitionStart=new U,this.s_update=new U,this.s_zoomChange=new U,this.s_swiper=new U,this.s_lock=new U,this.s_unlock=new U,this._activeSlides=new Se,this.containerClasses="swiper",this.slidesChanges=s=>{this.slides=s.map((a,l)=>(a.slideIndex=l,a.classNames=this.slideClass||"",a)),this.loop&&!this.loopedSlides&&this.calcLoopedSlides(),this.virtual?this.swiperRef&&this.swiperRef.virtual&&this._ngZone.runOutsideAngular(()=>{this.swiperRef.virtual.slides=this.slides,this.swiperRef.virtual.update(!0)}):this.loopedSlides&&(this.prependSlides=re(this.slides.slice(this.slides.length-this.loopedSlides)),this.appendSlides=re(this.slides.slice(0,this.loopedSlides))),this._changeDetectorRef.detectChanges()},this.style=null,this.updateVirtualSlides=s=>{!this.swiperRef||this.currentVirtualData&&this.currentVirtualData.from===s.from&&this.currentVirtualData.to===s.to&&this.currentVirtualData.offset===s.offset||(this.style=this.swiperRef.isHorizontal()?{[this.swiperRef.rtlTranslate?"right":"left"]:`${s.offset}px`}:{top:`${s.offset}px`},this.currentVirtualData=s,this._activeSlides.next(s.slides),this._ngZone.run(()=>{this._changeDetectorRef.detectChanges()}),this._ngZone.runOutsideAngular(()=>{this.swiperRef.updateSlides(),this.swiperRef.updateProgress(),this.swiperRef.updateSlidesClasses(),ab(this.swiperRef.params.lazy)&&this.swiperRef.lazy.load(),this.swiperRef.virtual.update(!0)}))}}set navigation(t){var i,o,r;const s="boolean"!=typeof this._navigation&&""!==this._navigation?null===(i=this._navigation)||void 0===i?void 0:i.nextEl:null,a="boolean"!=typeof this._navigation&&""!==this._navigation?null===(o=this._navigation)||void 0===o?void 0:o.prevEl:null;this._navigation=Wf(t,{nextEl:s||null,prevEl:a||null}),this.showNavigation=!(!0!==Hf(t)||this._navigation&&"boolean"!=typeof this._navigation&&this._navigation.prevEl!==(null===(r=this._prevElRef)||void 0===r?void 0:r.nativeElement)&&(null!==this._navigation.prevEl||null!==this._navigation.nextEl)&&("string"==typeof this._navigation.nextEl||"string"==typeof this._navigation.prevEl||"object"==typeof this._navigation.nextEl||"object"==typeof this._navigation.prevEl))}get navigation(){return this._navigation}set pagination(t){var i;const o="boolean"!=typeof this._pagination&&""!==this._pagination?null===(i=this._pagination)||void 0===i?void 0:i.el:null;this._pagination=Wf(t,{el:o||null}),this.showPagination=SI(t,this._pagination,this._paginationElRef)}get pagination(){return this._pagination}set scrollbar(t){var i;const o="boolean"!=typeof this._scrollbar&&""!==this._scrollbar?null===(i=this._scrollbar)||void 0===i?void 0:i.el:null;this._scrollbar=Wf(t,{el:o||null}),this.showScrollbar=SI(t,this._scrollbar,this._scrollbarElRef)}get scrollbar(){return this._scrollbar}set virtual(t){this._virtual=Wf(t)}get virtual(){return this._virtual}set config(t){this.updateSwiper(t);const{params:i}=lb(t);Object.assign(this,i)}set prevElRef(t){this._prevElRef=t,this._setElement(t,this.navigation,"navigation","prevEl")}set nextElRef(t){this._nextElRef=t,this._setElement(t,this.navigation,"navigation","nextEl")}set scrollbarElRef(t){this._scrollbarElRef=t,this._setElement(t,this.scrollbar,"scrollbar")}set paginationElRef(t){this._paginationElRef=t,this._setElement(t,this.pagination,"pagination")}get activeSlides(){return this.virtual?this._activeSlides:re(this.slides)}get zoomContainerClass(){return this.zoom&&"boolean"!=typeof this.zoom?this.zoom.containerClass:"swiper-zoom-container"}_setElement(t,i,o,r="el"){if(!i||!t)return;if(t.nativeElement){if(i[r]===t.nativeElement)return;i[r]=t.nativeElement}const s={};s[o]=!0,this.updateInitSwiper(s)}ngOnInit(){const{params:t}=lb(this);Object.assign(this,t)}ngAfterViewInit(){this.childrenSlidesInit(),this.initSwiper(),this._changeDetectorRef.detectChanges(),setTimeout(()=>{this.s_swiper.emit(this.swiperRef)})}childrenSlidesInit(){this.slidesChanges(this.slidesEl),this.slidesEl.changes.subscribe(this.slidesChanges)}get isSwiperActive(){return this.swiperRef&&!this.swiperRef.destroyed}initSwiper(){const{params:t}=lb(this);Object.assign(this,t),this._ngZone.runOutsideAngular(()=>{t.init=!1,t.virtual||(t.observer=!0),t.onAny=(l,...c)=>{const d=this["s_"+l];d&&d.emit([...c])}
3,Object.assign(t.on,{_containerClasses:(l,c)=>{setTimeout(()=>{this.containerClasses=c})},_slideClasses:(l,c)=>{c.forEach(({slideEl:d,classNames:u},f)=>{const h=d.getAttribute("data-swiper-slide-index"),m=h?parseInt(h):f;if(this.virtual){const p=this.slides.find(g=>g.virtualIndex&&g.virtualIndex===m);if(p)return void(p.classNames=u)}this.slides[m]&&(this.slides[m].classNames=u)}),this._changeDetectorRef.detectChanges()}});const s=new Ma(t);s.loopCreate=()=>{},s.loopDestroy=()=>{},t.loop&&(s.loopedSlides=this.loopedSlides);const a=ab(s.params.virtual);if(s.virtual&&a){s.virtual.slides=this.slides;const l={cache:!1,slides:this.slides,renderExternal:this.updateVirtualSlides,renderExternalUpdate:!1};lr(s.params.virtual,l),lr(s.originalParams.virtual,l)}if(Pe(this._platformId)){this.swiperRef=s.init(this.elementRef.nativeElement);const l=ab(this.swiperRef.params.virtual);this.swiperRef.virtual&&l&&this.swiperRef.virtual.update(!0),this._changeDetectorRef.detectChanges()}})}ngOnChanges(t){this.updateSwiper(t),this._changeDetectorRef.detectChanges()}updateInitSwiper(t){t&&this.swiperRef&&!this.swiperRef.destroyed&&this._ngZone.runOutsideAngular(()=>{const{pagination:o,navigation:r,scrollbar:s,thumbs:l}=this.swiperRef;t.pagination&&(this.pagination&&"boolean"!=typeof this.pagination&&this.pagination.el&&o&&!o.el?(this.updateParameter("pagination",this.pagination),o.init(),o.render(),o.update()):(o.destroy(),o.el=null)),t.scrollbar&&(this.scrollbar&&"boolean"!=typeof this.scrollbar&&this.scrollbar.el&&s&&!s.el?(this.updateParameter("scrollbar",this.scrollbar),s.init(),s.updateSize(),s.setTranslate()):(s.destroy(),s.el=null)),t.navigation&&(this.navigation&&"boolean"!=typeof this.navigation&&this.navigation.prevEl&&this.navigation.nextEl&&r&&!r.prevEl&&!r.nextEl?(this.updateParameter("navigation",this.navigation),r.init(),r.update()):r.prevEl&&r.nextEl&&(r.destroy(),r.nextEl=null,r.prevEl=null)),t.thumbs&&this.thumbs&&this.thumbs.swiper&&(this.updateParameter("thumbs",this.thumbs),l.init()&&l.update(!0)),t.controller&&this.controller&&this.controller.control&&(this.swiperRef.controller.control=this.controller.control),this.swiperRef.update()})}updateSwiper(t){this._ngZone.runOutsideAngular(()=>{var i,o;if(!t.config&&t&&this.swiperRef&&!this.swiperRef.destroyed){for(const r in t){if(bY.indexOf(r)>=0)continue;const s=null!==(o=null===(i=t[r])||void 0===i?void 0:i.currentValue)&&void 0!==o?o:t[r];this.updateParameter(r,s)}t.allowSlideNext&&(this.swiperRef.allowSlideNext=this.allowSlideNext),t.allowSlidePrev&&(this.swiperRef.allowSlidePrev=this.allowSlidePrev),t.direction&&this.swiperRef.changeDirection(this.direction,!1),t.breakpoints&&(this.loop&&!this.loopedSlides&&this.calcLoopedSlides(),this.swiperRef.currentBreakpoint=null,this.swiperRef.setBreakpoint()),(t.thumbs||t.controller)&&this.updateInitSwiper(t),this.swiperRef.update()}})}calcLoopedSlides(){if(!this.loop)return!1;let t=this.slidesPerView;if(this.breakpoints){const o=Ma.prototype.getBreakpoint(this.breakpoints),r=o in this.breakpoints?this.breakpoints[o]:void 0;r&&r.slidesPerView&&(t=r.slidesPerView)}if("auto"===t)return this.loopedSlides=this.slides.length,this.slides.length;let i=this.loopedSlides||t;return!!i&&(this.loopAdditionalSlides&&(i+=this.loopAdditionalSlides),i>this.slides.length&&(i=this.slides.length),this.loopedSlides=i,!0)}updateParameter(t,i){if(!this.swiperRef||this.swiperRef.destroyed)return;const o=t.replace(/^_/,""),r=Da(this.swiperRef.params[o]);"enabled"!==o?r&&Da(i)?lr(this.swiperRef.params[o],i):this.swiperRef.params[o]=i:!0===i?this.swiperRef.enable():!1===i&&this.swiperRef.disable()}ngOnDestroy(){this._ngZone.runOutsideAngular(()=>{var t;null===(t=this.swiperRef)||void 0===t||t.destroy(!0,!1)})}}return e.\u0275fac=function(t){return new(t||e)(C(ae),C(nt),C(Wo),C(Ae))},e.\u0275cmp=ne({type:e,selectors:[["swiper"],["","swiper",""]],contentQueries:function(t,i,o){if(1&t&&xg(o,cb,4),2&t){let r;qn(r=Yn())&&(i.slidesEl=r)}},viewQuery:function(t,i){if(1&t&&(wi(Xq,5),wi(Kq,5),wi(Zq,5),wi(Qq,5)),2&t){let o;qn(o=Yn())&&(i.prevElRef=o.first),qn(o=Yn())&&(i.nextElRef=o.first),qn(o=Yn())&&(i.scrollbarElRef=o.first),qn(o=Yn())&&(i.paginationElRef=o.first)}},hostVars:2,hostBindings:function(t,i){2&t&&pu(i.containerClasses)},inputs:{enabled:"enabled",on:"on",direction:"direction",touchEventsTarget:"touchEventsTarget",initialSlide:"initialSlide",speed:"speed",cssMode:"cssMode",updateOnWindowResize:"updateOnWindowResize",resizeObserver:"resizeObserver",nested:"nested",focusableElements:"focusableElements",width:"width",height:"height",preventInteractionOnTransition:"preventInteractionOnTransition",userAgent:"userAgent",url:"url",edgeSwipeDetection:"edgeSwipeDetection",edgeSwipeThreshold:"edgeSwipeThreshold",freeMode:"freeMode",autoHeight:"autoHeight",setWrapperSize:"setWrapperSize",virtualTranslate:"virtualTranslate",effect:"effect",breakpoints:"breakpoints",spaceBetween:"spaceBetween",slidesPerView:"slidesPerView",maxBackfaceHiddenSlides:"maxBackfaceHiddenSlides",grid:"grid",slidesPerGroup:"slidesPerGroup",slidesPerGroupSkip:"slidesPerGroupSkip",centeredSlides:"centeredSlides",centeredSlidesB
3ounds:"centeredSlidesBounds",slidesOffsetBefore:"slidesOffsetBefore",slidesOffsetAfter:"slidesOffsetAfter",normalizeSlideIndex:"normalizeSlideIndex",centerInsufficientSlides:"centerInsufficientSlides",watchOverflow:"watchOverflow",roundLengths:"roundLengths",touchRatio:"touchRatio",touchAngle:"touchAngle",simulateTouch:"simulateTouch",shortSwipes:"shortSwipes",longSwipes:"longSwipes",longSwipesRatio:"longSwipesRatio",longSwipesMs:"longSwipesMs",followFinger:"followFinger",allowTouchMove:"allowTouchMove",threshold:"threshold",touchMoveStopPropagation:"touchMoveStopPropagation",touchStartPreventDefault:"touchStartPreventDefault",touchStartForcePreventDefault:"touchStartForcePreventDefault",touchReleaseOnEdges:"touchReleaseOnEdges",uniqueNavElements:"uniqueNavElements",resistance:"resistance",resistanceRatio:"resistanceRatio",watchSlidesProgress:"watchSlidesProgress",grabCursor:"grabCursor",preventClicks:"preventClicks",preventClicksPropagation:"preventClicksPropagation",slideToClickedSlide:"slideToClickedSlide",preloadImages:"preloadImages",updateOnImagesReady:"updateOnImagesReady",loop:"loop",loopAdditionalSlides:"loopAdditionalSlides",loopedSlides:"loopedSlides",loopedSlidesLimit:"loopedSlidesLimit",loopFillGroupWithBlank:"loopFillGroupWithBlank",loopPreventsSlide:"loopPreventsSlide",rewind:"rewind",allowSlidePrev:"allowSlidePrev",allowSlideNext:"allowSlideNext",swipeHandler:"swipeHandler",noSwiping:"noSwiping",noSwipingClass:"noSwipingClass",noSwipingSelector:"noSwipingSelector",passiveListeners:"passiveListeners",containerModifierClass:"containerModifierClass",slideClass:"slideClass",slideBlankClass:"slideBlankClass",slideActiveClass:"slideActiveClass",slideDuplicateActiveClass:"slideDuplicateActiveClass",slideVisibleClass:"slideVisibleClass",slideDuplicateClass:"slideDuplicateClass",slideNextClass:"slideNextClass",slideDuplicateNextClass:"slideDuplicateNextClass",slidePrevClass:"slidePrevClass",slideDuplicatePrevClass:"slideDuplicatePrevClass",wrapperClass:"wrapperClass",runCallbacksOnInit:"runCallbacksOnInit",observeParents:"observeParents",observeSlideChildren:"observeSlideChildren",a11y:"a11y",autoplay:"autoplay",controller:"controller",coverflowEffect:"coverflowEffect",cubeEffect:"cubeEffect",fadeEffect:"fadeEffect",flipEffect:"flipEffect",creativeEffect:"creativeEffect",cardsEffect:"cardsEffect",hashNavigation:"hashNavigation",history:"history",keyboard:"keyboard",lazy:"lazy",mousewheel:"mousewheel",parallax:"parallax",thumbs:"thumbs",zoom:"zoom",slidesPerGroupAuto:"slidesPerGroupAuto",class:"class",id:"id",navigation:"navigation",pagination:"pagination",scrollbar:"scrollbar",virtual:"virtual",config:"config"},outputs:{s__beforeBreakpoint:"_beforeBreakpoint",s__containerClasses:"_containerClasses",s__slideClass:"_slideClass",s__swiper:"_swiper",s_activeIndexChange:"activeIndexChange",s_afterInit:"afterInit",s_autoplay:"autoplay",s_autoplayStart:"autoplayStart",s_autoplayStop:"autoplayStop",s_autoplayPause:"autoplayPause",s_autoplayResume:"autoplayResume",s_beforeDestroy:"beforeDestroy",s_beforeInit:"beforeInit",s_beforeLoopFix:"beforeLoopFix",s_beforeResize:"beforeResize",s_beforeSlideChangeStart:"beforeSlideChangeStart",s_beforeTransitionStart:"beforeTransitionStart",s_breakpoint:"breakpoint",s_changeDirection:"changeDirection",s_click:"click",s_doubleTap:"doubleTap",s_doubleClick:"doubleClick",s_destroy:"destroy",s_fromEdge:"fromEdge",s_hashChange:"hashChange",s_hashSet:"hashSet",s_imagesReady:"imagesReady",s_init:"init",s_keyPress:"keyPress",s_lazyImageLoad:"lazyImageLoad",s_lazyImageReady:"lazyImageReady",s_loopFix:"loopFix",s_momentumBounce:"momentumBounce",s_navigationHide:"navigationHide",s_navigationShow:"navigationShow",s_navigationPrev:"navigationPrev",s_navigationNext:"navigationNext",s_observerUpdate:"observerUpdate",s_orientationchange:"orientationchange",s_paginationHide:"paginationHide",s_paginationRender:"paginationRender",s_paginationShow:"paginationShow",s_paginationUpdate:"paginationUpdate",s_progress:"progress",s_reachBeginning:"reachBeginning",s_reachEnd:"reachEnd",s_realIndexChange:"realIndexChange",s_resize:"resize",s_scroll:"scroll",s_scrollbarDragEnd:"scrollbarDragEnd",s_scrollbarDragMove:"scrollbarDragMove",s_scrollbarDragStart:"scrollbarDragStart",s_setTransition:"setTransition",s_setTranslate:"setTranslate",s_slideChange:"slideChange",s_slideChangeTransitionEnd:"slideChangeTransitionEnd",s_slideChangeTransitionStart:"slideChangeTransitionStart",s_slideNextTransitionEnd:"slideNextTransitionEnd",s_slideNextTransitionStart:"slideNextTransitionStart",s_slidePrevTransitionEnd:"slidePrevTransitionEnd",s_slidePrevTransitionStart:"slidePrevTransitionStart",s_slideResetTransitionStart:"slideResetTransitionStart",s_slideResetTransitionEnd:"slideResetTransitionEnd",s_sliderMove:"sliderMove",s_sliderFirstMove:"sliderFirstMove",s_slidesLengthChange:"slidesLengthChange",s_slidesGridLengthChange:"slidesGridLengthChange",s_snapGridLengthChange:"snapGridLengthChange",s_snapIndexChange:"snapIndexChange",s_tap:"tap",s_toEdge:"toEdge",s_touchEnd:"touchEnd",s_touchMove:"touchMove",s_touchMoveOpposite:"touchMoveOpposite",s_touchStart:"touchStart",s_transitionEnd:"transitionEnd",s_transitionStart:"transitionStart",s_update:"update",s_zoomChange:"zoomChange",s_swiper:"swiper",s_lock:"lock",s_unlock:"unlock"},features:[rn],ngContentSelectors:vY,decls:13,vars:17,consts:[[4,"ngIf"],["class","swiper-scrollbar",4,"ngIf"],["class","swiper-pagination",4,"ngIf"],[3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["slidesTemplate",""],[1,"swiper-button-prev"],["prevElRef",""],[1,"swiper-button-next"],["nextElRef",""],[1,"swiper-scrollbar"],["scrollbarElRef",""],[1,"swiper-pagination"],["paginationElRef",""],[3,"ngClass","style","ngSwitch",4,"ngFor","ngForOf"],[3,"ngClass","ngSwitch"],[3,"ngClass",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,i){if(1&t&&(Eu(pY),go(0),R(1,Jq,5,0,"ng-container",0)(2,eY,2,0,"div",1)(3,tY,2,0,"div",2),y(4,"div",3),go(5,1),R(6,iY,1,0,null,4)(7,rY,1,0,null,4)(8,aY,1,0,null,4),go(9,2),b(),go(10,3),R(11,hY,2,3,"ng-template",null,5,an)),2&t){const o=qt(12);w(),S("ngIf",i.navigation&&i.showNavigation),w(),S("ngIf",i.scrollbar&&i.showScrollbar),w(),S("ngIf",i.pagination&&i.showPagination),w(),S("ngClass",i.wrapperClass),sn("id",i.id),w(2),S("ngTemplateOutlet",o)("ngTemplateOutletContext",Jt(11,mY,i.prependSlides)),w(),S("ngTemplateOutlet",o)("ngTemplateOutletContext",Jt(13,gY,i.activeSlides)),w(),S("ngTemplateOutlet",o)("ngTemplateOutletContext",Jt(15,_Y,i.appendSlides))}},dependencies:[Ee,Dn,OD,bt,Xu,MD,xD,g_],styles:["swiper{display:block}\n"],encapsulation:2,changeDetection:0}),e})(),yY=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=tt({type:e}),e.\u0275inj=Ke({imports:[[y_]]}),e})();const CY=["sliderDefault"],xI=e=>({"max-height.px":e});function EY(e,n){if(1&e){const t=Qe();y(0,"div",9),Q("click",function(o){Me(t);const r=I(2).$implicit;return xe(I(3).openModalVideo(o,r.videoPath))}),z(1,"div",10)(2,"img",11),b()}if(2&e){const t=I(2).$implicit,i=I(3);w(2),ut("src","",i.imagesUrl,"",t.image.path,"",_e),pe("alt","en"===i.currentLang?t.image.altEn:t.image.altRu),S("ngStyle",i.pageData.defaultSliderHeight&&Jt(4,xI,i.pageData.defaultSliderHeight))}}function wY(e,n){if(1&e&&z(0,"img",11),2&e){const t=I(2).$implicit,i=I(3);ut("src","",i.imagesUrl,"",t.image.path,"",_e),pe("alt","en"===i.currentLang?t.image.altEn:t.image.altRu),S("ngStyle",i.pageData.defaultSliderHeight&&Jt(4,xI,i.pageData.defaultSliderHeight))}}function SY(e,n){if(1&e&&R(0,EY,3,6,"div",7)(1,wY,1,6,"ng-template",null,8,an),2&e){const t=qt(2);S("ngIf",I().$implicit.videoPath)("ngIfElse",t)}}function MY(e,n){1&e&&R(0,SY,3,2,"ng-template",6)}const xY=()=>({type:"bullets"}),DY=()=>({delay:3e3}),TY=()=>({spaceBetween:15,centeredSlides:!1}),OY=e=>({1300:e});function IY(e,n){if(1&e){const t=Qe();y(0,"swiper",3,4),Q("click",function(){return Me(t),xe(I(2).stopAutoplay())}),R(2,MY,1,0,null,5),b()}if(2&e){const t=I(2);S("slidesPerView","auto")("spaceBetween",10)("loop",!0)("loopedSlides",t.sliderItems.length)("navigation",!0)("autoHeight",!0)("touchEventsTarget","container")("pagination",Ko(11,xY))("autoplay",Ko(12,DY))("breakpoints",Jt(14,OY,Ko(13,TY))),w(2),S("ngForOf",t.sliderItems)}}function AY(e,n){if(1&e&&(y(0,"div",1),R(1,IY,3,16,"swiper",2),b()),2&e){const t=I();w(),S("ngIf",t.isBrowser)}}let DI=(()=>{class e{constructor(t,i){this.platformId=t,this.dialog=i,this.imagesUrl=Xe.imagesUrl,this.isBrowser=!1,this.isBrowser=Pe(t)}openModalVideo(t,i){t.preventDefault(),this.dialog.open(Ec,{width:"1000px"}).componentInstance.videoSrc=i}stopAutoplay(){this.sliderDefault?.swiperRef.autoplay.stop()}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ae),C(Jn))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-slider-default"]],viewQuery:function(i,o){if(1&i&&wi(CY,5),2&i){let r;qn(r=Yn())&&(o.sliderDefault=r.first)}},inputs:{currentLang:"currentLang",pageData:"pageData",sliderItems:"sliderItems"},decls:1,vars:1,consts:[["class","slider custom-arrows arrows-top overflow-hidden",4,"ngIf"],[1,"slider","custom-arrows","arrows-top","overflow-hidden"],["class","slider-default",3,"slidesPerView","spaceBetween","loop","loopedSlides","navigation","autoHeight","touchEventsTarget","pagination","autoplay","breakpoints","click",4,"ngIf"],[1,"slider-default",3,"slidesPerView","spaceBetween","loop","loopedSlides","navigation","autoHeight","touchEventsTarget","pagination","autoplay","breakpoints","click"],["sliderDefault",""],[4,"ngFor","ngForOf"],["class","slider-default-slide","swiperSlide",""],["class","slider-default-video",3,"click",4,"ngIf","ngIfElse"],["noVideo",""],[1,"slider-default-video",3,"click"],[1,"play-icon","big","white"],[3,"ngStyle","src","alt"]],template:function(i,o){1&i&&R(0,AY,2,1,"div",0),2&i&&S("ngIf",(null==o.sliderItems?null:o.sliderItems.length)&&o.pageData)},dependencies:[bt,Ee,TD,MI,cb]})}return e})(),PY=(()=>{class e{constructor(){this.imagesUrl=Xe.imagesUrl}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-header-aboutus"]],inputs:{images:"images",pageData:"pageData",currentLang:"currentLang"},decls:7,vars:5,consts:[[1,"header","header-aboutus"],[1,"container"],[1,"header-content","content-main-padding"],[1,"section-title-large","page-default-header",3,"innerHTML"],[1,"page-default-content"],[3,"currentLang","pageData","sliderItems"],[1,"header-aboutus-text","big-text","mt-40",3,"innerHTML"]],template:function(i,o){1&i&&(y(0,"section",0)(1,"div",1)(2,"div",2),z(3,"h1",3),y(4,"div",4),z(5,"app-slider-default",5)(6,"div",6),b()()()()),2&i&&(w(3),S("innerHTML","en"===o.currentLang?o.pageData.aboutusTitleEn:o.pageData.aboutusTitleRu,Ot),w(2),S("currentLang",o.currentLang)("pageData",o.pageData)("sliderItems",o.images),w(),S("innerHTML","en"===o.currentLang?o.pageData.aboutusSubtitleEn:o.pageData.aboutusSubtitleRu,Ot))},dependencies:[DI],styles:[".header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{max-width:1030px;animation:fadeInDownUp .5s forwards}.header-aboutus-contacts[_ngcontent-%COMP%]{opacity:0;display:flex;align-items:center;padding:15px;background-color:#262626;border-radius:15px;width:-moz-fit-content;width:fit-content;animation:fadeInLeftRight .5s .4s forwards}.header-aboutus-icons[_ngcontent-%COMP%]{display:flex}.header-aboutus-icons-block[_ngcontent-%COMP%]{display:flex;flex-direction:column}.header-aboutus-icons-block[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:10px}.header-aboutus-icons-block[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{border-radius:13px;transition:transform ease .3s}.header-aboutus-icons-block[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block}.header-aboutus-icons-block[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:not(:last-child){margin-right:8px}.header-aboutus-icons-block[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:#474747;transform:scale(1.1)}.header-aboutus-icons-block[_ngcontent-%COMP%]:nth-child(2){margin-left:40px;margin-right:70px}.header-aboutus-media[_ngcontent-%COMP%]{display:flex;align-items:center}.header-aboutus-media[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{margin-right:18px}.header-aboutus-media[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:last-child{margin-right:24px}.header-aboutus-media[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:15px}.header-aboutus-text[_ngcontent-%COMP%]{max-width:1200px;margin-left:auto;margin-right:auto}@media (max-width: 1300px){.header-title[_ngcontent-%COMP%]{margin-bottom:40px}.header-aboutus-media[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:last-child{margin-right:0}.header-aboutus-text[_ngcontent-%COMP%]{margin-top:20px}}@media (max-width: 600px){.header-aboutus-text[_ngcontent-%COMP%]{font-size:22px}}@media (max-width: 600px){.header-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:inline}.header-aboutus-contacts[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;margin-left:auto}.header-aboutus-contacts[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:160px}.header-aboutus-icons-block[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:10px;font-size:14px}.header-aboutus-icons-block[_ngcontent-%COMP%]:nth-child(2){margin:0}}"]})}return e})(),kY=(()=>{class e{get groupedAchievements(){return this.groupParagraphs("en"===this.currentLang?this.pageData.aboutusInfoEn:this.pageData.aboutusInfoRu)}groupParagraphs(t){const i=t.split("</p>");let o="";for(let r=0;r<i.length-1;r+=2)o+=`<div>${i[r]}</p>${i[r+1]}</p></div>`;return o}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-aboutus-info"]],inputs:{pageData:"pageData",currentLang:"currentLang"},decls:4,vars:1,consts:[[1,"section","aboutus-info","page-default-content"],[1,"container"],[1,"content-main-padding"],[1,"achievements-content",3,"innerHTML"]],template:function(i,o){1&i&&(y(0,"section",0)(1,"div",1)(2,"div",2),z(3,"div",3),b()()()),2&i&&(w(3),S("innerHTML",o.groupedAchievements,Ot))},styles:[".aboutus-info[_ngcontent-%COMP%]{padding-top:0}"]})}return e})();function NY(e,n){if(1&e&&(y(0,"a",6)(1,"span",7),ie(2),b(),z(3,"img",8),b()),2&e){const t=I();pe("href",t.aboutusAwardItem.link.link,_e),w(2),Ye(t.aboutusAwardItem.year)}}function RY(e,n){if(1&e&&(y(0,"span",7),ie(1),b()),2&e){const t=I();w(),Ye(t.aboutusAwardItem.year)}}let FY=(()=>{class e{constructor(){this.imagesUrl=Xe.imagesUrl}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-aboutus-award-item"]],inputs:{currentLang:"currentLang",aboutusAwardItem:"aboutusAwardItem",statusClass:"statusClass"},decls:7,vars:5,consts:[[1,"aboutus-award-item","d-flex","flex-column","p-20",3,"ngClass"],["target","_blank",3,"href",4,"ngIf","ngIfElse"],["noLinkStub",""],[1,"aboutus-award-title","mb-15",3,"innerHTML"],[1,"aboutus-award-item-hover-content","d-flex","flex-column","align-items-start","justify-content-sb"],[1,"aboutus-award-descr",3,"innerHTML"],["target","_blank",3,"href"],[1,"aboutus-award-item-year"],["src","/assets/icons/nav-arrow-corner.svg","alt","arrow link"]],template:function(i,o){if(1&i&&(y(0,"div",0),R(1,NY,4,2,"a",1)(2,RY,2,1,"ng-template",null,2,an),z(4,"div",3),y(5,"div",4),z(6,"div",5),b()()),2&i){const r=qt(3);S("ngClass",o.statusClass),w(),S("ngIf",o.aboutusAwardItem.link)("ngIfElse",r),w(3),S("innerHTML","en"===o.currentLang?o.aboutusAwardItem.titleEn:o.aboutusAwardItem.titleRu,Ot),w(2),S("innerHTML","en"===o.currentLang?o.aboutusAwardItem.textEn:o.aboutusAwardItem.textRu,Ot)}},dependencies:[Dn,Ee],styles:[".aboutus-award-item[_ngcontent-%COMP%]{background-color:#968df9;border-radius:22px;min-height:100%;padding-bottom:30px;transition:all ease .3s}.aboutus-award-item[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:500;color:#fff}.aboutus-award-item-hover-content[_ngcontent-%COMP%]{opacity:0;transition:opacity ease .18s;flex:1}.aboutus-award-item.opened[_ngcontent-%COMP%] .aboutus-award-item-hover-content[_ngcontent-%COMP%]{opacity:1}.aboutus-award-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{filter:invert(1)}.aboutus-award-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{position:relative}.aboutus-award-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:absolute;r
3ight:0;top:30%;height:15px;transform:translateY(-50%)}.aboutus-award-item-year[_ngcontent-%COMP%]{display:block;font-size:32px;font-weight:500;border-bottom:2px solid #BDB4FF;color:#fff;padding-bottom:15px;margin-bottom:15px}.aboutus-award-item[_ngcontent-%COMP%]:hover{transform:scale(1.015);box-shadow:0 0 1px #5b2ae5,0 0 32px #8055fa}.aboutus-award-title[_ngcontent-%COMP%]{font-size:22px;color:#fff}.aboutus-award-descr[_ngcontent-%COMP%]{font-size:16px}.aboutus-award-image[_ngcontent-%COMP%]{max-width:100px;border-radius:22px;overflow:hidden}.aboutus-award-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block}@media (max-width: 1600px){.aboutus-award-item[_ngcontent-%COMP%]{padding:10px}.aboutus-award-title[_ngcontent-%COMP%]{font-size:19px}}@media (max-width: 1500px){.aboutus-award-item[_ngcontent-%COMP%]{padding:15px}.aboutus-award-title[_ngcontent-%COMP%]{font-size:21px}}@media (max-width: 1200px){.aboutus-award-item-hover-content[_ngcontent-%COMP%]{opacity:1}.aboutus-award-descr[_ngcontent-%COMP%]{color:#fff}}"]})}return e})();function LY(e,n){if(1&e){const t=Qe();y(0,"div",6)(1,"app-aboutus-award-item",7),Q("mouseenter",function(){const r=Me(t).index;return xe(I().mouseenter(r))})("mouseleave",function(){const r=Me(t).index;return xe(I().mouseleave(r))}),b()()}if(2&e){const t=n.$implicit,i=n.index,o=I();w(),S("aboutusAwardItem",t)("currentLang",o.currentLang)("statusClass",o.isTablet||o.currentIndex!==i?"closed":"opened")}}let $Y=(()=>{class e{constructor(t){this.platformId=t,this.imagesUrl=Xe.imagesUrl,this.isTablet=!1,this.isBrowser=!1,this.currentIndex=0}ngOnInit(){this.isBrowser=Pe(this.platformId),this.isBrowser&&(this.isTablet=window.innerWidth<=1200)}onResize(t){this.isBrowser=Pe(this.platformId),this.isBrowser&&(this.isTablet=window.innerWidth<=1200)}ngOnChanges(){this.awards.sort((t,i)=>t.year-i.year)}mouseenter(t){this.currentIndex=t}mouseleave(t){this.currentIndex=t}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ae))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-awards-aboutus"]],hostBindings:function(i,o){1&i&&Q("resize",function(s){return o.onResize(s)},0,el)},inputs:{pageData:"pageData",currentLang:"currentLang",awards:"awards"},features:[rn],decls:6,vars:2,consts:[[1,"section","aboutus-awards","page-default-content"],[1,"container"],[1,"content-main-padding"],[1,"section-title","section-title-big","section-title-centered","white","mb-40",3,"innerHTML"],[1,"d-flex","aboutus-awards-items","gap-15"],["class","aboutus-awards-item-component",4,"ngFor","ngForOf"],[1,"aboutus-awards-item-component"],[3,"aboutusAwardItem","currentLang","statusClass","mouseenter","mouseleave"]],template:function(i,o){1&i&&(y(0,"section",0)(1,"div",1)(2,"div",2),z(3,"h2",3),y(4,"div",4),R(5,LY,2,3,"div",5),b()()()()),2&i&&(w(3),S("innerHTML","en"===o.currentLang?o.pageData.aboutusAwardsTitleEn:o.pageData.aboutusAwardsTitleRu,Ot),w(2),S("ngForOf",o.awards))},dependencies:[bt,FY],styles:[".aboutus-awards[_ngcontent-%COMP%]{background-color:#8f7cf8}.aboutus-awards-item-component[_ngcontent-%COMP%]{width:100%}@media (max-width: 1500px){.aboutus-awards-items[_ngcontent-%COMP%]{flex-wrap:wrap;justify-content:space-between;gap:10px}.aboutus-awards-item-component[_ngcontent-%COMP%]{flex:1 0 calc(33% - 10px)}}@media (max-width: 768px){.aboutus-awards-item-component[_ngcontent-%COMP%]{flex:1 0 calc(50% - 10px)}}@media (max-width: 500px){.aboutus-awards-item-component[_ngcontent-%COMP%]{flex:1 0 calc(100% - 10px)}}"]})}return e})();function VY(e,n){if(1&e&&z(0,"app-awards-aboutus",5),2&e){const t=I(2);S("awards",t.awards)("pageData",t.pageData)("currentLang",t.currentLang)}}function BY(e,n){if(1&e&&(At(0),z(1,"app-header-aboutus",2)(2,"app-aboutus-info",3),R(3,VY,1,3,"app-awards-aboutus",4),z(4,"app-contactsup"),Pt()),2&e){const t=I();w(),S("pageData",t.pageData)("images",t.images)("currentLang",t.currentLang),w(),S("pageData",t.pageData)("currentLang",t.currentLang),w(),S("ngIf",t.awards.length)}}let jY=(()=>{class e{constructor(t,i,o){this.langService=t,this.aboutusPageService=i,this.titleService=o,this.images=[],this.awards=[],this.socials=[]}ngOnInit(){this.langService.sharedCurrentSiteLang.subscribe(t=>{this.currentLang=t,this.aboutusPageService.fetchAboutusPageData().subscribe(i=>{this.pageData=i,this.titleService.setTitle("en"===t?i.aboutusSeoTitleEn:i.aboutusSeoTitleRu),this.aboutusPageService.fetchAboutusPageAwards().subscribe(o=>{this.awards=o})}),this.aboutusPageService.fetchAboutusPageImages().subscribe(i=>{this.images=i})})}static#e=this.\u0275fac=function(i){return new(i||e)(C(He),C(WT),C(Zn))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-about-page"]],decls:2,vars:1,consts:[[1,"page-default"],[4,"ngIf"],[3,"pageData","images","currentLang"],[3,"pageData","currentLang"],[3,"awards","pageData","currentLang",4,"ngIf"],[3,"awards","pageData","currentLang"]],template:function(i,o){1&i&&(y(0,"div",0),R(1,BY,5,6,"ng-container",1),b()),2&i&&(w(),S("ngIf",o.pageData))},dependencies:[Ee,fc,PY,kY,$Y]})}return e})();function zY(e,n){if(1&e&&z(0,"img",17),2&e){const t=n.$implicit,i=n.index,o=I(2);ut("src","",o.imagesUrl,"",t.path,"",_e),pe("alt",t.altEn),S("ngClass",o.gameCurrentSliderImageIndex!==i?"hidden-image":"")}}function GY(e,n){if(1&e){const t=Qe();At(0),y(1,"div",18)(2,"img",19),Q("click",function(){const r=Me(t).index;return xe(I(2).pickActiveSliderImageIndex(r))}),b()(),Pt()}if(2&e){const t=n.$implicit,i=I(2);w(2),ut("src","",i.imagesUrl,"",t.path,"",_e),pe("alt",t.altEn)}}const db=e=>["/games/",e];function UY(e,n){if(1&e){const t=Qe();y(0,"div",7)(1,"div",8)(2,"div",9)(3,"a",2),Q("click",function(){Me(t);const o=I();return xe(o.setCurrentGameData(o.gameInfo.id))}),R(4,zY,1,4,"img",10),b()(),y(5,"div",11),R(6,GY,3,3,"ng-container",12),b()(),y(7,"div",13),z(8,"div",14),y(9,"a",15),Q("click",function(){Me(t);const o=I();return xe(o.setCurrentGameData(o.gameInfo.id))}),y(10,"p"),J(11,16),b()()()()}if(2&e){const t=I();w(3),S("routerLink",Jt(5,db,t.gameInfo.slug)),w(),S("ngForOf",t.posters),w(2),S("ngForOf",t.posters),w(2),S("innerHTML","en"===t.currentLang?t.gameInfo.descriptionEn:t.gameInfo.descriptionRu,Ot),w(),S("routerLink",Jt(7,db,t.gameInfo.slug))}}let HY=(()=>{class e{constructor(t,i){this.gamesService=t,this.langService=i,this.platforms=[],this.posters=[],this.gameCurrentSliderImageIndex=0,this.imagesUrl=Xe.imagesUrl,this.currentLang=this.langService.getCurrentLang()}ngOnInit(){this.posters=this.gameInfo.gamesGalleryEntity.filter(t=>t.type==this.type).sort((t,i)=>t.position<i.position?-1:1).map(t=>t.image),this.platforms=this.gameInfo.gamePlatformsEntity}setCurrentGameData(t){this.gamesService.setCurrentGameData(t)}pickActiveSliderImageIndex(t){this.gameCurrentSliderImageIndex=t}static#e=this.\u0275fac=function(i){return new(i||e)(C(Qi),C(He))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-game-card"]],inputs:{type:"type",gameInfo:"gameInfo"},decls:7,vars:7,consts:()=>{let t;return t="More",[[1,"game-card"],[1,"game-card-header","d-flex","justify-content-sb","gap-15"],[3,"routerLink","click"],[1,"section-title-large","game-card-header-title",3,"innerHTML"],[1,"game-card-links"],[3,"platforms","toRight"],["class","game-card-content",4,"ngIf"],[1,"game-card-content"],[1,"game-card-poster-block","d-flex"],[1,"game-card-poster"],[3,"ngClass","src","alt",4,"ngFor","ngForOf"],[1,"game-card-poster-previews","d-flex","flex-column","justify-content-sb"],[4,"ngFor","ngForOf"],[1,"game-card-footer"],[1,"game-card-footer-description","mt-20","mb-15",3,"innerHTML"],[1,"main-button","main-button-nobody",3,"routerLink","click"],t,[3,"ngClass","src","alt"],[1,"game-card-poster-preview","animated-scale-small"],[1,"",3,"src","alt","click"]]},template:function(i,o){1&i&&(y(0,"div",0)(1,"div",1)(2,"a",2),Q("click",function(){return o.setCurrentGameData(o.gameInfo.id)}),z(3,"h2",3),b(),y(4,"div",4),z(5,"app-game-links",5),b()(),R(6,UY,12,9,"div",6),b()),2&i&&(w(2),S("routerLink",Jt(5,db,o.gameInfo.slug)),w(),S("innerHTML",o.gameInfo.title,Ot),w(2),S("platforms",o.platforms)("toRight",!0),w(),S("ngIf",o.posters.length))},dependencies:[Dn,bt,Ee,cn,Zv],styles:[".game-card[_ngcontent-%COMP%]{position:relative}.game-card-header[_ngcontent-%COMP%]{align-items:center;margin-bottom:35px}.game-card-links[_ngcontent-%COMP%]{flex:1;min-width:20%}.game-card-content[_ngcontent-%COMP%]{position:relative}.game-card-poster[_ngcontent-%COMP%]{display:flex}.game-card-poster-block[_ngcontent-%COMP%]{gap:20px}.game-card-poster-previews[_ngcontent-%COMP%]{gap:18px;max-width:23.2%}.game-card-poster[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;min-height:100%;opacity:1;transition:opacity ease .3s;border-radius:22px}.game-card-poster[_ngcontent-%COMP%] img.hidden-image[_ngcontent-%COMP%]{position:absolute;pointer-events:none;opacity:.5;visibility:hidden}.game-card-poster-preview[_ngcontent-%COMP%]{cursor:pointer;transition:all ease .25s;border-radius:22px;overflow:hidden}.game-card-poster-preview[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block}.game-card-poster-preview[_ngcontent-%COMP%]:hover{box-shadow:0 0 10px 1px #ffffff59}.game-card-footer[_ngcontent-%COMP%]{margin-top:40px;gap:20px}.game-card-footer-description[_ngcontent-%COMP%]{max-width:1000px;font-weight:400;font-size:24px;line-height:1.3}@media (min-width: 1601px){.game-card-poster[_ngcontent-%COMP%]{min-width:1086px}}@media (max-width: 1600px){.game-card-footer[_ngcontent-%COMP%]{margin-top:20px}.game-card-footer-description[_ngcontent-%COMP%]{font-size:20px}}@media (max-width: 1440px){.game-card-poster-previews[_ngcontent-%COMP%]{max-width:23%}}@media (max-width: 1100px){.game-card-links[_ngcontent-%COMP%]{flex:unset}}@media (max-width: 1024px){.game-card-header[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start!important;margin-bottom:20px}.game-card-footer[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start!important;margin-top:0}.game-card-footer-description[_ngcontent-%COMP%]{max-width:unset;margin-right:0}.game-card-poster-block[_ngcontent-%COMP%]{flex-direction:column}.game-card-poster-previews[_ngcontent-%COMP%]{flex-direction:row!important;max-width:unset}.game-card-poster-preview[_ngcontent-%COMP%]{width:32%}}@media (max-width: 992px){.game-card-footer-more[_ngcontent-%COMP%]{flex-wrap:wrap}}@media (max-width: 768px){.game-card-header[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;margin-bottom:20px}.game-card-header-title[_ngcontent-%COMP%]{min-width:unset;width:auto}.game-card-footer[_ngcontent-%COMP%]{margin-top:20px}.game-card-footer-more[_ngcontent-%COMP%]{margin-right:0}.game-card-poster-preview[_ngcontent-%COMP%]{border-radius:12px}}"]})}return e})();function WY(e,n){if(1&e&&(y(0,"div",5),z(1,"app-game-card",6),b()),2&e){const t=n.$implicit;w(),S("type","gameListImages")("gameInfo",t)}}const TI="gameCards";let qY=(()=>{class e{constructor(t,i,o){this.platformId=t,this.gamesService=i,this.transferState=o,this.isBrowser=Pe(this.platformId)}ngOnInit(){this.isBrowser?this.gameCards=this.transferState.get(TI,[]):this.gamesService.fetchGames().subscribe(t=>{this.transferState.set(TI,t)})}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ae),C(Qi),C(vt))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-games-list"]],decls:5,vars:1,consts:[[1,"header"],[1,"container"],[1,"content-main-padding"],[1,"games-list"],["class","games-list-item",4,"ngFor","ngForOf"],[1,"games-list-item"],[3,"type","gameInfo"]],template:function(i,o){1&i&&(y(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3),R(4,WY,2,2,"div",4),b()()()()),2&i&&(w(4),S("ngForOf",o.gameCards))},dependencies:[bt,HY],styles:[".games-list[_ngcontent-%COMP%]{min-height:100vh}.games-list-item[_ngcontent-%COMP%]:not(:first-child){margin-top:80px}@media (max-width: 1600px){.games-list-item[_ngcontent-%COMP%]:not(:first-child){margin-top:50px}}"]})}return e})(),YY=(()=>{class e{constructor(t,i){this.langService=t,this.titleService=i}ngOnInit(){this.langService.sharedCurrentSiteLang.subscribe(t=>{this.currentLang=t,this.titleService.setTitle("en"===t?"Games of VIZOR":"\u0418\u0433\u0440\u044b VIZOR")})}static#e=this.\u0275fac=function(i){return new(i||e)(C(He),C(Zn))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-games-page"]],decls:3,vars:0,consts:[[1,"page-default","page-default-header"]],template:function(i,o){1&i&&(y(0,"div",0),z(1,"app-games-list")(2,"app-contactsup"),b())},dependencies:[fc,qY]})}return e})(),Sc=(()=>{class e{constructor(){this.returnPage=new Fe(""),this.sharedReturnPage=this.returnPage.asObservable()}setReturnPage(t){return this.returnPage.next(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function KY(e,n){if(1&e&&(y(0,"div"),z(1,"img",10),b()),2&e){const t=I().$implicit,i=I(3);w(),ut("src","",i.imagesUrl,"",t.path,"",_e),pe("alt",t.altEn)}}function ZY(e,n){1&e&&R(0,KY,2,3,"ng-template",9)}const QY=()=>({type:"bullets"});function JY(e,n){if(1&e&&(y(0,"swiper",7),R(1,ZY,1,0,null,8),b()),2&e){const t=I(2);S("slidesPerView",1)("spaceBetween",10)("loop",!0)("navigation",!0)("pagination",Ko(6,QY)),w(),S("ngForOf",t.posters)}}function eX(e,n){if(1&e&&(y(0,"div",5),R(1,JY,2,7,"swiper",6),b()),2&e){const t=I();w(),S("ngIf",t.isBrowser)}}function tX(e,n){if(1&e&&(y(0,"div"),z(1,"img",10),b()),2&e){const t=I(2);w(),ut("src","",t.imagesUrl,"",null==t.posters[0]?null:t.posters[0].path,"",_e),pe("alt",null==t.posters[0]?null:t.posters[0].path)}}function nX(e,n){1&e&&R(0,tX,2,3,"div",11),2&e&&S("ngIf",I().posters[0])}let iX=(()=>{class e{constructor(t,i,o){this.platformId=t,this.gamesService=i,this.route=o,this.imagesUrl=Xe.imagesUrl,this.posters=[],this.isBrowser=!1,this.isBrowser=Pe(t)}ngOnInit(){this.route.url.subscribe(t=>{this.posters.length>1&&(this.posters=[])}),this.gamesService.sharedGame.subscribe(t=>
3{t.id&&(this.gameInfo=t,this.posters=this.gameInfo.gamesGalleryEntity.filter(i=>i.type==this.type).sort((i,o)=>i.position<o.position?-1:1).map(i=>i.image))})}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ae),C(Qi),C(Qn))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-game-slider"]],inputs:{type:"type"},decls:6,vars:2,consts:[[1,"section","game-slider"],[1,"container"],[1,"game-slider-content","content-main-margin"],["class","slider custom-arrows arrows-top overflow-hidden",4,"ngIf","ngIfElse"],["singleImage",""],[1,"slider","custom-arrows","arrows-top","overflow-hidden"],["class","mySwiper",3,"slidesPerView","spaceBetween","loop","navigation","pagination",4,"ngIf"],[1,"mySwiper",3,"slidesPerView","spaceBetween","loop","navigation","pagination"],[4,"ngFor","ngForOf"],["swiperSlide",""],[3,"src","alt"],[4,"ngIf"]],template:function(i,o){if(1&i&&(y(0,"section",0)(1,"div",1)(2,"div",2),R(3,eX,2,1,"div",3)(4,nX,1,1,"ng-template",null,4,an),b()()()),2&i){const r=qt(5);w(3),S("ngIf",o.posters&&o.posters.length>1)("ngIfElse",r)}},dependencies:[bt,Ee,MI,cb],styles:[".game-slider[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;display:block;border-radius:15px}@media (max-width: 992px){.game-slider[_ngcontent-%COMP%]{margin-bottom:0}}"]})}return e})(),qf=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-back-button"]],inputs:{link:"link",additional_class:"additional_class",gameButton:"gameButton"},decls:6,vars:6,consts:()=>{let t;return t="Back to the list",[[3,"ngClass"],[1,"back-button",3,"routerLink","ngClass"],["id","back-button",1,"back-button-container"],["src","/assets/icons/arrow-left-black.svg","alt","back"],[1,"back-button-text"],t]},template:function(i,o){1&i&&(y(0,"div",0)(1,"a",1)(2,"div",2),z(3,"img",3),y(4,"span",4),J(5,5),b()()()()),2&i&&(pu(o.additional_class),pe("ngClass",o.gameButton?"":"page-default-header"),w(),pe("routerLink",o.link),S("ngClass",o.gameButton?"game-button":""))},dependencies:[Dn,cn],styles:[".back-button[_ngcontent-%COMP%]{z-index:1000}.back-button.absolute[_ngcontent-%COMP%]{position:absolute;top:87px;left:35px}.back-button.game-button[_ngcontent-%COMP%]{position:absolute;top:40px;left:30px;background:#fff;padding:15px;border-radius:50px}.back-button.game-button[_ngcontent-%COMP%] .back-button-container[_ngcontent-%COMP%]{filter:none}.back-button.game-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:35px;height:35px}.back-button[_ngcontent-%COMP%] .white[_ngcontent-%COMP%]{color:#121212}.back-button-container[_ngcontent-%COMP%]{display:flex;align-items:center}.back-button-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px}.back-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{transition:transform ease .25s}.back-button[_ngcontent-%COMP%]:hover img[_ngcontent-%COMP%]{transform:scale(1.05)}.back-button[_ngcontent-%COMP%]:active img[_ngcontent-%COMP%]{transform:scale(.99)}.back-button-text[_ngcontent-%COMP%]{margin-left:10px;font-size:14px;line-height:120%;color:#121212!important}@media (max-width: 768px){.back-button-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px}.back-button.game-button[_ngcontent-%COMP%]{top:20px;left:20px;padding:10px}}@media (max-width: 600px){.back-button.game-button[_ngcontent-%COMP%]{top:15px;left:15px;padding:8px}.back-button.game-button[_ngcontent-%COMP%] .back-button-text[_ngcontent-%COMP%]{font-size:12px}.back-button.game-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:32px;height:32px}}@media (max-width: 450px){.back-button.game-button[_ngcontent-%COMP%]{top:15px;left:15px;padding:6px 8px 6px 6px}.back-button.game-button[_ngcontent-%COMP%] .back-button-text[_ngcontent-%COMP%]{font-size:11px;margin-left:6px}.back-button.game-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:25px;height:25px}}"]})}return e})();function oX(e,n){if(1&e&&z(0,"img",15),2&e){const t=I(2);ut("src","",t.imagesUrl,"",t.poster.path,"",_e),pe("alt","en"===t.currentLang?t.poster.altEn:t.poster.altRu)}}function rX(e,n){if(1&e&&z(0,"img",16),2&e){const t=I(2);ut("src","",t.imagesUrl,"",t.logo.path,"",_e),pe("alt","en"===t.currentLang?t.logo.altEn:t.logo.altRu)}}function sX(e,n){if(1&e){const t=Qe();y(0,"a",17),Q("click",function(o){Me(t);const r=I(2);return xe(r.openModalVideo(o,r.gameInfo.gameTrailer))}),b()}2&e&&pe("href",I(2).gameInfo.gameTrailer,_e)}function aX(e,n){if(1&e&&(y(0,"div",18),z(1,"app-slider-default",19),b()),2&e){const t=I(2);w(),S("currentLang",t.currentLang)("pageData",t.gameInfo)("sliderItems",t.gameSliderGameplayImages)}}function lX(e,n){if(1&e&&(y(0,"section",1)(1,"div",2)(2,"div",3),z(3,"h1",4),y(4,"div",5),z(5,"app-back-button",6),R(6,oX,1,3,"img",7)(7,rX,1,3,"img",8)(8,sX,1,1,"a",9),b(),y(9,"div",10),z(10,"div",11),y(11,"div",12),z(12,"app-game-links",13),b()(),R(13,aX,2,3,"div",14),b()()()),2&e){const t=I();w(3),S("innerHTML",t.gameInfo.title,Ot),w(2),S("gameButton",!0),w(),S("ngIf",t.poster),w(),S("ngIf",t.logo),w(),S("ngIf",t.gameInfo.gameTrailer),w(2),S("innerHTML","en"===t.currentLang?t.gameInfo.additionalDescriptionEn:t.gameInfo.additionalDescriptionRu,Ot),w(2),S("platforms",t.platforms),w(),S("ngIf",t.gameSliderGameplayImages.length)}}let cX=(()=>{class e{constructor(t,i,o){this.gamesService=t,this.dialog=i,this.route=o,this.imagesUrl=Xe.imagesUrl,this.poster=[],this.logo=[],this.gameSliderGameplayImages=[]}ngOnInit(){this.route.url.subscribe(t=>{this.gameSliderGameplayImages.length>1&&(this.gameSliderGameplayImages=[])}),this.logo=[],this.gamesService.sharedGame.subscribe(t=>
3{t.id&&(this.gameInfo=t,this.platforms=this.gameInfo.gamePlatformsEntity,this.poster=this.gameInfo.gamesGalleryEntity.find(i=>i.type==this.gameMainImage).image,this.logo=this.gameInfo.gamesGalleryEntity.find(i=>i.type==this.gameLogoImage),this.logo&&(this.logo=this.logo.image),this.gameSliderGameplayImages=[],t.gamesGalleryEntity.map(i=>{"gameSliderGameplay"===i.type&&this.gameSliderGameplayImages.push(i)}))})}openModalVideo(t,i){t.preventDefault(),this.dialog.open(Ec,{width:"1000px"}).componentInstance.videoSrc=i}static#e=this.\u0275fac=function(i){return new(i||e)(C(Qi),C(Jn),C(Qn))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-game-header"]],inputs:{gameMainImage:"gameMainImage",gameLogoImage:"gameLogoImage",currentLang:"currentLang"},decls:1,vars:1,consts:[["class","section game-header",4,"ngIf"],[1,"section","game-header"],[1,"container"],[1,"game-header-content","content-main-padding"],[1,"section-title-large",3,"innerHTML"],[1,"game-header-image-block","page-default-header"],["link","/games",3,"gameButton"],["class","game-header-image",3,"src","alt",4,"ngIf"],["class","game-header-logo",3,"src","alt",4,"ngIf"],["class","play-icon big white","target","_blank",3,"href","click",4,"ngIf"],[1,"game-header-text-block","page-default-content","mb-40","d-flex","align-items-center","flex-column","justify-content-center","gap-35"],[1,"game-header-descr","big-text",3,"innerHTML"],[1,"game-header-links"],[3,"platforms"],["class","slider-game-header page-default-content",4,"ngIf"],[1,"game-header-image",3,"src","alt"],[1,"game-header-logo",3,"src","alt"],["target","_blank",1,"play-icon","big","white",3,"href","click"],[1,"slider-game-header","page-default-content"],[3,"currentLang","pageData","sliderItems"]],template:function(i,o){1&i&&R(0,lX,14,8,"section",0),2&i&&S("ngIf",o.gameInfo)},dependencies:[Ee,Zv,qf,DI],styles:[".game-header-content[_ngcontent-%COMP%]{position:relative}.game-header-descr[_ngcontent-%COMP%]{max-width:1000px;margin-left:auto;margin-right:auto;text-align:center}.game-header-image[_ngcontent-%COMP%]{border-radius:22px;overflow:hidden;display:block;width:100%}.game-header-image-block[_ngcontent-%COMP%]{position:relative}.game-header-logo[_ngcontent-%COMP%]{position:absolute;bottom:25px;left:50%;transform:translate(-50%) translateY(50%);max-height:145px}.game-header-text-block[_ngcontent-%COMP%]{margin-top:75px}@media (max-width: 1600px){.game-header-text-block[_ngcontent-%COMP%]{margin-top:50px}.game-header-logo[_ngcontent-%COMP%]{max-height:130px}.game-header-descr[_ngcontent-%COMP%]{font-size:18px;max-width:75%;margin-bottom:10px}}@media (max-width: 768px){.game-header-text-block[_ngcontent-%COMP%]{margin-top:35px}.game-header-logo[_ngcontent-%COMP%]{max-height:100px;bottom:15px}}@media (max-width: 600px){.game-header-descr[_ngcontent-%COMP%]{max-width:100%}}@media (max-width: 500px){.game-header-logo[_ngcontent-%COMP%]{max-height:65px}}@media (max-width: 600px){.game-header-logo[_ngcontent-%COMP%]{max-height:55px;bottom:5px}}"]})}return e})();function dX(e,n){if(1&e&&(y(0,"section",1)(1,"div",2)(2,"div",3),z(3,"div",4),b()()()),2&e){const t=I();w(3),S("innerHTML",t.groupedAchievements,Ot)}}let uX=(()=>{class e{get groupedAchievements(){return this.groupParagraphs("en"===this.currentLang?this.gameInfo.gameAchievementsEn:this.gameInfo.gameAchievementsRu)}groupParagraphs(t){const i=t.split("</p>");let o="";for(let r=0;r<i.length-1;r+=2)o+=`<div>${i[r]}</p>${i[r+1]}</p></div>`;return o}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-game-achievements"]],inputs:{currentLang:"currentLang",gameInfo:"gameInfo"},decls:1,vars:1,consts:[["class","section game-achievements pt-10 pb-10",4,"ngIf"],[1,"section","game-achievements","pt-10","pb-10"],[1,"container"],[1,"content-main-padding"],[1,"achievements-content",3,"innerHTML"]],template:function(i,o){1&i&&R(0,dX,4,1,"section",0),2&i&&S("ngIf",o.gameInfo)},dependencies:[Ee]})}return e})();function fX(e,n){if(1&e&&(y(0,"a",8),z(1,"img",9),b()),2&e){const t=n.$implicit,i=I(2);pe("href",t.link.link,_e),w(),ut("src","",i.imagesUrl,"",t.image.path,"",_e),pe("alt","en"===i.currentLang?t.image.altEn:t.image.altRu)}}function hX(e,n){if(1&e&&(y(0,"section",1)(1,"div",2)(2,"div",3)(3,"h2",4),J(4,5),b(),y(5,"div",6),R(6,fX,2,4,"a",7),b()()()()),2&e){const t=I();w(6),S("ngForOf",t.socials)}}let pX=(()=>{class e{constructor(t){this.gamesService=t,this.imagesUrl=Xe.imagesUrl}ngOnInit(){this.gamesService.sharedGame.subscribe(t=>
3{t.id&&(this.socials=t.gameSocialsEntity)})}static#e=this.\u0275fac=function(i){return new(i||e)(C(Qi))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-game-socials"]],inputs:{currentLang:"currentLang"},decls:1,vars:1,consts:()=>{let t;return t="Join us",[["class","section game-socials",4,"ngIf"],[1,"section","game-socials"],[1,"container"],[1,"d-flex","align-items-center","flex-wrap","justify-content-center","gap-30"],[1,"section-title-big"],t,[1,"d-flex","justify-content-center"],["target","_blank","class","game-socials-icon-item animated-scale",3,"href",4,"ngFor","ngForOf"],["target","_blank",1,"game-socials-icon-item","animated-scale",3,"href"],[3,"src","alt"]]},template:function(i,o){1&i&&R(0,hX,7,1,"section",0),2&i&&S("ngIf",o.socials&&o.socials.length>0)},dependencies:[bt,Ee],styles:[".game-socials[_ngcontent-%COMP%]{padding-top:0}.game-socials[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center;margin-bottom:0}.game-socials-icon-item[_ngcontent-%COMP%]{display:block;max-width:47px;max-height:47px;margin:10px}.game-socials-icon-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:47px}"]})}return e})();function mX(e,n){if(1&e&&z(0,"app-contactsup",6),2&e){const t=I();S("separateSupportLink","en"===t.currentLang?t.gameInfo.gameSupportLinkEn:t.gameInfo.gameSupportLinkRu)}}let gX=(()=>{class e{constructor(t,i,o,r,s,a){this.langService=t,this.router=i,this.gamesService=o,this.route=r,this.titleService=s,this.pageNotFoundService=a}ngOnInit(){this.langService.sharedCurrentSiteLang.subscribe(t=>{this.currentLang=t}),this.pageNotFoundService.setReturnPage("games"),this.route.url.subscribe(t=>{this.gamesService.fetchGameBySlug(t[1].path).subscribe(i=>{this.gamesService.setCurrentGame(i),this.gameInfo=i,this.titleService.setTitle(function XY(e){return e.replaceAll(/(<.*?>)/g,"").replaceAll(/( )/g," ")}(i.title))},i=>{404==i.status&&(this.pageNotFoundService.setReturnPage("games"),this.router.navigateByUrl("/404",{skipLocationChange:!0}))})})}static#e=this.\u0275fac=function(i){return new(i||e)(C(He),C(en),C(Qi),C(Qn),C(Zn),C(Sc))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-game-page"]],decls:6,vars:8,consts:[[1,"page-default"],[3,"gameMainImage","gameLogoImage","currentLang"],[3,"currentLang","gameInfo"],[3,"type"],[3,"currentLang"],[3,"separateSupportLink",4,"ngIf"],[3,"separateSupportLink"]],template:function(i,o){1&i&&(y(0,"div",0),z(1,"app-game-header",1)(2,"app-game-achievements",2)(3,"app-game-slider",3)(4,"app-game-socials",4),R(5,mX,1,1,"app-contactsup",5),b()),2&i&&(w(),S("gameMainImage","gameMainImage")("gameLogoImage","gameLogoImage")("currentLang",o.currentLang),w(),S("currentLang",o.currentLang)("gameInfo",o.gameInfo),w(),S("type","gameSliderImages"),w(),S("currentLang",o.currentLang),w(),S("ngIf",o.gameInfo))},dependencies:[Ee,fc,iX,cX,uX,pX],encapsulation:2})}return e})();function _X(e,n){if(1&e&&(At(0),z(1,"app-blog-preview-item",11),Pt()),2&e){const t=n.$implicit,i=n.index;w(),vn("blog-preview-item-first",0===i),S("firstNews",0===i)("importantCheck",!1)("item",t)}}function vX(e,n){if(1&e){const t=Qe();y(0,"div",12)(1,"button",13),Q("click",function(){return Me(t),xe(I(2).showMore())}),J(2,14),b()()}}function bX(e,n){if(1&e&&(y(0,"section",1)(1,"div",2)(2,"div",3)(3,"h1",4),J(4,5),b(),y(5,"div",6)(6,"div",7)(7,"div",8),R(8,_X,2,5,"ng-container",9),b(),R(9,vX,3,0,"div",10),b()()()()()),2&e){const t=I();w(8),S("ngForOf",t.visibleItems),w(),S("ngIf",t.visibleItems.length<t.blogData.newsList.length)}}let yX=(()=>{class e{constructor(){this.visibleItems=[],this.itemsToShow=4,this.itemsToAdd=3}ngOnInit(){this.updateVisibleItems()}showMore(){this.itemsToShow+=this.itemsToAdd,this.updateVisibleItems()}updateVisibleItems(){this.visibleItems=this.blogData.newsList&&Array.isArray(this.blogData.newsList)?this.blogData.newsList.slice(0,this.itemsToShow):[]}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-blog"]],inputs:{blogData:"blogData"},decls:1,vars:1,consts:()=>{let t,i;return t="Blog",i="Show more",[["class","header blog-section",4,"ngIf"],[1,"header","blog-section"],[1,"container"],[1,"content-main-padding"],[1,"section-title-large","header-title","page-default-header"],t,[1,"page-default-content"],[1,"blog-content"],[1,"blog-content-news","d-flex","flex-wrap","gap-20","align-items-stretch"],[4,"ngFor","ngForOf"],["class","d-flex align-items-center justify-content-center mt-35",4,"ngIf"],[3,"firstNews","importantCheck","item"],[1,"d-flex","align-items-center","justify-content-center","mt-35"],[1,"main-button","main-button-nobody",3,"click"],i]},template:function(i,o){1&i&&R(0,bX,10,2,"section",0),2&i&&S("ngIf",o.blogData)},dependencies:[bt,Ee,Xv],styles:["section[_ngcontent-%COMP%]{background-color:#f2f2f2}@media (max-width: 768px){.blog-section[_ngcontent-%COMP%]{margin-bottom:0}}@media (min-width: 601px){.blog-preview-item-first[_ngcontent-%COMP%]{width:100%;margin-bottom:35px}}"]})}return e})();function CX(e,n){1&e&&z(0,"app-blog",1),2&e&&S("blogData",I().blogData)}let EX=(()=>{class e{constructor(t,i,o){this.blogService=t,this.langService=i,this.titleService=o}ngOnInit(){this.blogService.fetchBlog().subscribe(t=>{this.langService.sharedCurrentSiteLang.subscribe(i=>{this.titleService.setTitle("en"===i?"VIZOR Blog":"\u0416\u0443\u0440\u043d\u0430\u043b VIZOR")}),this.blogData=t})}static#e=this.\u0275fac=function(i){return new(i||e)(C(wf),C(He),C(Zn))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-blog-page"]],decls:2,vars:1,consts:[[3,"blogData",4,"ngIf"],[3,"blogData"]],template:function(i,o){1&i&&(y(0,"div"),R(1,CX,1,1,"app-blog",0),b()),2&i&&(w(),S("ngIf",o.blogData))},dependencies:[Ee,yX]})}return e})(),OI=(()=>{class e{constructor(t){this.http=t}fetchContactsPageData(){return this.http.get(ke.contactusUrl)}sendForm(t){return this.http.post(ke.formsUrl,t)}static#e=this.\u0275fac=function(i){return new(i||e)(T(Kn))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wX(e,n){if(1&e&&(y(0,"div",10),z(1,"img",11),b()),2&e){const t=I();w(),ut("src","",t.imagesUrl,"",t.pageData.image.path,"",_e),pe("alt","en"===t.currentLang?t.pageData.image.altEn:t.pageData.image.altRu)}}let SX=(()=>{class e{constructor(){this.imagesUrl=Xe.imagesUrl}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-contacts-header"]],inputs:{pageData:"pageData",currentLang:"currentLang"},decls:10,vars:2,consts:()=>{let t;return t="Head office Cyprus",[[1,"header","offices"],[1,"container"],[1,"content-main-padding"],[1,"offices-content","d-flex","flex-column"],[1,"offices-block"],[1,"page-default-header","d-flex","align-items-center","justify-content-sb","gap-20","mb
3-30"],[1,"section-title-large","mb-0"],t,[1,"offices-address",3,"innerHTML"],["class","offices-image-block page-default-content mt-30",4,"ngIf"],[1,"offices-image-block","page-default-content","mt-30"],[3,"src","alt"]]},template:function(i,o){1&i&&(y(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"h1",6),J(7,7),b(),z(8,"div",8),b()(),R(9,wX,2,3,"div",9),b()()()()),2&i&&(w(8),S("innerHTML","en"===o.currentLang?o.pageData.contactusAddressEn:o.pageData.contactusAddressRu,Ot),w(),S("ngIf",o.pageData))},dependencies:[Ee],styles:[".offices-address[_ngcontent-%COMP%]{max-width:520px;font-size:21px;width:100%}.offices-image-block[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;border-radius:15px}@media (max-width: 1200px){.offices-block[_ngcontent-%COMP%] .page-default-header[_ngcontent-%COMP%]{align-items:flex-start!important;flex-direction:column}}@media (max-width: 1024px){.offices-block[_ngcontent-%COMP%] .page-default-header[_ngcontent-%COMP%]{margin-bottom:0}.offices-address[_ngcontent-%COMP%]{max-width:100%;font-size:20px}}"]})}return e})(),II=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(i){return new(i||e)(C(ho),C(nt))};static#t=this.\u0275dir=oe({type:e})}return e})(),Hr=(()=>{class e extends II{static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qt(e)))(o||e)}})();static#t=this.\u0275dir=oe({type:e,features:[Le]})}return e})();const eo=new W("NgValueAccessor"),xX={provide:eo,useExisting:ot(()=>ub),multi:!0};let ub=(()=>{class e extends Hr{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qt(e)))(o||e)}})();static#t=this.\u0275dir=oe({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,o){1&i&&Q("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[ft([xX]),Le]})}return e})();const DX={provide:eo,useExisting:ot(()=>Mc),multi:!0},OX=new W("CompositionEventMode");let Mc=(()=>{class e extends II{constructor(t,i,o){super(t,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function TX(){const e=Jo()?Jo().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(i){return new(i||e)(C(ho),C(nt),C(OX,8))};static#t=this.\u0275dir=oe({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){1&i&&Q("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[ft([DX]),Le]})}return e})();function cr(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function AI(e){return null!=e&&"number"==typeof e.length}const yn=new W("NgValidators"),dr=new W("NgAsyncValidators"),IX=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class to{static min(n){return function PI(e){return n=>{if(cr(n.value)||cr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}(n)}static max(n){return function kI(e){return n=>{if(cr(n.value)||cr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return NI(n)}static requiredTrue(n){return RI(n)}static email(n){return function FI(e){return cr(e.value)||IX.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function LI(e){return n=>cr(n.value)||!AI(n.value)?null:n.value.length<e?{minlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static maxLength(n){return $I(n)}static pattern(n){return function VI(e){if(!e)return Yf;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),i=>
3{if(cr(i.value))return null;const o=i.value;return n.test(o)?null:{pattern:{requiredPattern:t,actualValue:o}}}}(n)}static nullValidator(n){return null}static compose(n){return HI(n)}static composeAsync(n){return WI(n)}}function NI(e){return cr(e.value)?{required:!0}:null}function RI(e){return!0===e.value?null:{required:!0}}function $I(e){return n=>AI(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}function Yf(e){return null}function BI(e){return null!=e}function jI(e){return Pl(e)?Bt(e):e}function zI(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function GI(e,n){return n.map(t=>t(e))}function UI(e){return e.map(n=>function AX(e){return!e.validate}(n)?n:t=>n.validate(t))}function HI(e){if(!e)return null;const n=e.filter(BI);return 0==n.length?null:function(t){return zI(GI(t,n))}}function fb(e){return null!=e?HI(UI(e)):null}function WI(e){if(!e)return null;const n=e.filter(BI);return 0==n.length?null:function(t){return function MX(...e){const n=VD(e),{args:t,keys:i}=z1(e),o=new pt(r=>{const{length:s}=t;if(!s)return void r.complete();const a=new Array(s);let l=s,c=s;for(let d=0;d<s;d++){let u=!1;$n(t[d]).subscribe(gt(r,f=>{u||(u=!0,c--),a[d]=f},()=>l--,void 0,()=>{(!l||!u)&&(c||r.next(i?G1(i,a):a),r.complete())}))}});return n?o.pipe(U_(n)):o}(GI(t,n).map(jI)).pipe(Oe(zI))}}function hb(e){return null!=e?WI(UI(e)):null}function qI(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function YI(e){return e._rawValidators}function XI(e){return e._rawAsyncValidators}function pb(e){return e?Array.isArray(e)?e:[e]:[]}function Xf(e,n){return Array.isArray(e)?e.includes(n):e===n}function KI(e,n){const t=pb(n);return pb(e).forEach(o=>{Xf(t,o)||t.push(o)}),t}function ZI(e,n){return pb(n).filter(t=>!Xf(e,t))}class QI{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=fb(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=hb(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class On extends QI{get formDirective(){return null}get path(){return null}}class ur extends QI{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class JI{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let mb=(()=>{class e extends JI{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(C(ur,2))};static#t=this.\u0275dir=oe({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){2&i&&vn("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Le]})}return e})(),gb=(()=>{class e extends JI{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(C(On,10))};static#t=this.\u0275dir=oe({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){2&i&&vn("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Le]})}return e})();const xc="VALID",Zf="INVALID",Ta="PENDING",Dc="DISABLED";function bb(e){return(Qf(e)?e.validators:e)||null}function yb(e,n){return(Qf(n)?n.asyncValidators:e)||null}function Qf(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function tA(e,n,t){const i=e.controls;if(!(n?Object.keys(i):i).length)throw new N(1e3,"");if(!i[t])throw new N(1001,"")}function nA(e,n,t){e._forEachChild((i,o)=>
3{if(void 0===t[o])throw new N(1002,"")})}class Cb{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===xc}get invalid(){return this.status===Zf}get pending(){return this.status==Ta}get disabled(){return this.status===Dc}get enabled(){return this.status!==Dc}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(KI(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(KI(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(ZI(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(ZI(n,this._rawAsyncValidators))}hasValidator(n){return Xf(this._rawValidators,n)}hasAsyncValidator(n){return Xf(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Ta,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Dc,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=xc,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===xc||this.status===Ta)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Dc:xc}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Ta,this._hasOwnPendingAsyncValidator=!0;const t=jI(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;
3return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,o)=>i&&i._find(o),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new U,this.statusChanges=new U}_calculateStatus(){return this._allControlsDisabled()?Dc:this.errors?Zf:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ta)?Ta:this._anyControlsHaveStatus(Zf)?Zf:xc}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Qf(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function RX(e){return Array.isArray(e)?fb(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function FX(e){return Array.isArray(e)?hb(e):e||null}(this._rawAsyncValidators)}}class Tc extends Cb{constructor(n,t,i){super(bb(t),yb(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,i={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){nA(this,0,n),Object.keys(n).forEach(i=>{tA(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(i=>{const o=this.controls[i];o&&o.patchValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((i,o)=>{i.reset(n?n[o]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,i)=>(n[i]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&n(i,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,i]of Object.entries(this.controls))if(this.contains(t)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,i,o)=>((i.enabled||this.disabled)&&(t[o]=i.value),t))}_reduceChildren(n,t){let i=n;return this._forEachChild((o,r)=>{i=t(i,o,r)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const Wr=new W("CallSetDisabledState",{providedIn:"root",factory:()=>Oc}),Oc="always";function Jf(e,n){return[...n.path,e]}function Ic(e,n,t=Oc){Eb(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function VX(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&iA(e,n)})}
3(e,n),function jX(e,n){const t=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function BX(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&iA(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function $X(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function eh(e,n,t=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),nh(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function th(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Eb(e,n){const t=YI(e);null!==n.validator?e.setValidators(qI(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=XI(e);null!==n.asyncValidator?e.setAsyncValidators(qI(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const o=()=>e.updateValueAndValidity();th(n._rawValidators,o),th(n._rawAsyncValidators,o)}function nh(e,n){let t=!1;if(null!==e){if(null!==n.validator){const o=YI(e);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==n.validator);r.length!==o.length&&(t=!0,e.setValidators(r))}}if(null!==n.asyncValidator){const o=XI(e);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==n.asyncValidator);r.length!==o.length&&(t=!0,e.setAsyncValidators(r))}}}const i=()=>{};return th(n._rawValidators,i),th(n._rawAsyncValidators,i),t}function iA(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function sA(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function aA(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const tn=class extends Cb{constructor(n=null,t,i){super(bb(t),yb(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Qf(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=aA(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){sA(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){sA(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){aA(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};let lA=(()=>{class e extends On{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Jf(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qt(e)))(o||e)}})();static#t=this.\u0275dir=oe({type:e,features:[Le]})}return e})();Promise.resolve();let Db=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=oe({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})(),hA=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({})}return e})();const Tb=new W("NgModelWithFormControlWarning"),tK={provide:On,useExisting:ot(()=>Pc)};let Pc=(()=>{class e extends On{constructor(t,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new U,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateV
3alidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(nh(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const i=this.form.get(t.path);return Ic(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){eh(t.control||null,t,!1),function HX(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this.submitted=!0,function rA(e,n){e._syncPendingControls(),n.forEac
3h(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,o=this.form.get(t.path);i!==o&&(eh(i||null,t),(e=>e instanceof tn)(o)&&(Ic(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);(function oA(e,n){Eb(e,n)})(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function zX(e,n){return nh(e,n)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Eb(this.form,this),this._oldForm&&nh(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(i){return new(i||e)(C(yn,10),C(dr,10),C(Wr,8))};static#t=this.\u0275dir=oe({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){1&i&&Q("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[Ce.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ft([tK]),Le,rn]})}return e})();const nK={provide:On,useExisting:ot(()=>Ob)};let Ob=(()=>{class e extends lA{constructor(t,i,o){super(),this.name=null,this._parent=t,this._setValidators(i),this._setAsyncValidators(o)}_checkParentType(){_A(this._parent)}static#e=this.\u0275fac=function(i){return new(i||e)(C(On,13),C(yn,10),C(dr,10))};static#t=this.\u0275dir=oe({type:e,selectors:[["","formGroupName",""]],inputs:{name:[Ce.None,"formGroupName","name"]},features:[ft([nK]),Le]})}return e})();const iK={provide:On,useExisting:ot(()=>ih)};let ih=(()=>{class e extends On{constructor(t,i,o){super(),this.name=null,this._parent=t,this._setValidators(i),this._setAsyncValidators(o)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Jf(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){_A(this._parent)}static#e=this.\u0275fac=function(i){return new(i||e)(C(On,13),C(yn,10),C(dr,10))};static#t=this.\u0275dir=oe({type:e,selectors:[["","formArrayName",""]],inputs:{name:[Ce.None,"formArrayName","name"]},features:[ft([iK]),Le]})}return e})();function _A(e){return!(e instanceof Ob||e instanceof Pc||e instanceof ih)}const oK={provide:ur,useExisting:ot(()=>oh)};let oh=(()=>{class e extends ur{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,i,o,r,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new U,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=function Mb(e,n){if(!n)return null;let t,i,o;
3return Array.isArray(n),n.forEach(r=>{r.constructor===Mc?t=r:function UX(e){return Object.getPrototypeOf(e.constructor)===Hr}(r)?i=r:o=r}),o||i||t||null}(0,r)}ngOnChanges(t){this._added||this._setUpControl(),function Sb(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Jf(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(i){return new(i||e)(C(On,13),C(yn,10),C(dr,10),C(eo,10),C(Tb,8))};static#n=this.\u0275dir=oe({type:e,selectors:[["","formControlName",""]],inputs:{name:[Ce.None,"formControlName","name"],isDisabled:[Ce.None,"disabled","isDisabled"],model:[Ce.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[ft([oK]),Le,rn]})}return e})();const rK={provide:eo,useExisting:ot(()=>rh),multi:!0};function vA(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let rh=(()=>{class e extends Hr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const o=vA(this._getOptionId(t),t);this.setProperty("value",o)}registerOnChange(t){this.onChange=i=>{this.value=this._getOptionValue(i),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),t))return i;return null}_getOptionValue(t){const i=function sK(e){return e.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i):t}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qt(e)))(o||e)}})();static#t=this.\u0275dir=oe({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,o){1&i&&Q("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[ft([rK]),Le]})}return e})(),bA=(()=>{class e{constructor(t,i,o){this._element=t,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(vA(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||e)(C(nt),C(ho),C(rh,9))};static#t=this.\u0275dir=oe({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const aK={provide:eo,useExisting:ot(()=>Ib),multi:!0};function yA(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Ib=(()=>{class e extends Hr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let i;if(this.value=t,Array.isArray(t)){const o=t.map(r=>this._getOptionId(r));i=(r,s)=>{r._setSelected(o.indexOf(s.toString())>-1)}}else i=(o,r)=>{o._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(t){this.onChange=i=>{const o=[],r=i.selectedOptions;if(void 0!==r){const s=r;for(let a=0;a<s.length;a++){const c=this._getOptionValue(s[a].value);o.push(c)}}else{const s=i.options;for(let a=0;a<s.length;a++){const l=s[a];if(l.selected){const c=this._getOptionValue(l.value);o.push(c)}}}this.value=o,t(o)}}_registerOption(t){const i=(this._idCounter++).toString();return this._optionMap.set(i,t),i}_getOptionId(t){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i)._value,t))return i;return null}_getOptionValue(t){const i=function lK(e){return e.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i)._value:t}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qt(e)))(o||e)}})();static#t=this.\u0275dir=oe({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,o){1&i&&Q("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[ft([aK]),Le]})}return e})(),CA=(()=>{class e{constructor(t,i,o){this._element=t,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(yA(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(yA(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
3),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||e)(C(nt),C(ho),C(Ib,9))};static#t=this.\u0275dir=oe({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();let qr=(()=>{class e{constructor(){this._validator=Yf}ngOnChanges(t){if(this.inputName in t){const i=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Yf,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=oe({type:e,features:[rn]})}return e})();const uK={provide:yn,useExisting:ot(()=>sh),multi:!0},fK={provide:yn,useExisting:ot(()=>Ab),multi:!0};let sh=(()=>{class e extends qr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Hi,this.createValidator=t=>NI}enabled(t){return t}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qt(e)))(o||e)}})();static#t=this.\u0275dir=oe({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,o){2&i&&sn("required",o._enabled?"":null)},inputs:{required:"required"},features:[ft([uK]),Le]})}return e})(),Ab=(()=>{class e extends sh{constructor(){super(...arguments),this.createValidator=t=>RI}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qt(e)))(o||e)}})();static#t=this.\u0275dir=oe({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(i,o){2&i&&sn("required",o._enabled?"":null)},features:[ft([fK]),Le]})}return e})();const mK={provide:yn,useExisting:ot(()=>ah),multi:!0};let ah=(()=>{class e extends qr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=t=>function EA(e){return"number"==typeof e?e:parseInt(e,10)}(t),this.createValidator=t=>$I(t)}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Qt(e)))(o||e)}})();static#t=this.\u0275dir=oe({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,o){2&i&&sn("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[ft([mK]),Le]})}return e})(),OA=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({imports:[hA]})}return e})();class IA extends Cb{constructor(n,t,i){super(bb(t),yb(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,i={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,t={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,i={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),t&&(this.controls.splice(o,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){nA(this,0,n),n.forEach((i,o)=>{tA(this,!1,o),this.at(o).setValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((i,o)=>{this.at(o)&&this.at(o).patchValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}
3),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((i,o)=>{i.reset(n[o],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,i)=>!!i._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,i)=>{n(t,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}let _K=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Wr,useValue:t.callSetDisabledState??Oc}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({imports:[OA]})}return e})(),vK=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Tb,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Wr,useValue:t.callSetDisabledState??Oc}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({imports:[OA]})}return e})();function AA(e){0==e.target.selectionStart&&"Space"===e.code&&e.preventDefault()}function PA(){return e=>0!==(e&&e.value&&e.value.toString()||"").trim().length?null:{whitespace:!0}}function bK(e,n){1&e&&(y(0,"div",3),z(1,"img",4),y(2,"h3",5),J(3,6),b(),y(4,"p",7),J(5,8),b(),y(6,"div",9),ie(7," Ok "),b()())}function yK(e,n){1&e&&(y(0,"div",10),z(1,"img",11),y(2,"h3",5),J(3,12),b(),y(4,"p",7),J(5,13),b(),y(6,"div",14),ie(7," Ok "),b()())}let kc=(()=>{class e{constructor(t,i){this.dialogRef=t,this.data=i,this.status=i.status}static#e=this.\u0275fac=function(i){return new(i||e)(C(Sa),C(nI))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-modal-form-success"]],decls:4,vars:2,consts:()=>{let t,i,o,r;return t="Thank you!",i="We\u2019ve received your application!",o="Oops!",r="Something went wrong. Please try sending the message again.",[[1,"modal-container"],["class","d-flex flex-column align-items-center text-center modal-content-success",4,"ngIf","ngIfElse"],["formError",""],[1,"d-flex","flex-column","align-items-center","text-center","modal-content-success"],["src","/assets/images/UI/form-image-success.png","alt","Form success image"],[1,"mt-15"],t,[1,"mt-5"],i,["mat-dialog-close","",1,"modal-close-button","mt-30","main-button","main-button-body"],[1,"d-flex","flex-column","align-items-center","text-center","modal-content-error"],["src","/assets/images/UI/form-image-error.png","alt","Form error image"],o,r,["mat-dialog-close","",1,"modal-close-button","mt-30","main-button","main-button-body","main-button-body-red"]]},template:function(i,o){if(1&i&&(y(0,"div",0),R(1,bK,8,0,"div",1)(2,yK,8,0,"ng-template",null,2,an),b()),2&i){const r=qt(3);w(),S("ngIf",o.status)("ngIfElse",r)}},dependencies:[Ee,Yv],styles:["p[_ngcontent-%COMP%]{font-size:19px}.modal-close-button[_ngcontent-%COMP%]{width:100%}"]})}return e})();const CK=["mat-button",""],EK=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],wK=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],SK=new W("MAT_BUTTON_CONFIG"),MK=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}];let xK=(()=>{class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(t){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,t)}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}constructor(t,i,o,r){this._elementRef=t,this._platform=i,this._ngZone=o,this._animationMode=r,this._focusMonitor=G(Vv),this._rippleLoader=G(i9),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;const s=G(SK,{optional:!0}),a=t.nativeElement,l=a.classList;this.disabledInteractive=s?.disabledInteractive??!1,this._rippleLoader?.configureRipple(a,{className:"mat-mdc-button-ripple"});for(const{attribute:c,mdcClasses:d}of MK)a.hasAttribute(c)&&l.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",i){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,i):this._elementRef.nativeElement.focus(i)}
3_getAriaDisabled(){return null!=this.ariaDisabled?this.ariaDisabled:!(!this.disabled||!this.disabledInteractive)||null}_getDisabledAttribute(){return!(this.disabledInteractive||!this.disabled)||null}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(i){xm()};static#t=this.\u0275dir=oe({type:e,inputs:{color:"color",disableRipple:[Ce.HasDecoratorInputTransform,"disableRipple","disableRipple",Hi],disabled:[Ce.HasDecoratorInputTransform,"disabled","disabled",Hi],ariaDisabled:[Ce.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",Hi],disabledInteractive:[Ce.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",Hi]},features:[Gm]})}return e})(),DK=(()=>{class e extends xK{constructor(t,i,o,r){super(t,i,o,r)}static#e=this.\u0275fac=function(i){return new(i||e)(C(nt),C(bn),C(ae),C(zo,8))};static#t=this.\u0275cmp=ne({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,o){2&i&&(sn("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),pu(o.color?"mat-"+o.color:""),vn("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable","NoopAnimations"===o._animationMode)("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Le,_o],attrs:CK,ngContentSelectors:wK,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){1&i&&(Eu(EK),z(0,"span",0),go(1),y(2,"span",1),go(3,1),b(),go(4,2),z(5,"span",2)(6,"span",3)),2&i&&vn("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}
3.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.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{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.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{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.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{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.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{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}
3.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return e})();function OK(e,n){if(1&e){const t=Qe();y(0,"div",1)(1,"button",2),Q("click",function(){return Me(t),xe(I().action())}),ie(2),b()()}if(2&e){const t=I();w(2),$t(" ",t.data.action," ")}}const IK=["label"];
3function AK(e,n){}const PK=Math.pow(2,31)-1;class Pb{constructor(n,t){this._overlayRef=t,this._afterDismissed=new Se,this._afterOpened=new Se,this._onAction=new Se,this._dismissedByAction=!1,this.containerInstance=n,n._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(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,PK))}_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}}const kA=new W("MatSnackBarData");class lh{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let NA=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=oe({type:e,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}return e})(),RA=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=oe({type:e,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}return e})(),FA=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=oe({type:e,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}return e})(),kK=(()=>{class e{constructor(t,i){this.snackBarRef=t,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static#e=this.\u0275fac=function(i){return new(i||e)(C(Pb),C(kA))};static#t=this.\u0275cmp=ne({type:e,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[_o],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,o){1&i&&(y(0,"div",0),ie(1),b(),R(2,OK,3,1,"div",1)),2&i&&(w(),$t(" ",o.data.message,"\n"),w(),RS(2,o.hasAction?2:-1))},dependencies:[DK,NA,RA,FA],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}return e})();const NK={snackBarState:HO("state",[Bf("void, hidden",xo({transform:"scale(0.8)",opacity:0}
3)),Bf("visible",xo({transform:"scale(1)",opacity:1})),jf("* => visible",Vf("150ms cubic-bezier(0, 0, 0.2, 1)")),jf("* => void, * => hidden",Vf("75ms cubic-bezier(0.4, 0.0, 1, 1)",xo({opacity:0})))])};let RK=0,LA=(()=>{class e extends If{constructor(t,i,o,r,s){super(),this._ngZone=t,this._elementRef=i,this._changeDetectorRef=o,this._platform=r,this.snackBarConfig=s,this._document=G(Te),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new Se,this._onExit=new Se,this._onEnter=new Se,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+RK++,this.attachDomPortal=a=>{this._assertNotAttached();const l=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),l},this._live="assertive"!==s.politeness||s.announcementMessage?"off"===s.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(t){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),i}attachTemplatePortal(t){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),i}onAnimationEnd(t){const{fromState:i,toState:o}=t;if(("void"===o&&"void"!==i||"hidden"===o)&&this._completeExit(),"visible"===o){const r=this._onEnter;this._ngZone.run(()=>{r.next(),r.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){const t=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(s=>t.classList.add(s)):t.classList.add(i)),this._exposeToModals();const o=this._label.nativeElement,r="mdc-snackbar__label";o.classList.toggle(r,!o.querySelector(`.${r}`))}_exposeToModals(){const t=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<i.length;o++){const r=i[o],s=r.getAttribute("aria-owns");this._trackedModals.add(r),s?-1===s.indexOf(t)&&r.setAttribute("aria-owns",s+" "+t):r.setAttribute("aria-owns",t)}}_clearFromModals(){this._trackedModals.forEach(t=>{const i=t.getAttribute("aria-owns");if(i){const o=i.replace(this._liveElementId,"").trim();o.length>0?t.setAttribute("aria-owns",o):t.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&i){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(o=document.activeElement),t.removeAttribute("aria-hidden"),i.appendChild(t),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static#e=this.\u0275fac=function(i){return new(i||e)(C(ae),C(nt),C(Wo),C(bn),C(lh))};static#t=this.\u0275cmp=ne({type:e,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,o){if(1&i&&(wi(bc,7),wi(IK,7)),2&i){let r;qn(r=Yn())&&(o._portalOutlet=r.first),qn(r=Yn())&&(o._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(i,o){1&i&&bg("@state.done",function(s){return o.onAnimationEnd(s)}),2&i&&mg("@state",o._animationState)},standalone:!0,features:[Le,_o],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,o){1&i&&(y(0,"div",0)(1,"div",1,2)(3,"div",3),R(4,AK,0,0,"ng-template",4),b(),z(5,"div"),b()()),2&i&&(w(5),sn("aria-l
3ive",o._live)("role",o._role)("id",o._liveElementId))},dependencies:[bc],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{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)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[NK.snackBarState]}})}return e})();const LK=new W("mat-snack-bar-default-options",{providedIn:"root",factory:function FK(){return new lh}});let $K=(()=>{class e{get _openedSnackBarRef(){const t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}constructor(t,i,o,r,s,a){this._overlay=t,this._live=i,this._injector=o,this._breakpointObserver=r,this._parentSnackBar=s,this._defaultConfig=a,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=kK,this.snackBarContainerComponent=LA,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(t,i){return this._attach(t,i)}openFromTemplate(t,i){return this._attach(t,i)}open(t,i="",o){const r={...this._defaultConfig,...o};return r.data={message:t,action:i},r.announcementMessage===t&&(r.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,r)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,i){const r=mt.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:lh,useValue:i}]}
3),s=new vc(this.snackBarContainerComponent,i.viewContainerRef,r),a=t.attach(s);return a.instance.snackBarConfig=i,a.instance}_attach(t,i){const o={...new lh,...this._defaultConfig,...i},r=this._createOverlay(o),s=this._attachSnackBarContainer(r,o),a=new Pb(s,r);if(t instanceof si){const l=new Nv(t,null,{$implicit:o.data,snackBarRef:a});a.instance=s.attachTemplatePortal(l)}else{const l=this._createInjector(o,a),c=new vc(t,void 0,l),d=s.attachComponentPortal(c);a.instance=d.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(la(r.detachments())).subscribe(l=>{r.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),o.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(a,o),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(t,i){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),i.duration&&i.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(i.duration))}_createOverlay(t){const i=new Lv;i.direction=t.direction;let o=this._overlay.position().global();const r="rtl"===t.direction,s="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!r||"end"===t.horizontalPosition&&r,a=!s&&"center"!==t.horizontalPosition;return s?o.left("0"):a?o.right("0"):o.centerHorizontally(),"top"===t.verticalPosition?o.top("0"):o.bottom("0"),i.positionStrategy=o,this._overlay.create(i)}_createInjector(t,i){return mt.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:Pb,useValue:i},{provide:kA,useValue:t.data}]})}static#e=this.\u0275fac=function(i){return new(i||e)(T(Zi),T(R7),T(mt),T(_O),T(e,12),T(LK))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function VK(e,n){1&e&&(y(0,"span"),J(1,36),b())}function BK(e,n){if(1&e&&(y(0,"div",34),R(1,VK,2,0,"span",35),b()),2&e){const t=I();w(),S("ngIf",t.form.get("name").errors.required||t.form.get("name").errors.whitespace)}}function jK(e,n){1&e&&(y(0,"span"),J(1,37),b())}function zK(e,n){1&e&&(y(0,"span"),J(1,38),b())}function GK(e,n){if(1&e&&(y(0,"div",34),R(1,jK,2,0,"span",35)(2,zK,2,0,"span",35),b()),2&e){const t=I();w(),S("ngIf",t.form.get("email").errors.required),w(),S("ngIf",t.form.get("email").errors.email)}}function UK(e,n){1&e&&(y(0,"span"),J(1,39),b())}function HK(e,n){if(1&e&&(y(0,"div",34),R(1,UK,2,0,"span",35),b()),2&e){const t=I();w(),S("ngIf",t.form.get("subject").errors.required||t.form.get("subject").errors.whitespace)}}function WK(e,n){1&e&&(y(0,"span"),J(1,40),b())}function qK(e,n){if(1&e&&(y(0,"div",34),R(1,WK,2,0,"span",35),b()),2&e){const t=I();w(),S("ngIf",t.form.get("message").errors.required||t.form.get("message").errors.whitespace)}}function YK(e,n){if(1&e&&(y(0,"small",41),ie(1),b()),2&e){const t=I();w(),Ye(t.errorText)}}let XK=(()=>{class e{constructor(t,i,o,r){this.contactsPageService=t,this.langService=i,this.snackBar=o,this.dialog=r,this.isSubmitting=!1,this.preventSpaceAtStartInput=AA,this.noOnlyWhitespacesValidator=PA}ngOnInit(){this.form=new Tc({email:new tn("",[to.email,to.required,this.noOnlyWhitespacesValidator()]),name:new tn("",[to.required,this.noOnlyWhitespacesValidator()]),subject:new tn("",[to.required,this.noOnlyWhitespacesValidator()]),message:new tn("",[to.required,this.noOnlyWhitespacesValidator()])}),this.langService.sharedCurrentSiteLang.subscribe(t=>{this.currentLang=t})}submit(){this.isSubmitting=!0,this.errorText="",Object.keys(this.form.controls).forEach(i=>{const o=this.form.get(i);o&&"string"==typeof o.value&&o.setValue(o.value.trim())});const t=this.form.value;if(this.form.invalid)return this.form.markAllAsTouched(),void(this.errorText="en"===this.currentLang?"Please fill in all required fields.":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0432\u0441\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u043b\u044f.");this.contactsPageService.sendForm(t).subscribe({next:()=>{this.form.reset(),this.form.patchValue({message:""}),this.dialog.open(kc,{width:"370px",data:{status:!0}})},error:()=>{this.dialog.open(kc,{width:"370px",data:{status:!1}})},complete:()=>{this.isSubmitting=!1}})}static#e=this.\u0275fac=function(i){return new(i||e)(C(OI),C(He),C($K),C(Jn))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-contacts-form"]],decls:43,vars:7,consts:()=>{let t,i,o,r,s,a,l,c,d,u,f,h,m,p,g;return t="Media kit",i="We have collected detailed information on each project so that it is convenient for you to download and\n use it.\n ",o="Download",r="Contact us",s="Name",a="Email",l="Subject",c=" ",d="Message",u="Send ",f="This field is required",h="This field is required",m="Email is not correct",p="This field is required",g="This field is required",[[1,"section","contact-us","page-default-content"],[1,"container"],[1,"content-main-padding"],[1,"contact-us-content","d-flex","justify-content-sb"],[1,"contact-us-block","contact-us-mediakit","d-flex","flex-column"],[1,"section-title-medium","mb-40"],t,[1,"contact-us-mediakit-text"],i,["href","/media/mediakit.zip","download","",1,"main-button","main-button-body","align-self-center","contact-us-mediakit-button"],o,[1,"contact-us-block"],r,[1,"form","contact-us-form","d-flex","flex-column","gap-40",3,"formGroup","ngSubmit","click"],[1,"form-item","required"],[1,"form-item-input"],["formControlName","name","type","text","name","contact-name","id","contact-name","placeholder"," ","maxlength","100",1,"main-input",3,"keydown"],["for","contact-name"],s,["class","form-validation",4,"ngIf"],["formControlName","email","type","email","name","contact-mail","id","contact-mail","placeholder"," ","maxlength","100",1,"main-input",3,"keydown"],["for","contact-mail"],a,["type","text","name","contact-subject","formControlName","subject","id","contact-subject","placeholder"," ","maxlength","100",1,"main-input",3,"keydown"],["for","contact-subject"],l,[1,"form-item-input","form-item-textarea"],["formControlName","message","name","message","id","message","placeholder",c,"maxlength","3000",1,"main-textarea",3,"keydown"],["for","message"],d,[1,"d-flex","justify-content-center","form-button-block"],["type","submit",1,"main-button","main-button-body",3,"disabled"],u,["class","form-button-error-text",4,"ngIf"],[1,"form-validation"],[4,"ngIf"],f,h,m,p,g,[1,"form-button-error-text"]]},template:function(i,o){1&i&&(y(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"h3",5),J(6,
36),b(),y(7,"p",7),J(8,8),b(),y(9,"a",9),J(10,10),b()(),y(11,"div",11)(12,"h3",5),J(13,12),b(),y(14,"form",13),Q("ngSubmit",function(){return o.submit()})("click",function(){return o.errorText=""}),y(15,"div",14)(16,"div",15)(17,"input",16),Q("keydown",function(s){return o.preventSpaceAtStartInput(s)}),b(),y(18,"label",17),J(19,18),b()(),R(20,BK,2,1,"div",19),b(),y(21,"div",14)(22,"div",15)(23,"input",20),Q("keydown",function(s){return o.preventSpaceAtStartInput(s)}),b(),y(24,"label",21),J(25,22),b()(),R(26,GK,3,2,"div",19),b(),y(27,"div",14)(28,"div",15)(29,"input",23),Q("keydown",function(s){return o.preventSpaceAtStartInput(s)}),b(),y(30,"label",24),J(31,25),b()(),R(32,HK,2,1,"div",19),b(),y(33,"div",14)(34,"div",26)(35,"textarea",27),Q("keydown",function(s){return o.preventSpaceAtStartInput(s)}),b(),y(36,"label",28),J(37,29),b()(),R(38,qK,2,1,"div",19),b(),y(39,"div",30)(40,"button",31),J(41,32),b(),R(42,YK,2,1,"small",33),b()()()()()()()),2&i&&(w(14),S("formGroup",o.form),w(6),S("ngIf",o.form.get("name").invalid&&o.form.get("name").touched),w(6),S("ngIf",o.form.get("email").invalid&&o.form.get("email").touched),w(6),S("ngIf",o.form.get("subject").invalid&&o.form.get("subject").touched),w(6),S("ngIf",o.form.get("message").invalid&&o.form.get("message").touched),w(2),S("disabled",o.form.invalid||o.isSubmitting),w(2),S("ngIf",o.errorText))},dependencies:[Ee,Db,Mc,mb,gb,ah,Pc,oh],styles:[".contact-us[_ngcontent-%COMP%]{padding-top:0}.contact-us-content[_ngcontent-%COMP%]{gap:1rem}.contact-us-block[_ngcontent-%COMP%]{padding:50px 35px;width:100%;max-width:700px;border-radius:15px;background-color:#f2f2f2}.contact-us-block[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:600}.contact-us-mediakit[_ngcontent-%COMP%]{position:relative;z-index:0;min-height:500px;background-image:url(vizor-logo-mediakit.e2ada755c32afcd0.png);background-repeat:no-repeat;background-size:170%;background-position:80% center}.contact-us-mediakit-logo[_ngcontent-%COMP%]{position:absolute;left:0;top:0;width:100%;height:100%;z-index:-1}.contact-us-mediakit-button[_ngcontent-%COMP%]{margin-top:auto}@media (max-width: 1024px){.contact-us-block[_ngcontent-%COMP%]{padding:25px}.contact-us-mediakit-logo[_ngcontent-%COMP%]{height:auto;top:50%;transform:translateY(-50%)}}@media (max-width: 768px){.contact-us[_ngcontent-%COMP%]{padding-top:0}.contact-us-content[_ngcontent-%COMP%]{flex-direction:column-reverse}.contact-us-block[_ngcontent-%COMP%]{max-width:100%}.contact-us-mediakit-logo[_ngcontent-%COMP%]{height:100%}.contact-us-form[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{font-size:38px}}@media (max-width: 600px){.contact-us-block[_ngcontent-%COMP%]{padding:15px}}"]})}return e})();function KK(e,n){if(1&e&&z(0,"app-contacts-header",2),2&e){const t=I();S("pageData",t.pageData)("currentLang",t.currentLang)}}let ZK=(()=>{class e{constructor(t,i,o){this.langService=t,this.contactsPageService=i,this.titleService=o}ngOnInit(){this.langService.sharedCurrentSiteLang.subscribe(t=>{this.currentLang=t,this.contactsPageService.fetchContactsPageData().subscribe(i=>{this.pageData=i[0],this.titleService.setTitle("en"===t?i[0].contactusSeoTitleEn:i[0].contactusSeoTitleRu)})})}static#e=this.\u0275fac=function(i){return new(i||e)(C(He),C(OI),C(Zn))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-contacts-page"]],decls:4,vars:1,consts:[[1,"page-default"],[3,"pageData","currentLang",4,"ngIf"],[3,"pageData","currentLang"]],template:function(i,o){1&i&&(y(0,"div",0),R(1,KK,1,2,"app-contacts-header",1),z(2,"app-contacts-form")(3,"app-contactsup"),b()),2&i&&(w(),S("ngIf",o.pageData))},dependencies:[Ee,fc,SX,XK]})}return e})();const QK=e=>["/jobs/",e];let JK=(()=>{class e{constructor(t){this.langService=t}ngOnInit(){this.langService.sharedCurrentSiteLang.subscribe(t=>{this.vacancyTitle="en"==t?this.vacancyData.titleEn:this.vacancyData.titleRu,this.departmentTitle="en"==t?this.vacancyData.department.titleEn:this.vacancyData.department.titleRu})}static#e=this.\u0275fac=function(i){return new(i||e)(C(He))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-vacancy-item"]],inputs:{vacancyData:"vacancyData",index:"index"},decls:5,vars:4,consts:[[1,"vacancy-item","d-flex","align-items-center","justify-content-sb","gap-20",3,"routerLink"],[1,"vacancy-item-text","big-text"],[1,"vacancy-item-icon"],["src","/assets/icons/arrow-black-left.svg","alt","arrow"]],template:function(i,o){1&i&&(y(0,"a",0)(1,"p",1),ie(2),b(),y(3,"div",2),z(4,"img",3),b()()),2&i&&(S("routerLink",Jt(2,QK,o.vacancyData.slug)),w(2),$t(" ",o.vacancyTitle," "))},dependencies:[cn],styles:[".vacancy-item[_ngcontent-%COMP%]{display:block;padding:16px 20px;border-radius:22px;background-color:#f2f2f2}.vacancy-item[_ngcontent-%COMP%]:hover{background-color:#8f7cf8}.vacancy-item[_ngcontent-%COMP%]:hover .vacancy-item-text[_ngcontent-%COMP%]{color:#fff}.vacancy-item[_ngcontent-%COMP%]:hover .vacancy-item-icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{filter:invert(1)}.vacancy-item-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}.vacancy-item-icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;height:20px}"]})}return e})(),eZ=(()=>{class e{constructor(t){this.http=t,this.formSuccessStatus=new Fe(!1),this.currentVideoNameObservable=this.formSuccessStatus.asObservable()}currentFormSuccessStatus(t){return this.formSuccessStatus.next(t)}uploadCv(t){const i=new FormData;return i.append("file",t),this.http.post(`${ke.cvsUrl}/upload`,i)}uploadCvData(t,i){return this.currentFormSuccessStatus(!0),this.http.post(`${ke.cvsUrl}/${i}`,t)}fetchCv(t){return this.currentFormSuccessStatus(!0),this.http.get(`${ke.cvsUrl}/${t}`)}
3fetchCvs(){return this.http.get(ke.cvsUrl)}static#e=this.\u0275fac=function(i){return new(i||e)(T(Kn))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const tZ=["findingMethod"];function nZ(e,n){1&e&&(y(0,"label",59),J(1,60),b())}function iZ(e,n){if(1&e&&(y(0,"option",13),ie(1),b()),2&e){const t=n.$implicit,i=I(4);S("value","en"===i.currentLang?t.titleEn:t.titleRu)("selected","en"===i.currentLang?t.titleEn===i.vacancyTitle:t.titleRu===i.vacancyTitle),w(),$t(" ","en"===i.currentLang?t.titleEn:t.titleRu," ")}}function oZ(e,n){if(1&e&&(y(0,"optgroup",62),R(1,iZ,2,3,"option",63),b()),2&e){const t=I().$implicit;S("label","en"==I(2).currentLang?t[0].department.titleEn:t[0].department.titleRu),w(),S("ngForOf",t)}}function rZ(e,n){if(1&e&&(At(0),R(1,oZ,2,2,"optgroup",61),Pt()),2&e){const t=n.$implicit;w(),S("ngIf",t.length&&(null==t[0]?null:t[0].department))}}function sZ(e,n){1&e&&(y(0,"span"),J(1,66),b())}function aZ(e,n){if(1&e&&(y(0,"div",64),R(1,sZ,2,0,"span",65),b()),2&e){const t=I(2);w(),S("ngIf",t.form.get("name").errors.required||t.form.get("name").errors.whitespace)}}function lZ(e,n){1&e&&(y(0,"span"),J(1,67),b())}function cZ(e,n){1&e&&(y(0,"span"),J(1,68),b())}function dZ(e,n){if(1&e&&(y(0,"div",64),R(1,lZ,2,0,"span",65)(2,cZ,2,0,"span",65),b()),2&e){const t=I(2);w(),S("ngIf",t.form.get("email").errors.required),w(),S("ngIf",t.form.get("email").errors.email)}}function uZ(e,n){1&e&&(y(0,"label",69),J(1,70),b())}function fZ(e,n){1&e&&(y(0,"span"),J(1,74),b())}function hZ(e,n){if(1&e&&(y(0,"div",64),R(1,fZ,2,0,"span",65),b()),2&e){const t=I(3);w(),S("ngIf",t.form.get("referralEmployeeName").errors.required||t.form.get("referralEmployeeName").errors.whitespace)}}function pZ(e,n){if(1&e){const t=Qe();y(0,"div",17)(1,"label",71),ji(2,72),z(3,"span"),zi(),b(),y(4,"div",10)(5,"input",73),Q("keydown",function(o){return Me(t),xe(I(2).preventSpaceAtStartInput(o))}),b(),R(6,hZ,2,1,"div",21),b()()}if(2&e){const t=I(2);let i;w(5),vn("main-input-error",(null==(i=t.form.get("referralEmployeeName"))||null==i.errors?null:i.errors.required)||(null==(i=t.form.get("referralEmployeeName"))||null==i.errors?null:i.errors.whitespace)),w(),S("ngIf",t.form.get("referralEmployeeName").invalid&&t.form.get("referralEmployeeName").touched)}}function mZ(e,n){if(1&e){const t=Qe();y(0,"div",78),Q("click",function(){Me(t);const o=I().index;return xe(I(2).removePortfolioLink(o))}),y(1,"span",79),ie(2,"\u2715"),b()()}}function gZ(e,n){if(1&e){const t=Qe();y(0,"div",75)(1,"input",76),Q("keydown",function(o){return Me(t),xe(I(2).preventSpaceAtStartInput(o))}),b(),R(2,mZ,3,0,"div",77),b()}if(2&e){const t=n.index,i=I(2);w(),S("formControlName",t),w(),S("ngIf",i.portfolioLinks.length>1)}}function _Z(e,n){if(1&e){const t=Qe();y(0,"div",80),Q("click",function(){return Me(t),xe(I(2).clearFirstFile())}),ie(1,"\u2715 "),b()}}function vZ(e,n){if(1&e){const t=Qe();y(0,"div",80),Q("click",function(){return Me(t),xe(I(2).clearSecondFile())}),ie(1,"\u2715 "),b()}}function bZ(e,n){if(1&e&&(y(0,"small",81),ie(1),b()),2&e){const t=I(2);w(),Ye(t.errorText)}}function yZ(e,n){if(1&e){const t=Qe();y(0,"form",4),Q("ngSubmit",function(){return Me(t),xe(I().submit())})("click",function(){return Me(t),xe(I().errorText="")}),y(1,"h3",5),J(2,6),b(),y(3,"div",7)(4,"div",8),R(5,nZ,2,0,"label",9),y(6,"div",10)(7,"div",11)(8,"select",12),Q("change",function(o){return Me(t),xe(I().vacancySelected(o))}),y(9,"option",13),ie(10),b(),R(11,rZ,2,1,"ng-container",14),b(),y(12,"div",15),z(13,"img",16),b()()()(),y(14,"div",17)(15,"label",18),ji(16,19),z(17,"span"),zi(),b(),y(18,"div",10)(19,"input",20),Q("keydown",function(o){return Me(t),xe(I().preventSpaceAtStartInput(o))}),b(),R(20,aZ,2,1,"div",21),b()(),y(21,"div",17)(22,"label",22),ji(23,23),z(24,"span"),zi(),b(),y(25,"div",10)(26,"input",24),Q("keydown",function(o){return Me(t),xe(I().preventSpaceAtStartInput(o))}),b(),R(27,dZ,3,2,"div",21),b()(),y(28,"div",8)(29,"label",25),J(30,26),b(),y(31,"div",10)(32,"input",27),Q("keydown",function(o){return Me(t),xe(I().preventSpaceAtStartInput(o))}),b()()(),y(33,"div",8),R(34,uZ,2,0,"label",28),y(35,"div",10)(36,"div",11)(37,"select",29,30)(39,"option",31),ie(40),b(),y(41,"option"),ie(42),b(),y(43,"option"),ie(44),b(),y(45,"option"),ie(46),b(),y(47,"option"),ie(48),b(),y(49,"option"),ie(50),b(),y(51,"option"),ie(52),b(),y(53,"option"),ie(54),b(),y(55,"option"),ie(56),b()(),y(57,"div",15),z(58,"img",16),b()()()(),R(59,pZ,7,3,"div",32),y(60,"div",8)(61,"label",33),J(62,34),b(),y(63,"div",10)(64,"textarea",35),Q("keydown",function(o){return Me(t),xe(I().preventSpaceAtStartInput(o))}),b()()(),y(65,"div",36)(66,"label"),ji(67,37),y(68,"span",38),Q("click",function(){return Me(t),xe(I().addPortfolioLink())}),b(),zi(),b(),y(69,"div",39),R(70,gZ,3,2,"div",40),b()(),y(71,"div",8)(72,"label"),J(73,41),b(),y(74,"div",42)(75,"div",43)(76,"input",44),Q("change",function(o){return Me(t),xe(I().firstFileUploaded(o))}),b(),R(77,_Z,2,0,"div",45),b(),y(78,"div",43)(79,"input",46),Q("change",function(o){return Me(t),xe(I().secondFileUploaded(o))}),b(),R(80,vZ,2,0,"div",45),b()()()(),y(81,"div",47)(82,"div",48),z(83,"input",49),b(),y(84,"div",50),J(85,51),b()(),y(86,"div",52),ji(87,53),y(88,"p"),z(89,"a",54),b(),zi(),b(),y(90,"div",55)(91,"button",56),J(92,57),b(),R(93,bZ,2,1,"small",58),b()()}if(2&e){const t=I();S("formGroup",t.form),w(5),S("ngIf",t.allVacanciesData.length>0),w(3),pe("title",t.selectedVacancy),w(),S("value",t.initialAnyVacancyText)("selected",!t.vacancyTitle),w(),$t("",t.initialAnyVacancyText," "),w(),S("ngForOf",t.allVacanciesData),w(9),S("ngIf",t.form.get("name").invalid&&t.form.get("name").touched),w(7),S("ngIf",t.form.get("email").invalid&&t.form.get("email").touched),w(7),S("ngIf",t.allVacanciesData.length>0),w(5),S("selected",!0),w(),Ye("en"===t.currentLang?"VIZOR website":"\u0412\u0435\u0431\u0441\u0430\u0439\u0442 VIZOR"),w(2),Ye("en"===t.currentLang?"Job board":"\u041f\u043e\u0440\u0442\u0430\u043b \u0441 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u044f\u043c\u0438"),w(2),Ye("LinkedIn"),w(2),Ye("en"===t.currentLang?"Social media and messengers (Facebook, Instagram, Twitter, Telegram etc.)":"\u0421\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0442\u0438 \u0438 \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440\u044b (Facebook, Instagram, Twitter, Telegram \u0438 \u0434\u0440.)"),w(2),Ye("en"===t.currentLang?"Friends and family":"\u0414\u0440\u0443\u0437\u044c\u044f \u0438 \u0441\u0435\u043c\u044c\u044f"),w(2),Ye("en"===t.currentLang?"Contacted by recruiter":"\u0420\u0435\u043a\u0440\u0443\u0442\u0435\u0440 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u044e"),w(2),Ye("en"===t.currentLang?"Professional event (conference, meetup, talk)":"\u041f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u044f (\u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f, \u0432\u0441\u0442\u0440\u0435\u0447\u0430, \u0432\u044b\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435)"),w(2),Ye("en"===t.currentLang?"Referral program (VIZOR employee)":"\u0420\u0435\u0444\u0435\u0440\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 (\u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a VIZOR)"),w(2),Ye("en"===t.currentLang?"Media (articles, interviews)":"\u041c\u0435\u0434\u0438\u0430-\u0440\u0435\u0441\u0443\u0440\u0441\u044b (\u0441\u0442\u0430\u0442\u044c\u0438, \u0438\u043d\u0442\u0435\u0440\u0432\u044c\u044e)"),w(3),S("ngIf","Referral program (VIZOR employee)"===t.form.value.referralSelect||"\u0420\u0435\u0444\u0435\u0440\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 (\u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a VIZOR)"===t.form.value.referralSelect),w(9),S("ngClass",t.portfolioLinks.controls.length<4?"":"disabled"),w(2),S("ngForOf",t.portfolioLinks.controls),w(7),S("ngIf",t.firstCvFile),w(3),S("ngIf",t.secondCvFile),w(9),S("href","undefined"!=t.s3Url?t.s3Url+("en"==t.currentSiteLang?"/":"/ru/")+"terms/privacy-notice-for-job-applicants/"+t.currentSiteLang:"terms/privacy-notice-for-job-applicants/"+t.currentSiteLang,_e),w(2),S("disabled",t.form.invali
3d||t.isSubmitting),w(2),S("ngIf",t.errorText)}}const VA="allVacanciesData";let BA=(()=>{class e{constructor(t,i,o,r,s,a){this.platformId=t,this.vacanciesService=i,this.cvService=o,this.langService=r,this.dialog=s,this.transferState=a,this.allVacanciesData=[],this.subscriptions=new Rt,this.vacancySlug="",this.selectedVacancy="",this.s3Url="",this.isBrowser=!1,this.currentSiteLang="en",this.isSubmitting=!1,this.preventSpaceAtStartInput=AA,this.noOnlyWhitespacesValidator=PA,this.isBrowser=Pe(this.platformId)}ngOnInit(){if(this.subscriptions.add(this.vacanciesService.sortedJobsData$.subscribe(t=>{t&&t.length>0&&(this.allVacanciesData=t.slice(1),this.initializeFormAndData(),this.transferState.set(VA,this.allVacanciesData))})),this.subscriptions.add(this.langService.sharedCurrentSiteLang.subscribe(t=>{this.currentSiteLang=t,this.currentLang=t,this.updateTextsAndSelectedVacancy()})),this.isBrowser)this.s3Url=window.TERMS_URL||Xe.s3Url,this.allVacanciesData=this.transferState.get(VA,[]),this.initializeFormAndData(),this.allVacanciesData.length||this.vacanciesService.loadAndProcessVacancies().subscribe({error:t=>console.error("Error loading or processing vacancies:",t)});else{const t=this.transferState.get("s3Url",null);this.s3Url=t||Xe.s3Url,this.transferState.set("s3Url",this.s3Url)}}ngOnDestroy(){this.subscriptions.unsubscribe()}updateTextsAndSelectedVacancy(){if(this.initialAnyVacancyText="en"===this.currentLang?"Apply for any job":"\u041f\u043e\u0434\u0430\u0442\u044c \u0437\u0430\u044f\u0432\u043a\u0443 \u043d\u0430 \u043b\u044e\u0431\u0443\u044e \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u044e",this.initialReferralText="en"===this.currentLang?"VIZOR website":"\u0412\u0435\u0431\u0441\u0430\u0439\u0442 VIZOR",this.allVacanciesData&&this.allVacanciesData.length>0){this.selectedVacancy=this.vacancyTitle?this.vacancyTitle:this.initialAnyVacancyText;const i=this.allVacanciesData.flat().find(o=>"en"===this.currentLang&&o.titleEn===this.vacancyTitle||"ru"===this.currentLang&&o.titleRu===this.vacancyTitle);this.vacancySlug=this.vacancyTitle&&i?i.slug:this.selectedVacancy}else this.selectedVacancy=this.initialAnyVacancyText,this.vacancySlug=this.initialAnyVacancyText;this.form&&(this.form.get("selectedVacancy")?.patchValue(this.selectedVacancy),this.form.get("referralSelect")?.patchValue(this.initialReferralText))}initializeFormAndData(){this.updateTextsAndSelectedVacancy(),this.form?(this.form.get("selectedVacancy")?.patchValue(this.selectedVacancy),this.form.get("referralSelect")?.patchValue(this.initialReferralText)):(this.form=new Tc({selectedVacancy:new tn(this.selectedVacancy,[]),name:new tn("",[to.required,this.noOnlyWhitespacesValidator()]),email:new tn("",[to.email,to.required,this.noOnlyWhitespacesValidator()]),phone:new tn("",[]),referralSelect:new tn(this.initialReferralText,[]),referralEmployeeName:new tn(""),aboutMe:new tn("",[]),portfolioLinks:new IA([new tn("")]),file:new tn(null,[]),additionalFile:new tn(null,[]),checkboxYears:new tn(!1,[to.requiredTrue])}),this.subscriptions.add(this.form.get("referralSelect").valueChanges.subscribe(t=>{"Referral program (VIZOR employee)"===t||"\u0420\u0435\u0444\u0435\u0440\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 (\u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a VIZOR)"===t?(this.form.controls.referralEmployeeName.setValidators([to.required,this.noOnlyWhitespacesValidator()]),this.form.controls.referralEmployeeName.updateValueAndValidity()):(this.form.controls.referralEmployeeName.reset(),this.form.controls.referralEmployeeName.setValidators([]),this.form.controls.referralEmployeeName.updateValueAndValidity())})))}get portfolioLinks(){return this.form.get("portfolioLinks")}addPortfolioLink(){this.portfolioLinks.push(new tn(""))}vacancySelected(t){this.selectedVacancy=t.target.value;const r=this.allVacanciesData.flat().find(s=>"en"===this.currentLang&&s.titleEn===this.selectedVacancy||"ru"===this.currentLang&&s.titleRu===this.selectedVacancy);this.vacancySlug=r?r.slug:this.selectedVacancy,this.form&&this.form.get("selectedVacancy")?.patchValue(this.selectedVacancy)}removePortfolioLink(t){this.portfolioLinks.removeAt(t)}uploadCvToDb(t){this.isSubmitting=!0,this.cvService.uploadCvData(t,this.currentSiteLang).subscribe({next:()=>{this.form.reset(),this.form.patchValue({selectedVacancy:this.vacancyTitle??this.initialAnyVacancyText,referralSelect:this.initialReferralText,aboutMe:""}),this.cvService.currentFormSuccessStatus(!0),this.dialog.open(kc,{width:"370px",data:{status:!0}}),this.isSubmitting=!1},error:()=>{this.dialog.open(kc,{width:"370px",data:{status:!1}}),this.isSubmitting=!1}})}uploadCv(t){t.firstFile=this.firstCvFile?this.firstCvFile.name:void 0,t.secondFile=this.secondCvFile?this.secondCvFile.name:void 0,this.cvService.uploadCv(this.firstCvFile).pipe(St(i=>t.firstCvUrl=i?.filePath),Rr(()=>this.cvService.uploadCv(this.secondCvFile)),St(i=>t.secondCvUrl=i?.filePath)).subscribe(i=>{this.uploadCvToDb(t)},i=>{"File is required"==i.error.message?this.uploadCvToDb(t):this.dialog.open(kc,{width:"370px",data:{status:!1}})})}clearFirstFile(){this.firstCvFile=void 0,this.form.controls.file.setValue(null)}clearSecondFile(){this.secondCvFile=void 0,this.form.controls.additionalFile.setValue(null)}
3submit(){if(this.errorText="",this.form.invalid)return this.form.markAllAsTouched(),void(this.errorText="en"===this.currentLang?"Please fill in all required fields.":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0432\u0441\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u043b\u044f.");this.isSubmitting=!0,this.form.patchValue({name:this.form.value.name.trim()}),this.form.patchValue({email:this.form.value.email.trim()}),this.form.value.portfolioLinks=this.form.value.portfolioLinks.filter(i=>i&&""!==i.trim());const t={name:this.form.value.name,email:this.form.value.email,phone:this.form.value.phone,aboutMe:this.form.value.aboutMe,links:this.form.value.portfolioLinks,findingMethod:this.findingMethod?.nativeElement?.value||"",referralEmployeeName:this.form.value.referralEmployeeName};this.vacancySlug===this.initialAnyVacancyText?this.uploadCv(t):this.vacanciesService.fetchVacancyBySlug(this.vacancySlug).subscribe({next:i=>{t.vacancy=i,this.uploadCv(t)},error:i=>{this.uploadCv(t)}})}firstFileUploaded(t){const i=t.target;this.firstCvFile=i.files&&i.files.length>0?i.files[0]:void 0}secondFileUploaded(t){const i=t.target;this.secondCvFile=i.files&&i.files.length>0?i.files[0]:void 0}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ae),C(ya),C(eZ),C(He),C(Jn),C(vt))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-vacancy-form"]],viewQuery:function(i,o){if(1&i&&wi(tZ,5),2&i){let r;qn(r=Yn())&&(o.findingMethod=r.first)}},inputs:{vacancyTitle:"vacancyTitle"},decls:4,vars:1,consts:()=>{let t,i,o,r,s,a,l,c,d,u,f,h,m,p,g,v,_,E;return t="Apply for the job",i="Name " + "\ufffd#17\ufffd" + "*" + "\ufffd/#17\ufffd" + "",o="Email " + "\ufffd#24\ufffd" + "*" + "\ufffd/#24\ufffd" + "",r="Phone",s="About me",a=" ",l="Your links " + "\ufffd#68\ufffd" + "\u2715 " + "\ufffd/#68\ufffd" + "",c="Upload CV",d="I permit to store my Personal Information for the total term of seven (7) years, where it will be stored for additional five (5) years after the initial two (2) years' term, and to contact and inform me about new open positions. * ",u="" + "\ufffd#88\ufffd" + "By applying for the above role, you confirm that you have reviewed our " + "\ufffd#89\ufffd" + "Privacy Notice For Job Applicants." + "\ufffd/#89\ufffd" + "" + "\ufffd/#88\ufffd" + "",f="Submit application",h="Select vacancy ",m="This field is required",p="This field is required",g="Email is not correct",v="How did you hear about our vacancy? ",_="Referral program (VIZOR employee)" + "\ufffd#3\ufffd" + "*" + "\ufffd/#3\ufffd" + "",E="This field is required",[[1,"section"],[1,"container","page-default"],[1,"content-main-padding"],["class","vacancy-form",3,"formGroup","ngSubmit","click",4,"ngIf"],[1,"vacancy-form",3,"formGroup","ngSubmit","click"],[1,"vacancy-form-title","text-center","mb-30"],t,[1,"vacancy-form-inputs","d-flex","gap-30","flex-column"],[1,"form-item"],["for","job-title",4,"ngIf"],[1,"form-item-input"],[1,"form-item-select-block"],["formControlName","selectedVacancy","name","job-title","id","job-title",1,"main-select",3,"title","change"],[3,"value","selected"],[4,"ngFor","ngForOf"],[1,"form-select-arrow"],["src","/assets/icons/nav-arrow.svg","alt","arrow"],[1,"form-item","required"],["for","vacancy-name"],i,["formControlName","name","type","text","name","vacancy-name","id","vacancy-name","placeholder"," ","maxlength","100","required","",1,"main-input",3,"keydown"],["class","form-validation",4,"ngIf"],["for","vacancy-form-mail"],o,["formControlName","email","type","email","name","vacancy-form-mail","id","vacancy-form-mail","placeholder"," ","maxlength","100","required","",1,"main-input",3,"keydown"],["for","vacancy-form-phone"],r,["formControlName","phone","oninput","this.value = this.value.replace(/[^+0-9.]/g, '').replace(/(\\..*)\\./g, '$1');","type","tel","name","vacancy-form-phone","id","vacancy-form-phone","maxlength","50","placeholder"," ",1,"main-input",3,"keydown"],["for","Referral select",4,"ngIf"],["formControlName","referralSelect","name","Referral select","id","Referral select",1,"main-select","pr-22"],["findingMethod",""],[3,"selected"],["class","form-item required",4,"ngIf"],["for","about"],s,["formControlName","aboutMe","name","aboutMe","id","about","placeholder",a,"maxlength","999",1,"main-textarea","vacancy-form-textarea",3,"keydown"],[1,"form-item","form-item-inputs"],l,[1,"plus-sign",3,"ngClass","click"],["formArrayName","portfolioLinks",1,"form-item-input","form-item-input-links","d-flex","flex-column","gap-10"],["class","d-flex align-items-center gap-10",4,"ngFor","ngForOf"],c,[1,"form-item-input","d-flex","flex-column","gap-10"],[1,"file-input-item"],["formControlName","file","type","file","name","CV","i
3d","CVFile","accept","application/pdf,image/png,image/jpeg,.doc,.docx,.txt,.rtf,.zip",1,"main-input",3,"change"],["class","delete-button form-item-action-button",3,"click",4,"ngIf"],["formControlName","additionalFile","type","file","name","CVAdditionalFile","id","CVAdditionalFile","accept","application/pdf,image/png,image/jpeg,.doc,.docx,.txt,.rtf,.zip",1,"main-input",3,"change"],[1,"agree-checkbox-block","d-flex","gap-15","mt-30","mb-30"],[1,"agree-checkbox"],["formControlName","checkboxYears","type","checkbox","name","checkboxYears","id","checkboxYears","required",""],[1,"agree-checkbox-text"],d,[1,"agree-checkbox-block","mb-40"],u,["target","_blank",1,"text-underline",3,"href"],[1,"form-button-block"],["type","submit",1,"vacancy-form-button","main-button","main-button-body",3,"disabled"],f,["class","form-button-error-text",4,"ngIf"],["for","job-title"],h,[3,"label",4,"ngIf"],[3,"label"],[3,"value","selected",4,"ngFor","ngForOf"],[1,"form-validation"],[4,"ngIf"],m,p,g,["for","Referral select"],v,["for","referral-employee-name",1,"d-block"],_,["formControlName","referralEmployeeName","type","text","name","referral-employee-name","id","referral-employee-name","placeholder"," ","maxlength","100","required","",1,"main-input",3,"keydown"],E,[1,"d-flex","align-items-center","gap-10"],["type","url","name","portfolioLinks","maxlength","300",1,"main-input",3,"formControlName","keydown"],["class","form-item-action-button",3,"click",4,"ngIf"],[1,"form-item-action-button",3,"click"],[1,"delete-button"],[1,"delete-button","form-item-action-button",3,"click"],[1,"form-button-error-text"]]},template:function(i,o){1&i&&(y(0,"section",0)(1,"div",1)(2,"div",2),R(3,yZ,94,28,"form",3),b()()()),2&i&&(w(3),S("ngIf",o.form&&o.allVacanciesData))},dependencies:[Dn,bt,Ee,Db,bA,CA,Mc,ub,rh,mb,gb,sh,ah,Ab,Pc,oh,ih],styles:[".section[_ngcontent-%COMP%]{background-color:#f2f2f2}.vacancy-form[_ngcontent-%COMP%]{max-width:754px;margin-left:auto;margin-right:auto;opacity:0;animation:fadeInDownUp .5s .4s forwards}.vacancy-form-title[_ngcontent-%COMP%]{font-size:40px}.vacancy-form[_ngcontent-%COMP%] .form-item[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;gap:15px}.vacancy-form[_ngcontent-%COMP%] .form-item-input[_ngcontent-%COMP%]{width:100%;max-width:544px}.vacancy-form[_ngcontent-%COMP%] .form-item-input[_ngcontent-%COMP%] .main-input[_ngcontent-%COMP%], .vacancy-form[_ngcontent-%COMP%] .form-item-input[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .vacancy-form[_ngcontent-%COMP%] .form-item-input[_ngcontent-%COMP%] .form-item-select-block[_ngcontent-%COMP%], .vacancy-form[_ngcontent-%COMP%] .form-item-input[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%}.vacancy-form[_ngcontent-%COMP%] .form-item-input[_ngcontent-%COMP%] .form-validation[_ngcontent-%COMP%]{bottom:-23px}.vacancy-form[_ngcontent-%COMP%] .form-item[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:flex;align-items:center;height:52px;position:relative;top:0;left:0;max-width:188px;color:#6c6c6c;font-size:18px;cursor:pointer}.vacancy-form[_ngcontent-%COMP%] .form-item[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .plus-sign[_ngcontent-%COMP%]{display:inline-block;margin-left:5px;transform:rotate(45deg)}.vacancy-form[_ngcontent-%COMP%] .form-item[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .plus-sign.disabled[_ngcontent-%COMP%]{pointer-events:none;cursor:not-allowed}.vacancy-form[_ngcontent-%COMP%] .form-item[_ngcontent-%COMP%] .file-input-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.vacancy-form[_ngcontent-%COMP%] .form-item-inputs[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.vacancy-form[_ngcontent-%COMP%] .form-item-action-button[_ngcontent-%COMP%]{border:0;outline:none;background:none;cursor:pointer}.vacancy-form[_ngcontent-%COMP%] .form-item-action-button.disabled[_ngcontent-%COMP%]{color:#1e1e1e;cursor:not-allowed}.vacancy-form-button[_ngcontent-%COMP%]{display:block;margin-left:auto;margin-right:auto}@media (max-width: 1024px){.vacancy-form-inputs[_ngcontent-%COMP%]{gap:25px}.vacancy-form[_ngcontent-%COMP%] .form-item[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;gap:6px}.vacancy-form[_ngcontent-%COMP%] .form-item-input[_ngcontent-%COMP%]{max-width:100%}.vacancy-form[_ngcontent-%COMP%] .form-item[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{max-width:100%;height:unset}}@media (max-width: 768px){.vacancy-form-block[_ngcontent-%COMP%]{padding:12px}.vacancy-form-title[_ngcontent-%COMP%]{font-size:24px}}.delete-button[_ngcontent-%COMP%]{color:#888;font-size:18px}select[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}"]})}return e})();
3function CZ(e,n){if(1&e&&(y(0,"p"),ie(1),b()),2&e){const t=I(3);w(),$t(" ","en"==t.currentLang?"All departments":"\u0412\u0441\u0435 \u0434\u0435\u043f\u0430\u0440\u0442\u0430\u043c\u0435\u043d\u0442\u044b","")}}function EZ(e,n){if(1&e&&(y(0,"p"),ie(1),b()),2&e){const t=I().$implicit,i=I(2);w(),Ye("en"==i.currentLang?t[0].department.titleEn:t[0].department.titleRu)}}function wZ(e,n){if(1&e){const t=Qe();y(0,"div",16),Q("click",function(){const r=Me(t).index;return xe(I(2).selectItem(r))}),R(1,CZ,2,1,"p",17)(2,EZ,2,1,"ng-template",null,18,an),b()}if(2&e){const t=n.$implicit,i=n.index,o=qt(3),r=I(2);vn("active",r.selectedItemIndex===i)("hidden",1===t.length&&"en"===r.currentLang&&0===t[0].titleEn.length||1===t.length&&"ru"===r.currentLang&&0===t[0].titleRu.length),w(),S("ngIf",0===i)("ngIfElse",o)}}const SZ=e=>["/jobs/",e];function MZ(e,n){if(1&e){const t=Qe();y(0,"app-vacancy-item",28),Q("click",function(){Me(t);const o=I().$implicit;return xe(I(4).setCurrentVacancy(o.id))}),b()}if(2&e){const t=I().$implicit,i=I(2).index;S("vacancyData",t)("index",i)("routerLink",Jt(3,SZ,t.slug))}}function xZ(e,n){if(1&e&&(y(0,"div",26),R(1,MZ,1,5,"app-vacancy-item",27),b()),2&e){const t=n.$implicit,i=I(4);w(),S("ngIf","en"===i.currentLang?t.titleEn.length>0:"ru"===i.currentLang&&t.titleRu.length>0)}}function DZ(e,n){if(1&e&&(y(0,"div",20)(1,"h3",21),ie(2),b(),y(3,"div",22),J(4,23),b(),y(5,"div",24),R(6,xZ,2,1,"div",25),b()()),2&e){const t=I(),i=t.index,o=t.$implicit,r=I(2);vn("active",r.selectedItemIndex===i||0===r.selectedItemIndex)("hidden",1===o.length&&"en"===r.currentLang&&0===o[0].titleEn.length||1===o.length&&"ru"===r.currentLang&&0===o[0].titleRu.length),w(2),$t(" ","en"==r.currentLang?o[0].department.titleEn:o[0].department.titleRu," "),w(2),vg(o.length)(o.length),function cM(e){!function hV(e,n,t){if(Ol>0){const i=e.data[t];ZS(e,n,Array.isArray(i)?i:i.update,co()-Ol-1,Tl)}Tl=0,Ol=0}(Ne(),j(),e+ge)}(4),w(2),S("ngForOf",o)}}function TZ(e,n){if(1&e&&(At(0),R(1,DZ,7,8,"div",19),Pt()),2&e){const t=n.index;w(),S("ngIf",0!==t)}}function OZ(e,n){if(1&e){const t=Qe();y(0,"section",2)(1,"div",3)(2,"div",4)(3,"div",5)(4,"div",6)(5,"div",7)(6,"h1",8),J(7,9),b(),y(8,"a",10),Q("click",function(){Me(t);const o=I(),r=qt(2);return xe(o.scrollToForm(r))}),J(9,11),b()(),y(10,"div",12),R(11,wZ,4,6,"div",13),b()(),y(12,"div",14),R(13,TZ,2,1,"ng-container",15),b()()()()()}if(2&e){const t=I();w(11),S("ngForOf",t.jobsData),w(2),S("ngForOf",t.jobsData)}}let IZ=(()=>{class e{constructor(t,i){this.vacanciesService=t,this.langService=i,this.selectedItemIndex=0}setCurrentVacancy(t){this.vacanciesService.setCurrentVacancy(t)}ngOnInit(){this.jobsData&&this.jobsData.length>0&&(this.selectedItemIndex=0),this.langService.sharedCurrentSiteLang.subscribe(t=>{this.currentLang=t})}selectItem(t){this.selectedItemIndex=t}scrollToForm(t){t.scrollIntoView({behavior:"smooth"}),t.scrollTo()}static#e=this.\u0275fac=function(i){return new(i||e)(C(ya),C(He))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-vacancies-list"]],inputs:{jobsData:"jobsData"},decls:4,vars:1,consts:()=>{let t,i,o,r;return t="Jobs",i="Apply now",o="{VAR_PLURAL, plural, =1 {1 open position} other {{INTERPOLATION} open positions}}",o=Cu(o,{INTERPOLATION:"\ufffd1\ufffd",VAR_PLURAL:"\ufffd0\ufffd"}),r=" " + o + " ",[["class","section",4,"ngIf"],["vacancyFormAnchor",""],[1,"section"],[1,"container"],[1,"content-main-padding"],[1,"d-flex","flex-column","vacancies-list"],[1,"page-default-header"],[1,"d-flex","justify-content-sb","align-items-center","flex-wrap","gap-15","mb-25"],[1,"section-title-large"],t,[1,"main-button","main-button-body",3,"click"],i,[1,"vacancies-list-departments","d-flex","flex-wrap","gap-12","mb-50"],["class","vacancies-list-departments-item",3,"active","hidden","click",4,"ngFor","ngForOf"],[1,"vacancies-list-block","page-default-content","d-flex","flex-column","justify-content-center","gap-40"],[4,"ngFor","ngForOf"],[1,"vacancies-list-departments-item",3,"click"],[4,"ngIf","ngIfElse"],["notFirstJobs",""],["class","vacancies-list-item d-flex flex-column gap-10",3,"active","hidden",4,"ngIf"],[1,"vacancies-list-item","d-flex","flex-column","gap-10"],[1,"section-title-medium","text-center"],[1,"vacancies-list-departments-amount","text-center"],r,[1,"vacancies-catalog","d-flex","flex-column","gap-6"],["class","d-flex flex-column gap-20",4,"ngFor","ngForOf"],[1,"d-flex","flex-column","gap-20"],[3,"vacancyData","index","routerLink","click",4,"ngIf"],[3,"vacancyData","index","routerLink","click"]]},template:function(i,o){1&i&&(R(0,OZ,14,2,"section",0),y(1,"div",null,1),z(3,"app-vacancy-form"),b()),2&i&&S("ngIf",o.jobsData)},dependencies:[bt,Ee,cn,JK,BA],styles:[".vacancies-list[_ngcontent-%COMP%]{max-width:1100px;margin-left:auto;margin-right:auto}.vacancies-list-item[_ngcontent-%COMP%]{display:none!important}.vacancies-list-item.active[_ngcontent-%COMP%]{display:flex!important}.vacancies-list-item.hidden[_ngcontent-%COMP%]{display:none!important}.vacancies-list[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:0}.vacancies-list[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#8f7cf8;line-height:1}.vacancies-list-departments-item[_ngcontent-%COMP%]{padding:5px 20px;background-color:#f2f2f2;border-radius:22px;font-size:19px}.vacancies-list-departments-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding-top:2px}.vacancies-list-departments-item.active[_ngcontent-%COMP%]{color:#fff!important;background-color:#8f7cf8!important;transform:scale(1.025)}.vacancies-list-departments-item.hidden[_ngcontent-%COMP%]{display:none!important}.vacancies-list-departments-item[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:#a291ff;color:#fff}
3.vacancies-list-departments-amount[_ngcontent-%COMP%]{color:#717171;font-size:20px}"]})}return e})();function AZ(e,n){if(1&e&&(At(0),z(1,"app-vacancies-list",2),Pt()),2&e){const t=I();w(),S("jobsData",t.jobsData)}}const jA="jobsData",zA="departments";let PZ=(()=>{class e{constructor(t,i,o,r,s){this.vacanciesService=t,this.langService=i,this.titleService=o,this.transferState=r,this.platformId=s,this.subscriptions=new Rt}ngOnInit(){this.isBrowser=Pe(this.platformId),this.subscriptions.add(this.vacanciesService.sortedJobsData$.subscribe(t=>{t&&t.length&&(this.jobsData=t,this.transferState.set(jA,this.jobsData))})),this.subscriptions.add(this.vacanciesService.departments$.subscribe(t=>{t&&t.length&&(this.departments=t,this.transferState.set(zA,this.departments))})),this.subscriptions.add(this.langService.sharedCurrentSiteLang.subscribe(t=>{this.currentLang=t,this.titleService.setTitle("en"===t?"VIZOR Jobs":"\u0420\u0430\u0431\u043e\u0442\u0430 \u0432 VIZOR")})),this.isBrowser?(this.jobsData=this.transferState.get(jA,[]),this.departments=this.transferState.get(zA,[]),this.jobsData.length||this.vacanciesService.loadAndProcessVacancies().subscribe()):this.vacanciesService.loadAndProcessVacancies().subscribe()}ngOnDestroy(){this.subscriptions.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)(C(ya),C(He),C(Zn),C(vt),C(Ae))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-vacancies-page"]],decls:2,vars:1,consts:[[1,"page-default"],[4,"ngIf"],[3,"jobsData"]],template:function(i,o){1&i&&(y(0,"div",0),R(1,AZ,2,1,"ng-container",1),b()),2&i&&(w(),S("ngIf",o.jobsData))},dependencies:[Ee,IZ]})}return e})();function kZ(e,n){if(1&e&&(At(0),z(1,"app-blog-preview-item",8),Pt()),2&e){const t=n.$implicit;w(),S("importantCheck",!1)("item",t)}}function NZ(e,n){if(1&e&&(y(0,"section",1)(1,"div",2)(2,"div",3)(3,"h2",4),J(4,5),b(),y(5,"div",6),R(6,kZ,2,2,"ng-container",7),b()()()()),2&e){const t=I();w(6),S("ngForOf",t.readMoreNews)}}let RZ=(()=>{class e{constructor(t,i){this.blogService=t,this.router=i,this.readMoreNews=[],this.imagesUrl=Xe.imagesUrl,this.router.routeReuseStrategy.shouldReuseRoute=function(){return!1}}ngOnInit(){this.blogService.fetchBlog().subscribe(t=>{this.readMoreNews=t.newsList.length>=3?t.newsList.filter(i=>i.id!==this.currentNewsID).slice(0,3):t.newsList.filter(i=>i.id!==this.currentNewsID)})}static#e=this.\u0275fac=function(i){return new(i||e)(C(wf),C(en))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-more-block"]],inputs:{currentNewsID:"currentNewsID",readMoreNews:"readMoreNews"},decls:1,vars:1,consts:()=>{let t;return t="See more",[["class","section more-block page-default-content",4,"ngIf"],[1,"section","more-block","page-default-content"],[1,"container"],[1,"content-main-padding"],[1,"section-title","text-center","mb-30"],t,[1,"more-block-content","d-flex","flex-wrap","gap-20"],[4,"ngFor","ngForOf"],[1,"more-block-news-preview",3,"importantCheck","item"]]},template:function(i,o){1&i&&R(0,NZ,7,1,"section",0),2&i&&S("ngIf",o.readMoreNews.length)},dependencies:[bt,Ee,Xv],styles:[".more-block[_ngcontent-%COMP%]{background-color:#e6e6e6}.more-block-content[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.more-block-content-item[_ngcontent-%COMP%]{max-width:440px;
3min-width:200px;flex:1 0 calc(33% - 25px)}.more-block-date[_ngcontent-%COMP%]{font-size:14px;color:#00000059;margin:17px 0}.more-block-text[_ngcontent-%COMP%]{font-size:22px;line-height:26px}@media (max-width: 1600px){.more-block-content[_ngcontent-%COMP%]{gap:20px}}@media (max-width: 1300px){.more-block-item[_ngcontent-%COMP%]{max-width:305px}}@media (max-width: 1051px){.more-block-content[_ngcontent-%COMP%] app-blog-preview-item[_ngcontent-%COMP%]:nth-child(3){display:none}}@media (max-width: 1024px){.more-block[_ngcontent-%COMP%]{margin-bottom:0}.more-block-date[_ngcontent-%COMP%]{margin:8px 0}}@media (max-width: 992px){.more-block-news-preview[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding:8px}}@media (max-width: 600px){.more-block-content[_ngcontent-%COMP%] app-blog-preview-item[_ngcontent-%COMP%]:nth-child(3){display:block}}"]})}return e})(),FZ=(()=>{class e{constructor(){this.copied=new U}onClick(t){t.preventDefault(),this.payload&&navigator.clipboard.writeText(this.payload.toString()).then(()=>{this.copied.emit(this.payload)})}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=oe({type:e,selectors:[["","copy-clipboard",""]],hostBindings:function(i,o){1&i&&Q("click",function(s){return o.onClick(s)})},inputs:{payload:[Ce.None,"copy-clipboard","payload"],context:"context"},outputs:{copied:"copied"}})}return e})();function LZ(e,n){1&e&&(y(0,"p",10),J(1,11),b())}let GA=(()=>{class e{constructor(t,i){this.platformId=t,this.route=i,this.statusCopied=!1,this.isBrowser=!1,this.isBrowser=Pe(this.platformId),this.isBrowser&&this.route.url.subscribe(o=>{this.currentUrl=window.location.href})}notify(){this.statusCopied=!0,setTimeout(()=>{this.statusCopied=!1},111e3)}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ae),C(Qn))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-social-share"]],inputs:{additionalStyles:"additionalStyles"},decls:15,vars:8,consts:()=>{let t;return t="Link copied",[[1,"share-item","clipboard-block","animated-scale"],["hidden","","id","clipboard-input",3,"copy-clipboard","copied"],["for","clipboard-input"],["src","/assets/icons/social/share-page-white.svg","alt","copy link"],["class","clipboard-status",4,"ngIf"],[1,"share-item","animated-scale"],["target","_blank",3,"href"],["src","/assets/icons/social/facebook-share-page-black.svg","alt","share"],["src","/assets/icons/social/twitter-share-page-black.svg","alt","share"],["src","/assets/icons/social/linked-share-page-black.svg","alt","share"],[1,"clipboard-status"],t]},template:function(i,o){1&i&&(y(0,"div")(1,"div",0)(2,"input",1),Q("copied",function(){return o.notify()}),b(),y(3,"label",2),z(4,"img",3),b(),R(5,LZ,2,0,"p",4),b(),y(6,"div",5)(7,"a",6),z(8,"img",7),b()(),y(9,"div",5)(10,"a",6),z(11,"img",8),b()(),y(12,"div",5)(13,"a",6),z(14,"img",9),b()()()),2&i&&(function AS(e,n,t){Ei(jn,Bi,zs(j(),e,n,t),!0)}("share-container d-flex align-items-center ",o.additionalStyles,""),w(2),S("copy-clipboard",o.currentUrl),w(3),S("ngIf",o.statusCopied),w(2),Js("href","https://www.facebook.com/sharer/sharer.php?u=",o.currentUrl,"&src=sdkpreparse",_e),w(3),Js("href","https://twitter.com/intent/tweet?text=",o.currentUrl,"",_e),w(3),Js("href","https://www.linkedin.com/sharing/share-offsite/?url=",o.currentUrl,"",_e))},dependencies:[Ee,FZ],styles:[".share-container[_ngcontent-%COMP%]{gap:5px}.share-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block}.share-item[_ngcontent-%COMP%]{max-width:47px;min-width:47px}@media (max-width: 768px){.share-item[_ngcontent-%COMP%]{max-width:35px;min-width:35px}}@media (max-width: 600px){.share-container[_ngcontent-%COMP%]:not(.flex-row){max-width:35px;min-width:35px}}.clipboard-block[_ngcontent-%COMP%]{position:relative}.clipboard-block[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{cursor:pointer;display:block;border-radius:13px}.clipboard-status[_ngcontent-%COMP%]{position:absolute;top:-18px;left:0;font-size:14px;white-space:nowrap}@media (max-width: 1400px){.clipboard-status[_ngcontent-%COMP%]{top:100%;left:0;transform:unset}}@media (max-width: 768px){.clipboard-status[_ngcontent-%COMP%]{white-space:normal;text-align:center;top:-40px;font-size:13px}}"]})}return e})(),$Z=(()=>{class e{constructor(t){this.sanitized=t}transform(t){return this.sanitized.bypassSecurityTrustHtml(t)}static#e=this.\u0275fac=function(i){return new(i||e)(C(Yl,16))};static#t=this.\u0275pipe=Zt({name:"safeHtml",type:e,pure:!0})}return e})();function VZ(e,n){if(1&e){const t=Qe();y(0,"div",16),Q("click",function(){Me(t);const o=I();return xe(o.openModalVideo(o.newsVideoLink))}),b()}}let BZ=(()=>{class e{constructor(t,i,o,r,s,a,l){this.router=t,this.blogService=i,this.route=o,this.titleService=r,this.langService=s,this.pageNotFoundService=a,this.dialog=l,this.active=!0,this.imagesUrl=Xe.imagesUrl}openModalVideo(t){this.dialog.open(Ec,{width:"1000px"}).componentInstance.videoSrc=t}ngOnInit(){this.pageNotFoundService.setReturnPage("blog"),this.langService.sharedCurrentSiteLang.subscribe(t=>{this.route.url.subscribe(i=>{this.blogService.fetchBlogBySlug(i[1].path).subscribe(o=>{this.id=o.id,this.type=o.type,this.category="en"===t?o.category.titleEn:o.category.titleRu,this.newsTitle="en"===t?o.titleEn:o.titleRu,this.created=o.created,this.mainImage=o.newsImageMain?.path,this.imgAlt="en"===t?o.newsImageMain.altEn:o.newsImageMain.altRu,this.newsVideoLink=o.newsVideoLink,this.newsContent="en"===t?o.contentEn:o.contentRu,this.active=o.active,this.titleService.setTitle("en"===t?"VIZOR news: "+o.titleEn:"VIZOR \u043d\u043e\u0432\u043e\u0441\u0442\u0438: "+o.titleRu)},o=>{404==o.status&&(this.pageNotFoundService.setReturnPage("blog"),this.router.navigateByUrl("/404",{skipLocationChange:!0}))})})})}static#e=this.\u0275fac=function(i){return new(i||e)(C(en),C(wf),C(Qn),C(Zn),C(He),C(Sc),C(Jn))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-article"]],decls:27,vars:14,consts:[[1,"page-default"],[1,"header","news-header"],[1,"container"],[1,"content-main-padding"],[1,"news-header-content"],[1,"page-default-header"],[1,"d-flex","flex-wrap","gap-20","justify-content-sb","mb-30"],[1,"section-title-large","news-header-title"],[1,"news-header-subtitle","d-flex","align-items-center"],[1,"news-header-social-share-block"],[1,"page-default-content"],[1,"news-header-poster"],["class","play-icon big white",3,"click",4,"ngIf"],[3,"src","alt"],[1,"news-content","page-default-content","mt-60",3,"innerHTML"],[3,"currentNewsID"],[1,"play-icon","big","white",3,"click"]],template:function(i,o){1&i&&(y(0,"div",0)(1,"section",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div")(8,"h1",7),ie(9),b(),y(10,"div",8)(11,"span"),ie(12),Gi(13,"date"),b(),y(14,"p"),ie(15,"\xa0|\xa0"),b(),y(16,"span"),ie(17),b()()(),y(18,"div",9),z(19,"app-social-share"),b()()(),y(20,"div",10)(21,"div",11),R(22,VZ,1,0,"div",12),z(23,"img",13),b()()(),z(24,"div",14),Gi(25,"safeHtml"),b()()(),z(26,"app-more-block",15),b()),2&i&&(w(9),Ye(o.newsTitle),w(3),Ye(Fg(13,9,o.created,"dd.MM.yy")),w(5),Ye(o.category),w(5),S("ngIf","Video"===o.type&&o.newsVideoLink),w(),ut("src","",o.imagesUrl,"",o.mainImage,"",_e),pe("alt",o.imgAlt),w(),S("innerHTML",Zo(25,12,o.newsContent),Ot),w(2),S("currentNewsID",o.id
3))},dependencies:[Ee,RZ,GA,__,$Z],styles:[".news-header[_ngcontent-%COMP%]{position:relative}.news-header-poster[_ngcontent-%COMP%]{position:relative;margin:0 auto}.news-header-poster[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;border-radius:22px}.news-header-title[_ngcontent-%COMP%]{max-width:910px}.news-header-subtitle[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:24px}.news-header-subtitle[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:26px}.news-header-description[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:not(:first-child){padding-top:20px}.news-header-social-share-block[_ngcontent-%COMP%]{margin-top:20px}@media (max-width: 1600px){.news-header[_ngcontent-%COMP%]{margin-top:0}.news-header-title[_ngcontent-%COMP%]{margin-bottom:10px}.news-header-social-share-block[_ngcontent-%COMP%]{margin-top:0}}@media (max-width: 768px){.news-header-subtitle[_ngcontent-%COMP%]{margin-bottom:15px}.news-header-subtitle[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px}.news-header-subtitle[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:20px}}@media (max-width: 550px){.news-header-subtitle[_ngcontent-%COMP%]{margin-bottom:10px}.news-header-subtitle[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:16px}.news-header-subtitle[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:18px}}"]})}return e})(),jZ=(()=>{class e{constructor(t){this.http=t}fetchLink(t){return this.http.get(ke.linksUrl+t)}parseHtmlForLinks(t){var i=this;return Nr(function*(){let r="";if(t){const s=t.match(/href="#\d+"/g);if(s)for(let a=0;a<s.length;a++){const l=s[a],c=parseInt(l.match(/\d+/g)[0]),d=yield i.fetchLink(c).toPromise();return r=t.replace(l,`id=${c} lang=${d.lang} href=${d.link}`),Promise.resolve(r)}}return Promise.resolve(t)})()}static#e=this.\u0275fac=function(i){return new(i||e)(T(Kn))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class zZ extends Se{constructor(n=1/0,t=1/0,i=Sv){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:i,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:s}=this;t||(i.push(n),!o&&i.push(r.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:o}=this,r=o.slice();for(let s=0;s<r.length&&!n.closed;s+=i?1:2)n.next(r[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){const{_bufferSize:n,_timestampProvider:t,_buffer:i,_infiniteTimeWindow:o}=this,r=(o?1:2)*n;if(n<1/0&&r<i.length&&i.splice(0,i.length-r),!o){const s=t.now();let a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}function kb(e,n,...t){if(!0===n)return void e();if(!1===n)return;const i=new os({next:()=>{i.unsubscribe(),e()}});return n(...t).subscribe(i)}var Yr={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function UA(e){Yr=e}var Nc={exec:()=>null};function We(e,n=""){let t="string"==typeof e?e:e.source;const i={replace:(o,r)=>{let s="string"==typeof r?r:r.source;return s=s.replace(In.caret,"$1"),t=t.replace(o,s),i},getRegex:()=>new RegExp(t,n)};return i}var In={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},Rc=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Rb=/(?:[*+-]|\d{1,9}[.)])/,HA=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,WA=We(HA).replace(/bull/g,Rb).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),XZ=We(HA).replace(/bull/g,Rb).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Fb=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Lb=/(?!\s*\])(?:\\.|[^\[\]\\])+/,ZZ=We(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Lb).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),QZ=We(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Rb).getRegex(),ch="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",$b=
vendor: 8,021 bytes, line 3
3/<!--(?:-?>|[\s\S]*?(?:-->|$))/,JZ=We("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",$b).replace("tag",ch).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),qA=We(Fb).replace("hr",Rc).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ch).getRegex(),Vb={blockquote:We(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",qA).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:ZZ,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:Rc,html:JZ,lheading:WA,list:QZ,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:qA,table:Nc,text:/^[^\n]+/},YA=We("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Rc).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ch).getRegex(),tQ={...Vb,lheading:XZ,table:YA,paragraph:We(Fb).replace("hr",Rc).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",YA).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ch).getRegex()},nQ={...Vb,html:We("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",$b).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Nc,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:We(Fb).replace("hr",Rc).replace("heading"," *#{1,6} *[^\n]").replace("lheading",WA).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},XA=/^( {2,}|\\)\n(?!\s*$)/,dh=/[\p{P}\p{S}]/u,Bb=/[\s\p{P}\p{S}]/u,KA=/[^\s\p{P}\p{S}]/u,sQ=We(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Bb).getRegex(),ZA=/(?!~)[\p{P}\p{S}]/u,QA=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,dQ=We(QA,"u").replace(/punct/g,dh).getRegex(),uQ=We(QA,"u").replace(/punct/g,ZA).getRegex(),JA="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",fQ=We(JA,"gu").replace(/notPunctSpace/g,KA).replace(/punctSpace/g,Bb).replace(/punct/g,dh).getRegex(),hQ=We(JA,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,ZA).getRegex(),pQ=We("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,KA).replace(/punctSpace/g,Bb).replace(/punct/g,dh).getRegex(),mQ=We(/\\(punct)/,"gu").replace(/punct/g,dh).getRegex(),gQ=We(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[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])?)+(?![-_])/).getRegex(),_Q=We($b).replace("(?:--\x3e|$)","--\x3e").getRegex(),vQ=We("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",_Q).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),uh=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,bQ=We(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",uh).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),eP=We(/^!?\[(label)\]\[(ref)\]/).replace("label",uh).replace("ref",Lb).getRegex(),tP=We(/^!?\[(ref)\](?:\[\])?/).replace("ref",Lb).getRegex(),jb={_backpedal:Nc,anyPunctuation:mQ,autolink:gQ,blockSkip:/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,br:XA,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:Nc,emStrongLDelim:dQ,emStrongRDelimAst:fQ,emStrongRDelimUnd:pQ,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:bQ,nolink:tP,punctuation:sQ,reflink:eP,reflinkSearch:We("reflink|nolink(?!\\()","g").replace("reflink",eP).replace("nolink",tP).getRegex(),tag:vQ,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:Nc},CQ={...jb,link:We(/^!?\[(label)\]\((.*?)\)/).replace("label",uh).getRegex(),reflink:We(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",uh).getRegex()},zb={...jb,emStrongRDelimAst:hQ,emStrongLDelim:uQ,url:We(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},EQ={...zb,br:We(XA).replace("{2,}","*").getRegex(),text:We(zb.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},fh={normal:Vb,gfm:tQ,pedantic:nQ},Fc={normal:jb,gfm:zb,breaks:EQ,pedantic:CQ},wQ={"&":"&","<":"<",">":">",'"':""","'":"'"},nP=e=>wQ[e];function no(e,n){if(n){if(In.escapeTest.test(e))return e.replace(In.escapeReplace,nP)}else if(In.escapeTestNoEncode.test(e))return e.replace(In.escapeReplaceNoEncode,nP);return e}function iP(e){try{e=encodeURI(e).replace(In.percentDecode,"%")}catch{return null}return e}function oP(e,n){const i=e.replace(In.findPipe,(r,s,a)=>{let l=!1,c=s;for(;--c>=0&&"\\"===a[c];)l=!l;return l?"|":" |"}).split(In.splitPipe);let o=0;if(i[0].trim()||i.shift(),i.length>0&&!i.at(-1)?.trim()&&i.pop(),n)if(i.length>n)i.splice(n);else for(;i.length<n;)i.push("");for(;o<i.length;o++)i[o]=i[o].trim().replace(In.slashPipe,"|");return i}function Lc(e,n,t){const i=e.length;if(0===i)return"";let o=0;for(;o<i;){const r=e.charAt(i-o-1);if(r!==n||t){if(r===n||!t)break;o++}else o++}return e.slice(0,i-o)}function rP(e,n,t,i,o){const r=n.href,s=n.title||null,a=e[1].replace(o.other.outputLinkReplace,"$1");i.state.inLink=!0;const l={type:"!"===e[0].charAt(0)?"image":"link",raw:t,href:r,title:s,text:a,tokens:i.inl
3ineTokens(a)};return i.state.inLink=!1,l}var hh=class{options;rules;lexer;constructor(e){this.options=e||Yr}space(e){const n=this.rules.block.newline.exec(e);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(e){const n=this.rules.block.code.exec(e);if(n){const t=n[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?t:Lc(t,"\n")}}}fences(e){const n=this.rules.block.fences.exec(e);if(n){const t=n[0],i=function MQ(e,n,t){const i=e.match(t.other.indentCodeCompensation);if(null===i)return n;const o=i[1];return n.split("\n").map(r=>{const s=r.match(t.other.beginningSpace);if(null===s)return r;const[a]=s;return a.length>=o.length?r.slice(o.length):r}).join("\n")}(t,n[3]||"",this.rules);return{type:"code",raw:t,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:i}}}heading(e){const n=this.rules.block.heading.exec(e);if(n){let t=n[2].trim();if(this.rules.other.endingHash.test(t)){const i=Lc(t,"#");(this.options.pedantic||!i||this.rules.other.endingSpaceChar.test(i))&&(t=i.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(e){const n=this.rules.block.hr.exec(e);if(n)return{type:"hr",raw:Lc(n[0],"\n")}}blockquote(e){const n=this.rules.block.blockquote.exec(e);if(n){let t=Lc(n[0],"\n").split("\n"),i="",o="";const r=[];for(;t.length>0;){let s=!1;const a=[];let l;for(l=0;l<t.length;l++)if(this.rules.other.blockquoteStart.test(t[l]))a.push(t[l]),s=!0;else{if(s)break;a.push(t[l])}t=t.slice(l);const c=a.join("\n"),d=c.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");i=i?`${i}\n${c}`:c,o=o?`${o}\n${d}`:d;const u=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(d,r,!0),this.lexer.state.top=u,0===t.length)break;const f=r.at(-1);if("code"===f?.type)break;if("blockquote"===f?.type){const h=f,m=h.raw+"\n"+t.join("\n"),p=this.blockquote(m);r[r.length-1]=p,i=i.substring(0,i.length-h.raw.length)+p.raw,o=o.substring(0,o.length-h.text.length)+p.text;break}if("list"!==f?.type);else{const h=f,m=h.raw+"\n"+t.join("\n"),p=this.list(m);r[r.length-1]=p,i=i.substring(0,i.length-f.raw.length)+p.raw,o=o.substring(0,o.length-h.raw.length)+p.raw,t=m.substring(r.at(-1).raw.length).split("\n")}}return{type:"blockquote",raw:i,tokens:r,text:o}}}list(e){let n=this.rules.block.list.exec(e);if(n){let t=n[1].trim();const i=t.length>1,o={type:"list",raw:"",ordered:i,start:i?+t.slice(0,-1):"",loose:!1,items:[]};t=i?`\\d{1,9}\\${t.slice(-1)}`:`\\${t}`,this.options.pedantic&&(t=i?t:"[*+-]");const r=this.rules.other.listItemRegex(t);let s=!1;for(;e;){let l=!1,c="",d="";if(!(n=r.exec(e))||this.rules.block.hr.test(e))break;c=n[0],e=e.substring(c.length);let u=n[2].split("\n",1)[0].replace(this.rules.other.listReplaceTabs,v=>" ".repeat(3*v.length)),f=e.split("\n",1)[0],h=!u.trim(),m=0;if(this.options.pedantic?(m=2,d=u.trimStart()):h?m=n[1].length+1:(m=n[2].search(this.rules.other.nonSpaceChar),m=m>4?1:m,d=u.slice(m),m+=n[1].length),h&&this.rules.other.blankLine.test(f)&&(c+=f+"\n",e=e.substring(f.length+1),l=!0),!l){const v=this.rules.other.nextBulletRegex(m),_=this.rules.other.hrRegex(m),E=this.rules.other.fencesBeginRegex(m),x=this.rules.other.headingBeginRegex(m),O=this.rules.other.htmlBeginRegex(m);for(;e;){const P=e.split("\n",1)[0];let F;if(f=P,this.options.pedantic?(f=f.replace(this.rules.other.listReplaceNesting," "),F=f):F=f.replace(this.rules.other.tabCharGlobal," "),E.test(f)||x.test(f)||O.test(f)||v.test(f)||_.test(f))break;if(F.search(this.rules.other.nonSpaceChar)>=m||!f.trim())d+="\n"+F.slice(m);else{if(h||u.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||E.test(u)||x.test(u)||_.test(u))break;d+="\n"+f}!h&&!f.trim()&&(h=!0),c+=P+"\n",e=e.substring(P.length+1),u=F.slice(m)}}o.loose||(s?o.loose=!0:this.rules.other.doubleBlankLine.test(c)&&(s=!0));let g,p=null;this.options.gfm&&(p=this.rules.other.listIsTask.exec(d),p&&(g="[ ] "!==p[0],d=d.replace(this.rules.other.listReplaceTask,""))),o.items.push({type:"list_item",raw:c,task:!!p,checked:g,loose:!1,text:d,tokens:[]}),o.raw+=c}const a=o.items.at(-1);if(!a)return;a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd(),o.raw=o.raw.trimEnd();for(let l=0;l<o.items.length;l++)if(this.lexer.state.top=!1,o.items[l].tokens=this.lexer.blockTokens(o.items[l].text,[]),!o.loose){const c=o.items[l].tokens.filter(u=>
vendor: 5,088 bytes, line 3
3"space"===u.type),d=c.length>0&&c.some(u=>this.rules.other.anyLine.test(u.raw));o.loose=d}if(o.loose)for(let l=0;l<o.items.length;l++)o.items[l].loose=!0;return o}}html(e){const n=this.rules.block.html.exec(e);if(n)return{type:"html",block:!0,raw:n[0],pre:"pre"===n[1]||"script"===n[1]||"style"===n[1],text:n[0]}}def(e){const n=this.rules.block.def.exec(e);if(n){const t=n[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),i=n[2]?n[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",o=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):n[3];return{type:"def",tag:t,raw:n[0],href:i,title:o}}}table(e){const n=this.rules.block.table.exec(e);if(!n||!this.rules.other.tableDelimiter.test(n[2]))return;const t=oP(n[1]),i=n[2].replace(this.rules.other.tableAlignChars,"").split("|"),o=n[3]?.trim()?n[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],r={type:"table",raw:n[0],header:[],align:[],rows:[]};if(t.length===i.length){for(const s of i)this.rules.other.tableAlignRight.test(s)?r.align.push("right"):this.rules.other.tableAlignCenter.test(s)?r.align.push("center"):this.rules.other.tableAlignLeft.test(s)?r.align.push("left"):r.align.push(null);for(let s=0;s<t.length;s++)r.header.push({text:t[s],tokens:this.lexer.inline(t[s]),header:!0,align:r.align[s]});for(const s of o)r.rows.push(oP(s,r.header.length).map((a,l)=>({text:a,tokens:this.lexer.inline(a),header:!1,align:r.align[l]})));return r}}lheading(e){const n=this.rules.block.lheading.exec(e);if(n)return{type:"heading",raw:n[0],depth:"="===n[2].charAt(0)?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(e){const n=this.rules.block.paragraph.exec(e);if(n){const t="\n"===n[1].charAt(n[1].length-1)?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:t,tokens:this.lexer.inline(t)}}}text(e){const n=this.rules.block.text.exec(e);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(e){const n=this.rules.inline.escape.exec(e);if(n)return{type:"escape",raw:n[0],text:n[1]}}tag(e){const n=this.rules.inline.tag.exec(e);if(n)return!this.lexer.state.inLink&&this.rules.other.startATag.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(e){const n=this.rules.inline.link.exec(e);if(n){const t=n[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(t)){if(!this.rules.other.endAngleBracket.test(t))return;const r=Lc(t.slice(0,-1),"\\");if((t.length-r.length)%2==0)return}else{const r=function SQ(e,n){if(-1===e.indexOf(n[1]))return-1;let t=0;for(let i=0;i<e.length;i++)if("\\"===e[i])i++;else if(e[i]===n[0])t++;else if(e[i]===n[1]&&(t--,t<0))return i;return t>0?-2:-1}(n[2],"()");if(-2===r)return;if(r>-1){const a=(0===n[0].indexOf("!")?5:4)+n[1].length+r;n[2]=n[2].substring(0,r),n[0]=n[0].substring(0,a).trim(),n[3]=""}}let i=n[2],o="";if(this.options.pedantic){const r=this.rules.other.pedanticHrefTitle.exec(i);r&&(i=r[1],o=r[3])}else o=n[3]?n[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(i=this.options.pedantic&&!this.rules.other.endAngleBracket.test(t)?i.slice(1):i.slice(1,-1)),rP(n,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer,this.rules)}}reflink(e,n){let t;if((t=this.rules.inline.reflink.exec(e))||(t=this.rules.inline.nolink.exec(e))){const o=n[(t[2]||t[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!o){const r=t[0].charAt(0);return{type:"text",raw:r,text:r}}return rP(t,o,t[0],this.lexer,this.rules)}}emStrong(e,n,t=""){let i=this.rules.inline.emStrongLDelim.exec(e);if(!(!i||i[3]&&t.match(this.rules.other.unicodeAlphaNumeric))&&(!i[1]&&!i[2]||!t||this.rules.inline.punctuation.exec(t))){const r=[...i[0]].length-1;let s,a,l=r,c=0;const d="*"===i[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(d.lastIndex=0,n=n.slice(-1*e.length+r);null!=(i=d.exec(n));){if(s=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!s)continue;if(a=[...s].length,i[3]||i[4]){l+=a;continue}if((i[5]||i[6])&&r%3&&!((r+a)%3)){c+=a;continue}if(l-=a,l>0)continue;a=Math.min(a,a+l+c);const u=[...i[0]][0].length,f=e.slice(0,r+i.index+u+a);if(Math.min(r,a)%2){const m=f.slice(1,-1);return{type:"em",raw:f,text:m,tokens:this.lexer.inlineTokens(m)}}const h=f.slice(2,-2);return{type:"strong",raw:f,text:h,tokens:this.lexer.inlineTokens(h)}}}}codespan(e){const n=this.rules.inline.code.exec(e);if(n){let t=n[2].replace(this.rules.other.newLineCharGlobal," ");const i=this.rules.other.nonSpaceChar.test(t),o=this.rules.other.startingSpaceChar.test(t)&&this.rules.other.endingSpaceChar.test(t);
vendor: 5,028 bytes, line 3
3return i&&o&&(t=t.substring(1,t.length-1)),{type:"codespan",raw:n[0],text:t}}}br(e){const n=this.rules.inline.br.exec(e);if(n)return{type:"br",raw:n[0]}}del(e){const n=this.rules.inline.del.exec(e);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(e){const n=this.rules.inline.autolink.exec(e);if(n){let t,i;return"@"===n[2]?(t=n[1],i="mailto:"+t):(t=n[1],i=t),{type:"link",raw:n[0],text:t,href:i,tokens:[{type:"text",raw:t,text:t}]}}}url(e){let n;if(n=this.rules.inline.url.exec(e)){let t,i;if("@"===n[2])t=n[0],i="mailto:"+t;else{let o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])?.[0]??""}while(o!==n[0]);t=n[0],i="www."===n[1]?"http://"+n[0]:n[0]}return{type:"link",raw:n[0],text:t,href:i,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(e){const n=this.rules.inline.text.exec(e);if(n)return{type:"text",raw:n[0],text:n[0],escaped:this.lexer.state.inRawBlock}}},Do=class ky{tokens;options;state;tokenizer;inlineQueue;constructor(n){this.tokens=[],this.tokens.links=Object.create(null),this.options=n||Yr,this.options.tokenizer=this.options.tokenizer||new hh,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={other:In,block:fh.normal,inline:Fc.normal};this.options.pedantic?(t.block=fh.pedantic,t.inline=Fc.pedantic):this.options.gfm&&(t.block=fh.gfm,t.inline=this.options.breaks?Fc.breaks:Fc.gfm),this.tokenizer.rules=t}static get rules(){return{block:fh,inline:Fc}}static lex(n,t){return new ky(t).lex(n)}static lexInline(n,t){return new ky(t).inlineTokens(n)}lex(n){n=n.replace(In.carriageReturn,"\n"),this.blockTokens(n,this.tokens);for(let t=0;t<this.inlineQueue.length;t++){const i=this.inlineQueue[t];this.inlineTokens(i.src,i.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(n,t=[],i=!1){for(this.options.pedantic&&(n=n.replace(In.tabCharGlobal," ").replace(In.spaceLine,""));n;){let o;if(this.options.extensions?.block?.some(s=>!!(o=s.call({lexer:this},n,t))&&(n=n.substring(o.raw.length),t.push(o),!0)))continue;if(o=this.tokenizer.space(n)){n=n.substring(o.raw.length);const s=t.at(-1);1===o.raw.length&&void 0!==s?s.raw+="\n":t.push(o);continue}if(o=this.tokenizer.code(n)){n=n.substring(o.raw.length);const s=t.at(-1);"paragraph"===s?.type||"text"===s?.type?(s.raw+="\n"+o.raw,s.text+="\n"+o.text,this.inlineQueue.at(-1).src=s.text):t.push(o);continue}if(o=this.tokenizer.fences(n)){n=n.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.heading(n)){n=n.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.hr(n)){n=n.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.blockquote(n)){n=n.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.list(n)){n=n.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.html(n)){n=n.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.def(n)){n=n.substring(o.raw.length);const s=t.at(-1);"paragraph"===s?.type||"text"===s?.type?(s.raw+="\n"+o.raw,s.text+="\n"+o.raw,this.inlineQueue.at(-1).src=s.text):this.tokens.links[o.tag]||(this.tokens.links[o.tag]={href:o.href,title:o.title});continue}if(o=this.tokenizer.table(n)){n=n.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.lheading(n)){n=n.substring(o.raw.length),t.push(o);continue}let r=n;if(this.options.extensions?.startBlock){let s=1/0;const a=n.slice(1);let l;this.options.extensions.startBlock.forEach(c=>{l=c.call({lexer:this},a),"number"==typeof l&&l>=0&&(s=Math.min(s,l))}),s<1/0&&s>=0&&(r=n.substring(0,s+1))}if(this.state.top&&(o=this.tokenizer.paragraph(r))){const s=t.at(-1);i&&"paragraph"===s?.type?(s.raw+="\n"+o.raw,s.text+="\n"+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):t.push(o),i=r.length!==n.length,n=n.substring(o.raw.length)}else if(o=this.tokenizer.text(n)){n=n.substring(o.raw.length);const s=t.at(-1);"text"===s?.type?(s.raw+="\n"+o.raw,s.text+="\n"+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):t.push(o)}else if(n){const s="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(s);break}throw new Error(s)}}return this.state.top=!0,t}inline(n,t=[]){return this.inlineQueue.push({src:n,tokens:t}),t}inlineTokens(n,t=[]){let i=n,o=null;if(this.tokens.links){const a=Object.keys(this.tokens.links);if(a.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(i));)a.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.anyPunctuation.exec(i));)i=i.slice(0,o.index)+"++"+i.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(i));)i=i.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let r=!1,s="";for(;n;){let a;if(r||(s=""),r=!1,this.options.extensions?.inline?.some(c=>
3!!(a=c.call({lexer:this},n,t))&&(n=n.substring(a.raw.length),t.push(a),!0)))continue;if(a=this.tokenizer.escape(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.tag(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.link(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.reflink(n,this.tokens.links)){n=n.substring(a.raw.length);const c=t.at(-1);"text"===a.type&&"text"===c?.type?(c.raw+=a.raw,c.text+=a.text):t.push(a);continue}if(a=this.tokenizer.emStrong(n,i,s)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.codespan(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.br(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.del(n)){n=n.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.autolink(n)){n=n.substring(a.raw.length),t.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(n))){n=n.substring(a.raw.length),t.push(a);continue}let l=n;if(this.options.extensions?.startInline){let c=1/0;const d=n.slice(1);let u;this.options.extensions.startInline.forEach(f=>{u=f.call({lexer:this},d),"number"==typeof u&&u>=0&&(c=Math.min(c,u))}),c<1/0&&c>=0&&(l=n.substring(0,c+1))}if(a=this.tokenizer.inlineText(l)){n=n.substring(a.raw.length),"_"!==a.raw.slice(-1)&&(s=a.raw.slice(-1)),r=!0;const c=t.at(-1);"text"===c?.type?(c.raw+=a.raw,c.text+=a.text):t.push(a)}else if(n){const c="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}}return t}},Oa=class{options;parser;constructor(e){this.options=e||Yr}space(e){return""}code({text:e,lang:n,escaped:t}){const i=(n||"").match(In.notSpaceStart)?.[0],o=e.replace(In.endingNewline,"")+"\n";return i?'<pre><code class="language-'+no(i)+'">'+(t?o:no(o,!0))+"</code></pre>\n":"<pre><code>"+(t?o:no(o,!0))+"</code></pre>\n"}blockquote({tokens:e}){return`<blockquote>\n${this.parser.parse(e)}</blockquote>\n`}html({text:e}){return e}heading({tokens:e,depth:n}){return`<h${n}>${this.parser.parseInline(e)}</h${n}>\n`}hr(e){return"<hr>\n"}list(e){const n=e.ordered,t=e.start;let i="";for(let s=0;s<e.items.length;s++)i+=this.listitem(e.items[s]);const o=n?"ol":"ul";return"<"+o+(n&&1!==t?' start="'+t+'"':"")+">\n"+i+"</"+o+">\n"}listitem(e){let n="";if(e.task){const t=this.checkbox({checked:!!e.checked});e.loose?"paragraph"===e.tokens[0]?.type?(e.tokens[0].text=t+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=t+" "+no(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:t+" ",text:t+" ",escaped:!0}):n+=t+" "}return n+=this.parser.parse(e.tokens,!!e.loose),`<li>${n}</li>\n`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>\n`}table(e){let n="",t="";for(let o=0;o<e.header.length;o++)t+=this.tablecell(e.header[o]);n+=this.tablerow({text:t});let i="";for(let o=0;o<e.rows.length;o++){const r=e.rows[o];t="";for(let s=0;s<r.length;s++)t+=this.tablecell(r[s]);i+=this.tablerow({text:t})}return i&&(i=`<tbody>${i}</tbody>`),"<table>\n<thead>\n"+n+"</thead>\n"+i+"</table>\n"}tablerow({text:e}){return`<tr>\n${e}</tr>\n`}tablecell(e){const n=this.parser.parseInline(e.tokens),t=e.header?"th":"td";return(e.align?`<${t} align="${e.align}">`:`<${t}>`)+n+`</${t}>\n`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${no(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:n,tokens:t}){const i=this.parser.parseInline(t),o=iP(e);if(null===o)return i;let r='<a href="'+(e=o)+'"';return n&&(r+=' title="'+no(n)+'"'),r+=">"+i+"</a>",r}image({href:e,title:n,text:t,tokens:i}){i&&(t=this.parser.parseInline(i,this.parser.textRenderer));const o=iP(e);if(null===o)return no(t);let r=`<img src="${e=o}" alt="${t}"`;return n&&(r+=` title="${no(n)}"`),r+=">",r}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:no(e.text)}},Gb=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},To=class Ny{options;renderer;textRenderer;constructor(n){this.options=n||Yr,this.options.renderer=this.options.renderer||new Oa,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Gb}static parse(n,t){return new Ny(t).parse(n)}static parseInline(n,t){return new Ny(t).parseInline(n)}parse(n,t=!0){let i="";for(let o=0;o<n.length;o++){const r=n[o];if(this.options.extensions?.renderers?.[r.type]){const a=r,l=this.options.extensions.renderers[a.type].call({parser:this},a);if(!1!==l||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(a.type)){i+=l||"";continue}}const s=r;switch(s.type){case"space":i+=this.renderer.space(s);continue;case"hr":i+=this.renderer.hr(s);continue;case"heading":i+=this.renderer.heading(s);continue;case"code":i+=this.renderer.code(s);continue;case"table":i+=this.renderer.table(s);continue;case"blockquote":i+=this.renderer.blockquote(s);continue;case"list":i+=this.renderer.list(s);continue;case"html":i+=this.renderer.html(s);continue;case"paragraph":i+=this.renderer.paragraph(s);continue;case"text":{let a=s,l=this.renderer.text(a);for(;o+1<n.length&&"text"===n[o+1].type;)a=n[++o],l+="\n"+this.renderer.text(a);i+=t?this.renderer.paragraph({type:"paragraph",raw:l,text:l,tokens:[{type:"text",raw:l,text:l,escaped:!0}]}):l;continue}default:{const a='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return i}parseInline(n,t=this.renderer){let i="";for(let o=0;o<n.length;o++){const r=n[o];if(this.options.extensions?.renderers?.[r.type]){const a=this.options.extensions.renderers[r.type].call({parser:this},r);if(!1!==a||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type)){i+=a||"";continue}}const s=r;switch(s.type){case"escape":case"text":i+=t.text(s);break;case"html":i+=t.html(s);break;case"link":i+=t.link(s);break;case"image":i+=t.image(s);break;case"strong":i+=t.strong(s);break;case"em":i+=t.em(s);break;case"codespan":i+=t.codespan(s);break;case"br":i+=t.br(s);break;case"del":i+=t.del(s);break;default:{const a='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw new Error(a)}}}return i}},ph=class{options;block;constructor(e){this.options=e||Yr}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?Do.lex:Do.lexInline}provideParser(){return this.block?To.parse:To.parseInline}},Xr=new class{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=To;Renderer=Oa;TextRenderer=Gb;Lexer=Do;Tokenizer=hh;Hooks=ph;constructor(...e){this.use(...e)}walkTokens(e,n){let t=[];for(const i of e)switch(t=t.concat(n.call(this,i)),i.type){case"table":{const o=i;for(const r of o.header)t=t.concat(this.walkTokens(r.tokens,n));for(const r of o.rows)for(const s of r)t=t.concat(this.walkTokens(s.tokens,n));break}case"list":t=t.concat(this.walkTokens(i.items,n));break;default:{const o=i;this.defaults.extensions?.childTokens?.[o.type]?this.defaults.extensions.childTokens[o.type].forEach(r=>{const s=o[r].flat(1/0);t=t.concat(this.walkTokens(s,n))}):o.tokens&&(t=t.concat(this.walkTokens(o.tokens,n)))}}return t}use(...e){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(t=>{const i={...t};if(i.async=this.defaults.async||i.async||!1,t.extensions&&(t.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){const r=n.renderers[o.name];n.renderers[o.name]=r?function(...s){let a=o.renderer.apply(this,s);return!1===a&&(a=r.apply(this,s)),a}:o.renderer}if("tokenizer"in o){if(!o.level||"block"!==o.level&&"inline"!==o.level)throw new Error("extension level must be 'block' or 'inline'");const r=n[o.level];r?r.unshift(o.tokenizer):n[o.level]=[o.tokenizer],o.start&&("block"===o.level?n.startBlock?n.startBlock.push(o.start):n.startBlock=[o.start]:"inline"===o.level&&(n.startInline?n.startInline.push(o.start):n.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(n.childTokens[o.name]=o.childTokens)}),i.extensions=n),t.renderer){const o=this.defaults.renderer||new Oa(this.defaults);for(const r in t.renderer){if(!(r in o))throw new Error(`renderer '${r}' does not exist`);if(["options","parser"].includes(r))continue;const a=t.renderer[r],l=o[r];o[r]=(...c)=>{let d=a.apply(o,c);return!1===d&&(d=l.apply(o,c)),d||""}}i.renderer=o}if(t.tokenizer){const o=this.defaults.tokenizer||new hh(this.defaults);for(const r in t.tokenizer){if(!(r in o))throw new Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;const a=t.tokenizer[r],l=o[r];o[r]=(...c)=>{let d=a.apply(o,c);return!1===d&&(d=l.apply(o,c)),d}}i.tokenizer=o}if(t.hooks){const o=this.defaults.hooks||new ph;for(const r in t.hooks){if(!(r in o))throw new Error(`hook '${r}' does not exist`);if(["options","block"].includes(r))continue;const a=t.hooks[r],l=o[r];o[r]=ph.passThroughHooks.has(r)?c=>{if(this.defaults.async)return Promise.resolve(a.call(o,c)).then(u=>l.call(o,u));const d=a.call(o,c);return l.call(o,d)}:(...c)=>{let d=a.apply(o,c);return!1===d&&(d=l.apply(o,c)),d}}i.hooks=o}if(t.walkTokens){const o=this.defaults.walkTokens,r=t.walkTokens;i.walkTokens=function(s){let a=[];return a.push(r.call(this,s)),o&&(a=a.concat(o.call(this,s))),a}}this.defaults={...this.defaults,...i}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,n){return Do.lex(e,n??this.defaults)}parser(e,n){return To.parse(e,n??this.defaults)}parseMarkdown(e){return(t,i)=>{const o={...i},r={...this.defaults,...o},s=this.onError(!!r.silent,!!r.async);if(!0===this.defaults.async&&!1===o.async)return s(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return s(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));r.hooks&&(r.hooks.options=r,r.hooks.block=e);const a=r.hooks?r.hooks.provideLexer():e?Do.lex:Do.lexInline,l=r.hooks?r.hooks.provideParser():e?To.parse:To.parseInline;if(r.async)return Promise.resolve(r.hooks?r.hooks.preprocess(t):t).then(c=>a(c,r)).then(c=>r.hooks?r.hooks.processAllTokens(c):c).then(c=>r.walkTokens?Promise.all(this.walkTokens(c,r.walkTokens)).then(()=>c):c).then(c=>l(c,r)).then(c=>r.hooks?r.hooks.postprocess(c):c).catch(s);try{r.hooks&&(t=r.hooks.preprocess(t));let c=a(t,r);r.hooks&&(c=r.hooks.processAllTokens(c)),r.walkTokens&&this.walkTokens(c,r.walkTokens);let d=l(c,r);return r.hooks&&(d=r.hooks.postprocess(d)),d}catch(c){return s(c)}}}onError(e,n){return t=>{if(t.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const i="<p>An error occurred:</p><pre>"+no(t.message+"",!0)+"</pre>";return n?Promise.resolve(i):i}if(n)return Promise.reject(t);throw t}}};function je(e,n){return Xr.parse(e,n)}je.options=je.setOptions=function(e){return Xr.setOptions(e),UA(je.defaults=Xr.defaults),je},je.getDefaults=function Nb(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},je.defaults=Yr,je.use=function(...e){return Xr.use(...e),UA(je.defaults=Xr.defaults),je},je.walkTokens=function(e,n){return Xr.walkTokens(e,n)},je.parseInline=Xr.parseInline,je.Parser=To,je.parser=To.parse,je.Renderer=Oa,je.TextRenderer=Gb,je.Lexer=Do,je.lexer=Do.lex,je.Tokenizer=hh,je.Hooks=ph,je.parse=je;const DQ=["*"];let sP=(()=>{class e{constructor(){this._buttonClick$=new Se,this.copied$=this._buttonClick$.pipe(Tn(()=>Rv(re(!0),ZT(3e3).pipe(W1(!1)))),mO(),function UZ(e,n,t){let i,o=!1;return e&&"object"==typeof e?({bufferSize:i=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:t}=e):i=e??1/0,function GZ(e={}){const{connector:n=(()=>new Se),resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=e;return r=>{let s,a,l,c=0,d=!1,u=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,d=u=!1},m=()=>{const p=s;h(),p?.unsubscribe()};return xt((p,g)=>{c++,!u&&!d&&f();const v=l=l??n();g.add(()=>{c--,0===c&&!u&&!d&&(a=kb(m,o))}),v.subscribe(g),!s&&c>0&&(s=new os({next:_=>v.next(_),error:_=>{u=!0,f(),a=kb(h,t,_),v.error(_)},complete:()=>{d=!0,f(),a=kb(h,i),v.complete()}}),$n(p).subscribe(s))})(r)}}({connector:()=>new zZ(i,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}(1)),this.copiedText$=this.copied$.pipe(Zl(!1),Oe(t=>t?"Copied":"Copy"))}onCopyToClipboardClick(){this._buttonClick$.next()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ne({type:e,selectors:[["markdown-clipboard"]],standalone:!0,features:[_o],decls:4,vars:7,consts:[[1,"markdown-clipboard-button",3,"click"]],template:function(i,o){1&i&&(y(0,"button",0),Q("click",function(){return o.onCopyToClipboardClick()}),Gi(1,"async"),ie(2),Gi(3,"async"),b()),2&i&&(vn("copied",Zo(1,3,o.copied$)),w(2),Ye(Zo(3,5,o.copiedText$)))},dependencies:[g_],encapsulation:2,changeDetection:0})}return e})();const IQ=new W("CLIPBOARD_OPTIONS");var Ub=function(e){return e.CommandLine="command-line",e.LineHighlight="line-highlight",e.LineNumbers="line-numbers",e}(Ub||{});const aP=new W("MARKED_EXTENSIONS"),PQ=new W("MARKED_OPTIONS"),kQ=new W("MERMAID_OPTIONS"),lP=new W("SECURITY_CONTEXT");let Hb=(()=>{class e{get options(){return this._options}set options(t){this._options={...this.DEFAULT_MARKED_OPTIONS,...t}}get renderer(){return this.options.renderer}set renderer(t){this.options.renderer=t}constructor(t,i,o,r,s,a,l,c){this.clipboardOptions=t,this.extensions=i,this.mermaidOptions=r,this.platform=s,this.securityContext=a,this.http=l,this.sanitizer=c,this.DEFAULT_MARKED_OPTIONS={renderer:new Oa},this.DEFAULT_KATEX_OPTIONS={delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}]},this.DEFAULT_MERMAID_OPTIONS={startOnLoad:!1},this.DEFAULT_CLIPBOARD_OPTIONS={buttonComponent:void 0},this.DEFAULT_PARSE_OPTIONS={decodeHtml:!1,inline:!1,emoji:!1,mermaid:!1,markedOptions:void 0,disableSanitizer:!1},this.DEFAULT_RENDER_OPTIONS={clipboard:!1,clipboardOptions:void 0,katex:!1,katexOptions:void 0,mermaid:!1,mermaidOptions:void 0},this._reload$=new Se,this.reload$=this._reload$.asObservable(),this.options=o}parse(t,i=this.DEFAULT_PARSE_OPTIONS){const{decodeHtml:o,inline:r,emoji:s,mermaid:a,disableSanitizer:l}=i,c={...this.options,...i.markedOptions},d=c.renderer||this.renderer||new Oa;this.extensions&&(this.renderer=this.extendsRendererForExtensions(d)),a&&(this.renderer=this.extendsRendererForMermaid(d));const u=this.trimIndentation(t),f=o?this.decodeHtml(u):u,h=s?this.parseEmoji(f):f,m=this.parseMarked(h,c,r);return(l?m:this.sanitizer.sanitize(this.securityContext,m))||""}render(t,i=this.DEFAULT_RENDER_OPTIONS,o){const{clipboard:r,clipboardOptions:s,katex:a,katexOptions:l,mermaid:c,mermaidOptions:d}=i;a&&this.renderKatex(t,{...this.DEFAULT_KATEX_OPTIONS,...l}),c&&this.renderMermaid(t,{...this.DEFAULT_MERMAID_OPTIONS,...this.mermaidOptions,...d}),r&&this.renderClipboard(t,o,{...this.DEFAULT_CLIPBOARD_OPTIONS,...this.clipboardOptions,...s}),this.highlight(t)}reload(){this._reload$.next()}getSource(t){if(!this.http)throw new
3 Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(t,{responseType:"text"}).pipe(Oe(i=>this.handleExtension(t,i)))}highlight(t){if(!Pe(this.platform)||typeof Prism>"u"||typeof Prism.highlightAllUnder>"u")return;t||(t=document);const i=t.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(i,o=>o.classList.add("language-none")),Prism.highlightAllUnder(t)}decodeHtml(t){if(!Pe(this.platform))return t;const i=document.createElement("textarea");return i.innerHTML=t,i.value}extendsRendererForExtensions(t){const i=t;return!0===i.\u0275NgxMarkdownRendererExtendedForExtensions||(this.extensions?.length>0&&je.use(...this.extensions),i.\u0275NgxMarkdownRendererExtendedForExtensions=!0),t}extendsRendererForMermaid(t){const i=t;if(!0===i.\u0275NgxMarkdownRendererExtendedForMermaid)return t;const o=t.code;return t.code=r=>"mermaid"===r.lang?`<div class="mermaid">${r.text}</div>`:o(r),i.\u0275NgxMarkdownRendererExtendedForMermaid=!0,t}handleExtension(t,i){const o=t.lastIndexOf("://"),r=o>-1?t.substring(o+4):t,s=r.lastIndexOf("/"),a=s>-1?r.substring(s+1).split("?")[0]:"",l=a.lastIndexOf("."),c=l>-1?a.substring(l+1):"";return c&&"md"!==c?"```"+c+"\n"+i+"\n```":i}parseMarked(t,i,o=!1){if(i.renderer){const r={...i.renderer};delete r.\u0275NgxMarkdownRendererExtendedForExtensions,delete r.\u0275NgxMarkdownRendererExtendedForMermaid,delete i.renderer,je.use({renderer:r})}return o?je.parseInline(t,i):je.parse(t,i)}parseEmoji(t){if(!Pe(this.platform))return t;if(typeof joypixels>"u"||typeof joypixels.shortnameToUnicode>"u")throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(t)}renderKatex(t,i){if(Pe(this.platform)){if(typeof katex>"u"||typeof renderMathInElement>"u")throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");renderMathInElement(t,i)}}renderClipboard(t,i,o){if(!Pe(this.platform))return;if(typeof ClipboardJS>"u")throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* include Clipboard files to `angular.json` or use imports. See README for more information");if(!i)throw new Error("[ngx-markdown] When using the `clipboard` attribute you *have to* provide the `viewContainerRef` parameter to `MarkdownService.render()` function");const{buttonComponent:r,buttonTemplate:s}=o,a=t.querySelectorAll("pre");for(let l=0;l<a.length;l++){const c=a.item(l),d=document.createElement("div");d.style.position="relative",c.parentNode.insertBefore(d,c),d.appendChild(c);const u=document.createElement("div");let f,h;if(u.classList.add("markdown-clipboard-toolbar"),u.style.position="absolute",u.style.top=".5em",u.style.right=".5em",u.style.zIndex="1",d.insertAdjacentElement("beforeend",u),d.onmouseenter=()=>u.classList.add("hover"),d.onmouseleave=()=>u.classList.remove("hover"),r){const m=i.createComponent(r);f=m.hostView,m.changeDetectorRef.markForCheck()}else if(s)f=i.createEmbeddedView(s);else{const m=i.createComponent(sP);f=m.hostView,m.changeDetectorRef.markForCheck()}f.rootNodes.forEach(m=>{u.appendChild(m),h=new ClipboardJS(m,{text:()=>c.innerText})}),f.onDestroy(()=>h.destroy())}}renderMermaid(t,i=this.DEFAULT_MERMAID_OPTIONS){if(!Pe(this.platform))return;if(typeof mermaid>"u"||typeof mermaid.initialize>"u")throw new Error("[ngx-markdown] When using the `mermaid` attribute you *have to* include Mermaid files to `angular.json` or use imports. See README for more information");const o=t.querySelectorAll(".mermaid");0!==o.length&&(mermaid.initialize(i),mermaid.run({nodes:o}))}trimIndentation(t){if(!t)return"";let i;return t.split("\n").map(o=>{let r=i;return o.length>0&&(r=isNaN(r)?o.search(/\S|$/):Math.min(o.search(/\S|$/),r)),isNaN(i)&&(i=r),r?o.substring(r):o}).join("\n")}static#e=this.\u0275fac=function(i){return new(i||e)(T(IQ,8),T(aP,8),T(PQ,8),T(kQ,8),T(Ae),T(lP),T(Kn,8),T(Yl))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})(),Wb=(()=>{class e{get disableSanitizer(){return this._disableSanitizer}set disableSanitizer(t){this._disableSanitizer=this.coerceBooleanProperty(t)}get inline(){return this._inline}set inline(t){this._inline=this.coerceBooleanProperty(t)}get clipboard(){return this._clipboard}set clipboard(t){this._clipboard=this.coerceBooleanProperty(t)}get emoji(){return this._emoji}set emoji(t){this._emoji=this.coerceBooleanProperty(t)}get katex(){return this._katex}set katex(t){this._katex=this.coerceBooleanProperty(t)}get mermaid(){return this._mermaid}set mermaid(t){this._mermaid=this.coerceBooleanProperty(t)}get lineHighlight(){return this._lineHighlight}set lineHighlight(t){this._lineHighlight=this.coerceBooleanProperty(t)}get lineNumbers(){return this._lineNumbers}set lineNumbers(t){this._lineNumbers=this.coerceBooleanProperty(t)}get commandLine(){return this._commandLine}set commandLine(t){this._commandLine=this.coerceBooleanProperty(t)}constructor(t,i,o){this.element=t,this.markdownService=i,this.viewContainerRef
3=o,this.error=new U,this.load=new U,this.ready=new U,this._clipboard=!1,this._commandLine=!1,this._disableSanitizer=!1,this._emoji=!1,this._inline=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1,this._mermaid=!1,this.destroyed$=new Se}ngOnChanges(){this.loadContent()}loadContent(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){!this.data&&!this.src&&this.handleTransclusion(),this.markdownService.reload$.pipe(la(this.destroyed$)).subscribe(()=>this.loadContent())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}render(t,i=!1){var o=this;return Nr(function*(){const r={decodeHtml:i,inline:o.inline,emoji:o.emoji,mermaid:o.mermaid,disableSanitizer:o.disableSanitizer},s={clipboard:o.clipboard,clipboardOptions:o.getClipboardOptions(),katex:o.katex,katexOptions:o.katexOptions,mermaid:o.mermaid,mermaidOptions:o.mermaidOptions},a=yield o.markdownService.parse(t,r);o.element.nativeElement.innerHTML=a,o.handlePlugins(),o.markdownService.render(o.element.nativeElement,s,o.viewContainerRef),o.ready.emit()})()}coerceBooleanProperty(t){return null!=t&&"false"!=`${String(t)}`}getClipboardOptions(){if(this.clipboardButtonComponent||this.clipboardButtonTemplate)return{buttonComponent:this.clipboardButtonComponent,buttonTemplate:this.clipboardButtonTemplate}}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe({next:t=>{this.render(t).then(()=>{this.load.emit(t)})},error:t=>this.error.emit(t)})}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.commandLine&&(this.setPluginClass(this.element.nativeElement,Ub.CommandLine),this.setPluginOptions(this.element.nativeElement,{dataFilterOutput:this.filterOutput,dataHost:this.host,dataPrompt:this.prompt,dataOutput:this.output,dataUser:this.user})),this.lineHighlight&&this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset}),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,Ub.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(t,i){const o=t.querySelectorAll("pre");for(let r=0;r<o.length;r++){const s=i instanceof Array?i:[i];o.item(r).classList.add(...s)}}setPluginOptions(t,i){const o=t.querySelectorAll("pre");for(let r=0;r<o.length;
3r++)Object.keys(i).forEach(s=>{const a=i[s];if(a){const l=this.toLispCase(s);o.item(r).setAttribute(l,a.toString())}})}toLispCase(t){const i=t.match(/([A-Z])/g);if(!i)return t;let o=t.toString();for(let r=0,s=i.length;r<s;r++)o=o.replace(new RegExp(i[r]),"-"+i[r].toLowerCase());return"-"===o.slice(0,1)&&(o=o.slice(1)),o}static#e=this.\u0275fac=function(i){return new(i||e)(C(nt),C(Hb),C(Fn))};static#t=this.\u0275cmp=ne({type:e,selectors:[["markdown"],["","markdown",""]],inputs:{data:"data",src:"src",disableSanitizer:"disableSanitizer",inline:"inline",clipboard:"clipboard",clipboardButtonComponent:"clipboardButtonComponent",clipboardButtonTemplate:"clipboardButtonTemplate",emoji:"emoji",katex:"katex",katexOptions:"katexOptions",mermaid:"mermaid",mermaidOptions:"mermaidOptions",lineHighlight:"lineHighlight",line:"line",lineOffset:"lineOffset",lineNumbers:"lineNumbers",start:"start",commandLine:"commandLine",filterOutput:"filterOutput",host:"host",prompt:"prompt",output:"output",user:"user"},outputs:{error:"error",load:"load",ready:"ready"},standalone:!0,features:[rn,_o],ngContentSelectors:DQ,decls:1,vars:0,template:function(i,o){1&i&&(Eu(),go(0))},encapsulation:2})}return e})();function jQ(e){return[Hb,e?.loader??[],e?.clipboardOptions??[],e?.markedOptions??[],e?.mermaidOptions??[],GQ(e?.markedExtensions)??[],{provide:lP,useValue:e?.sanitize??Hn.HTML}]}function GQ(e){if(e)return e.reduce((n,t)=>{const i=function zQ(e){return null!=e&&null!=e.provide}(t)?{...t,multi:!0}:{provide:aP,useValue:t,multi:!0};return[...n,i]},[])}let UQ=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[jQ(t)]}}static forChild(){return{ngModule:e}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({imports:[y_]})}return e})();function HQ(e,n){if(1&e){const t=Qe();y(0,"div",7)(1,"div",8),z(2,"app-back-button",9),y(3,"div",10)(4,"h1",11),ie(5),b(),y(6,"a",12),Q("click",function(){Me(t);const o=I(),r=qt(7);return xe(o.scrollToForm(r))}),J(7,13),b()(),y(8,"div",14)(9,"div",15)(10,"div",16)(11,"div",17)(12,"span"),ie(13),b(),ie(14),b()()(),y(15,"div",18),z(16,"app-social-share",19),b()()(),y(17,"div",20)(18,"div",21),z(19,"markdown",22),b()()()}if(2&e){const t=I();w(2),S("additional_class","vacancy-page-back-button"),w(3),Ye(t.vacancyTitle),w(8),$t("","en"==t.currentLang?" Department":"\u0414\u0435\u043f\u0430\u0440\u0442\u0430\u043c\u0435\u043d\u0442",":\xa0"),w(),$t("",t.department," "),w(2),S("additionalStyles","flex-row"),w(3),S("data",t.vacancyDescription)("disableSanitizer",!0)}}function WQ(e,n){if(1&e&&(y(0,"h2",23),ie(1),b()),2&e){const t=I();w(),$t(" ","en"==t.currentLang?"Sorry, but this content is only available in Russian":"\u0418\u0437\u0432\u0438\u043d\u0438\u0442\u0435, \u043d\u043e \u044d\u0442\u043e\u0442 \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435"," ")}}let qQ=(()=>{class e{constructor(t,i,o,r,s,a,l,c,d){this.vacanciesService=t,this.linksService=i,this.imagesService=o,this.router=r,this.route=s,this.titleService=a,this.pageNotFoundService=l,this.langService=c,this.dialog=d,this.active=!0,this.department="",this.currentLang=""}ngOnInit(){this.pageNotFoundService.setReturnPage("jobs"),this.route.url.subscribe(t=>{this.vacanciesService.fetchVacancyBySlug(t[1].path).subscribe(i=>{this.langService.sharedCurrentSiteLang.subscribe(o=>{this.currentLang=o,this.department="en"==o?i.department.titleEn:i.department.titleRu,this.vacancyTitle="en"==o?i.titleEn:i.titleRu,this.vacancyDescription="en"==o?i.descriptionEn:i.descriptionRu,this.linksService.parseHtmlForLinks(this.vacancyDescription).then(r=>{this.imagesService.parseHtmlForImages(r).then(s=>{this.vacancyDescription=s})}),this.active="active"==i.status,this.titleService.setTitle("en"===o?i.titleEn:i.titleRu)})},i=>{404==i.status&&(this.pageNotFoundService.setReturnPage("jobs"),this.router.navigateByUrl("/404",{skipLocationChange:!0}))})})}scrollToForm(t){t.scrollIntoView({behavior:"smooth"}),t.scrollTo()}static#e=this.\u0275fac=function(i){return new(i||e)(C(ya),C(jZ),C(aI),C(en),C(Qn),C(Zn),C(Sc),C(He),C(Jn))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-vacancy-page"]],decls:9,vars:3,consts:()=>{let t;return t="Apply now",[[1,"vacancy-page","header"],[1,"container"],[1,"content-main-padding"],["class","vacancy-content",4,"ngIf","ngIfElse"],["notAvailableLang",""],["vacancyFormAnchor",""],[3,"vacancyTitle"],[1,"vacancy-content"],[1,"vacancy-page-header","page-default-header"],["link","/jobs",3,"additional_class"],[1,"vacancy-page-title-block","d-flex","justify-content-sb","align-items-start","flex-wrap","gap-15","mb-25"],[1,"section-title-large","vacancy-page-title","mb-0"],[1,"main-button","main-button-body",3,"click"],t,[1,"d-flex","flex-column","gap-20"],[1,"d-flex","align-items-center","justify-content-sb"],[1,"vacancy-page-department-block","d-flex","align-items-baseline"],[1,"vacancy-page-department"],[1,"vacancy-social-share-block"],[3,"additionalStyles"],[1,"vacancy-page-content","page-default-content","d-flex","justify-content-sb"],[1,"vacancy-page-description"],[3,"data","disableSanitizer"],[1,"section-title-medium","vacancy-page-title","page-default-header"]]},template:function(i,o){if(1&i&&(y(0,"section",0)(1,"div",1)(2,"div",2),R(3,HQ,20,7,"div",3)(4,WQ,2,1,"ng-template",null,4,an),b()()(),y(6,"div",null,5),z(8,"app-vacancy-form",6),b()),2&i){const r=qt(5);w(3),S("ngIf",o.vacancyTitle)("ngIfElse",r),w(5),S("vacancyTitle",o.vacancyTitle)}},dependencies:[Ee,Wb,qf,BA,GA],styles:['@charset "UTF-8";.vacancy-page{max-width:1100px;margin-left:auto;margin-right:auto}.vacancy-page-header{position:relative;margin-bottom:45px}.vacancy-page-department{font-size:22px;line-height:1}.vacancy-page-content{position:relative;gap:20px}.vacancy-page-title{max-width:75%}.vacancy-page-title-block a{margin-top:11px}.vacancy-page-description{max-width:900px}.vacancy-page-description p{font-size:24px;margin-bottom:15px}.vacancy-page-description strong{font-weight:600}.vacancy-page-description a{word-break:break-word;text-decoration:underline}.vacancy-page-description h1,.vacancy-page-description h2,.vacancy-page-description h3,.vacancy-page-description h4,.vacancy-page-description h5,.vacancy-page-description h6{font-size:27px;font-weight:700;margin-bottom:15px}.vacancy-page-description *:not(h1,h2,h3,h4,h5,h6)+h1,.vacancy-page-description *:not(h1,h2,h3,h4,h5,h6)+h2,.vacancy-page-description *:not(h1,h2,h3,h4,h5,h6)+h3,.vacancy-page-description *:not(h1,h2,h3,h4,h5,h6)+h4,.vacancy-page-description *:not(h1,h2,h3,h4,h5,h6)+h5,.vacancy-page-description *:not(h1,h2,h3,h4,h5,h6)+h6{margin-top:40px}.vacancy-page-description ul{padding-inline-start:35px!important;margin:0;list-style-type:none}.vacancy-page-description ul li:before{content:"\\2022";position:absolute;
3left:-20px;top:6px;font-size:22px;line-height:.8}.vacancy-page-description li{position:relative;font-size:22px;line-height:1.2}.vacancy-page-description li:not(:last-child){margin-bottom:15px}.vacancy-page-back-button{display:block;position:absolute;left:-200px;top:19px}.vacancy-page-icons{display:flex;flex-direction:column;margin-top:40px}.vacancy-page-icons img{width:47px;height:47px;min-width:80px;margin-bottom:7px}@media (max-width: 1600px){.vacancy-page-back-button{position:static;margin-bottom:15px}}@media (max-width: 1200px){.vacancy-page-title{max-width:100%}}@media (max-width: 1024px){.vacancy-page-back-button{top:20px}.vacancy-page-department{font-size:18px}.vacancy-page p{font-size:22px}.vacancy-page h1,.vacancy-page h2,.vacancy-page h3,.vacancy-page h4,.vacancy-page h5,.vacancy-page h6{font-size:25px;font-weight:700;margin-bottom:12px}.vacancy-page *:not(h1,h2,h3,h4,h5,h6)+h1,.vacancy-page *:not(h1,h2,h3,h4,h5,h6)+h2,.vacancy-page *:not(h1,h2,h3,h4,h5,h6)+h3,.vacancy-page *:not(h1,h2,h3,h4,h5,h6)+h4,.vacancy-page *:not(h1,h2,h3,h4,h5,h6)+h5,.vacancy-page *:not(h1,h2,h3,h4,h5,h6)+h6{margin-top:25px}}@media (max-width: 768px){.vacancy-page-header{margin-bottom:25px}.vacancy-page-title{font-size:40px}.vacancy-page-title-block{flex-direction:column;align-items:flex-start!important}.vacancy-page-title-block a{margin-top:0}.vacancy-page-description{font-size:22px;margin-bottom:20px}.vacancy-page-description ul{padding-inline-start:25px!important}.vacancy-page-description li{max-width:unset;width:100%;font-size:18px}.vacancy-page-description li:not(:last-child){margin-bottom:20px}.vacancy-page-description li:before{left:-15px}.vacancy-page-description p{font-size:18px}.vacancy-page-content{flex-direction:column}}@media (max-width: 500px){.vacancy-page-title{font-size:34px}}@media (max-width: 350px){.vacancy-page-title{font-size:32px;word-break:break-word}}\n'],encapsulation:2})}return e})();function YQ(e,n){if(1&e&&(y(0,"a",3),z(1,"h2",4)(2,"img",5),b()),2&e){const t=I().$implicit,i=I();S("href",i.linkTypeHref?"/games/"+t.slug:"en"===i.currentLang?t.gameSupportLinkEn:t.gameSupportLinkRu,_e)("target",i.linkTypeHref?"_self":"_blank"),w(),S("innerHTML",t.title,Ot),w(),ut("src","",i.imagesUrl,"",t.gameSquareImageMain.path,"",_e),pe("alt","en"===i.currentLang?t.gameSquareImageMain.altEn:t.gameSquareImageMain.altRu)}}function XQ(e,n){if(1&e&&(At(0),R(1,YQ,3,6,"a",2),Pt()),2&e){const t=n.$implicit;w(),S("ngIf","active"==t.supportStatus&&"active"==t.status)}}let cP=(()=>{class e{constructor(t,i,o){this.gamesService=t,this.langService=i,this.platformId=o,this.isMobile=!1,this.allGamesImages=[],this.imagesUrl=Xe.imagesUrl}onResize(t){this.isMobile=t.target.innerWidth<=444}ngOnInit(){this.currentLang=this.langService.getCurrentLang(),this.isBrowser=Pe(this.platformId),this.isBrowser&&(this.isMobile=window?.innerWidth<=444),this.gamesService.fetchWidgetData().subscribe(t=>{this.mosaicRules=t.mosaic,this.gamesService.fetchGames().subscribe(i=>{this.gameCards=i,i.forEach(o=>{o.gamesGalleryEntity.find(r=>{"gameRectangleImage"==r.type&&(o.gameRectangleImage=r.image)}),o.gameSquareImageMain=o.gamesGalleryEntity.find(r=>"gameSquareImageMain"==r.type).image,this.mosaicRules.forEach(r=>{if(r){const s=this.gameCards.find(a=>a.id==r.game);if(s&&"gameStub"!=r.imageType){const a=s.gamesGalleryEntity.find(l=>l.type==r.imageType);a&&this.allGamesImages.push(a.image)}}})})})})}static#e=this.\u0275fac=function(i){return new(i||e)(C(Qi),C(He),C(Ae))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-games-grid-block"]],hostBindings:function(i,o){1&i&&Q("resize",function(s){return o.onResize(s)},0,el)},inputs:{linkTypeHref:"linkTypeHref"},decls:2,vars:1,consts:[[1,"d-flex","justify-content-center","flex-wrap","gap-15","mt-40"],[4,"ngFor","ngForOf"],["class","games-grid-item",3,"href","target",4,"ngIf"],[1,"games-grid-item",3,"href","target"],[1,"section-title-medium","games-grid-item-title",3,"innerHTML"],[3,"src","alt"]],template:function(i,o){1&i&&(y(0,"div",0),R(1,XQ,2,1,"ng-container",1),b()),2&i&&(w(),S("ngForOf",o.gameCards))},dependencies:[bt,Ee],styles:['.games-grid-item[_ngcontent-%COMP%]{position:relative;flex:1 0 calc(33% - 15px);max-width:469px;max-height:469px;
3min-width:200px;border-radius:15px;overflow:hidden}.games-grid-item[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:0;box-shadow:inset 0 0 150px #000000a6;transition:opacity ease .4s}.games-grid-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block}.games-grid-item-title[_ngcontent-%COMP%]{position:absolute;left:0;top:0;width:100%;text-shadow:0 0 10px rgba(0,0,0,.65);border-radius:15px;padding:25px;color:#fff}@media (max-width: 1600px){.games-grid-item[_ngcontent-%COMP%]{max-width:356px}}@media (max-width: 1024px){.games-grid-item-title[_ngcontent-%COMP%]{font-size:18px}}@media (max-width: 768px){.games-grid-item[_ngcontent-%COMP%]{min-width:240px}.games-grid-item.rectangle[_ngcontent-%COMP%]{flex:2 0 100%!important}}@media (max-width: 550px){.games-grid-item[_ngcontent-%COMP%]{min-width:200px}.games-grid-item-title[_ngcontent-%COMP%]{padding:15px 12px}}@media (max-width: 444px){.games-grid-item-title[_ngcontent-%COMP%]{font-size:20px}}']})}return e})(),KQ=(()=>{class e{constructor(t,i){this.langService=t,this.titleService=i,this.imagesUrl=Xe.imagesUrl}ngOnInit(){this.langService.sharedCurrentSiteLang.subscribe(t=>{this.currentLang=t,this.titleService.setTitle("en"===t?"VIZOR Support":"\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 VIZOR")})}static#e=this.\u0275fac=function(i){return new(i||e)(C(He),C(Zn))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-support-page"]],decls:10,vars:1,consts:()=>{let t,i;return t="Support",i="Our technical support is available 24/7. Choose a game, we will redirect you to the support service of\n this project.\n ",[[1,"header","support-page"],[1,"container"],[1,"support-content"],[1,"section-title-large","page-default-header"],t,[1,"support-content-text","d-flex","flex-wrap","page-default-content"],i,[1,"grid-block","mt-60","page-default-content"],[3,"linkTypeHref"]]},template:function(i,o){1&i&&(y(0,"section",0)(1,"div",1)(2,"div",2)(3,"h1",3),J(4,4),b(),y(5,"div",5)(6,"p"),J(7,6),b()(),y(8,"div",7),z(9,"app-games-grid-block",8),b()()()()),2&i&&(w(9),S("linkTypeHref",!1))},dependencies:[cP],styles:[".support-page[_ngcontent-%COMP%]{min-height:826px}.support-content[_ngcontent-%COMP%]{margin:0 auto}.support-content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:center}.support-content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{min-height:84px}.support-content-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{word-break:break-word;max-width:80%;margin:0 auto;text-align:center;font-size:22px;line-height:26px}.support-content[_ngcontent-%COMP%] .grid-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:80px}@media (max-width: 1300px){.support-content[_ngcontent-%COMP%]{margin-left:35px;margin-right:35px}}@media (max-width: 1024px){.support-content[_ngcontent-%COMP%]{margin-bottom:0}.support-content-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{max-width:90%}}@media (max-width: 768px){.support-page[_ngcontent-%COMP%]{padding-bottom:0;margin-bottom:20px}.support-content[_ngcontent-%COMP%]{margin-left:15px;margin-right:15px}}"]})}return e})();new W("REQUEST");const ZQ=new W("RESPONSE");new W("SSR_CONTEXT");let dP=(()=>{class e{constructor(){this.currentVideoName=new Fe(""),this.currentVideoNameObservable=this.currentVideoName.asObservable(),this.modalOpened=new Fe(!1),this.sharedModalOpened=this.modalOpened.asObservable()}currentModalVideoName(t){return document.body.style.overflow=t?"hidden":"auto",this.currentVideoName.next(t)}setModalStatus(t){this.modalOpened.next(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),uP=(()=>{class e{constructor(t){this.http=t,this.currentLang=new Fe("en"),this.sharedCurrentLang=this.currentLang.asObservable()}setCurrentLang(t){this.currentLang.next(t)}fetchLegaldocBySlug(t){return this.http.get(ke.legaldocsUrl+t)}fetchLegaldocs(){return this.http.get(ke.legaldocsUrl)}fetchLangsForSlug(t){return this.http.get(ke.legaldocsUrl+t+"/langs")}fetchLegaldocsTitles(){return this.http.get(ke.legaldocsTitlesUrl)}fetchLegaldocsData(){return this.http.get(ke.legaldocsDataUrl)}fetchLegaldocForLang(t,i){return this.http.get(ke.legaldocsDataUrl+"/"+t+"/"+i+"/data")}static#e=this.\u0275fac=function(i){return new(i||e)(T(Kn))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function QQ(e,n){if(1&e&&(y(0,"span"),ie(1),Gi(2,"titlecase"),b()),2&e){const t=I().$implicit;w(),$t(" ",Zo(2,1,t.name)," ")}}
3function JQ(e,n){if(1&e&&(At(0),R(1,QQ,3,3,"span",5),Pt()),2&e){const t=n.$implicit,i=I(2);w(),S("ngIf",t.langCode===i.currentSiteLang)}}function eJ(e,n){if(1&e&&(y(0,"h3",2)(1,"a",3),R(2,JQ,2,1,"ng-container",4),b()()),2&e){const t=n.$implicit,i=I();w(),S("href","undefined"!=i.s3Url?i.s3Url+("en"===i.currentSiteLang?"/":"/ru/")+"terms/"+t.slug+"/"+i.currentSiteLang:"terms/"+t.slug+"/"+i.currentSiteLang,_e),w(),S("ngForOf",t.legaldocs)}}const qb="legaldocsData";let fP=(()=>{class e{constructor(t,i,o,r){this.platformId=t,this.legaldocsService=i,this.langService=o,this.transferState=r,this.initialLegaldocsData=[],this.filteredLegaldocsData=[],this.isBrowser=!1,this.s3Url="",this.isBrowser=Pe(this.platformId)}ngOnInit(){this.isBrowser?(this.s3Url=window.TERMS_URL,this.langService.sharedCurrentSiteLang.subscribe(t=>{this.currentSiteLang=t,this.filterLegaldocs()}),this.initialLegaldocsData=this.transferState.get(qb,void 0),this.initialLegaldocsData?this.filterLegaldocs():this.legaldocsService.fetchLegaldocsTitles().subscribe(t=>{this.initialLegaldocsData=t,this.transferState.set(qb,t),this.filterLegaldocs()})):this.legaldocsService.fetchLegaldocsTitles().subscribe(t=>{this.initialLegaldocsData=t,this.transferState.set(qb,t),this.filterLegaldocs()})}filterLegaldocs(){this.filteredLegaldocsData=this.initialLegaldocsData&&Array.isArray(this.initialLegaldocsData)&&this.currentSiteLang?this.initialLegaldocsData.filter(t=>t.show&&Array.isArray(t.legaldocs)&&t.legaldocs.some(i=>i.langCode===this.currentSiteLang)):[]}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ae),C(uP),C(He),C(vt))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-legal-grid-block"]],decls:2,vars:1,consts:[[1,"grid-block","d-flex","justify-content-center","flex-wrap","gap-10","mt-40","page-default-content"],["class","grid-item",4,"ngFor","ngForOf"],[1,"grid-item"],[3,"href"],[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(i,o){1&i&&(y(0,"div",0),R(1,eJ,3,2,"h3",1),b()),2&i&&(w(),S("ngForOf",o.filteredLegaldocsData))},dependencies:[bt,Ee,Ku],styles:[".grid-block[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:22px}.grid-item[_ngcontent-%COMP%]{font-weight:400}.grid-item[_ngcontent-%COMP%]:has(h3.hidden){display:none}@media (max-width: 768px){.grid-item[_ngcontent-%COMP%]{margin-left:0;margin-right:0;min-height:200px}.grid-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:20px}}@media (max-width: 600px){.grid-item[_ngcontent-%COMP%]{min-height:180px}}"]})}return e})();function tJ(e,n){1&e&&z(0,"app-back-button",10),2&e&&S("link","/"+I(2).redirect)("additional_class","not-found-back-button")}function nJ(e,n){if(1&e&&(y(0,"div",11)(1,"div",12)(2,"p",13),ie(3,"404"),b(),y(4,"h1",13),J(5,14),b()(),y(6,"div",15)(7,"a",16),J(8,17),b()()()),2&e){const t=I(2);w(7),pe("routerLink","/"+t.redirect)}}function iJ(e,n){if(1&e&&(y(0,"div",18)(1,"div",3)(2,"div",4)(3,"div",12)(4,"p",13),ie(5,"404"),b(),y(6,"h1",13),J(7,19),b()()()(),y(8,"div",20),z(9,"app-blog-preview",21),b()()),2&e){const t=I(2);w(9),S("sectionTitle","en"==t.currentLang?"See other":" C\u043c\u043e\u0442\u0440\u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043d\u043e\u0432\u043e\u0441\u0442\u0438")}}function oJ(e,n){1&e&&(y(0,"div",22)(1,"div",3)(2,"div",4)(3,"div",12)(4,"p",13),ie(5,"404"),b(),y(6,"h1",13),J(7,23),b()(),y(8,"div",24)(9,"h2",25),J(10,26),b(),z(11,"app-games-grid-block",27),b()()()()),2&e&&(w(11),S("linkTypeHref",!0))}function rJ(e,n){1&e&&(y(0,"div",28)(1,"div",3)(2,"div",4)(3,"div",12)(4,"p",13),ie(5,"404"),b(),y(6,"h1",13),J(7,29),b()(),y(8,"div",30)(9,"h2",25),J(10,31),b(),z(11,"app-legal-grid-block"),b()()()())}function sJ(e,n){if(1&e&&(At(0),y(1,"div",3)(2,"div",4),R(3,tJ,1,2,"app-back-button",5)(4,nJ,9,1,"div",6),b()(),R(5,iJ,10,1,"div",7)(6,oJ,12,1,"div",8)(7,rJ,12,0,"div",9),Pt()),2&e){const t=I();w(3),S("ngIf","terms"==t.redirect||"blog"==t.redirect||"games"==t.redirect||"jobs"==t.redirect),w(),S("ngIf","jobs"==t.redirect),w(),S("ngIf","blog"==t.redirect),w(),S("ngIf","games"==t.redirect),w(),S("ngIf","terms"==t.redirect)}}function aJ(e,n){if(1&e&&(y(0,"div",3)(1,"div",4)(2,"div",32)(3,"p",33),ie(4,"404"),b(),y(5,"h1",33),J(6,34),b(),y(7,"div",35),ie(8),b()()()()),2&e){const t=I();w(8),$t(" ","en"==t.currentLang?"Back to Home Page":" \u041d\u0430 \u0413\u043b\u0430\u0432\u043d\u0443\u044e"," ")}}let hP=(()=>{class e{constructor(t,i,o,r){this.pageNotFoundService=t,this.vacanciesService=i,this.modalService=o,this.langService=r,this.redirect="",this.langService.sharedCurrentSiteLang.subscribe(s=>{this.currentLang=s}),this.redirect||this.pageNotFoundService.sharedReturnPage.subscribe(s=>{this.redirect=s})}ngOnDestroy(){this.modalService.setModalStatus(!1)}static#e=this.\u0275fac=function(i){return new(i||e)(C(Sc),C(ZQ,8),C(dP),C(He))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-page-not-found"]],decls:4,vars:4,consts:()=>{let t,i,o,r,s,a,l,c;return t="Ooops, Vacancy not found!",i="Back to the all Jobs",o="Ooops, Article not found!",r="Ooops, Game not found!",s="See the list of our games",a="Ooops, Document not found!",l="See the list of our legal documents",c="Ooops, Page not found!",[[1,"page-404","pt-60"],[4,"ngIf","ngIfElse"],["pageNotFound",""],[1,"container"],[1,"content-main-padding"],[3,"link","additional_class",4,"ngIf"],["class","page-404-vacancies",4,"ngIf"],["class","page-404-blog",4,"ngIf"],["class","page-404-games",4,"ngIf"],["class","page-404-legal-docs",4,"ngIf"],[3,"link","additional_class"],[1,"page-404-vacancies"],[1,"mt-20","mb-50","page-default-header"],[1,"section-title-medium"],t,[1,"d-flex","justify-content-center","page-default-content"],[1,"main-button","main-button-body",3,"routerLink"],i,[1,"page-404-blog"],o,[1,"page-404-blog-content","page-default-content"],[3,"sectionTitle"],[1,"page-404-games"],r,[1,"page-404-games-content","page-default-content"],[1,"text-center"],s,[3,"linkTypeHref"],[1,"page-404-legal-docs"],a,[1,"page-404-legal-docs-content","page-default-content"],l,[1,"mt-50","page-default-header","d-flex","flex-column","align-items-center"],[1,"section-title-large"],c,["routerLink","/",1,"main-button","main-button-body"]]},template:function(i,o){if(1&i&&(y(0,"section",0),R(1,sJ,8,5,"ng-container",1)(2,aJ,9,1,"ng-template",null,2,an),b()),2&i){const r=qt(3);vn("page-404-blog","blog"==o.redirect),w(),S("ngIf","terms"==o.redirect||"blog"==o.redirect||"jobs"==o.redirect||"games"==o.redirect)("ngIfElse",r)}},dependencies:[Ee,cn,sI,qf,cP,fP],styles:[".page-404[_ngcontent-%COMP%]{min-height:calc(100vh - 469px)}.page-404[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .page-404[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center}.page-404-vacancies[_ngcontent-%COMP%]{margin-top:60px}.page-404-vacancies-header[_ngcontent-%COMP%]{font-size:40px;text-align:center;margin-bottom:20px}.page-404-vacancies-items[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;grid-gap:30px}@media (max-width: 1024px){.page-404[_ngcontent-%COMP%]{padding-top:30px}}.page-404-blog[_ngcontent-%COMP%]{padding-bottom:0!important}"]})}return e})();function mh(e,n){const t="object"==typeof n;return new Promise((i,o)=>{const r=new os({next:s=>{i(s),r.unsubscribe()},error:o,complete:()=>{t?i(n.defaultValue):o(new ka)}});e.subscribe(r)})}function cJ(e,n){if(1&e&&(y(0,"a",11),ie(1),b()),2&e){const t=n.$implicit,i=I(3);pe("ngClass",t==i.currentDocLang?"active":""),S("href","terms/"+i.slug+"/"+t,_e),w(),$t("",t," ")}}function dJ(e,n){if(1&e&&(y(0,"div",9),R(1,cJ,2,3,"a",10),b()),2&e){const t=I(2);w(),S("ngForOf",t.languages)}}function uJ(e,n){if(1&e&&(y(0,"div",12)(1,"div",13)(2,"h1",14),ie(3),Gi(4,"uppercase"),b(),y(5,"div",15),z(6,"markdown",16),b()()()),2&e){const t=I(2);w(),pe("lang",t.currentDocLang),w(2),Ye(Zo(4,5,t.legaldoc.name)),w(2),pe("ngClass",t.slug),w(),S("data",t.legaldoc.html)("disableSanitizer",!0)}}function fJ(e,n){if(1&e&&(y(0,"div",17),ie(1),b()),2&e){const t=I(2);w(),$t(" ","ru"===t.currentSiteLang?"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430...":"Loading..."," ")}}function hJ(e,n){if(1&e&&(y(0,"section",1)(1,"div",2)(2,"div",3)(3,"div",4),z(4,"app-back-button",5),R(5,dJ,2,1,"div",6),b(),R(6,uJ,7,7,"div",7)(7,fJ,2,1,"ng-template",null,8,an),b()()()),2&e){const t=qt(8),i=I();w(),pe("id",i.legaldoc.langCode),w(2),S("ngClass",i.isMobile?"flex-wrap gap-10":""),w(2),S("ngIf",i.languages.length>1),w(),S("ngIf",i.legaldoc.html)("ngIfElse",t)}}const pP="legaldoc",mP="engLegaldoc",gP="languages",Yb="status",Xb="currentDocLang",vP="siteUrl";function bP(e,n,t){let i=n.match(/#([^"]+)/gm)[0];i=t+i;const o=n.replace(/#([^"]+)/gm,i);return e.replace(n,o)}function yP(e,n){const t=e.match(/href="#([^"]+)"/gm),i=e.match(/\(#[^)]*\)/gm);for(let o in t)e=bP(e,t[o],n);for(let o in i)e=bP(e,i[o],n);return e}const pJ=[{path:"",component:V9,title:"VIZOR"},{path:"about-us",component:jY,title:"About VIZOR"},{path:"games",component:YY,title:"Games of VIZOR"},{path:"games/:id",component:gX},{path:"blog",component:EX,title:"Vizor Blog"},{path:"blog/:id",component:BZ},{path:"terms",component:(()=>{class e{constructor(t,i){this.langService=t,this.titleService=i,this.currentLang="en"}ngOnInit(){this.langService.sharedCurrentSiteLang.subscribe(t=>{this.currentLang=t,this.titleService.setTitle("en"===t?"Terms & Conditions, Privacy":"\u0423\u0441\u043b\u043e\u0432\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c")})}static#e=this.\u0275fac=function(i){return new(i||e)(C(He),C(Zn))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-legal-docs-page"]],decls:8,vars:0,consts:()=>{let t,i;return t="Terms & Conditions, Privacy",i="Here you can get acquainted with the general principles and rules for accessing and using our games,\n applications, websites, and related services, as well as find detailed information about the collection and/or\n processing of your personal data.\n ",[[1,"header","license-page"],[1,"container"],[1,"license-page-content"],[1,"section-title-large","page-default-header"],t,[1,"page-default-content"],i]},template:function(i,o){1&i&&(y(0,"section",0)(1,"div",1)(2,"div",2)(3,"h1",3),J(4,4),b(),z(5,"app-legal-grid-block"),y(6,"p",5),J(7,6),b()()()())},dependencies:[fP],styles:[".license-page[_ngcontent-%COMP%]{min-height:920px}.license-page-content[_ngcontent-%COMP%]{max-width:1230px;margin:0 auto}.license-page-content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:center;max-width:1030px;margin:0 auto}.license-page-content[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{max-width:620px;margin-left:auto;margin-top:100px;font-size:22px;line-height:26px}@media (max-width: 1300px){.license-page-content[_ngcontent-%COMP%]{margin-left:40px;margin-right:40px}}@media (max-width: 1024px){.license-page-content[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin-left:0;margin-top:60px}}@media (max-width: 768px){.license-page[_ngcontent-%COMP%]{padding-bottom:0;margin-bottom:20px}.license-page-content[_ngcontent-%COMP%]{margin-left:20px;margin-right:20px}.license-page-content[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin-left:0;margin-top:40px;font-size:16px}}@media (max-width: 600px){.license-page-content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:16px}}"]})}return e})()},{path:"terms/:id/:lang",component:(()=>{class e{constructor(t,i,o,r,s,a,l,c,d){this.platformId=t,this.router=i,this.legaldocsService=o,this.route=r,this.pageNotFoundService=s,this.langService=a,this.titleService=l,this.titleCasePipe=c,this.transferState=d,this.legaldoc={},this.languages=[],this.url="",this.slug="",this.siteUrl="",this.isBrowser=!1,this.isMobile=!1,this.isBrowser=Pe(this.platformId),this.currentSiteLang=this.langService.getCurrentLang()}onResize(t){this.isMobile=t.target.innerWidth<=768}ngOnInit(){var t=this;return Nr(function*(){if(t.legaldocStatus=t.transferState.get(Yb,200),t.languages=t.transferState.get(gP,[]),t.currentDocLang=t.transferState.get(Xb,"en"),t.legaldoc=t.transferState.get(pP,{}),t.isBrowser)t.isMobile=window.innerWidth<=768,t.slug=t.transferState.get("slug",""),t.siteUrl=t.transferState.get(vP,""),404==t.legaldocStatus?(t.pageNotFoundService.setReturnPage("terms"),yield t.router.navigateByUrl("/404",{skipLocationChange:!0})):("privacy-notice-for-job-applicants"!==t.slug&&"#disclosureAnchor"===window.location.hash&&(t.legaldoc=t.transferState.get(mP,{}),t.router.navigate([`/terms/${t.slug}/en`],{fragment:"disclosureAnchor"})),t.legaldoc&&t.titleService.setTitle(t.titleCasePipe.transform(t.legaldoc.name)));else{const i=yield mh(t.route.url);t.siteUrl=Xe.siteUrl,t.transferState.set(vP,Xe.siteUrl),t.transferState.set("slug",i[1].path),t.slug=i[1].path,t.currentDocLang=i[2].path;const o="ru"==t.currentSiteLang?"/ru/terms/"+i[1].path+"/"+i[2].path:"/terms/"+i[1].path+"/"+i[2].path;t.transferState.set(Xb,t.currentDocLang);try{let r;r=yield mh(t.legaldocsService.fetchLegaldocForLang(i[1].path,i[2].path));const s=yield mh(t.legaldocsService.fetchLegaldocForLang(i[1].path,"en"));
3s.html=yP(s.html,o),t.transferState.set(mP,s),r.html=yP(r.html,o),t.languages=yield mh(t.legaldocsService.fetchLangsForSlug(i[1].path)),t.languages.sort(),t.transferState.set(gP,t.languages),t.legaldoc=r,t.transferState.set(Xb,t.currentDocLang),t.transferState.set(Yb,200),t.legaldoc&&(t.transferState.set(pP,t.legaldoc),t.titleService.setTitle(t.titleCasePipe.transform(t.legaldoc.name)))}catch(r){404==r.status&&t.transferState.set(Yb,404)}}})()}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ae),C(en),C(uP),C(Qn),C(Sc),C(He),C(Zn),C(Ku),C(vt))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-legal-doc-page"]],hostBindings:function(i,o){1&i&&Q("resize",function(s){return o.onResize(s)},0,el)},features:[ft([Ku])],decls:1,vars:1,consts:[["id","toPageStartAnchor","class","section license-document page-default",4,"ngIf"],["id","toPageStartAnchor",1,"section","license-document","page-default"],[1,"container",3,"id"],[1,"content-main-padding"],[1,"license-document-topbar","d-flex","align-items-center","justify-content-sb","page-default-header",3,"ngClass"],["link","/terms"],["class","languages d-flex align-items-center flex-wrap",4,"ngIf"],["class","license-document-content page-default-content",4,"ngIf","ngIfElse"],["loading",""],[1,"languages","d-flex","align-items-center","flex-wrap"],["class","d-flex align-items-center justify-content-center",3,"href","ngClass",4,"ngFor","ngForOf"],[1,"d-flex","align-items-center","justify-content-center",3,"href","ngClass"],[1,"license-document-content","page-default-content"],[1,"license-document-block",3,"lang"],[1,"section-title-large"],[1,"license-document-body",3,"ngClass"],[3,"data","disableSanitizer"],[1,"big-text","d-flex","align-items-center","justify-content-center"]],template:function(i,o){1&i&&R(0,hJ,9,5,"section",0),2&i&&S("ngIf",o.legaldoc)},dependencies:[Dn,bt,Ee,Wb,qf,ID],styles:['.languages[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{position:relative;transition:all ease .3s;padding:4px 6px;border-radius:8px;font-size:14px;min-width:35px;min-height:26px;cursor:pointer}.languages[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:not(:last-child):before{content:"";position:absolute;height:14px;width:1px;background-color:#121212;left:100%;top:50%;transform:translateY(-50%)}.languages[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .languages[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{background:#121212;color:#fff}.languages[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover:before, .languages[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:before{display:none}@media (max-width: 500px){.languages[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{min-width:30px;min-height:15px}}']})}return e})()},{path:"contacts",component:ZK,title:"Contact with VIZOR"},{path:"jobs",component:PZ,title:"VIZOR Jobs"},{path:"jobs/:id",component:qQ},{path:"support",component:KQ,title:"Vizor Support"},{path:"404",component:hP},{path:"**",component:hP}];let mJ=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({imports:[UT.forRoot(pJ,{initialNavigation:"enabledBlocking",scrollPositionRestoration:"enabled",anchorScrolling:"enabled",scrollOffset:[0,80]}),UT]})}return e})(),Kb=(()=>{class e{constructor(t,i){this.document=t,this.platformId=i,this.documentIsAccessible=Pe(this.platformId)}static getCookieRegExp(t){const i=t.replace(/([\[\]{}()|=;+?,.*^$])/gi,"\\$1");return new RegExp("(?:^"+i+"|;\\s*"+i+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(t){try{return decodeURIComponent(t)}catch{return t}}check(t){return!!this.documentIsAccessible&&(t=encodeURIComponent(t),e.getCookieRegExp(t).test(this.document.cookie))}get(t){if(this.documentIsAccessible&&this.check(t)){t=encodeURIComponent(t);const o=e.getCookieRegExp(t).exec(this.document.cookie);return o[1]?e.safeDecodeURIComponent(o[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const t={},i=this.document;return i.cookie&&""!==i.cookie&&i.cookie.split(";").forEach(o=>{const[r,s]=o.split("=");t[e.safeDecodeURIComponent(r.replace(/^ /,""))]=e.safeDecodeURIComponent(s)}),t}set(t,i,o,r,s,a,l){if(!this.documentIsAccessible)return;if("number"==typeof o||o instanceof Date||r||s||a||l)return void this.set(t,i,{expires:o,path:r,domain:s,secure:a,sameSite:l||"Lax"});let c=encodeURIComponent(t)+"="+encodeURIComponent(i)+";";const d=o||{};d.expires&&(c+="number"==typeof d.expires?"expires="+new Date((new Date).getTime()+1e3*d.expires*60*60*24).toUTCString()+";":"expires="+d.expires.toUTCString()+";"),d.path&&(c+="path="+d.path+";"),d.domain&&(c+="domain="+d.domain+";"),!1===d.secure&&"None"===d.sameSite&&(d.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${t} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),d.secure&&(c+="secure;"),d.sameSite||(d.sameSite="Lax"),c+="sameSite="+d.sameSite+";",this.document.cookie=c}delete(t,i,o,r,s="Lax"){this.documentIsAccessible&&this.set(t,"",{expires:new Date("Thu, 01 Jan 1970 00:00:01 GMT"),path:i,domain:o,secure:r,sameSite:s})}deleteAll(t,i,o,r="Lax"){if(!this.documentIsAccessible)return;const s=this.getAll();for(const a in s)s.hasOwnProperty(a)&&this.delete(a,t,i,o,r)}static#e=this.\u0275fac=function(i){return new(i||e)(T(Te),T(Ae))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),gh=(()=>{class e{constructor(t){this.http=t}fetchMenus(t,i){return this.http.get(`${ke.menuUrl}/menu/${t}/${i}`)}static#e=this.\u0275fac=function(i){return new(i||e)(T(Kn))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function gJ(e,n){1&e&&(y(0,"a",5),ie(1,"Ru"),b()),2&e&&S("href","/ru"+I().locationUrl,_e)}function _J(e,n){1&e&&(y(0,"a"),ie(1,"Ru"),b())}function vJ(e,n){1&e&&(y(0,"a",5),ie(1,"En"),b()),2&e&&S("href",I().locationUrl,_e)}function bJ(e,n){1&e&&(y(0,"a"),ie(1,"En"),b())}let yJ=(()=>{class e{constructor(t,i,o,r){this.platformId=t,this.router=i,this.langService=o,this.location=r,this.isBrowser=!1,this.locationUrl="",this.isBrowser=Pe(this.platformId);const s=this.router.location._locationStrategy._platformLocation.href;this.currentLang=s.match(/\/.{2}\//)&&"/ru/"===s.match(/\/.{2}\//)[0]?"ru":"en",this.locationUrl=this.location.path()?this.location.path():"/",this.langService.setCurrentSiteLang(this.currentLang.toLowerCase())}pickActiveLang(t){const i=this.location.path()?this.location.path():"/";window.location.href="ru"===t?"/ru"+i:i}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ae),C(en),C(He),C(yo))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-nav-lang"]],decls:9,vars:6,consts:[[1,"nav-lang-block","d-flex","gap-30"],[1,"nav-lang",3,"ngClass","click"],[3,"href",4,"ngIf","ngIfElse"],["linkRu",""],["linkEn",""],[3,"href"]],template:function(i,o){if(1&i&&(y(0,"div",0)(1,"div",1),Q("click",function(){return o.pickActiveLang("ru")}
3),R(2,gJ,2,1,"a",2)(3,_J,2,0,"ng-template",null,3,an),b(),y(5,"div",1),Q("click",function(){return o.pickActiveLang("en")}),R(6,vJ,2,1,"a",2)(7,bJ,2,0,"ng-template",null,4,an),b()()),2&i){const r=qt(4),s=qt(8);w(),S("ngClass","ru"===o.currentLang?"active":""),w(),S("ngIf",o.locationUrl.includes("terms/"))("ngIfElse",r),w(3),S("ngClass","en"===o.currentLang?"active":""),w(),S("ngIf",o.locationUrl.includes("terms/"))("ngIfElse",s)}},dependencies:[Dn,Ee],styles:['.nav-lang[_ngcontent-%COMP%]{color:#b7b7b7;font-size:19px;transition:transform ease .25s}.nav-lang-block[_ngcontent-%COMP%]{position:relative;padding:5px 0}.nav-lang-block[_ngcontent-%COMP%]:before{content:"";position:absolute;width:2px;height:65%;left:50%;transform:translate(-50%);background-color:#717171}.nav-lang-block[_ngcontent-%COMP%] .nav-lang.active[_ngcontent-%COMP%]{color:#fff}.nav-lang-block[_ngcontent-%COMP%] .nav-lang[_ngcontent-%COMP%]:hover:not(.active){cursor:pointer;transform:scale(1.15)}']})}return e})();function CJ(e,n){if(1&e&&(y(0,"a",3),z(1,"img",4),b()),2&e){const t=n.$implicit,i=n.last,o=I(2);pe("ngClass",i?"":o.smallIcons?"mr-10":"mr-30"),pe("href",t.link.link,_e),w(),ut("src","",o.imagesUrl,"",t.image.path,"",_e),pe("alt","en"===o.currentLang?t.image.altEn:t.image.altRu)}}function EJ(e,n){if(1&e&&(y(0,"div",1),R(1,CJ,2,5,"a",2),b()),2&e){const t=I();pe("ngClass",t.smallIcons?"social-icons-small":""),w(),S("ngForOf",t.socialIconsData)}}const Zb="socialIconsData";let CP=(()=>{class e{constructor(t,i,o,r){this.platformId=t,this.menuService=i,this.langService=o,this.transferState=r,this.isBrowser=!1,this.imagesUrl=Xe.imagesUrl,this.socialIconsData=[],this.isBrowser=Pe(this.platformId),this.currentLang=this.langService.getCurrentLang()}ngOnInit(){this.langService.sharedCurrentSiteLang.subscribe(t=>{this.currentLang=t,this.loadSocialIcons(t)}),this.socialIconsData=this.transferState.get(Zb,[])}loadSocialIcons(t){this.transferState.hasKey(Zb)||this.menuService.fetchMenus("footer-socials",t).subscribe(i=>{i.menuItems&&i.menuItems.length>0&&(this.socialIconsData=i.menuItems,this.transferState.set(Zb,this.socialIconsData))})}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ae),C(gh),C(He),C(vt))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-social-icons"]],inputs:{smallIcons:"smallIcons"},decls:1,vars:1,consts:[["class","social-icons d-flex align-items-center",3,"ngClass",4,"ngIf"],[1,"social-icons","d-flex","align-items-center",3,"ngClass"],["class","animated-scale","target","_blank",3,"ngClass","href",4,"ngFor","ngForOf"],["target","_blank",1,"animated-scale",3,"ngClass","href"],[3,"src","alt"]],template:function(i,o){1&i&&R(0,EJ,2,2,"div",0),2&i&&S("ngIf",o.socialIconsData.length>0)},dependencies:[Dn,bt,Ee],styles:[".social-icons[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{filter:brightness(0) invert(1);align-self:stretch;min-width:25px}.social-icons[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{filter:none}.social-icons[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;height:100%;max-width:110%}.social-icons-small[_ngcontent-%COMP%]{max-height:21px}.social-icons-small[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{max-width:24px}"]})}return e})(),wJ=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-nav-logo"]],decls:3,vars:0,consts:[[1,"nav-logo"],["routerLink","/","routerLinkActive","active"],["src","/assets/icons/vizor-logo-white.svg","alt","Vizor Games logo"]],template:function(i,o){1&i&&(y(0,"div",0)(1,"a",1),z(2,"img",2),b()())},dependencies:[cn,vv],styles:[".nav-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;max-height:23px}"]})}return e})();const Qb=()=>({exact:!0});function SJ(e,n){if(1&e&&(y(0,"a",18),ie(1),b()),2&e){const t=I().$implicit;pe("routerLink",t.link.link),S("routerLinkActiveOptions",Ko(3,Qb)),w(),$t("",t.name," ")}}function MJ(e,n){if(1&e&&(y(0,"div",26),z(1,"img",27)(2,"div",28),b()),2&e){const t=I().$implicit,i=I(4);w(),ut("src","",i.imagesUrl,"",i.smallImages[i.gameCards.indexOf(t)].path,"",_e),pe("alt",i.smallImages[i.gameCards.indexOf(t)].altEn),w(),S("innerHTML",t.title,Ot)}}const xJ=e=>["/games/",e];function DJ(e,n){if(1&e){const t=Qe();y(0,"a",24),Q("click",function(){const r=Me(t).$implicit;return xe(I(4).setCurrentGameData(r.id))}),R(1,MJ,3,4,"div",25),b()}if(2&e){const t=n.$implicit,i=I(4);S("routerLink",Jt(3,xJ,t.slug))("routerLinkActiveOptions",Ko(5,Qb)),w(),S("ngIf",i.smallImages[i.gameCards.indexOf(t)])}}function TJ(e,n){if(1&e&&(y(0,"div",19)(1,"a",18)(2,"p"),ie(3),b(),y(4,"div",20),z(5,"img",21),b()(),y(6,"div",22),R(7,DJ,2,6,"a",23),b()()),2&e){const t=I().$implicit,i=I(2);w(),pe("routerLink",t.link.link),S("routerLinkActiveOptions",Ko(4,Qb)),w(2),Ye(t.name),w(4),S("ngForOf",i.gameCards)}}function OJ(e,n){if(1&e&&(At(0),R(1,SJ,2,4,"a",16)(2,TJ,8,5,"ng-template",null,17,an),Pt()),2&e){const t=n.$implicit,i=qt(3);w(),S("ngIf","Games"!=t.name&&"\u0418\u0433\u0440\u044b"!=t.name)("ngIfElse",i)}}function IJ(e,n){if(1&e&&(y(0,"div",14),R(1,OJ,4,2,"ng-container",15),b()),2&e){const t=I();w(),S("ngForOf",t.menuItems)}}function AJ(e,n){if(1&e){const t=Qe();y(0,"div",31)(1,"a",32),Q("click",function(){return Me(t),xe(I(2).openM
3obileMenu())}),ie(2),b()()}if(2&e){const t=n.$implicit;w(),pe("routerLink",t.link.link),w(),$t("",t.name," ")}}function PJ(e,n){if(1&e&&(y(0,"div",29),R(1,AJ,3,2,"div",30),b()),2&e){const t=I();w(),S("ngForOf",t.menuItems)}}const kJ=(e,n,t)=>({opened:e,closed:n,safari:t}),Jb="menuItems",ey="gameCards",ty="smallImages";let NJ=(()=>{class e{constructor(t,i,o,r,s,a){this.platformId=t,this.gamesService=i,this.menuService=o,this.langService=r,this.platform=s,this.transferState=a,this.imagesUrl=Xe.imagesUrl,this.menuItems=[],this.smallImages=[],this.isBrowser=!1,this.isMobile=!1,this.mobileMenuOpen=!1,this.isBrowser=Pe(this.platformId)}ngOnInit(){this.menuItems=this.transferState.get(Jb,[]),this.gameCards=this.transferState.get(ey,[]),this.smallImages=this.transferState.get(ty,[]),this.langService.sharedCurrentSiteLang.subscribe(t=>{this.currentLang=t,this.loadInitialData(t)})}loadInitialData(t){this.loadMenuItems(t),this.loadGameCards()}loadMenuItems(t){this.transferState.hasKey(Jb)||this.menuService.fetchMenus("header",t).subscribe(i=>{i.menuItems&&i.menuItems.length>0&&(this.menuItems=i.menuItems,this.transferState.set(Jb,this.menuItems))})}loadGameCards(){(!this.transferState.hasKey(ey)||!this.transferState.hasKey(ty))&&this.gamesService.fetchGames().subscribe(t=>{this.gameCards=t,this.transferState.set(ey,t),this.smallImages=[],this.gameCards.forEach(i=>{const o=i.gamesGalleryEntity.find(r=>"gameMenuImage"==r.type);o&&o.image&&this.smallImages.push(o.image)}),this.transferState.set(ty,this.smallImages)})}onResize(t){this.isMobile=t.target.innerWidth<=444}setCurrentGameData(t){this.gamesService.setCurrentGameData(t)}openMobileMenu(){this.mobileMenuOpen=!this.mobileMenuOpen,this.mobileMenuOpen?document.querySelector("body")?.classList.add("overflow-hidden"):document.querySelector("body")?.classList.remove("overflow-hidden")}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ae),C(Qi),C(gh),C(He),C(bn),C(vt))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-nav"]],hostBindings:function(i,o){1&i&&Q("resize",function(s){return o.onResize(s)},0,el)},decls:19,vars:9,consts:[[1,"nav"],[1,"container"],[1,"nav-content","content-main-padding"],["class","nav-links d-flex justify-content-sb",4,"ngIf"],[1,"nav-langs"],[1,"nav","nav-mobile"],[1,"nav-mobile-content","content-main-padding"],[1,"nav-lang"],[1,"nav-mobile-more",3,"ngClass","click"],["src","/assets/icons/nav-arrow.svg","alt","Arrow"],[1,"nav-mobile-dropdown",3,"ngClass"],["class","nav-mobile-links",4,"ngIf"],[1,"nav-mobile-dropdown-bottom"],[3,"smallIcons"],[1,"nav-links","d-flex","justify-content-sb"],[4,"ngFor","ngForOf"],["class","nav-link","routerLinkActive","current-page",3,"routerLink","routerLinkActiveOptions",4,"ngIf","ngIfElse"],["navDropdown",""],["routerLinkActive","current-page",1,"nav-link",3,"routerLink","routerLinkActiveOptions"],[1,"nav-dropdown","nav-dropdown-games"],[1,"nav-arrow"],["src","/assets/icons/nav-arrow.svg","alt","nav arrow"],[1,"nav-dropdown-block","pt-20","pb-20"],["class","nav-dropdown-item","routerLinkActive","current-page-game",3,"routerLink","routerLinkActiveOptions","click",4,"ngFor","ngForOf"],["routerLinkActive","current-page-game",1,"nav-dropdown-item",3,"routerLink","routerLinkActiveOptions","click"],["class","nav-dropdown-link",4,"ngIf"],[1,"nav-dropdown-link"],[1,"nav-dropdown-game-preview",3,"src","alt"],[1,"nav-dropdown-link-title",3,"innerHTML"],[1,"nav-mobile-links"],["class","nav-mobile-links-item",4,"ngFor","ngForOf"],[1,"nav-mobile-links-item"],["routerLinkActive","current-page",3,"routerLink","click"]],template:function(i,o){1&i&&(y(0,"nav",0)(1,"div",1)(2,"div",2),z(3,"app-nav-logo"),R(4,IJ,2,1,"div",3),y(5,"div",4),z(6,"app-nav-lang"),b()()()(),y(7,"nav",5)(8,"div",1)(9,"div",6),z(10,"app-nav-logo"),y(11,"div",7),z(12,"app-nav-lang"),b(),y(13,"div",8),Q("click",function(){return o.openMobileMenu()}),z(14,"img",9),b()(),y(15,"div",10),R(16,PJ,2,1,"div",11),y(17,"div",12),z(18,"app-social-icons",13),b()()()()),2&i&&(w(4),S("ngIf",o.menuItems.length>0),w(9),S("ngClass",o.mobileMenuOpen?"opened":"closed"),w(2),S("ngClass",ex(5,kJ,o.mobileMenuOpen,!o.mobileMenuOpen,o.platform.SAFARI&&o.isMobile)),w(),S("ngIf",o.menuItems.length>0),w(2),S("smallIcons",!0))},dependencies:[Dn,bt,Ee,cn,vv,yJ,CP,wJ],styles:['.nav[_ngcontent-%COMP%]{opacity:0;animation:fadeInUpDown .5s forwards;position:sticky;z-index:10000;width:100%;top:0;
3transition:box-shadow .15s ease;background:#121212}.nav-arrow[_ngcontent-%COMP%]{margin-left:8px}.nav-link[_ngcontent-%COMP%]{position:relative;color:#b7b7b7;display:flex;align-items:center;font-size:19px;font-weight:300;height:100%;cursor:pointer;box-sizing:content-box;transition:color .2s}.nav-link[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#b7b7b7}.nav-link.current-page[_ngcontent-%COMP%]{color:#fff}.nav-link.current-page[_ngcontent-%COMP%]:after{background-color:#fff!important;width:100%!important}.nav-link.current-page[_ngcontent-%COMP%]:before{width:0!important}.nav-link[_ngcontent-%COMP%]:before, .nav-link[_ngcontent-%COMP%]:after{content:"";position:absolute;width:0;height:2px;bottom:0;background-color:#fff}.nav-link[_ngcontent-%COMP%]:before{left:0}.nav-link[_ngcontent-%COMP%]:after{right:0;background-color:#fff;transition:width .8s cubic-bezier(.22,.61,.36,1)}.nav-link[_ngcontent-%COMP%]:hover:before{background-color:#fff;width:100%;transition:width .5s cubic-bezier(.22,.61,.36,1)}.nav-link[_ngcontent-%COMP%]:hover:after{background-color:transparent;width:100%;transition:0s}.nav-content[_ngcontent-%COMP%]{display:flex;align-items:center;height:72px}.nav-content[_ngcontent-%COMP%] .nav-langs[_ngcontent-%COMP%]{margin-left:auto}.nav-links[_ngcontent-%COMP%]{height:100%;margin-left:65px;gap:55px}.nav-dropdown[_ngcontent-%COMP%]{position:relative}.nav-dropdown[_ngcontent-%COMP%]:hover .nav-dropdown-block[_ngcontent-%COMP%]{opacity:1;pointer-events:all}.nav-dropdown[_ngcontent-%COMP%]:hover .nav-arrow[_ngcontent-%COMP%]{transform:rotateX(180deg) translateY(-2px)}.nav-dropdown-block[_ngcontent-%COMP%]{position:absolute;display:flex;flex-direction:column;width:100vw;max-width:440px;top:100%;transition:opacity .15s cubic-bezier(.17,.67,.83,.67);padding-bottom:15px;opacity:0;pointer-events:none}.nav-dropdown-item[_ngcontent-%COMP%]{padding:0 15px;transition:background ease .2s}.nav-dropdown-item[_ngcontent-%COMP%]:first-child{padding-top:0}.nav-dropdown-item[_ngcontent-%COMP%]:last-child{padding-bottom:0}.nav-dropdown-item[_ngcontent-%COMP%]:hover{background:#f2f2f2}.nav-dropdown-link[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;padding:8px 0}.nav-dropdown-link-title[_ngcontent-%COMP%]{color:#121212;font-size:24px;line-height:1;padding:0 60px 0 14px}.nav-dropdown-link[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:65px}.nav-dropdown-games[_ngcontent-%COMP%] .nav-dropdown-block[_ngcontent-%COMP%]{border-radius:22px;background-color:#fff;box-shadow:0 4px 4px #00000040,0 0 2px #00000040}.nav-dropdown-games[_ngcontent-%COMP%] .current-page-game[_ngcontent-%COMP%]{background:#a291ff}.nav-dropdown-games[_ngcontent-%COMP%] .current-page-game[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#fff}.nav-dropdown-games[_ngcontent-%COMP%] .current-page-game[_ngcontent-%COMP%] .nav-dropdown-game-preview[_ngcontent-%COMP%]{border:2px solid #ffffff}.nav-dropdown-game-preview[_ngcontent-%COMP%]{border-radius:8px}.nav-mobile[_ngcontent-%COMP%]{display:none}.nav-mobile.cv-opened[_ngcontent-%COMP%]{background:#262626;transition:background-color .5s}.nav-mobile.cv-opened[_ngcontent-%COMP%] .nav-mobile-cv-opened[_ngcontent-%COMP%]{display:flex}.nav-mobile.cv-opened[_ngcontent-%COMP%] .nav-mobile-more[_ngcontent-%COMP%]{display:none}.nav-mobile-content[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-between;align-items:center;z-index:2;height:unset;padding-top:12px;padding-bottom:12px;border-bottom:1px solid #808080}.nav-mobile-cv-opened[_ngcontent-%COMP%]{display:none;cursor:pointer;width:32px;height:32px;background:#ffffff26;border-radius:100%;justify-content:center;align-items:center}.nav-mobile-cv-opened[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:13px;height:13px}.nav-mobile-cv-opened[_ngcontent-%COMP%]:hover img[_ngcontent-%COMP%]{width:15px;height:15px}.nav-mobile-more[_ngcontent-%COMP%]{width:32px;height:32px;background-color:#fff;border-radius:100%;display:flex;justify-content:center;align-items:center}.nav-mobile-more[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{transition:transform ease .2s}.nav-mobile-more.opened[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{transform:rotateX(180deg) translateY(1px)}.nav-mobile-dropdown[_ngcontent-%COMP%]{position:absolute;display:flex;flex-direction:column;justify-content:space-between;width:100%;height:calc(100dvh - 56px);pointer-events:none;opacity:0;transform:translateY(-150px);transition:all ease .3s;padding:100px 30px 30px;background-color:#121212;overflow:auto}.nav-mobile-dropdown.safari[_ngcontent-%COMP%]{padding-bottom:100px}.nav-mobile-dropdown.opened[_ngcontent-%COMP%]{pointer-events:all;opacity:1;transform:translateY(0);z-index:1}.nav-mobile-dropdown-bottom[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.nav-mobile-links-item[_ngcontent-%COMP%]{margin-bottom:25px}.nav-mobile-links-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:42px;line-height:1;color:#fff}.nav-mobile-links-item[_ngcontent-%COMP%] a.current-page[_ngcontent-%COMP%]{border-bottom:2px solid #ffffff}@media (max-width: 1024px){.nav[_ngcontent-%COMP%]{display:none}.nav-mobile[_ngcontent-%COMP%]{display:block}.nav-mobile-content[_ngcontent-%COMP%] .nav-langs[_ngcontent-%COMP%]{margin-right:20px}.nav-mobile-dropdown[_ngcontent-%COMP%]{padding-top:60px}.nav-lang[_ngcontent-%COMP%]{margin-left:auto;margin-right:20px}}@media (max-width: 768px){.nav-mobile[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding:20px}.nav-mobile-dropdown[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}.nav-mobile-links-item[_ngcontent-%COMP%]{margin-bottom:20px}.nav-mobile-links-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:44px}}@media (max-width: 600px){.nav-mobile-links-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:32px}}']});static#n=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();var Ia=function(e){return e[e.Necessary=0]="Necessary",e[e.Performance=1]="Performance",e}(Ia||{});let EP=(()=>{class e{constructor(t,i,o){this.cookieService=t,this.platformId=i,this.transferState=o,this.isBrowser=!1,this.cookieDomain="",this.acceptedCookiesList=[],this.setCookiesList=new Fe([]),this.sharedCookiesList=this.setCookiesList.asObservable(),this.cookieSettingsOpened=new Fe(!1),this.sharedCookieSettingsOpened=this.cookieSettingsOpened.asObservable(),this.cookieModalShow=new Fe(!1),this.sharedCookieModalShow=this.cookieModalShow.asObservable(),Pe(this.platformId)&&(this.cookieLife=Number(window.COOKIE_LIFE),this.gaId=window.GA_ID,this.cookieDomain=window.COOKIE_DOMAIN)}setCookieModalShow(t){return this.cookieModalShow.next(t)}setCookieSettingsOpen(t){return this.cookieSettingsOpened.next(t)}setAcceptedCookieList(t){return this.acceptedCookiesList=[...t],this.setCookiesList.next(this.acceptedCookiesList)}setAcceptedCookieTypes(){if(Pe(this.platformId)){this.cookieService.deleteAll();const t=new Date;t.setUTCSeconds(t.getUTCSeconds()+this.cookieLife),this.cookieService.set("acceptedCookies",JSON.stringify(this.acceptedCookiesList),{expires:t,path:"/",domain:this.cookieDomain}),this.setCookies()}}setCookies(){this.acceptedCookiesList.includes(Ia[1])&&this.loadGoogleAnalytics()}getSetCookies(){return this.cookieService.get("acceptedCookies")?Object.values(JSON.parse(this.cookieService.get("acceptedCookies"))):[]}checkCookies(){return!!this.cookieService.get("acceptedCookies")&&this.cookieService.get("acceptedCookies")}checkStatisticsCookies(){return!!this.cookieService.get("acceptedCookies").includes(Ia[1])}loadGoogleAnalytics(){if(!this.gaId)return;let t=document.createElement("script");t.setAttribute("async","true"),t.setAttribute("src",`https://www.googletagmanager.com/gtag/js?i
3d=${this.gaId}`);let i=document.createElement("script");i.innerText=`window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());gtag('config', '${this.gaId}', {'cookie_expires': ${Number(window.COOKIE_LIFE)}})`,document?.documentElement?.firstChild?.appendChild(t),document?.documentElement?.firstChild?.appendChild(i)}static#e=this.\u0275fac=function(i){return new(i||e)(T(Kb),T(Ae),T(vt))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wP=(()=>{class e{constructor(t){this.customCookieService=t,this.cookiesStates=[!0,!1],this.acceptedCookiesList=[],this.customCookieService.sharedCookieSettingsOpened.subscribe(o=>{this.cookieSettingsOpened=o});const i=this.customCookieService.getSetCookies();this.customCookieService.setAcceptedCookieList(i),this.customCookieService.sharedCookiesList.subscribe(o=>{o?.forEach(r=>{const s=Object.values(Ia).indexOf(r);this.cookiesStates[s]=!0})})}setState(t){this.cookiesStates[t]=!this.cookiesStates[t]}closeSettings(){this.customCookieService.setCookieSettingsOpen(!1)}onAcceptChoice(){for(let t=0;t<this.cookiesStates.length;t++)this.cookiesStates[t]&&this.acceptedCookiesList.push(Ia[t]);this.customCookieService.setAcceptedCookieList(this.acceptedCookiesList),this.customCookieService.setAcceptedCookieTypes(),this.customCookieService.setCookieModalShow(!1),this.cookieSettingsOpened=!1,location.reload()}static#e=this.\u0275fac=function(i){return new(i||e)(C(EP))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-cookie-settings"]],decls:23,vars:2,consts:()=>{let t,i,o,r;return t="Below you can make your privacy choices about the purposes for which we use cookies and other\n identifiers. Cookies are small text files stored on your device that help us improve site navigation, analyse\n site usage, and assist in our marketing efforts.\n ",i="Strictly necessary cookies",o="Performance cookies",r="Save and close",[[1,"modal-container"],["id","closeSettingsButton",1,"cookie-sett
3ings-close",3,"click"],[1,"cookie-settings"],[1,"cookie-settings-header"],t,[1,"cookie-settings-footer","d-flex","justify-content-sb","gap-10","flex-wrap","align-items-center"],[1,"cookie-settings-inputs","d-flex","flex-column","align-items-start"],[1,"cookie-settings-row"],[1,"switch"],[1,"icon"],["type","checkbox","disabled","","id","necessary",3,"checked","click"],[1,"slider-switch","round"],i,["id","perfomanceSwitch",1,"switch"],["type","checkbox","id","perfomance",3,"checked","click"],o,["type","button","id","acceptCookiesButton",1,"main-button","main-button-body","main-button-body-small","mt-0",3,"click"],r]},template:function(i,o){1&i&&(y(0,"div",0)(1,"div",1),Q("click",function(){return o.closeSettings()}),ie(2,"\u2715"),b(),y(3,"div",2)(4,"div",3),J(5,4),b(),y(6,"div",5)(7,"div",6)(8,"div",7)(9,"label",8),z(10,"div",9),y(11,"input",10),Q("click",function(){return o.setState(0)}),b(),z(12,"span",11),b(),y(13,"p"),J(14,12),b()(),y(15,"div",7)(16,"label",13)(17,"input",14),Q("click",function(){return o.setState(1)}),b(),z(18,"span",11),b(),y(19,"p"),J(20,15),b()()(),y(21,"button",16),Q("click",function(){return o.onAcceptChoice()}),J(22,17),b()()()()),2&i&&(w(11),S("checked",o.cookiesStates[0]),w(6),S("checked",o.cookiesStates[1]))}
3,styles:[".cookie-settings[_ngcontent-%COMP%]{padding:10px}.cookie-settings-header[_ngcontent-%COMP%]{margin-bottom:15px;padding-right:10px;color:#fff;font-size:14px}.cookie-settings-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:5px;align-items:center}.cookie-settings-row[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-left:10px;font-size:14px}p[_ngcontent-%COMP%], span[_ngcontent-%COMP%]{color:#fff!important}a[_ngcontent-%COMP%]{color:#2196f3!important}a[_ngcontent-%COMP%]:hover{text-decoration:underline}@media (max-width: 1024px){.cookie-settings[_ngcontent-%COMP%]{align-items:center;flex-direction:column}}.cookie-settings-close[_ngcontent-%COMP%]{position:absolute;right:5px;top:5px;cursor:pointer;color:#fff;font-size:21px}"]})}return e})(),RJ=(()=>{class e{constructor(t){this.dialogRef=t}onClose(){this.dialogRef.close()}static#e=this.\u0275fac=function(i){return new(i||e)(C(Sa))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-cookies-modal"]],decls:4,vars:0,consts:[[1,"modal-container"],["mat-dialog-close","",1,"cookie-sett
3ings-close",3,"click"]],template:function(i,o){1&i&&(y(0,"div",0)(1,"div",1),Q("click",function(){return o.onClose()}),ie(2,"\u2715"),b(),z(3,"app-cookie-settings"),b())},dependencies:[Yv,wP],styles:[".cookie-settings-close[_ngcontent-%COMP%]{position:absolute;right:5px;top:5px;z-index:100000;cursor:pointer;color:#fff;font-size:21px}"]})}return e})();function FJ(e,n){if(1&e&&(y(0,"div",2)(1,"a",3),ie(2),b()()),2&e){const t=I();w(),pe("routerLink",t.item.link.link),w(),Ye(t.item.name)}}function LJ(e,n){if(1&e){const t=Qe();y(0,"div",2)(1,"p",4),Q("click",function(){return Me(t),xe(I().cookieSettingOpen())}),ie(2),b()()}if(2&e){const t=I();w(2),Ye(t.item.name)}}let $J=(()=>{class e{constructor(t,i,o){this.dialog=t,this.platformId=i,this.transferState=o,this.isBrowser=!1,this.isBrowser=Pe(this.platformId)}ngOnInit(){}cookieSettingOpen(){this.dialog.open(RJ,{width:"100%",position:{bottom:"2vh"},enterAnimationDuration:"300ms",exitAnimationDuration:"300ms",panelClass:"cookie-settings-modal"})}static#e=this.\u0275fac=function(i){return new(i||e)(C(Jn),C(Ae),C(vt))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-footer-link"]],inputs:{item:"item",cookiesItem:"cookiesItem"},decls:3,vars:2,consts:[["class","footer-links-item",4,"ngIf","ngIfElse"],["cookieItem",""],[1,"footer-links-item"],[3,"routerLink"],[3,"click"]],template:function(i,o){if(1&i&&R(0,FJ,3,2,"div",0)(1,LJ,3,1,"ng-template",null,1,an),2&i){const r=qt(2);S("ngIf",!o.cookiesItem)("ngIfElse",r)}},dependencies:[Ee,cn],styles:[".footer-links-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .footer-links-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:block;font-size:18px;cursor:pointer;color:#fff}"]})}return e})();function VJ(e,n){if(1&e&&(y(0,"a",2),z(1,"img",3),b()),2&e){const t=n.$implicit,i=I();pe("href",t.link.link,_e),w(),ut("src","",i.imagesUrl,"",t.image.path,"",_e),pe("alt","en"===i.currentLang?t.image.altEn:t.image.altRu)}}const ny="footerPlatformsData";let BJ=(()=>{class e{constructor(t,i,o,r){this.platformId=t,this.menuService=i,this.langService=o,this.transferState=r,this.isBrowser=!1,this.imagesUrl=Xe.imagesUrl,this.isBrowser=Pe(this.platformId),this.currentLang=this.langService.getCurrentLang()}ngOnInit(){this.langService.sharedCurrentSiteLang.subscribe(t=>{this.currentLang=t,this.loadFooterPlatformsData(t)}),this.footerPlatformsData=this.transferState.get(ny,[])}loadFooterPlatformsData(t){this.transferState.hasKey(ny)||this.menuService.fetchMenus("footer-platforms",t).subscribe(i=>{i.menuItems&&i.menuItems.length>0&&(this.footerPlatformsData=i.menuItems,this.transferState.set(ny,this.footerPlatformsData))})}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ae),C(gh),C(He),C(vt))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-footer-platforms"]],decls:2,vars:1,consts:[[1,"footer-platforms","d-flex","align-items-center","justify-content-fe","gap-10"],["class","store-platform-item animated-scale-small","target","_blank",3,"href",4,"ngFor","ngForOf"],["target","_blank",1,"store-platform-item","animated-scale-small",3,"href"],[3,"src","alt"]],template:function(i,o){1&i&&(y(0,"div",0),R(1,VJ,2,4,"a",1),b()),2&i&&(w(),S("ngForOf",o.footerPlatformsData))},dependencies:[bt],styles:["@media (max-width: 1100px){.footer-platforms[_ngcontent-%COMP%]{flex-wrap:wrap}}@media (max-width: 650px){.footer-platforms[_ngcontent-%COMP%]{justify-content:flex-start!important}}"]})}return e})();function jJ(e,n){if(1&e&&(At(0),z(1,"app-footer-link",14),Pt()),2&e){const t=n.$implicit;w(),S("item",t)("cookiesItem","Cookie settings"==t.name||"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 cookies"==t.name)}}Ma.use([function Yq({swiper:e,extendParams:n,on:t,emit:i}){let o;function r(){if(!e.size)return e.autoplay.running=!1,void(e.autoplay.paused=!1);const p=e.slides.eq(e.activeIndex);let g=e.params.autoplay.delay;p.attr("data-swiper-autoplay")&&(g=p.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(o),o=Ur(()=>{let v;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),v=e.slidePrev(e.params.speed,!0,!0),i("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?a():(v=e.slideTo(e.slides.length-1,e.params.speed,!0,
3!0),i("autoplay")):(v=e.slidePrev(e.params.speed,!0,!0),i("autoplay")):e.params.loop?(e.loopFix(),v=e.slideNext(e.params.speed,!0,!0),i("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?a():(v=e.slideTo(0,e.params.speed,!0,!0),i("autoplay")):(v=e.slideNext(e.params.speed,!0,!0),i("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===v)&&r()},g)}function s(){return!(typeof o<"u"||e.autoplay.running||(e.autoplay.running=!0,i("autoplayStart"),r(),0))}function a(){return!(!e.autoplay.running||typeof o>"u"||(o&&(clearTimeout(o),o=void 0),e.autoplay.running=!1,i("autoplayStop"),0))}function l(p){e.autoplay.running&&(e.autoplay.paused||(o&&clearTimeout(o),e.autoplay.paused=!0,0!==p&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach(g=>{e.$wrapperEl[0].addEventListener(g,d)}):(e.autoplay.paused=!1,r())))}function c(){const p=dn();"hidden"===p.visibilityState&&e.autoplay.running&&l(),"visible"===p.visibilityState&&e.autoplay.paused&&(r(),e.autoplay.paused=!1)}function d(p){!e||e.destroyed||!e.$wrapperEl||p.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach(g=>{e.$wrapperEl[0].removeEventListener(g,d)}),e.autoplay.paused=!1,e.autoplay.running?r():a())}function u(){e.params.autoplay.disableOnInteraction?a():(i("autoplayPause"),l()),["transitionend","webkitTransitionEnd"].forEach(p=>{e.$wrapperEl[0].removeEventListener(p,d)})}function f(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,i("autoplayResume"),r())}e.autoplay={running:!1,paused:!1},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),t("init",()=>{e.params.autoplay.enabled&&(s(),dn().addEventListener("visibilitychange",c),function h(){e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",u),e.$el.on("mouseleave",f))}())}),t("beforeTransitionStart",(p,g,v)=>{e.autoplay.running&&(v||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(g):a())}),t("sliderFirstMove",()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?a():l())}),t("touchEnd",()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&r()}),t("destroy",()=>{(function m(){e.$el.off("mouseenter",u),e.$el.off("mouseleave",f)})(),e.autoplay.running&&a(),dn().removeEventListener("visibilitychange",c)}),Object.assign(e.autoplay,{pause:l,run:r,start:s,stop:a})}]);const iy="footerLinks";let zJ=(()=>{class e{constructor(t,i,o,r){this.platformId=t,this.menuService=i,this.langService=o,this.transferState=r,this.currentYear="2026",this.footerLinks=[],this.isBrowser=!1,this.s3Url="",this.isBrowser=Pe(this.platformId)}ngOnInit(){this.langService.sharedCurrentSiteLang.subscribe(t=>{this.currentSiteLang=t,this.loadFooterLinks(t)}),this.s3Url=this.isBrowser?window.TERMS_URL:Xe.s3Url,this.footerLinks=this.transferState.get(iy,[])}loadFooterLinks(t){this.transferState.hasKey(iy)||this.menuService.fetchMenus("footer",t).subscribe(i=>{i.menuItems&&i.menuItems.length>0&&(this.footerLinks=i.menuItems,this.transferState.set(iy,this.footerLinks))})}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ae),C(gh),C(He),C(vt))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-footer"]],decls:17,vars:4,consts:()=>{let t;return t="Vizor Apps Ltd. All Rights Reserved. All " + "\ufffd#16\ufffd" + "trademarks\n " + "\ufffd/#16\ufffd" + " and copyrights are the property of their respective owners.\n ",[[1,"footer"],[1,"container"],[1,"footer-content","content-main-padding","d-flex","flex-column","justify-content-sb"],[1,"footer-block-top","mb-60"],[1,"footer-links","mb-10"],[4,"ngFor","ngForOf"],[1,"footer-block-bottom"],[1,"d-flex","justify-content-sb","align-items-end","flex-wrap","gap-25","mb-25"],[3,"smallIcons"],[1,"footer-copyright"],[1,"footer-copyright-vizor"],[1,"footer-copyright-vizor-symbol"],t,[3,"href"],[3,"item","cookiesItem"]]},template:function(i,o){1&i&&(y(0,"footer",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),R(5,jJ,2,2,"ng-container",5),b()(),y(6,"div",6)(7,"div",7),z(8,"app-footer-platforms")(9,"app-social-icons",8),b(),y(10,"div",9)(11,"div",10)(12,"span",11),ie(13),b(),y(14,"span"),ji(15,12),z(16,"a",13),zi(),b()()()()()()()),2&i&&(w(5),S("ngForOf",o.footerLinks),w(4),S("smallIcons",!1),w(4),$t("\xa9 ",o.currentYear,", "),w(3),S("href",o.s3Url+("en"===o.currentSiteLang?"/":"/ru/")+"terms/legal-notices/"+o.currentSiteLang,_e))},dependencies:[bt,$J,BJ,CP],styles:[".footer[_ngcontent-%COMP%]{background-color:#121212}.footer-content[_ngcontent-%COMP%]{opacity:0;animation:fadeInAnimation ease-out .5s;animation-iteration-count:1;animation-fill-mode:forwards;animation-delay:.4s;padding-top:35px;padding-bottom:35px}.footer-block-top[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:20px}.footer-block-bottom[_ngcontent-%COMP%]{display:flex;flex-direction:column}.footer-icons-block[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{border-radius:13px;background-color:#121212}.footer-icons-block[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:#1d1d1d}.footer-icons-block[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{min-width:28px}.footer-post-mail[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:40px;flex-shrink:0}.footer-post-mail[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-top:10px;font-size:32px}.footer-post-mail[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.footer-links[_ngcontent-%COMP%]{display:flex;gap:10px;flex-direction:column;flex-wrap:wrap;width:650px;max-width:100%;max-height:104px}.footer-copyright-design[_ngcontent-%COMP%]{text-align:right;font-size:12px}.footer-copyright-vizor[_ngcontent-%COMP%]{padding-top:30px;border-top:1px solid #292929}.footer-copyright-vizor[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .footer-copyright-vizor[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px;color:#6c6c6c;display:inline-block}.footer-copyright-vizor[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:16px;color:#6c6c6c}.footer-copyright-vizor[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline}.footer-copyright-symbol[_ngcontent-%COMP%]{line-height:1.2}@media (max-width: 1600px){.footer-post-mail[_ngcontent-%COMP%]{height:unset}.footer-post-mail[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:22px}.footer-content[_ngcontent-%COMP%]{width:100%;justify-content:unset}.footer-copyright[_ngcontent-%COMP%]{margin-top:auto}}@media (max-width: 1600px){.footer-block-top[_ngcontent-%COMP%]{margin-bottom:20px}}@media (max-width: 970px){.footer-content[_ngcontent-%COMP%]{display:flex;flex-direction:column}}@media (max-width: 800px){.footer-block-top[_ngcontent-%COMP%]{margin-bottom:35px}.footer-post-mail[_ngcontent-%COMP%]{margin-bottom:20px}.footer-post-mail[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:18px}}@media (max-width: 768px){.footer-content[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:20px}}@media (max-width: 650px){.footer-block-top[_ngcontent-%COMP%]{flex-direction:column}.footer-links[_ngcontent-%COMP%]{max-height:unset;max-width:100%}}@media (max-width: 450px){.footer-post-mail[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:16px}}"]});static#n=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})(),GJ=(()=>{class e{constructor(t,i,o,r,s){this.platformId=t,this.customCookieService=i,this.cookieService=o,this.langService=r,this.dialog=s,this.cookiesModalShow=!1,this.cookiesSettingsOpened=!1,this.isBrowser=!1,this.s3Url="",this.isBrowser=Pe(this.platformId),this.customCookieService.sharedCookieModalShow.subscribe(a=>{this.cookiesModalShow=a}),this.customCookieService.sharedCookieSettingsOpened.subscribe(a=>{this.cookiesSettingsOpened=a})}setCookieSettingsOpen(){this.customCookieService.setAcceptedCookieList([]),this.customCookieService.setCookieSettingsOpen(!0)}setCookies(t){this.cookiesModalShow=!1;const i=[];for(let o=0;o<t;o++)i.push(Ia[o]);this.customCookieService.setAcceptedCookieList(i),this.customCookieService.setAcceptedCookieTypes()}ngOnInit(){this.langService.sharedCurrentSiteLang.subscribe(i=>{this.currentSiteLang=i}),this.s3Url=this.isBrowser?window.TERMS_URL:Xe.s3Url;const t=this.customCookieService.checkCookies();!t&&JSON.parse(t).length&&!this.customCookieService.checkStatisticsCookies()&&(this.cookieService.deleteAll(),this.customCookieService.setAcceptedCookieTypes()),!t&&!C_(this.platformId)&&(this.cookiesModalShow=!0),t&&this.customCookieService.checkStatisticsCookies()&&this.customCookieService.loadGoogleAnalytics()}static#e=this.\u0275fac=function(i){return new(i||e)(C(Ae),C(EP),C(Kb),C(He),C(Jn))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-cookies"]],decls:25,vars:5,consts:()=>{let t,i,o,r;return t="\n " + "\ufffd#6\ufffd" + "We value your privacy\n " + "\ufffd/#6\ufffd" + "\n " + "[\ufffd#7\ufffd\ufffd/#7\ufffd|\ufffd#8\ufffd\ufffd/#8\ufffd|\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#10\ufffd\ufffd/#10\ufffd|\ufffd#13\ufffd\ufffd/#13\ufffd|\ufffd#14\ufffd\ufffd/#14\ufffd]" + "\n " + "[\ufffd#7\ufffd\ufffd/#7\ufffd|\ufffd#8\ufffd\ufffd/#8\ufffd|\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#10\ufffd\ufffd/#10\ufffd|\ufffd#13\ufffd\ufffd/#13\ufffd|\ufffd#14\ufffd\ufffd/#14\ufffd]" + "\n We and our partners use tracking technologies like cookies to provide you with personalised functionalities of\n the Website, to perform analytics to monitor how users use our website and help us improve it. By consenting\n to these technologies, you allow us and our partners to process personal data, such as browsing behaviour or\n unique IDs, on this site. Furthermore, we analyse our site traffic and share information about your use of our\n site with our analytics partners.\n " + "[\ufffd#7\ufffd\ufffd/#7\ufffd|\ufffd#8\ufffd\ufffd/#8\ufffd|\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#10\ufffd\ufffd/#10\ufffd|\ufffd#13\ufffd\ufffd/#13\ufffd|\ufffd#14\ufffd\ufffd/#14\ufffd]" + "\n " + "[\ufffd#7\ufffd\ufffd/#7\ufffd|\ufffd#8\ufffd\ufffd/#8\ufffd|\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#10\ufffd\ufffd/#10\ufffd|\ufffd#13\ufffd\ufffd/#13\ufffd|\ufffd#14\ufffd\ufffd/#14\ufffd]" + "\n Read our " + "\ufffd#11\ufffd" + "Privacy notice\n " + "[\ufffd/#11\ufffd|\ufffd/#12\ufffd]" + " to learn more about how we process your data. To learn more about cookies, please read our " + "\ufffd#12\ufffd" + "\n Cookie Policy" + "[\ufffd/#11\ufffd|\ufffd/#12\ufffd]" + ".\n " + "[\ufffd#7\ufffd\ufffd/#7\ufffd|\ufffd#8\ufffd\ufffd/#8\ufffd|\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#10\ufffd\ufffd/#10\ufffd|\ufffd#13\ufffd\ufffd/#13\ufffd|\ufffd#14\ufffd\ufffd/#14\ufffd]" + "\n " + "[\ufffd#7\ufffd\ufffd/#7\ufffd|\ufffd#8\ufffd\ufffd/#8\ufffd|\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#10\ufffd\ufffd/#10\ufffd|\ufffd#13\ufffd\ufffd/#13\ufffd|\ufffd#14\ufffd\ufffd/#14\ufffd]" + "\n You can update your privacy settings at any time by clicking on the Cookie setting in the site footer.\n ",t=Cu(t),i="Accept only necessary",o="Accept all",r="Cookie settings",[[1,"cookies-block",3,"ngClass"],[1,"container"],[1,"cookies-content"],[1,"cookies-text"],t,[3,"href"],[1,"cookies-buttons","d-inline-flex","flex-column","justify-content-center","flex-wrap","gap-10"],["id","acceptNecessaryButton",1,"main-button","main-button-body","main-button-body-small",3,"click"],i,["id","acceptAllButton",1,"main-button","main-button-body","main-button-body-small",3,"click"],o,["id","openSettingsButton",1,"main-button","main-button-body","main-button-body-small",3,"click"],r,["id","cookieSettingsModal",3,"ngClass"],["
3id","cookieSettingsModalWindow",1,"modal",3,"ngClass"],[1,"cookie-settings-modal"]]},template:function(i,o){1&i&&(y(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"p"),ji(5,4),z(6,"strong")(7,"br")(8,"br")(9,"br")(10,"br")(11,"a",5)(12,"a",5)(13,"br")(14,"br"),zi(),b()(),y(15,"div",6)(16,"button",7),Q("click",function(){return o.setCookies(1)}),J(17,8),b(),y(18,"button",9),Q("click",function(){return o.setCookies(2)}),J(19,10),b(),y(20,"button",11),Q("click",function(){return o.setCookieSettingsOpen()}),J(21,12),b()()()()(),y(22,"div",13)(23,"div",14),z(24,"app-cookie-settings",15),b()()),2&i&&(S("ngClass",o.cookiesModalShow?"":"hidden"),w(11),S("href","undefined"!=o.s3Url?o.s3Url+("en"===o.currentSiteLang?"/":"/ru/")+"terms/privacy-notice/"+o.currentSiteLang:"terms/privacy-notice/"+o.currentSiteLang,_e),w(),S("href","undefined"!=o.s3Url?o.s3Url+("en"===o.currentSiteLang?"/":"/ru/")+"terms/cookie-policy/"+o.currentSiteLang:"terms/cookie-policy/"+o.currentSiteLang,_e),w(10),S("ngClass",o.cookiesModalShow?"":"hidden"),w(),S("ngClass",o.cookiesSettingsOpened?"":"hidden"))},dependencies:[Dn,wP],styles:['@charset "UTF-8";.cookies-block[_ngcontent-%COMP%]{position:fixed;bottom:0;z-index:100000;background-color:#454545;border:4px solid #121212;width:100%;padding:15px 35px;max-height:100vh;overflow-y:auto}.cookies-content[_ngcontent-%COMP%]{display:flex}.cookies-text[_ngcontent-%COMP%]{margin-right:15px;font-size:14px}.cookies-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:7px;color:#fff}.cookies-text[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:12px;color:#fff}.cookies-text[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:14px;border-bottom:1px solid #ffc107;color:#ffc107}.cookies-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{white-space:nowrap;margin-top:0}@media (max-width: 1200px){.cookies-content[_ngcontent-%COMP%]{display:block}.cookies-text[_ngcontent-%COMP%]{margin-right:0}.cookies-buttons[_ngcontent-%COMP%]{margin-top:15px;align-items:stretch;flex-direction:unset!important;justify-content:flex-start!important}}@media (max-width: 768px){.cookies-text[_ngcontent-%COMP%], .cookies-text[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .cookies-text[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:13px}.cookies-block[_ngcontent-%COMP%]{padding:10px 16px}.cookies-buttons[_ngcontent-%COMP%]{align-items:stretch}}.modal[_ngcontent-%COMP%]{display:flex;justify-content:center;position:fixed;z-index:10000000;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:#121212cc}.cookie-settings-modal[_ngcontent-%COMP%]{max-width:1100px;position:fixed;margin-bottom:2vh;bottom:0;background-color:#262626;width:100%;padding:22px;box-shadow:0 4px 15px #0000004d;z-index:10000000000;animation:_ngcontent-%COMP%_fadeIn .3s ease-in-out;border-radius:15px}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}']})}return e})();function UJ(e,n){1&e&&z(0,"app-footer",2)}Ma.use([function Wq({swiper:e,extendParams:n,on:t,emit:i}){const o="swiper-pagination";n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:p=>p,formatFractionTotal:p=>p,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let r,s=0;function a(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function l(p,g){const{bulletActiveClass:v}=e.params.pagination;p[g]().addClass(`${v}-${g}`)[g]().addClass(`${v}-${g}-${g}`)}function c(){const p=e.rtl,g=e.params.pagination;if(a())return;const v=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,_=e.pagination.$el;let E;
3const x=e.params.loop?Math.ceil((v-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(E=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),E>v-1-2*e.loopedSlides&&(E-=v-2*e.loopedSlides),E>x-1&&(E-=x),E<0&&"bullets"!==e.params.paginationType&&(E=x+E)):E=typeof e.snapIndex<"u"?e.snapIndex:e.activeIndex||0,"bullets"===g.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const O=e.pagination.bullets;let P,F,q;if(g.dynamicBullets&&(r=O.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),_.css(e.isHorizontal()?"width":"height",r*(g.dynamicMainBullets+4)+"px"),g.dynamicMainBullets>1&&void 0!==e.previousIndex&&(s+=E-(e.previousIndex-e.loopedSlides||0),s>g.dynamicMainBullets-1?s=g.dynamicMainBullets-1:s<0&&(s=0)),P=Math.max(E-s,0),F=P+(Math.min(O.length,g.dynamicMainBullets)-1),q=(F+P)/2),O.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map(K=>`${g.bulletActiveClass}${K}`).join(" ")),_.length>1)O.each(K=>{const Y=$e(K),k=Y.index();k===E&&Y.addClass(g.bulletActiveClass),g.dynamicBullets&&(k>=P&&k<=F&&Y.addClass(`${g.bulletActiveClass}-main`),k===P&&l(Y,"prev"),k===F&&l(Y,"next"))});else{const K=O.eq(E),Y=K.index();if(K.addClass(g.bulletActiveClass),g.dynamicBullets){const k=O.eq(P),D=O.eq(F);for(let L=P;L<=F;L+=1)O.eq(L).addClass(`${g.bulletActiveClass}-main`);if(e.params.loop)if(Y>=O.length){for(let L=g.dynamicMainBullets;L>=0;L-=1)O.eq(O.length-L).addClass(`${g.bulletActiveClass}-main`);O.eq(O.length-g.dynamicMainBullets-1).addClass(`${g.bulletActiveClass}-prev`)}else l(k,"prev"),l(D,"next");else l(k,"prev"),l(D,"next")}}if(g.dynamicBullets){const K=Math.min(O.length,g.dynamicMainBullets+4),Y=(r*K-r)/2-q*r,k=p?"right":"left";O.css(e.isHorizontal()?k:"top",`${Y}px`)}}if("fraction"===g.type&&(_.find(xa(g.currentClass)).text(g.formatFractionCurrent(E+1)),_.find(xa(g.totalClass)).text(g.formatFractionTotal(x))),"progressbar"===g.type){let O;O=g.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const P=(E+1)/x;let F=1,q=1;"horizontal"===O?F=P:q=P,_.find(xa(g.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${F}) scaleY(${q})`).transition(e.params.speed)}"custom"===g.type&&g.renderCustom?(_.html(g.renderCustom(e,E+1,x)),i("paginationRender",_[0])):i("paginationUpdate",_[0]),e.params.watchOverflow&&e.enabled&&_[e.isLocked?"addClass":"removeClass"](g.lockClass)}function d(){const p=e.params.pagination;if(a())return;const g=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,v=e.pagination.$el;let _="";if("bullets"===p.type){let E=e.params.loop?Math.ceil((g-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&E>g&&(E=g);for(let x=0;x<E;x+=1)_+=p.renderBullet?p.renderBullet.call(e,x,p.bulletClass):`<${p.bulletElement} class="${p.bulletClass}"></${p.bulletElement}>`;v.html(_),e.pagination.bullets=v.find(xa(p.bulletClass))}"fraction"===p.type&&(_=p.renderFraction?p.renderFraction.call(e,p.currentClass,p.totalClass):`<span class="${p.currentClass}"></span> / <span class="${p.totalClass}"></span>`,v.html(_)),"progressbar"===p.type&&(_=p.renderProgressbar?p.renderProgressbar.call(e,p.progressbarFillClass):`<span class="${p.progressbarFillClass}"></span>`,v.html(_)),"custom"!==p.type&&i("paginationRender",e.pagination.$el[0])}function u(){e.params.pagination=CI(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let g=$e(p.el);0!==g.length&&(e.params.uniqueNavElements&&"string"==typeof p.el&&g.length>1&&(g=e.$el.find(p.el),g.length>1&&(g=g.filter(v=>$e(v).parents(".swiper")[0]===e.el))),"bullets"===p.type&&p.clickable&&g.addClass(p.clickableClass),g.addClass(p.modifierClass+p.type),g.addClass(e.isHorizontal()?p.horizontalClass:p.verticalClass),"bullets"===p.type&&p.dynamicBullets&&(g.addClass(`${p.modifierClass}${p.type}-dynamic`),s=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),"progressbar"===p.type&&p.progressbarOpposite&&g.addClass(p.progressbarOppositeClass),p.clickable&&g.on("click",xa(p.bulletClass),function(_){_.preventDefault();let E=$e(this).index()*e.params.slidesPerGroup;e.params.loop&&(E+=e.loopedSlides),e.slideTo(E)}),Object.assign(e.pagination,{$el:g,el:g[0]}),e.enabled||g.addClass(p.lockClass))}function f(){const p=e.params.pagination;if(a())return;const g=e.pagination.$el;g.removeClass(p.hiddenClass),g.removeClass(p.modifierClass+p.type),g.removeClass(e.isHorizontal()?p.horizontalClass:p.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(p.bulletActiveClass),p.clickable&&g.off("click",xa(p.bulletClass))}t("init",()=>{!1===e.params.pagination.enabled?m():(u(),d(),c())}),t("activeIndexChange",()=>{(e.params.loop||typeof e.snapIndex>"u")&&c()}),t("snapIndexChange",()=>{e.params.loop||c()}),t("slidesLengthChange",()=>{e.params.loop&&(d(),c())}),t("snapGridLengthChange",()=>{e.params.loop||(d(),c())}),t("destroy",()=>{f()}),t("enable disable",()=>{const{$el:p}=e.pagination;p&&p[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)}),t("lock unlock",()=>{c()}),t("click",(p,g)=>{const v=g.target,{$el:_}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&_&&_.length>0&&!$e(v).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&v===e.navigation.nextEl||e.navigation.prevEl&&v===e.navigation.prevEl))return;const E=_.hasClass(e.params.pagination.hiddenClass);i(!0===E?"paginationShow":"paginationHide"),_.toggleClass(e.params.pagination.hiddenClass)}});const m=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),f()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),u(),d(),c()},disable:m,render:d,update:c,init:u,destroy:f})},function Hq({swiper:e,extendParams:n,on:t,emit:i}){function o(h){let m;return h&&(m=$e(h),e.params.uniqueNavElements&&"string"==typeof h&&m.length>1&&1===e.$el.find(h).length&&(m=e.$el.find(h))),m}function r(h,m){const p=e.params.navigation;h&&h.length>0&&(h[m?"addClass":"removeClass"](p.disabledClass),h[0]&&"BUTTON"===h[0].tagName&&(h[0].disabled=m),e.params.watchOverflow&&e.enabled&&h[e.isLocked?"addClass":"removeClass"](p.lockClass))}function s(){if(e.params.loop)return;const{$nextEl:h,$prevEl:m}=e.navigation;r(m,e.isBeginning&&!e.params.rewind),r(h,e.isEnd&&!e.params.rewind)}function a(h){h.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function l(h){h.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function c(){const h=e.params.navigation;if(e.params.navigation=CI(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!h.nextEl&&!h.prevEl)return;const m=o(h.nextEl),p=o(h.prevEl);m&&m.length>0&&m.on("click",l),p&&p.length>0&&p.on("click",a),Object.assign(e.navigation,{$nextEl:m,nextEl:m&&m[0],$prevEl:p,prevEl:p&&p[0]}),e.enabled||(m&&m.addClass(h.lockClass),p&&p.addClass(h.lockClass))}function d(){const{$nextEl:h,$prevEl:m}=e.navigation;h&&h.length&&(h.off("click",l),h.removeClass(e.params.navigation.disabledClass)),m&&m.length&&(m.off("click",a),m.removeClass(e.params.navigation.disabledClass))}n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},t("init",()=>{!1===e.params.navigation.enabled?f():(c(),s())}),t("toEdge fromEdge lock unlock",()=>{s()}),t("destroy",()=>{d()}),t("enable disable",()=>{const{$nextEl:h,$prevEl:m}=e.navigation;h&&h[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),m&&m[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)}),t("click",(h,m)=>{const{$nextEl:p,$prevEl:g}=e.navigation,v=m.target;if(e.params.navigation.hideOnClick&&!$e(v).is(g)&&!$e(v).is(p)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===v||e.pagination.el.contains(v)))return;let _;p?_=p.hasClass(e.params.navigation.hiddenClass):g&&(_=g.hasClass(e.params.navigation.hiddenClass)),i(!0===_?"navigationShow":"navigationHide"),p&&p.toggleClass(e.params.navigation.hiddenClass),g&&g.toggleClass(e.params.navigation.hiddenClass)}});const f=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),d()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),c(),s()},disable:f,update:s,init:c,destroy:d})},function Uq({swiper:e,extendParams:n,on:t,emit:i}){const o=Xt();n({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let r,a,s=Ji();const l=[];function d(){e.enabled&&(e.mouseEntered=!0)}function u(){e.enabled&&(e.mouseEntered=!1)}function f(_){return!(e.params.mousewheel.thresholdDelta&&_.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Ji()-s<e.params.mousewheel.thresholdTime)&&(_.delta>=6&&Ji()-s<60||(_.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),i("scroll",_.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),i("scroll",_.raw)),s=(new o.Date).getTime(),!1))}function m(_){let E=_,x=!0;if(!e.enabled)return;const O=e.params.mousewheel;e.params.cssMode&&E.preventDefault();let P=e.$el;if("container"!==e.params.mousewheel.eventsTarget&&(P=$e(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!P[0].contains(E.target)&&!O.releaseOnEdges)return!0;E.originalEvent&&(E=E.originalEvent);let F=0;const q=e.rtlTranslate?-1:1,K=function c(_){let P=0,F=0,q=0,K=0;return"detail"in _&&(F=_.detail),"wheelDelta"in _&&(F=-_.wheelDelta/120),"wheelDeltaY"in _&&(F=-_.wheelDeltaY/120
3),"wheelDeltaX"in _&&(P=-_.wheelDeltaX/120),"axis"in _&&_.axis===_.HORIZONTAL_AXIS&&(P=F,F=0),q=10*P,K=10*F,"deltaY"in _&&(K=_.deltaY),"deltaX"in _&&(q=_.deltaX),_.shiftKey&&!q&&(q=K,K=0),(q||K)&&_.deltaMode&&(1===_.deltaMode?(q*=40,K*=40):(q*=800,K*=800)),q&&!P&&(P=q<1?-1:1),K&&!F&&(F=K<1?-1:1),{spinX:P,spinY:F,pixelX:q,pixelY:K}}(E);if(O.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(K.pixelX)>Math.abs(K.pixelY)))return!0;F=-K.pixelX*q}else{if(!(Math.abs(K.pixelY)>Math.abs(K.pixelX)))return!0;F=-K.pixelY}else F=Math.abs(K.pixelX)>Math.abs(K.pixelY)?-K.pixelX*q:-K.pixelY;if(0===F)return!0;O.invert&&(F=-F);let Y=e.getTranslate()+F*O.sensitivity;if(Y>=e.minTranslate()&&(Y=e.minTranslate()),Y<=e.maxTranslate()&&(Y=e.maxTranslate()),x=!!e.params.loop||!(Y===e.minTranslate()||Y===e.maxTranslate()),x&&e.params.nested&&E.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const k={time:Ji(),delta:Math.abs(F),direction:Math.sign(F)},D=a&&k.time<a.time+500&&k.delta<=a.delta&&k.direction===a.direction;if(!D){a=void 0,e.params.loop&&e.loopFix();let L=e.getTranslate()+F*O.sensitivity;const te=e.isBeginning,se=e.isEnd;if(L>=e.minTranslate()&&(L=e.minTranslate()),L<=e.maxTranslate()&&(L=e.maxTranslate()),e.setTransition(0),e.setTranslate(L),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!te&&e.isBeginning||!se&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(r),r=void 0,l.length>=15&&l.shift();const M=l.length?l[l.length-1]:void 0,B=l[0];if(l.push(k),M&&(k.delta>M.delta||k.direction!==M.direction))l.splice(0);else if(l.length>=15&&k.time-B.time<500&&B.delta-k.delta>=1&&k.delta<=6){const V=F>0?.8:.2;a=k,l.splice(0),r=Ur(()=>{e.slideToClosest(e.params.speed,!0,void 0,V)},0)}r||(r=Ur(()=>{a=k,l.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(D||i("scroll",E),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),L===e.minTranslate()||L===e.maxTranslate())return!0}}else{const k={time:Ji(),delta:Math.abs(F),direction:Math.sign(F),raw:_};l.length>=2&&l.shift();const D=l.length?l[l.length-1]:void 0;if(l.push(k),D?(k.direction!==D.direction||k.delta>D.delta||k.time>D.time+150)&&f(k):f(k),function h(_){const E=e.params.mousewheel;if(_.direction<0){if(e.isEnd&&!e.params.loop&&E.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&E.releaseOnEdges)return!0;return!1}(k))return!0}return E.preventDefault?E.preventDefault():E.returnValue=!1,!1}function p(_){let E=e.$el;"container"!==e.params.mousewheel.eventsTarget&&(E=$e(e.params.mousewheel.eventsTarget)),E[_]("mouseenter",d),E[_]("mouseleave",u),E[_]("wheel",m)}function g(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",m),!0):!e.mousewheel.enabled&&(p("on"),e.mousewheel.enabled=!0,!0)}function v(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,m),!0):!!e.mousewheel.enabled&&(p("off"),e.mousewheel.enabled=!1,!0)}t("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&v(),e.params.mousewheel.enabled&&g()}),t("destroy",()=>{e.params.cssMode&&g(),e.mousewheel.enabled&&v()}),Object.assign(e.mousewheel,{enable:g,disable:v})},function qq({swiper:e,extendParams:n,on:t}){function i(l,c){const d=function(){let m,p,g;return(v,_)=>{for(p=-1,m=v.length;m-p>1;)g=m+p>>1,v[g]<=_?p=g:m=g;return m}}();let u,f;return this.x=l,this.y=c,this.lastIndex=l.length-1,this.interpolate=function(m){return m?(f=d(this.x,m),u=f-1,(m-this.x[u])*(this.y[f]-this.y[u])/(this.x[f]-this.x[u])+this.y[u]):0},this}function a(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}n({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},t("beforeInit",()=>{e.controller.control=e.params.controller.control}),t("update",()=>{a()}),t("resize",()=>{a()}),t("observerUpdate",()=>{a()}),t("setTranslate",(l,c,d)=>{e.controller.control&&e.controller.setTranslate(c,d)}),t("setTransition",(l,c,d)=>{e.controller.control&&e.controller.setTransition(c,d)}),Object.assign(e.controller,{setTranslate:function r(l,c){const d=e.controller.control;let u,f;const h=e.constructor;function m(p){const g=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(function o(l){e.controller.spline||(e.controller.spline=e.params.loop?new i(e.slidesGrid,l.slidesGrid):new i(e.snapGrid,l.snapGrid))}(p),f=-e.controller.spline.interpolate(-g)),(!f||"container"===e.params.controller.by)&&(u=(p.maxTranslate()-p.minTranslate())/(e.maxTranslate()-e.minTranslate()),f=(g-e.minTranslate())*u+p.minTranslate()),e.params.controller.inverse&&(f=p.maxTranslate()-f),p.updateProgress(f),p.setTranslate(f,e),p.updateActiveIndex(),p.updateSlidesClasses()}if(Array.isArray(d))for(let p=0;p<d.length;p+=1)d[p]!==c&&d[p]instanceof h&&m(d[p]);else d instanceof h&&c!==d&&m(d)},setTransition:function s(l,c){const d=e.constructor,u=e.controller.control;let f;function h(m){m.setTransition(l,e),0!==l&&(m.transitionStart(),m.params.autoHeight&&Ur(()=>{m.updateAutoHeight()}),m.$wrapperEl.transitionEnd(()=>{u&&(m.params.loop&&"slide"===e.params.controller.by&&m.loopFix(),m.transitionEnd())}))}if(Array.isArray(u))for(f=0;f<u.length;f+=1)u[f]!==c&&u[f]instanceof d&&h(u[f]);else u instanceof d&&c!==u&&h(u)}})}]);let HJ=(()=>{class e{constructor(t,i,o,r){this.modalService=t,this.platformId=i,this.location=o,this.router=r,this.modalStatus=!1,this.isBrowser=!1,this.isLoading=!0,this.isBrowser=Pe(this.platformId),this.router.events.subscribe(s=>{s instanceof oc&&(this.isLoading=!0),s instanceof Yi&&(setTimeout(()=>{this.isLoading=!1},1e3),this.currentColorScheme="/terms"==this.location.path()||this.location.path().includes("/terms/")||this.location.path().includes("/blog/")?"white":"black")})}ngOnInit(){this.modalService.sharedModalOpened.subscribe(t=>{this.modalStatus=t})}static#e=this.\u0275fac=function(i){return new(i||e)(C(dP),C(Ae),C(yo),C(en))};static#t=this.\u0275cmp=ne({type:e,selectors:[["app-root"]],decls:5,vars:1,consts:[[1,"main-content"],["class","footer-component",4,"ngIf"],[1,"footer-component"]],template:function(i,o){1&i&&(y(0,"div",0),z(1,"app-nav")(2,"router-outlet"),R(3,UJ,1,0,"app-footer",1),z(4,"app-cookies"),b()),2&i&&(w(3),S("ngIf",!o.isLoading))},dependencies:[Ee,lv,NJ,zJ,GJ]})}return e})(),WJ=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({})}return e})();function SP(e){return new N(3e3,!1)}function fr(e){switch(e.length){case 0:return new Cc;case 1:return e[0];default:return new XO(e)}}function MP(e,n,t=new Map,i=new Map){const o=[],r=[];let s=-1,a=null;if(n.forEach(l=>{const c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((f,h)=>{let m=h,p=f;if("offset"!==h)switch(m=e.normalizePropertyName(m,o),p){case"!":p=t.get(h);break;case Mo:p=i.get(h);break;default:p=e.normalizeStyleValue(h,m,p,o)}u.set(m,p)}),d||r.push(u),a=u,s=c}),o.length)throw function mee(e){return new N(3502,!1)}();return r}function oy(e,n,t,i){switch(n){case"start":e.onStart(()=>i(t&&ry(t,"start",e)));break;case"done":e.onDone(()=>i(t&&ry(t,"done",e)));break;
3case"destroy":e.onDestroy(()=>i(t&&ry(t,"destroy",e)))}}function ry(e,n,t){const r=sy(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,t.totalTime??e.totalTime,!!t.disabled),s=e._data;return null!=s&&(r._data=s),r}function sy(e,n,t,i,o="",r=0,s){return{element:e,triggerName:n,fromState:t,toState:i,phaseName:o,totalTime:r,disabled:!!s}}function ti(e,n,t){let i=e.get(n);return i||e.set(n,i=t),i}function xP(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const Dee=typeof document>"u"?null:document.documentElement;function ay(e){const n=e.parentNode||e.host||null;return n===Dee?null:n}let Kr=null,DP=!1;function TP(e,n){for(;n;){if(n===e)return!0;n=ay(n)}return!1}function OP(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const i=e.querySelector(n);return i?[i]:[]}let ly=(()=>{class e{validateStyleProperty(t){return function Oee(e){Kr||(Kr=function Iee(){return typeof document<"u"?document.body:null}()||{},DP=!!Kr.style&&"WebkitAppearance"in Kr.style);let n=!0;return Kr.style&&!function Tee(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in Kr.style,!n&&DP&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Kr.style)),n}(t)}matchesElement(t,i){return!1}containsElement(t,i){return TP(t,i)}getParentElement(t){return ay(t)}query(t,i,o){return OP(t,i,o)}computeStyle(t,i,o){return o||""}animate(t,i,o,r,s,a=[],l){return new Cc(o,r)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})();class cy{static#e=this.NOOP=new ly}class dy{}const Pee=1e3,uy="ng-enter",_h="ng-leave",vh="ng-trigger",bh=".ng-trigger",AP="ng-animating",fy=".ng-animating";function Oo(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:hy(parseFloat(n[1]),n[2])}function hy(e,n){return"s"===n?e*Pee:e}function yh(e,n,t){return e.hasOwnProperty("duration")?e:function Nee(e,n,t){let o,r=0,s="";if("string"==typeof e){const a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(SP()),{duration:0,delay:0,easing:""};o=hy(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(r=hy(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else o=e;if(!t){let a=!1,l=n.length;o<0&&(n.push(function qJ(){return new N(3100,!1)}()),a=!0),r<0&&(n.push(function YJ(){return new N(3101,!1)}()),a=!0),a&&n.splice(l,0,SP())}return{duration:o,delay:r,easing:s}}(e,n,t)}function io(e,n,t){n.forEach((i,o)=>{const r=my(o);t&&!t.has(o)&&t.set(o,e.style[r]),e.style[r]=i})}function Zr(e,n){n.forEach((t,i)=>{const o=my(i);e.style[o]=""})}function $c(e){return Array.isArray(e)?1==e.length?e[0]:function o9(e,n=null){return{type:he.Sequence,steps:e,options:n}}(e):e}const py=new RegExp("{{\\s*(.+?)\\s*}}","g");function kP(e){let n=[];if("string"==typeof e){let t;for(;t=py.exec(e);)n.push(t[1]);py.lastIndex=0}return n}function Vc(e,n,t){const i=`${e}`,o=i.replace(py,(r,s)=>{let a=n[s];return null==a&&(t.push(function KJ(e){return new N(3003,!1)}()),a=""),a.toString()});return o==i?e:o}const Lee=/-+([a-z0-9])/g;function my(e){return e.replace(Lee,(...n)=>n[1].toUpperCase())}function ni(e,n,t){switch(n.type){case he.Trigger:return e.visitTrigger(n,t);case he.State:return e.visitState(n,t);case he.Transition:return e.visitTransition(n,t);case he.Sequence:return e.visitSequence(n,t);case he.Group:return e.visitGroup(n,t);case he.Animate:return e.visitAnimate(n,t);case he.Keyframes:return e.visitKeyframes(n,t);case he.Style:return e.visitStyle(n,t);case he.Reference:return e.visitReference(n,t);case he.AnimateChild:return e.visitAnimateChild(n,t);case he.AnimateRef:return e.visitAnimateRef(n,t);case he.Query:return e.visitQuery(n,t);case he.Stagger:return e.visitStagger(n,t);default:throw function ZJ(e){return new N(3004,!1)}()}}function gy(e,n){return window.getComputedStyle(e)[n]}const Bee=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class NP extends dy{normalizePropertyName(n,t){return my(n)}normalizeStyleValue(n,t,i,o){let r="";
3const s=i.toString().trim();if(Bee.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)r="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&o.push(function QJ(e,n){return new N(3005,!1)}())}return s+r}}const Ch="*";const Eh=new Set(["true","1"]),wh=new Set(["false","0"]);function RP(e,n){const t=Eh.has(e)||wh.has(e),i=Eh.has(n)||wh.has(n);return(o,r)=>{let s=e==Ch||e==o,a=n==Ch||n==r;return!s&&t&&"boolean"==typeof o&&(s=o?Eh.has(e):wh.has(e)),!a&&i&&"boolean"==typeof r&&(a=r?Eh.has(n):wh.has(n)),s&&a}}const Uee=new RegExp("s*:selfs*,?","g");function _y(e,n,t,i){return new Hee(e).build(n,t,i)}class Hee{constructor(n){this._driver=n}build(n,t,i){const o=new Yee(t);return this._resetContextStyleTimingState(o),ni(this,$c(n),o)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,t){let i=t.queryCount=0,o=t.depCount=0;const r=[],s=[];return"@"==n.name.charAt(0)&&t.errors.push(function JJ(){return new N(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==he.State){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,r.push(this.visitState(l,t))}),l.name=c}else if(a.type==he.Transition){const l=this.visitTransition(a,t);i+=l.queryCount,o+=l.depCount,s.push(l)}else t.errors.push(function eee(){return new N(3007,!1)}())}),{type:he.Trigger,name:n.name,states:r,transitions:s,queryCount:i,depCount:o,options:null}}visitState(n,t){const i=this.visitStyle(n.styles,t),o=n.options&&n.options.params||null;if(i.containsDynamicStyles){const r=new Set,s=o||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{kP(l).forEach(c=>{s.hasOwnProperty(c)||r.add(c)})})}),r.size&&t.errors.push(function tee(e,n){return new N(3008,!1)}(0,r.values()))}return{type:he.State,name:n.name,style:i,options:o?{params:o}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const i=ni(this,$c(n.animation),t),o=function jee(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(i=>function zee(e,n,t){if(":"==e[0]){const l=function Gee(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i)<parseFloat(t);default:return n.push(function uee(e){return new N(3016,!1)}()),"* => *"}}(e,t);if("function"==typeof l)return void n.push(l);e=l}const i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function dee(e){return new N(3015,!1)}()),n;const o=i[1],r=i[2],s=i[3];n.push(RP(o,s)),"<"==r[0]&&(o!=Ch||s!=Ch)&&n.push(RP(s,o))}(i,t,n)):t.push(e),t}(n.expr,t.errors);return{type:he.Transition,matchers:o,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Qr(n.options)}}visitSequence(n,t){return{type:he.Sequence,steps:n.steps.map(i=>ni(this,i,t)),options:Qr(n.options)}}visitGroup(n,t){const i=t.currentTime;let o=0;const r=n.steps.map(s=>{t.currentTime=i;const a=ni(this,s,t);return o=Math.max(o,t.currentTime),a});return t.currentTime=o,{type:he.Group,steps:r,options:Qr(n.options)}}visitAnimate(n,t){const i=function Kee(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return vy(yh(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(r=>"{"==r.charAt(0)&&"{"==r.charAt(1))){const r=vy(0,0,"");return r.dynamic=!0,r.strValue=t,r}const o=yh(t,n);return vy(o.duration,o.delay,o.easing)}(n.timings,t.errors);t.currentAnimateTimings=i;let o,r=n.styles?n.styles:xo({});if(r.type==he.Keyframes)o=this.visitKeyframes(r,t);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=xo(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,o=l}return t.currentAnimateTimings=null,{type:he.Animate,timings:i,style:o,options:null}}visitStyle(n,t){const i=this._makeStyleAst(n,t);return this._validateStyleAst(i,t),i}_makeStyleAst(n,t){const i=[],o=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of o)"string"==typeof a?a===Mo?i.push(a):t.errors.push(new N(3002,!1)):i.push(new Map(Object.entries(a)));let r=!1,s=null;
3return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!r))for(let l of a.values())if(l.toString().indexOf("{{")>=0){r=!0;break}}),{type:he.Style,styles:i,easing:s,offset:n.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(n,t){const i=t.currentAnimateTimings;let o=t.currentTime,r=t.currentTime;i&&r>0&&(r-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l);let u=!0;d&&(r!=o&&r>=d.startTime&&o<=d.endTime&&(t.errors.push(function iee(e,n,t,i,o){return new N(3010,!1)}()),u=!1),r=d.startTime),u&&c.set(l,{startTime:r,endTime:o}),t.options&&function Fee(e,n,t){const i=n.params||{},o=kP(e);o.length&&o.forEach(r=>{i.hasOwnProperty(r)||t.push(function XJ(e){return new N(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(n,t){const i={type:he.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function oee(){return new N(3011,!1)}()),i;let r=0;const s=[];let a=!1,l=!1,c=0;const d=n.steps.map(v=>{const _=this._makeStyleAst(v,t);let E=null!=_.offset?_.offset:function Xee(e){if("string"==typeof e)return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}(_.styles),x=0;return null!=E&&(r++,x=_.offset=E),l=l||x<0||x>1,a=a||x<c,c=x,s.push(x),_});l&&t.errors.push(function ree(){return new N(3012,!1)}()),a&&t.errors.push(function see(){return new N(3200,!1)}());const u=n.steps.length;let f=0;r>0&&r<u?t.errors.push(function aee(){return new N(3202,!1)}()):0==r&&(f=1/(u-1));const h=u-1,m=t.currentTime,p=t.currentAnimateTimings,g=p.duration;return d.forEach((v,_)=>{const E=f>0?_==h?1:f*_:s[_],x=E*g;t.currentTime=m+p.delay+x,p.duration=x,this._validateStyleAst(v,t),v.offset=E,i.styles.push(v)}),i}visitReference(n,t){return{type:he.Reference,animation:ni(this,$c(n.animation),t),options:Qr(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:he.AnimateChild,options:Qr(n.options)}}visitAnimateRef(n,t){return{type:he.AnimateRef,animation:this.visitReference(n.animation,t),options:Qr(n.options)}}visitQuery(n,t){const i=t.currentQuerySelector,o=n.options||{};t.queryCount++,t.currentQuery=n;const[r,s]=function Wee(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(Uee,"")),e=e.replace(/@\*/g,bh).replace(/@\w+/g,t=>bh+"-"+t.slice(1)).replace(/:animating/g,fy),[e,n]}(n.selector);t.currentQuerySelector=i.length?i+" "+r:r,ti(t.collectedStyles,t.currentQuerySelector,new Map);const a=ni(this,$c(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:he.Query,selector:r,limit:o.limit||0,optional:!!o.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:Qr(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function lee(){return new N(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:yh(n.timings,t.errors,!0);return{type:he.Stagger,animation:ni(this,$c(n.animation),t),timings:i,options:null}}}class Yee{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Qr(e){return e?(e={...e}).params&&(e.params=function qee(e){return e?{...e}:null}(e.params)):e={},e}function vy(e,n,t){return{duration:e,delay:n,easing:t}}function by(e,n,t,i,o,r,s=null,a=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:i,duration:o,delay:r,totalTime:o+r,easing:s,subTimeline:a}}class Sh{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,t){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const Jee=new RegExp(":enter","g"),tte=new RegExp(":leave","g");function yy(e,n,t,i,o,r=new Map,s=new Map,a,l,c=[]){return(new nte).buildKeyframes(e,n,t,i,o,r,s,a,l,c)}class nte{buildKeyframes(n,t,i,o,r,s,a,l,c,d=[]){c=c||new Sh;const u=new Cy(n,t,c,o,r,d,[]);u.options=l;const f=l.delay?Oo(l.delay):0;u.currentTimeline.delayNextStep(f),u.currentTimeline.setStyles([s],null,u.errors,l),ni(this,i,u);const h=u.timelines.filter(m=>m.containsAnimation());if(h.length&&a.size){let m;
3for(let p=h.length-1;p>=0;p--){const g=h[p];if(g.element===t){m=g;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,u.errors,l)}return h.length?h.map(m=>m.buildKeyframes()):[by(t,[],[],[],0,f,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){const i=t.subInstructions.get(t.element);if(i){const o=t.createSubContext(n.options),r=t.currentTimeline.currentTime,s=this._visitSubInstructions(i,o,o.options);r!=s&&t.transformIntoNewTimeline(s)}t.previousNode=n}visitAnimateRef(n,t){const i=t.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,i),this.visitReference(n.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,i){for(const o of n){const r=o?.delay;if(r){const s="number"==typeof r?r:Oo(Vc(r,o?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,t,i){let r=t.currentTimeline.currentTime;const s=null!=i.duration?Oo(i.duration):null,a=null!=i.delay?Oo(i.delay):null;return 0!==s&&n.forEach(l=>{const c=t.appendInstructionToTimeline(l,s,a);r=Math.max(r,c.duration+c.delay)}),r}visitReference(n,t){t.updateOptions(n.options,!0),ni(this,n.animation,t),t.previousNode=n}visitSequence(n,t){const i=t.subContextCount;let o=t;const r=n.options;if(r&&(r.params||r.delay)&&(o=t.createSubContext(r),o.transformIntoNewTimeline(),null!=r.delay)){o.previousNode.type==he.Style&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Mh);const s=Oo(r.delay);o.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>ni(this,s,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>i&&o.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){const i=[];let o=t.currentTimeline.currentTime;const r=n.options&&n.options.delay?Oo(n.options.delay):0;n.steps.forEach(s=>{const a=t.createSubContext(n.options);r&&a.delayNextStep(r),ni(this,s,a),o=Math.max(o,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(o),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){const i=n.strValue;return yh(t.params?Vc(i,t.params,t.errors):i,t.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){const i=t.currentAnimateTimings=this._visitTiming(n.timings,t),o=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),o.snapshotCurrentStyles());const r=n.style;r.type==he.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(i.duration),this.visitStyle(r,t),o.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){const i=t.currentTimeline,o=t.currentAnimateTimings;!o&&i.hasCurrentStyleProperties()&&i.forwardFrame();const r=o&&o.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(r):i.setStyles(n.styles,r,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){const i=t.currentAnimateTimings,o=t.currentTimeline.duration,r=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*r),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(o+r),t.previousNode=n}visitQuery(n,t){const i=t.currentTimeline.currentTime,o=n.options||{},r=o.delay?Oo(o.delay):0;r&&(t.previousNode.type===he.Style||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Mh);let s=i;const a=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!o.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;const u=t.createSubContext(n.options,c);r&&u.delayNextStep(r),c===t.element&&(l=u.currentTimeline),ni(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){const i=t.parentContext,o=t.currentTimeline,r=n.timings,s=Math.abs(r.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const d=t.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;ni(this,n.animation,t),t.previousNode=n,i.currentStaggerTime=o.currentTime-u+(o.startTime-i.currentTimeline.startTime)}}const Mh={};class Cy{constructor(n,t,i,o,r,s,a,l){this._driver=n,this.element=t,this.subInstru
3ctions=i,this._enterClassName=o,this._leaveClassName=r,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Mh,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new xh(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;const i=n;let o=this.options;null!=i.duration&&(o.duration=Oo(i.duration)),null!=i.delay&&(o.delay=Oo(i.delay));const r=i.params;if(r){let s=o.params;s||(s=this.options.params={}),Object.keys(r).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=Vc(r[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const t=this.options.params;if(t){const i=n.params={};Object.keys(t).forEach(o=>{i[o]=t[o]})}}return n}createSubContext(n=null,t,i){const o=t||this.element,r=new Cy(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(n),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(n){return this.previousNode=Mh,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,i){const o={duration:t??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},r=new ite(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,o,n.stretchStartingKeyframe);return this.timelines.push(r),o}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,i,o,r,s){let a=[];if(o&&a.push(this.element),n.length>0){n=(n=n.replace(Jee,"."+this._enterClassName)).replace(tte,"."+this._leaveClassName);let c=this._driver.query(this.element,n,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!r&&0==a.length&&s.push(function cee(e){return new N(3014,!1)}()),a}}class xh{constructor(n,t,i,o){this._driver=n,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=o,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new xh(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}
3applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||Mo),this._currentKeyframe.set(t,Mo);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,i,o){t&&this._previousKeyframe.set("easing",t);const r=o&&o.params||{},s=function ote(e,n){const t=new Map;let i;return e.forEach(o=>{if("*"===o){i??=n.keys();for(let r of i)t.set(r,Mo)}else for(let[r,s]of o)t.set(r,s)}),t}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=Vc(l,r,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Mo),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let t in this._currentKeyframe)n.push(t);return n}
3mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,i)=>{const o=this._styleSummary.get(i);(!o||t.time>o.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((a,l)=>{const c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{"!"===d?n.add(u):d===Mo&&t.add(u)}),i||c.set("offset",l/this.duration),o.push(c)});const r=[...n.values()],s=[...t.values()];if(i){const a=o[0],l=new Map(a);a.set("offset",0),l.set("offset",1),o=[a,l]}return by(this.element,o,r,s,this.duration,this.startTime,this.easing,!1)}}class ite extends xh{constructor(n,t,i,o,r,s,a=!1){super(n,t,s.delay),this.keyframes=i,this.preStyleProps=o,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:i,easing:o}=this.timings;if(this._stretchStartingKeyframe&&t){const r=[],s=i+t,a=t/s,l=new Map(n[0]);l.set("offset",0),r.push(l);const c=new Map(n[0]);c.set("offset",$P(a)),r.push(c);const d=n.length-1;for(let u=1;u<=d;u++){let f=new Map(n[u]);const h=f.get("offset");f.set("offset",$P((t+h*i)/s)),r.push(f)}i=s,t=0,o="",n=r}return by(this.element,n,this.preStyleProps,this.postStyleProps,i,t,o,!0)}}function $P(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function VP(e,n,t,i,o,r,s,a,l,c,d,u,f){return{type:0,element:e,triggerName:n,isRemovalTransition:o,fromState:t,fromStyles:r,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:f}}const Ey={};class BP{constructor(n,t,i){this._triggerName=n,this.ast=t,this._stateStyles=i}match(n,t,i,o){return function rte(e,n,t,i,o){return e.some(r=>r(n,t,i,o))}(this.ast.matchers,n,t,i,o)}buildStyles(n,t,i){let o=this._stateStyles.get("*");return void 0!==n&&(o=this._stateStyles.get(n?.toString())||o),o?o.buildStyles(t,i):new Map}build(n,t,i,o,r,s,a,l,c,d){const u=[],f=this.ast.options&&this.ast.options.params||Ey,m=this.buildStyles(i,a&&a.params||Ey,u),p=l&&l.params||Ey,g=this.buildStyles(o,p,u),v=new Set,_=new Map,E=new Map,x="void"===o,O={params:jP(p,f),delay:this.ast.options?.delay},P=d?[]:yy(n,t,this.ast.animation,r,s,m,g,O,c,u);let F=0;return P.forEach(q=>{F=Math.max(q.duration+q.delay,F)}),u.length?VP(t,this._triggerName,i,o,x,m,g,[],[],_,E,F,u):(P.forEach(q=>{const K=q.element,Y=ti(_,K,new Set);q.preStyleProps.forEach(D=>Y.add(D));const k=ti(E,K,new Set);q.postStyleProps.forEach(D=>k.add(D)),K!==t&&v.add(K)}),VP(t,this._triggerName,i,o,x,m,g,P,[...v.values()],_,E,F))}}function jP(e,n){const t={...n};return Object.entries(e).forEach(([i,o])=>{null!=o&&(t[i]=o)}),t}class ste{constructor(n,t,i){this.styles=n,this.defaultParams=t,this.normalizer=i}buildStyles(n,t){const i=new Map,o=jP(n,this.defaultParams);return this.styles.styles.forEach(r=>{"string"!=typeof r&&r.forEach((s,a)=>{s&&(s=Vc(s,o,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(a,s)})}),i}}class lte{constructor(n,t,i){this.name=n,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(o=>{this.states.set(o.name,new ste(o.style,o.options&&o.options.params||{},i))}),zP(this.states,"true","1"),zP(this.states,"false","0"),t.transitions.forEach(o=>{this.transitionFactories.push(new BP(n,o,this.states))}),this.fallbackTransition=function cte(e,n,t){return new BP(e,{type:he.Transition,animation:{type:he.Sequence,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,i,o){return this.transitionFactories.find(s=>s.match(n,t,i,o))||null}matchStyles(n,t,i){return this.fallbackTransition.buildStyles(n,t,i)}}function zP(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}const dte=new Sh;class ute{constructor(n,t,i){this.bodyNode=n,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,t){const i=[],r=_y(this._driver,t,i,[]);if(i.length)throw function gee(e){return new N(3503,!1)}();this._animations.set(n,r)}
3_buildPlayer(n,t,i){const o=n.element,r=MP(this._normalizer,n.keyframes,t,i);return this._driver.animate(o,r,n.duration,n.delay,n.easing,[],!0)}create(n,t,i={}){const o=[],r=this._animations.get(n);let s;const a=new Map;if(r?(s=yy(this._driver,t,r,uy,_h,new Map,new Map,i,dte,o),s.forEach(d=>{const u=ti(a,d.element,new Map);d.postStyleProps.forEach(f=>u.set(f,null))})):(o.push(function _ee(){return new N(3300,!1)}()),s=[]),o.length)throw function vee(e){return new N(3504,!1)}();a.forEach((d,u)=>{d.forEach((f,h)=>{d.set(h,this._driver.computeStyle(u,h,Mo))})});const c=fr(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(n){const t=this._playersById.get(n);if(!t)throw function bee(e){return new N(3301,!1)}();return t}listen(n,t,i,o){const r=sy(t,"","","");return oy(this._getPlayer(n),i,r,o),()=>{}}command(n,t,i,o){if("register"==i)return void this.register(n,o[0]);if("create"==i)return void this.create(n,t,o[0]||{});const r=this._getPlayer(n);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(n)}}}const GP="ng-animate-queued",wy="ng-animate-disabled",gte=[],UP={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_te={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Di="__ng_removed";class Sy{get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const i=n&&n.hasOwnProperty("value");if(this.value=function Cte(e){return e??null}(i?n.value:n),i){const{value:r,...s}=n;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const t=n.params;if(t){const i=this.options.params;Object.keys(t).forEach(o=>{null==i[o]&&(i[o]=t[o])})}}}const Bc="void",My=new Sy(Bc);class vte{constructor(n,t,i){this.id=n,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
3+n,hi(t,this._hostClassName)}listen(n,t,i,o){if(!this._triggers.has(t))throw function yee(e,n){return new N(3302,!1)}();if(null==i||0==i.length)throw function Cee(e){return new N(3303,!1)}();if(!function Ete(e){return"start"==e||"done"==e}(i))throw function Eee(e,n){return new N(3400,!1)}();const r=ti(this._elementListeners,n,[]),s={name:t,phase:i,callback:o};r.push(s);const a=ti(this._engine.statesByElement,n,new Map);return a.has(t)||(hi(n,vh),hi(n,vh+"-"+t),a.set(t,My)),()=>{this._engine.afterFlush(()=>{const l=r.indexOf(s);l>=0&&r.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(n,t){return!this._triggers.has(n)&&(this._triggers.set(n,t),!0)}_getTrigger(n){const t=this._triggers.get(n);if(!t)throw function wee(e){return new N(3401,!1)}();return t}trigger(n,t,i,o=!0){const r=this._getTrigger(t),s=new xy(this.id,t,n);let a=this._engine.statesByElement.get(n);a||(hi(n,vh),hi(n,vh+"-"+t),this._engine.statesByElement.set(n,a=new Map));let l=a.get(t);const c=new Sy(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=My),c.value!==Bc&&l.value===c.value){if(!function Mte(e,n){const t=Object.keys(e),i=Object.keys(n);if(t.length!=i.length)return!1;for(let o=0;o<t.length;o++){const r=t[o];if(!n.hasOwnProperty(r)||e[r]!==n[r])return!1}return!0}(l.params,c.params)){const p=[],g=r.matchStyles(l.value,l.params,p),v=r.matchStyles(c.value,c.params,p);p.length?this._engine.reportError(p):this._engine.afterFlush(()=>{Zr(n,g),io(n,v)})}return}const f=ti(this._engine.playersByElement,n,[]);f.forEach(p=>{p.namespaceId==this.id&&p.triggerName==t&&p.queued&&p.destroy()});let h=r.matchTransition(l.value,c.value,n,c.params),m=!1;if(!h){if(!o)return;h=r.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:m}),m||(hi(n,GP),s.onStart(()=>{Aa(n,GP)})),s.onDone(()=>{let p=this.players.indexOf(s);p>=0&&this.players.splice(p,1);const g=this._engine.playersByElement.get(n);if(g){let v=g.indexOf(s);v>=0&&g.splice(v,1)}}),this.players.push(s),f.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(o=>o.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const t=this._engine.playersByElement.get(n);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){const i=this._engine.driver.query(n,bh,!0);i.forEach(o=>{if(o[Di])return;const r=this._engine.fetchNamespacesByElement(o);r.size?r.forEach(s=>s.triggerLeaveAnimation(o,t,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(n,t,i,o){const r=this._engine.statesByElement.get(n),s=new Map;if(r){const a=[];if(r.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const d=this.trigger(n,c,Bc,o);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),i&&fr(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const t=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(t&&i){const o=new Set;t.forEach(r=>{const s=r.name;if(o.has(s))return;o.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||My,d=new Sy(Bc),u=new xy(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(n,t){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let o=!1;if(i.totalAnimations){const r=i.players.length?i.playersByQueriedElement.get(n):[];if(r&&r.length)o=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(n),o)i.markElementAsRemoved(this.id,n,!1,t);else{const r=n[Di];(!r||r===UP)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,t))}}insertNode(n,t){hi(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(i=>
3{const o=i.player;if(o.destroyed)return;const r=i.element,s=this._elementListeners.get(r);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=sy(r,i.triggerName,i.fromState.value,i.toState.value);l._data=n,oy(i.player,a.phase,l,a.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):t.push(i)}),this._queue=[],t.sort((i,o)=>{const r=i.transition.ast.depCount,s=o.transition.ast.depCount;return 0==r||0==s?r-s:this._engine.driver.containsElement(i.element,o.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class bte{_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,i,o){this.bodyNode=n,this.driver=t,this._normalizer=i,this.scheduler=o,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,s)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,t){const i=new vte(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,t){const i=this._namespaceList,o=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=o.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return o.set(t,n),n}register(n,t){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,t)),i}registerTrigger(n,t,i){let o=this._namespaceLookup[n];o&&o.register(t,i)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);const o=this._namespaceList.indexOf(i);o>=0&&this._namespaceList.splice(o,1),i.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const t=new Set,i=this.statesByElement.get(n);if(i)for(let o of i.values())if(o.namespaceId){const r=this._fetchNamespace(o.namespaceId);r&&t.add(r)}return t}trigger(n,t,i,o){if(Dh(t)){const r=this._fetchNamespace(n);if(r)return r.trigger(t,i,o),!0}return!1}insertNode(n,t,i,o){if(!Dh(t))return;const r=t[Di];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(t,i)}o&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),hi(n,wy)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Aa(n,wy))}removeNode(n,t,i){if(Dh(t)){this.scheduler?.notify();const o=n?this._fetchNamespace(n):null;o?o.removeNode(t,i):this.markElementAsRemoved(n,t,!1,i);const r=this.namespacesByHostElement.get(t);r&&r.id!==n&&r.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(n,t,i,o,r){this.collectedLeaveElements.push(t),t[Di]={namespaceId:n,setForRemoval:o,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:r}}listen(n,t,i,o,r){return Dh(t)?this._fetchNamespace(n).listen(t,i,o,r):()=>{}}_buildInstruction(n,t,i,o,r){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,o,n.fromState.options,n.toState.options,t,r)}destroyInnerAnimations(n){let t=this.driver.query(n,bh,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,fy,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(i=>
3{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const t=this.playersByQueriedElement.get(n);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return fr(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[Di];if(t&&t.setForRemoval){if(n[Di]=UP,t.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(wy)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,o)=>this._balanceNamespaceList(i,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)hi(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{t=this._flushAnimations(i,n)}finally{for(let o=0;o<i.length;o++)i[o]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?fr(t).onDone(()=>{i.forEach(o=>o())}):i.forEach(o=>o())}}reportError(n){throw function See(e){return new N(3402,!1)}()}_flushAnimations(n,t){const i=new Sh,o=[],r=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(M=>{d.add(M);const B=this.driver.query(M,".ng-animate-queued",!0);for(let V=0;V<B.length;V++)d.add(B[V])});const u=this.bodyNode,f=Array.from(this.statesByElement.keys()),h=qP(f,this.collectedEnterElements),m=new Map;let p=0;h.forEach((M,B)=>{const V=uy+p++;m.set(B,V),M.forEach(ee=>hi(ee,V))});const g=[],v=new Set,_=new Set;for(let M=0;M<this.collectedLeaveElements.length;M++){const B=this.collectedLeaveElements[M],V=B[Di];V&&V.setForRemoval&&(g.push(B),v.add(B),V.hasAnimation?this.driver.query(B,".ng-star-inserted",!0).forEach(ee=>v.add(ee)):_.add(B))}const E=new Map,x=qP(f,Array.from(v));x.forEach((M,B)=>{const V=_h+p++;E.set(B,V),M.forEach(ee=>hi(ee,V))}),n.push(()=>{h.forEach((M,B)=>{const V=m.get(B);M.forEach(ee=>Aa(ee,V))}),x.forEach((M,B)=>{const V=E.get(B);M.forEach(ee=>Aa(ee,V))}),g.forEach(M=>{this.processLeaveNode(M)})});const O=[],P=[];for(let M=this._namespaceList.length-1;M>=0;M--)this._namespaceList[M].drainQueuedTransitions(t).forEach(V=>{const ee=V.player,ue=V.element;if(O.push(ee),this.collectedEnterElements.length){const Kt=ue[Di];if(Kt&&Kt.setForMove){if(Kt.previousTriggersValues&&Kt.previousTriggersValues.has(V.triggerName)){const oo=Kt.previousTriggersValues.get(V.triggerName),An=this.statesByElement.get(V.element);if(An&&An.has(V.triggerName)){const Jr=An.get(V.triggerName);Jr.value=oo,An.set(V.triggerName,Jr)}}return void ee.destroy()}}const ht=!u||!this.driver.containsElement(u,ue),Nt=E.get(ue),ii=m.get(ue),et=this._buildInstruction(V,i,ii,Nt,ht);if(et.errors&&et.errors.length)return void P.push(et);if(ht)return ee.onStart(()=>Zr(ue,et.fromStyles)),ee.onDestroy(()=>io(ue,et.toStyles)),void o.push(ee);if(V.isFallbackTransition)return ee.onStart(()=>Zr(ue,et.fromStyles)),ee.onDestroy(()=>io(ue,et.toStyles)),void o.push(ee);const pi=[];et.timelines.forEach(Kt=>{Kt.stretchStartingKeyframe=!0,this.disabledNodes.has(Kt.element)||pi.push(Kt)}),et.timelines=pi,i.append(ue,et.timelines),s.push({instruction:et,player:ee,element:ue}),et.queriedElements.forEach(Kt=>ti(a,Kt,[]).push(ee)),et.preStyleProps.forEach((Kt,oo)=>{if(Kt.size){let An=l.get(oo);An||l.set(oo,An=new Set),Kt.forEach((Jr,hr)=>An.add(hr))}}),et.postStyleProps.forEach((Kt,oo)=>{let An=c.get(oo);An||c.set(oo,An=new Set),Kt.forEach((Jr,hr)=>An.add(hr))})});if(P.length){const M=[];P.forEach(B=>{M.push(function Mee(e,n){return new N(3505,!1)}())}),O.forEach(B=>B.destroy()),this.reportError(M)}const F=new Map,q=new Map;
3s.forEach(M=>{const B=M.element;i.has(B)&&(q.set(B,B),this._beforeAnimationBuild(M.player.namespaceId,M.instruction,F))}),o.forEach(M=>{const B=M.element;this._getPreviousPlayers(B,!1,M.namespaceId,M.triggerName,null).forEach(ee=>{ti(F,B,[]).push(ee),ee.destroy()})});const K=g.filter(M=>XP(M,l,c)),Y=new Map;WP(Y,this.driver,_,c,Mo).forEach(M=>{XP(M,l,c)&&K.push(M)});const D=new Map;h.forEach((M,B)=>{WP(D,this.driver,new Set(M),l,"!")}),K.forEach(M=>{const B=Y.get(M),V=D.get(M);Y.set(M,new Map([...B?.entries()??[],...V?.entries()??[]]))});const L=[],te=[],se={};s.forEach(M=>{const{element:B,player:V,instruction:ee}=M;if(i.has(B)){if(d.has(B))return V.onDestroy(()=>io(B,ee.toStyles)),V.disabled=!0,V.overrideTotalTime(ee.totalTime),void o.push(V);let ue=se;if(q.size>1){let Nt=B;const ii=[];for(;Nt=Nt.parentNode;){const et=q.get(Nt);if(et){ue=et;break}ii.push(Nt)}ii.forEach(et=>q.set(et,ue))}const ht=this._buildAnimation(V.namespaceId,ee,F,r,D,Y);if(V.setRealPlayer(ht),ue===se)L.push(V);else{const Nt=this.playersByElement.get(ue);Nt&&Nt.length&&(V.parentPlayer=fr(Nt)),o.push(V)}}else Zr(B,ee.fromStyles),V.onDestroy(()=>io(B,ee.toStyles)),te.push(V),d.has(B)&&o.push(V)}),te.forEach(M=>{const B=r.get(M.element);if(B&&B.length){const V=fr(B);M.setRealPlayer(V)}}),o.forEach(M=>{M.parentPlayer?M.syncPlayerEvents(M.parentPlayer):M.destroy()});for(let M=0;M<g.length;M++){const B=g[M],V=B[Di];if(Aa(B,_h),V&&V.hasAnimation)continue;let ee=[];if(a.size){let ht=a.get(B);ht&&ht.length&&ee.push(...ht);let Nt=this.driver.query(B,fy,!0);for(let ii=0;ii<Nt.length;ii++){let et=a.get(Nt[ii]);et&&et.length&&ee.push(...et)}}const ue=ee.filter(ht=>!ht.destroyed);ue.length?wte(this,B,ue):this.processLeaveNode(B)}return g.length=0,L.forEach(M=>{this.players.push(M),M.onDone(()=>{M.destroy();const B=this.players.indexOf(M);this.players.splice(B,1)}),M.play()}),L}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,i,o,r){let s=[];if(t){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!r||r==Bc;a.forEach(c=>{c.queued||!l&&c.triggerName!=o||s.push(c)})}}return(i||o)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||o&&o!=a.triggerName))),s}_beforeAnimationBuild(n,t,i){const r=t.element,s=t.isRemovalTransition?void 0:n,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const c=l.element,d=c!==r,u=ti(i,c,[]);this._getPreviousPlayers(c,d,s,a,t.toState).forEach(h=>{const m=h.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),h.destroy(),u.push(h)})}Zr(r,t.fromStyles)}_buildAnimation(n,t,i,o,r,s){const a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,f=t.timelines.map(m=>{const p=m.element;d.add(p);const g=p[Di];if(g&&g.removedBeforeQueried)return new Cc(m.duration,m.delay);const v=p!==l,_=function Ste(e){const n=[];return YP(e,n),n}((i.get(p)||gte).map(F=>F.getRealPlayer())).filter(F=>!!F.element&&F.element===p),E=r.get(p),x=s.get(p),O=MP(this._normalizer,m.keyframes,E,x),P=this._buildPlayer(m,O,_);if(m.subTimeline&&o&&u.add(p),v){const F=new xy(n,a,p);F.setRealPlayer(P),c.push(F)}return P});c.forEach(m=>{ti(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>function yte(e,n,t){let i=e.get(n);if(i){if(i.length){const o=i.indexOf(t);i.splice(o,1)}0==i.length&&e.delete(n)}return i}(this.playersByQueriedElement,m.element,m))}),d.forEach(m=>hi(m,AP));const h=fr(f);return h.onDestroy(()=>{d.forEach(m=>Aa(m,AP)),io(l,t.toStyles)}),u.forEach(m=>{ti(o,m,[]).push(h)}),h}_buildPlayer(n,t,i){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,i):new Cc(n.duration,n.delay)}}class xy{constructor(n,t,i){this.namespaceId=n,this.triggerName=t,this.element=i,this._player=new Cc,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,i)=>{t.forEach(o=>oy(n,i,void 0,o))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){ti(this._queuedCallbacks,n,[]).push(t)}
3onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const t=this._player;t.triggerCallback&&t.triggerCallback(n)}}function Dh(e){return e&&1===e.nodeType}function HP(e,n){const t=e.style.display;return e.style.display=n??"none",t}function WP(e,n,t,i,o){const r=[];t.forEach(l=>r.push(HP(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const f=n.computeStyle(c,u,o);d.set(u,f),(!f||0==f.length)&&(c[Di]=_te,s.push(c))}),e.set(c,d)});let a=0;return t.forEach(l=>HP(l,r[a++])),s}function qP(e,n){const t=new Map;if(e.forEach(a=>t.set(a,[])),0==n.length)return t;const o=new Set(n),r=new Map;function s(a){if(!a)return 1;let l=r.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:o.has(c)?1:s(c),r.set(a,l),l}return n.forEach(a=>{const l=s(a);1!==l&&t.get(l).push(a)}),t}function hi(e,n){e.classList?.add(n)}function Aa(e,n){e.classList?.remove(n)}function wte(e,n,t){fr(t).onDone(()=>e.processLeaveNode(n))}function YP(e,n){for(let t=0;t<e.length;t++){const i=e[t];i instanceof XO?YP(i.players,n):n.push(i)}}function XP(e,n,t){const i=t.get(e);if(!i)return!1;let o=n.get(e);return o?i.forEach(r=>o.add(r)):n.set(e,i),t.delete(e),!0}class jc{constructor(n,t,i,o){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,s)=>{},this._transitionEngine=new bte(n.body,t,i,o),this._timelineEngine=new ute(n.body,t,i),this._transitionEngine.onRemovalComplete=(r,s)=>this.onRemovalComplete(r,s)}registerTrigger(n,t,i,o,r){const s=n+"-"+o;let a=this._triggerCache[s];if(!a){const l=[],d=_y(this._driver,r,l,[]);if(l.length)throw function pee(e,n){return new N(3404,!1)}();a=function ate(e,n,t){return new lte(e,n,t)}(o,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,o,a)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,i,o){this._transitionEngine.insertNode(n,t,i,o)}onRemove(n,t,i){this._transitionEngine.removeNode(n,t,i)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,i,o){if("@"==i.charAt(0)){const[r,s]=xP(i);this._timelineEngine.command(r,t,s,o)}else this._transitionEngine.trigger(n,t,i,o)}listen(n,t,i,o,r){if("@"==i.charAt(0)){const[s,a]=xP(i);return this._timelineEngine.listen(s,t,a,r)}return this._transitionEngine.listen(n,t,i,o,r)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}class zc{static#e=this.initialStylesByElement=new WeakMap;constructor(n,t,i){this._element=n,this._startStyles=t,this._endStyles=i,this._state=0;let o=zc.initialStylesByElement.get(n);o||zc.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&io(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(io(this._element,this._initialStyles),this._endStyles&&(io(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(zc.initialStylesByElement.delete(this._element),this._startStyles&&(Zr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Zr(this._element,this._endStyles),this._endStyles=null),io(this._element,this._initialStyles),this._state=3)}}function Dy(e){let n=null;return e.forEach((t,i)=>{(function Dte(e){return"display"===e||"position"===e})(i)&&(n=n||new Map,n.set(i,t))}),n}class KP{constructor(n,t,i,o){this.element=n,this.keyframes=t,this.options=i,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const t=[];
3return n.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(n,t,i){return n.animate(this._convertKeyframesToObject(t),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,o)=>{"offset"!==o&&n.set(o,this._finished?i:gy(this.element,o))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class ZP{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,t){return!1}containsElement(n,t){return TP(n,t)}getParentElement(n){return ay(n)}query(n,t,i){return OP(n,t,i)}computeStyle(n,t,i){return gy(n,t)}animate(n,t,i,o,r,s=[]){const l={duration:i,delay:o,fill:0==o?"both":"forwards"};r&&(l.easing=r);const c=new Map,d=s.filter(h=>h instanceof KP);(function $ee(e,n){return 0===e||0===n})(i,o)&&d.forEach(h=>{h.currentSnapshot.forEach((m,p)=>c.set(p,m))});let u=function Ree(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(h=>new Map(h));u=function Vee(e,n,t){if(t.size&&n.length){let i=n[0],o=[];if(t.forEach((r,s)=>{i.has(s)||o.push(s),i.set(s,r)}),o.length)for(let r=1;r<n.length;r++){let s=n[r];o.forEach(a=>s.set(a,gy(e,a)))}}return n}(n,u,c);const f=function xte(e,n){let t=null,i=null;return Array.isArray(n)&&n.length?(t=Dy(n[0]),n.length>1&&(i=Dy(n[n.length-1]))):n instanceof Map&&(t=Dy(n)),t||i?new zc(e,t,i):null}(n,u);return new KP(n,u,l,f)}}const QP="@.disabled";class JP{constructor(n,t,i,o){this.namespaceId=n,this.delegate=t,this.engine=i,this._onDestroy=o,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,i,o=!0){this.delegate.insertBefore(n,t,i),this.engine.onInsert(this.namespaceId,t,n,o)}removeChild(n,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,i,o){this.delegate.setAttribute(n,t,i,o)}removeAttribute(n,t,i){this.delegate.removeAttribute(n,t,i)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,i,o){this.delegate.setStyle(n,t,i,o)}removeStyle(n,t,i){this.delegate.removeStyle(n,t,i)}setProperty(n,t,i){"@"==t.charAt(0)&&t==QP?this.disableAnimations(n,!!i):this.delegate.setProperty(n,t,i)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,i){return this.delegate.listen(n,t,i)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}}class Tte extends JP{constructor(n,t,i,o,r){super(t,i,o,r),this.factory=n,this.namespaceId=t}setProperty(n,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==QP?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,t.slice(1),i):this.delegate.setProperty(n,t,i)}listen(n,t,i){if("@"==t.charAt(0)){const o=function Ote(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(n);let r=t.slice(1),s="";return"@"!=r.charAt(0)&&([r,s]=function Ite(e){const n=e.indexOf(".");return[e.substring(0,n),e.slice(n+1)]}(r)),this.engine.listen(this.namespaceId,o,r,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,t,i)}}class Ate{constructor(n,t,i){this.delegate=n,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(o,r)=>{const s=r?.parentNode(o);s&&r.removeChild(s,o)}}createRenderer(n,t){const o=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){const c=this._rendererCache;let d=c.get(o);return d||(d=new JP("",o,this.engine,()=>c.delete(o)),c.set(o,d)),d}const r=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);const a=c=>
3{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(r,s,n,c.name,c)};return t.data.animation.forEach(a),new Tte(this,s,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,i){if(n>=0&&n<this._microtaskId)return void this._zone.run(()=>t(i));const o=this._animationCallbacksBuffer;0==o.length&&queueMicrotask(()=>{this._zone.run(()=>{o.forEach(r=>{const[s,a]=r;s(a)}),this._animationCallbacksBuffer=[]})}),o.push([t,i])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const ek=[{provide:dy,useFactory:function kte(){return new NP}},{provide:jc,useClass:(()=>{class e extends jc{constructor(t,i,o){super(t,i,o,G(dm,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(i){return new(i||e)(T(Te),T(cy),T(dy))};static#t=this.\u0275prov=H({token:e,factory:e.\u0275fac})}return e})()},{provide:Cm,useFactory:function Nte(e,n,t){return new Ate(e,n,t)},deps:[B_,jc,ae]}],Ty=[{provide:cy,useFactory:()=>new ZP},{provide:zo,useValue:"BrowserAnimations"},...ek],tk=[{provide:cy,useClass:ly},{provide:zo,useValue:"NoopAnimations"},...ek];let Rte=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?tk:Ty}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e});static#n=this.\u0275inj=Ke({providers:Ty,imports:[L1]})}return e})();function Fte(e,n){return n(e).pipe(St(t=>{}))}function Lte(e,n){return n(e).pipe(Oe(t=>{if(t instanceof nr){let i=JSON.stringify(t.body),o=i.match(/<a[^>]*href=\\"http/gm);for(let s in o){const a=o[s];let l=o[s];l=l.replace(/href=\\"http/gm,'target=\\"_blank\\" href=\\"http'),i=i.replace(a,l)}const r=JSON.parse(i);return t.clone({body:r})}return t}))}let $te=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=tt({type:e,bootstrap:[HJ]});static#n=this.\u0275inj=Ke({providers:[Kb,_1(Tz([Fte,Lte])),uG()],imports:[L1.withServerTransition({appId:"serverApp"}),mJ,yY,_K,vK,Iz,WJ,Rte,v9,D6,UQ.forRoot()]})}return e})();function nk(){iG().bootstrapModule($te).catch(e=>console.error(e))}"complete"===document.readyState?nk():document.addEventListener("DOMContentLoaded",nk)},334:()=>{}},Ih=>{var yt=ts=>Ih(Ih.s=ts);yt(334),yt(689)}]);
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.