403Webshell
Server IP : 157.230.181.24  /  Your IP : 216.73.217.11
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64
User :  ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/vhosts/dev-conductive-digital/public/google/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/dev-conductive-digital/public/google/main-es2015.c11f919c5aa63c2c597c.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},"4+EV":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=[],s="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z";e.definition={prefix:"fas",iconName:"times",icon:[352,512,r,"f00d",s]},e.faTimes=e.definition,e.prefix="fas",e.iconName="times",e.width=352,e.height=512,e.ligatures=r,e.unicode="f00d",e.svgPathData=s},zUnb:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.r(e);let s=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(i.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function c(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:s,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(r(s))try{s.call(this)}catch(o){e=o instanceof u?d(o.errors):[o]}if(l(i)){let t=-1,n=i.length;for(;++t<n;){const n=i[t];if(c(n))try{n.unsubscribe()}catch(o){e=e||[],o instanceof u?e=e.concat(d(o.errors)):e.push(o)}}}if(e)throw new u(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof t){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const s=this._subscriptions;return null===s?this._subscriptions=[n]:s.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}return t.EMPTY=function(t){return t.closed=!0,t}(new t),t})();function d(t){return t.reduce((t,e)=>t.concat(e instanceof u?e.errors:e),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[p](){return this}static create(t,e,n){const r=new f(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends f{constructor(t,e,n,s){let i;super(),this._parentSubscriber=t;let o=this;r(e)?i=e:e&&(i=e.next,n=e.error,s=e.complete,e!==a&&(o=Object.create(e),r(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=i,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;i.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=i;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):o(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);i.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),i.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return i.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function _(t){return t}function y(...t){return b(t)}function b(t){return 0===t.length?_:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}let v=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:r}=this,s=function(t,e,n){if(t){if(t instanceof f)return t;if(t[p])return t[p]()}return t||e||n?new f(t,e,n):new f(a)}(t,e,n);if(s.add(r?r.call(s,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),i.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){i.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof f?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=w(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(s){n(s),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[m](){return this}pipe(...t){return 0===t.length?this:b(t)(this)}toPromise(t){return new(t=w(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function w(t){if(t||(t=i.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const C=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class S extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class T extends f{constructor(t){super(t),this.destination=t}}let P=(()=>{class t extends v{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new T(this)}lift(t){const e=new M(this,this);return e.operator=t,e}next(t){if(this.closed)throw new C;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;s<n;s++)r[s].next(t)}}error(t){if(this.closed)throw new C;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;s<n;s++)r[s].error(t);this.observers.length=0}complete(){if(this.closed)throw new C;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let r=0;r<e;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new C;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new C;return this.hasError?(t.error(this.thrownError),h.EMPTY):this.isStopped?(t.complete(),h.EMPTY):(this.observers.push(t),new S(this,t))}asObservable(){const t=new v;return t.source=this,t}}return t.create=(t,e)=>new M(t,e),t})();class M extends P{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}function E(t){return t&&"function"==typeof t.schedule}class O extends f{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const x=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()};function A(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const k=A(),I=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function N(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const D=t=>{if(t&&"function"==typeof t[m])return r=t,t=>{const e=r[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(I(t))return x(t);if(N(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);if(t&&"function"==typeof t[k])return e=t,t=>{const n=e[k]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,r};function R(t,e,n,r,s=new O(t,n,r)){if(!s.closed)return e instanceof v?e.subscribe(s):D(e)(s)}class G extends f{notifyNext(t,e,n,r,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}function H(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new L(t,e))}}class L{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new V(t,this.project,this.thisArg))}}class V extends f{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}function B(t,e){return new v(n=>{const r=new h;let s=0;return r.add(e.schedule((function(){s!==t.length?(n.next(t[s++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}function F(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[m]}(t))return function(t,e){return new v(n=>{const r=new h;return r.add(e.schedule(()=>{const s=t[m]();r.add(s.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(N(t))return function(t,e){return new v(n=>{const r=new h;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r})}(t,e);if(I(t))return B(t,e);if(function(t){return t&&"function"==typeof t[k]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new v(n=>{const r=new h;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(e.schedule(()=>{s=t[k](),r.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=s.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())})))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof v?t:new v(D(t))}function j(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(j((n,r)=>F(t(n,r)).pipe(H((t,s)=>e(n,t,r,s))),n)):("number"==typeof e&&(n=e),e=>e.lift(new U(t,n)))}class U{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new z(t,this.project,this.concurrent))}}class z extends G{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e,t,n)}_innerSub(t,e,n){const r=new O(this,e,n),s=this.destination;s.add(r);const i=R(this,t,void 0,void 0,r);i!==r&&s.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t,e,n,r,s){this.destination.next(e)}notifyComplete(t){const e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function W(t=Number.POSITIVE_INFINITY){return j(_,t)}function $(t,e){return e?B(t,e):new v(x(t))}function K(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return E(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof v?t[0]:W(e)($(t,n))}function X(){return function(t){return t.lift(new q(t))}}class q{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new Q(t,n),s=e.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class Q extends f{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class Z extends v{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new h,t.add(this.source.subscribe(new J(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return X()(this)}}const Y=(()=>{const t=Z.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class J extends T{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function tt(){return new P}function et(t){return{toString:t}.toString()}function nt(t,e,n){return et(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return r.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,r){const s=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}const rt=nt("Inject",t=>({token:t})),st=nt("Optional"),it=nt("Self"),ot=nt("SkipSelf");var at=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function lt(t){for(let e in t)if(t[e]===lt)return e;throw Error("Could not find renamed property on target object.")}function ct(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function ut(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}const ht=ut;function dt(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function pt(t){return ft(t,t[mt])||ft(t,t[bt])}function ft(t,e){return e&&e.token===t?e:null}function gt(t){return t&&(t.hasOwnProperty(_t)||t.hasOwnProperty(vt))?t[_t]:null}const mt=lt({"\u0275prov":lt}),_t=lt({"\u0275inj":lt}),yt=lt({"\u0275provFallback":lt}),bt=lt({ngInjectableDef:lt}),vt=lt({ngInjectorDef:lt});function wt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(wt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function Ct(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const St=lt({__forward_ref__:lt});function Tt(t){return t.__forward_ref__=Tt,t.toString=function(){return wt(this())},t}function Pt(t){return Mt(t)?t():t}function Mt(t){return"function"==typeof t&&t.hasOwnProperty(St)&&t.__forward_ref__===Tt}const Et="undefined"!=typeof globalThis&&globalThis,Ot="undefined"!=typeof window&&window,xt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,At="undefined"!=typeof global&&global,kt=Et||At||Ot||xt,It=lt({"\u0275cmp":lt}),Nt=lt({"\u0275dir":lt}),Dt=lt({"\u0275pipe":lt}),Rt=lt({"\u0275mod":lt}),Gt=lt({"\u0275loc":lt}),Ht=lt({"\u0275fac":lt}),Lt=lt({__NG_ELEMENT_ID__:lt});class Vt{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=ut({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const Bt=new Vt("INJECTOR",-1),Ft={},jt=/\n/gm,Ut=lt({provide:String,useValue:lt});let zt,Wt=void 0;function $t(t){const e=Wt;return Wt=t,e}function Kt(t){const e=zt;return zt=t,e}function Xt(t,e=at.Default){if(void 0===Wt)throw new Error("inject() must be called from an injection context");return null===Wt?Zt(t,void 0,e):Wt.get(t,e&at.Optional?null:void 0,e)}function qt(t,e=at.Default){return(zt||Xt)(Pt(t),e)}const Qt=qt;function Zt(t,e,n){const r=pt(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&at.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${wt(t)}]`)}function Yt(t){const e=[];for(let n=0;n<t.length;n++){const r=Pt(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let t=void 0,n=at.Default;for(let e=0;e<r.length;e++){const s=r[e];s instanceof st||"Optional"===s.ngMetadataName||s===st?n|=at.Optional:s instanceof ot||"SkipSelf"===s.ngMetadataName||s===ot?n|=at.SkipSelf:s instanceof it||"Self"===s.ngMetadataName||s===it?n|=at.Self:t=s instanceof rt||s===rt?s.token:s}e.push(qt(t,n))}else e.push(qt(r))}return e}class Jt{get(t,e=Ft){if(e===Ft){const e=new Error(`NullInjectorError: No provider for ${wt(t)}!`);throw e.name="NullInjectorError",e}return e}}class te{}class ee{}function ne(t,e){t.forEach(t=>Array.isArray(t)?ne(t,e):e(t))}function re(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function se(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ie(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}function oe(t,e,n){let r=le(t,e);return r>=0?t[1|r]=n:(r=~r,function(t,e,n,r){let s=t.length;if(s==e)t.push(n,r);else if(1===s)t.push(r,t[0]),t[0]=n;else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function ae(t,e){const n=le(t,e);if(n>=0)return t[1|n]}function le(t,e){return function(t,e,n){let r=0,s=t.length>>1;for(;s!==r;){const n=r+(s-r>>1),i=t[n<<1];if(e===i)return n<<1;i>e?s=n:r=n+1}return~(s<<1)}(t,e)}const ce=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),ue=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t[t.ShadowDom]="ShadowDom",t}(),he={},de=[];let pe=0;function fe(t){return et(()=>{const e=t.type,n=e.prototype,r={},s={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===ce.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||de,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||ue.Emulated,id:"c",styles:t.styles||de,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,o=t.features,a=t.pipes;return s.id+=pe++,s.inputs=be(t.inputs,r),s.outputs=be(t.outputs),o&&o.forEach(t=>t(s)),s.directiveDefs=i?()=>("function"==typeof i?i():i).map(ge):null,s.pipeDefs=a?()=>("function"==typeof a?a():a).map(me):null,s})}function ge(t){return Ce(t)||function(t){return t[Nt]||null}(t)}function me(t){return function(t){return t[Dt]||null}(t)}const _e={};function ye(t){const e={type:t.type,bootstrap:t.bootstrap||de,declarations:t.declarations||de,imports:t.imports||de,exports:t.exports||de,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&et(()=>{_e[t.id]=t.type}),e}function be(t,e){if(null==t)return he;const n={};for(const r in t)if(t.hasOwnProperty(r)){let s=t[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,e&&(e[s]=i)}return n}const ve=fe;function we(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Ce(t){return t[It]||null}function Se(t,e){return t.hasOwnProperty(Ht)?t[Ht]:null}function Te(t,e){const n=t[Rt]||null;if(!n&&!0===e)throw new Error(`Type ${wt(t)} does not have '\u0275mod' property.`);return n}function Pe(t){return Array.isArray(t)&&"object"==typeof t[1]}function Me(t){return Array.isArray(t)&&!0===t[1]}function Ee(t){return 0!=(8&t.flags)}function Oe(t){return 2==(2&t.flags)}function xe(t){return 1==(1&t.flags)}function Ae(t){return null!==t.template}function ke(t){return 0!=(512&t[2])}let Ie=void 0;function Ne(){return void 0!==Ie?Ie:"undefined"!=typeof document?document:void 0}function De(t){return!!t.listen}const Re={createRenderer:(t,e)=>Ne()};function Ge(t){for(;Array.isArray(t);)t=t[0];return t}function He(t,e){return Ge(e[t+20])}function Le(t,e){return Ge(e[t.index])}function Ve(t,e){return t.data[e+20]}function Be(t,e){return t[e+20]}function Fe(t,e){const n=e[t];return Pe(n)?n:n[0]}function je(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Ue(t){return 4==(4&t[2])}function ze(t){return 128==(128&t[2])}function We(t,e){return null===t||null==e?null:t[e]}function $e(t){t[18]=0}function Ke(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const Xe={lFrame:_n(null),bindingsEnabled:!0,checkNoChangesMode:!1};function qe(){return Xe.bindingsEnabled}function Qe(){return Xe.lFrame.lView}function Ze(){return Xe.lFrame.tView}function Ye(t){Xe.lFrame.contextLView=t}function Je(){return Xe.lFrame.previousOrParentTNode}function tn(t,e){Xe.lFrame.previousOrParentTNode=t,Xe.lFrame.isParent=e}function en(){return Xe.lFrame.isParent}function nn(){Xe.lFrame.isParent=!1}function rn(){return Xe.checkNoChangesMode}function sn(t){Xe.checkNoChangesMode=t}function on(){const t=Xe.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function an(){return Xe.lFrame.bindingIndex++}function ln(t){const e=Xe.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function cn(t,e){const n=Xe.lFrame;n.bindingIndex=n.bindingRootIndex=t,un(e)}function un(t){Xe.lFrame.currentDirectiveIndex=t}function hn(t){const e=Xe.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function dn(){return Xe.lFrame.currentQueryIndex}function pn(t){Xe.lFrame.currentQueryIndex=t}function fn(t,e){const n=mn();Xe.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function gn(t,e){const n=mn(),r=t[1];Xe.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=r,n.contextLView=t,n.bindingIndex=r.bindingStartIndex}function mn(){const t=Xe.lFrame,e=null===t?null:t.child;return null===e?_n(t):e}function _n(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function yn(){const t=Xe.lFrame;return Xe.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}const bn=yn;function vn(){const t=yn();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.currentSanitizer=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function wn(){return Xe.lFrame.selectedIndex}function Cn(t){Xe.lFrame.selectedIndex=t}function Sn(){const t=Xe.lFrame;return Ve(t.tView,t.selectedIndex)}function Tn(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n];e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(-n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked)),e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(-n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked)),null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}}function Pn(t,e,n){On(t,e,3,n)}function Mn(t,e,n,r){(3&t[2])===n&&On(t,e,n,r)}function En(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function On(t,e,n,r){const s=null!=r?r:-1;let i=0;for(let o=void 0!==r?65535&t[18]:0;o<e.length;o++)if("number"==typeof e[o+1]){if(i=e[o],null!=r&&i>=r)break}else e[o]<0&&(t[18]+=65536),(i<s||-1==s)&&(xn(t,n,e,o),t[18]=(4294901760&t[18])+o+2),o++}function xn(t,e,n,r){const s=n[r]<0,i=n[r+1],o=t[s?-n[r]:n[r]];s?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,i.call(o)):i.call(o)}class An{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function kn(t,e,n){const r=De(t);let s=0;for(;s<n.length;){const i=n[s];if("number"==typeof i){if(0!==i)break;s++;const o=n[s++],a=n[s++],l=n[s++];r?t.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=i,a=n[++s];Nn(o)?r&&t.setProperty(e,o,a):r?t.setAttribute(e,o,a):e.setAttribute(o,a),s++}}return s}function In(t){return 3===t||4===t||6===t}function Nn(t){return 64===t.charCodeAt(0)}function Dn(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const s=e[r];"number"==typeof s?n=s:0===n||Rn(t,n,s,null,-1===n||2===n?e[++r]:null)}}return t}function Rn(t,e,n,r,s){let i=0,o=t.length;if(-1===e)o=-1;else for(;i<t.length;){const n=t[i++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=i-1;break}}}for(;i<t.length;){const e=t[i];if("number"==typeof e)break;if(e===n){if(null===r)return void(null!==s&&(t[i+1]=s));if(r===t[i+1])return void(t[i+2]=s)}i++,null!==r&&i++,null!==s&&i++}-1!==o&&(t.splice(o,0,e),i=o+1),t.splice(i++,0,n),null!==r&&t.splice(i++,0,r),null!==s&&t.splice(i++,0,s)}function Gn(t){return-1!==t}function Hn(t){return 32767&t}function Ln(t){return t>>16}function Vn(t,e){let n=Ln(t),r=e;for(;n>0;)r=r[15],n--;return r}function Bn(t){return"string"==typeof t?t:null==t?"":""+t}function Fn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Bn(t)}const jn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(kt))();function Un(t){return{name:"window",target:t.ownerDocument.defaultView}}function zn(t){return t instanceof Function?t():t}let Wn=!0;function $n(t){const e=Wn;return Wn=t,e}let Kn=0;function Xn(t,e){const n=Qn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,qn(r.data,t),qn(e,null),qn(r.blueprint,null));const s=Zn(t,e),i=t.injectorIndex;if(Gn(s)){const t=Hn(s),n=Vn(s,e),r=n[1].data;for(let s=0;s<8;s++)e[i+s]=n[t+s]|r[t+s]}return e[i+8]=s,i}function qn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Qn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function Zn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[6],r=1;for(;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function Yn(t,e,n){!function(t,e,n){let r="string"!=typeof n?n[Lt]:n.charCodeAt(0)||0;null==r&&(r=n[Lt]=Kn++);const s=255&r,i=1<<s,o=64&s,a=32&s,l=e.data;128&s?o?a?l[t+7]|=i:l[t+6]|=i:a?l[t+5]|=i:l[t+4]|=i:o?a?l[t+3]|=i:l[t+2]|=i:a?l[t+1]|=i:l[t]|=i}(t,e,n)}function Jn(t,e,n,r=at.Default,s){if(null!==t){const s=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t[Lt];return"number"==typeof e&&e>0?255&e:e}(n);if("function"==typeof s){fn(e,t);try{const t=s();if(null!=t||r&at.Optional)return t;throw new Error(`No provider for ${Fn(n)}!`)}finally{bn()}}else if("number"==typeof s){if(-1===s)return new or(t,e);let i=null,o=Qn(t,e),a=-1,l=r&at.Host?e[16][6]:null;for((-1===o||r&at.SkipSelf)&&(a=-1===o?Zn(t,e):e[o+8],ir(r,!1)?(i=e[1],o=Hn(a),e=Vn(a,e)):o=-1);-1!==o;){a=e[o+8];const t=e[1];if(sr(s,o,t.data)){const t=er(o,e,n,i,r,l);if(t!==tr)return t}ir(r,e[1].data[o+8]===l)&&sr(s,o,e)?(i=t,o=Hn(a),e=Vn(a,e)):o=-1}}}if(r&at.Optional&&void 0===s&&(s=null),0==(r&(at.Self|at.Host))){const t=e[9],i=Kt(void 0);try{return t?t.get(n,s,r&at.Optional):Zt(n,s,r&at.Optional)}finally{Kt(i)}}if(r&at.Optional)return s;throw new Error(`NodeInjector: NOT_FOUND [${Fn(n)}]`)}const tr={};function er(t,e,n,r,s,i){const o=e[1],a=o.data[t+8],l=nr(a,o,n,null==r?Oe(a)&&Wn:r!=o&&3===a.type,s&at.Host&&i===a);return null!==l?rr(e,o,l,a):tr}function nr(t,e,n,r,s){const i=t.providerIndexes,o=e.data,a=65535&i,l=t.directiveStart,c=i>>16,u=s?a+c:t.directiveEnd;for(let h=r?a:a+c;h<u;h++){const t=o[h];if(h<l&&n===t||h>=l&&t.type===n)return h}if(s){const t=o[l];if(t&&Ae(t)&&t.type===n)return l}return null}function rr(t,e,n,r){let s=t[n];const i=e.data;if(s instanceof An){const o=s;if(o.resolving)throw new Error("Circular dep for "+Fn(i[n]));const a=$n(o.canSeeViewProviders);let l;o.resolving=!0,o.injectImpl&&(l=Kt(o.injectImpl)),fn(t,r);try{s=t[n]=o.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{onChanges:r,onInit:s,doCheck:i}=e;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)),s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,s),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i))}(n,i[n],e)}finally{o.injectImpl&&Kt(l),$n(a),o.resolving=!1,bn()}}return s}function sr(t,e,n){const r=64&t,s=32&t;let i;return i=128&t?r?s?n[e+7]:n[e+6]:s?n[e+5]:n[e+4]:r?s?n[e+3]:n[e+2]:s?n[e+1]:n[e],!!(i&1<<t)}function ir(t,e){return!(t&at.Self||t&at.Host&&e)}class or{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Jn(this._tNode,this._lView,t,void 0,e)}}function ar(t){return et(()=>{const e=Object.getPrototypeOf(t.prototype).constructor,n=e[Ht]||function t(e){const n=e;if(Mt(e))return()=>{const e=t(Pt(n));return e?e():null};let r=Se(n);if(null===r){const t=gt(n);r=t&&t.factory}return r||null}(e);return null!==n?n:t=>new t})}function lr(t){return t.ngDebugContext}function cr(t){return t.ngOriginalError}function ur(t,...e){t.error(...e)}class hr{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||ur}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?lr(t)?lr(t):this._findContext(cr(t)):null}_findOriginalError(t){let e=cr(t);for(;e&&cr(e);)e=cr(e);return e}}class dr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class pr extends dr{getTypeName(){return"HTML"}}class fr extends dr{getTypeName(){return"Style"}}class gr extends dr{getTypeName(){return"Script"}}class mr extends dr{getTypeName(){return"URL"}}class _r extends dr{getTypeName(){return"ResourceURL"}}function yr(t){return t instanceof dr?t.changingThisBreaksApplicationSecurity:t}function br(t,e){const n=vr(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===e}function vr(t){return t instanceof dr&&t.getTypeName()||null}let wr=!0,Cr=!1;function Sr(){return Cr=!0,wr}class Tr{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");let e=this.inertDocument.body;if(null==e){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),e=this.inertDocument.createElement("body"),t.appendChild(e)}e.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!e.querySelector||e.querySelector("svg")?(e.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=e.querySelector&&e.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(r){return null}const e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);const n=e.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(t){t="<body><remove></remove>"+t+"</body>";try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}getInertBodyElement_InertDocument(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;const n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0<r;r--){const n=e.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Pr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Mr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Er(t){return(t=String(t)).match(Pr)||t.match(Mr)?t:(Sr()&&console.warn(`WARNING: sanitizing unsafe URL value ${t} (see http://g.co/ng/security#xss)`),"unsafe:"+t)}function Or(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function xr(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Ar=Or("area,br,col,hr,img,wbr"),kr=Or("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ir=Or("rp,rt"),Nr=xr(Ir,kr),Dr=xr(Ar,xr(kr,Or("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")),xr(Ir,Or("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")),Nr),Rr=Or("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Gr=Or("srcset"),Hr=xr(Rr,Gr,Or("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Or("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")),Lr=Or("script,style,template");class Vr{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Dr.hasOwnProperty(e))return this.sanitizedSomething=!0,!Lr.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let s=0;s<n.length;s++){const t=n.item(s),e=t.name,i=e.toLowerCase();if(!Hr.hasOwnProperty(i)){this.sanitizedSomething=!0;continue}let o=t.value;Rr[i]&&(o=Er(o)),Gr[i]&&(r=o,o=(r=String(r)).split(",").map(t=>Er(t.trim())).join(", ")),this.buf.push(" ",e,'="',jr(o),'"')}var r;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Dr.hasOwnProperty(e)&&!Ar.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(jr(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}const Br=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Fr=/([^\#-~ |!])/g;function jr(t){return t.replace(/&/g,"&amp;").replace(Br,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Fr,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Ur;function zr(t,e){let n=null;try{Ur=Ur||new Tr(t);let r=e?String(e):"";n=Ur.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=Ur.getInertBodyElement(r)}while(r!==i);const o=new Vr,a=o.sanitizeChildren(Wr(n)||n);return Sr()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const t=Wr(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Wr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const $r=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}(),Kr=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Xr=/^url\(([^)]+)\)$/;function qr(t){if(!(t=String(t).trim()))return"";const e=t.match(Xr);return e&&Er(e[1])===e[1]||t.match(Kr)&&function(t){let e=!0,n=!0;for(let r=0;r<t.length;r++){const s=t.charAt(r);"'"===s&&n?e=!e:'"'===s&&e&&(n=!n)}return e&&n}(t)?t:(Sr()&&console.warn(`WARNING: sanitizing unsafe style value ${t} (see http://g.co/ng/security#xss).`),"unsafe")}function Qr(t){const e=es();return e?e.sanitize($r.HTML,t)||"":br(t,"HTML")?yr(t):zr(Ne(),Bn(t))}function Zr(t){const e=es();return e?e.sanitize($r.STYLE,t)||"":br(t,"Style")?yr(t):qr(Bn(t))}function Yr(t){const e=es();return e?e.sanitize($r.URL,t)||"":br(t,"URL")?yr(t):Er(Bn(t))}function Jr(t){const e=es();if(e)return e.sanitize($r.RESOURCE_URL,t)||"";if(br(t,"ResourceURL"))return yr(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}const ts=function(t,e,n){if(void 0===e&&void 0===n)return Zr(t);let r=!0;return 1&(n=n||3)&&(r=function(t){return"background-image"===t||"backgroundImage"===t||"background"===t||"border-image"===t||"borderImage"===t||"border-image-source"===t||"borderImageSource"===t||"filter"===t||"list-style"===t||"listStyle"===t||"list-style-image"===t||"listStyleImage"===t||"clip-path"===t||"clipPath"===t}(t)),2&n?r?Zr(e):yr(e):r};function es(){const t=Qe();return t&&t[12]}function ns(t,e){t.__ngContext__=e}function rs(t){throw new Error("Multiple components match node with tagname "+t.tagName)}function ss(){throw new Error("Cannot mix multi providers and regular providers")}function is(t,e,n){let r=t.length;for(;;){const s=t.indexOf(e,n);if(-1===s)return s;if(0===s||t.charCodeAt(s-1)<=32){const n=e.length;if(s+n===r||t.charCodeAt(s+n)<=32)return s}n=s+1}}function os(t,e,n){let r=0;for(;r<t.length;){let s=t[r++];if(n&&"class"===s){if(s=t[r],-1!==is(s.toLowerCase(),e,0))return!0}else if(1===s){for(;r<t.length&&"string"==typeof(s=t[r++]);)if(s.toLowerCase()===e)return!0;return!1}}return!1}function as(t){return 0===t.type&&"ng-template"!==t.tagName}function ls(t,e,n){return e===(0!==t.type||n?t.tagName:"ng-template")}function cs(t,e,n){let r=4;const s=t.attrs||[],i=function(t){for(let e=0;e<t.length;e++)if(In(t[e]))return e;return t.length}(s);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&r){if(r=2|1&r,""!==l&&!ls(t,l,n)||""===l&&1===e.length){if(us(r))return!1;o=!0}}else{const c=8&r?l:e[++a];if(8&r&&null!==t.attrs){if(!os(t.attrs,c,n)){if(us(r))return!1;o=!0}continue}const u=hs(8&r?"class":l,s,as(t),n);if(-1===u){if(us(r))return!1;o=!0;continue}if(""!==c){let t;t=u>i?"":s[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==is(e,c,0)||2&r&&c!==t){if(us(r))return!1;o=!0}}}}else{if(!o&&!us(r)&&!us(l))return!1;if(o&&us(l))continue;o=!1,r=l|1&r}}return us(r)||o}function us(t){return 0==(1&t)}function hs(t,e,n,r){if(null===e)return-1;let s=0;if(r||!n){let n=!1;for(;s<e.length;){const r=e[s];if(r===t)return s;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++s];for(;"string"==typeof t;)t=e[++s];continue}if(4===r)break;if(0===r){s+=4;continue}}s+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function ds(t,e,n=!1){for(let r=0;r<e.length;r++)if(cs(t,e[r],n))return!0;return!1}function ps(t,e){t:for(let n=0;n<e.length;n++){const r=e[n];if(t.length===r.length){for(let e=0;e<t.length;e++)if(t[e]!==r[e])continue t;return!0}}return!1}function fs(t,e){return t?":not("+e.trim()+")":e}function gs(t){let e=t[0],n=1,r=2,s="",i=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&r){const e=t[++n];s+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""===s||us(o)||(e+=fs(i,s),s=""),r=o,i=i||!us(r);n++}return""!==s&&(e+=fs(i,s)),e}const ms={};function _s(t){const e=t[3];return Me(e)?e[3]:e}function ys(t){return vs(t[13])}function bs(t){return vs(t[4])}function vs(t){for(;null!==t&&!Me(t);)t=t[4];return t}function ws(t){Cs(Ze(),Qe(),wn()+t,rn())}function Cs(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&Pn(e,r,n)}else{const r=t.preOrderHooks;null!==r&&Mn(e,r,0,n)}Cn(n)}function Ss(t,e){return t<<17|e<<2}function Ts(t){return t>>17&32767}function Ps(t){return 2|t}function Ms(t){return(131068&t)>>2}function Es(t,e){return-131069&t|e<<2}function Os(t){return 1|t}function xs(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],i=n[r+1];if(-1!==i){const n=t.data[i];pn(s),n.contentQueries(2,e[i],i)}}}function As(t,e,n){return De(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function ks(t,e,n,r,s,i,o,a,l,c){const u=e.blueprint.slice();return u[0]=s,u[2]=140|r,$e(u),u[3]=u[15]=t,u[8]=n,u[10]=o||t&&t[10],u[11]=a||t&&t[11],u[12]=l||t&&t[12]||null,u[9]=c||t&&t[9]||null,u[6]=i,u[16]=2==e.type?t[16]:u,u}function Is(t,e,n,r,s,i){const o=n+20,a=t.data[o]||function(t,e,n,r,s,i){const o=Je(),a=en(),l=a?o:o&&o.parent,c=t.data[n]=js(0,l&&l!==e?l:null,r,n,s,i);return null===t.firstChild&&(t.firstChild=c),o&&(!a||null!=o.child||null===c.parent&&2!==o.type?a||(o.next=c):o.child=c),c}(t,e,o,r,s,i);return tn(a,!0),a}function Ns(t,e,n){gn(e,e[6]);try{const r=t.viewQuery;null!==r&&ui(1,r,n);const s=t.template;null!==s&&Gs(t,e,s,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&xs(t,e),t.staticViewQueries&&ui(2,t.viewQuery,n);const i=t.components;null!==i&&function(t,e){for(let n=0;n<e.length;n++)ii(t,e[n])}(e,i)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),r}finally{e[2]&=-5,vn()}}function Ds(t,e,n,r){const s=e[2];if(256==(256&s))return;gn(e,e[6]);const i=rn();try{$e(e),Xe.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&Gs(t,e,n,2,r);const o=3==(3&s);if(!i)if(o){const n=t.preOrderCheckHooks;null!==n&&Pn(e,n,null)}else{const n=t.preOrderHooks;null!==n&&Mn(e,n,0,null),En(e,0)}if(function(t){for(let e=ys(t);null!==e;e=bs(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],r=n[3];0==(1024&n[2])&&Ke(r,1),n[2]|=1024}}}(e),function(t){for(let e=ys(t);null!==e;e=bs(e))for(let t=10;t<e.length;t++){const n=e[t],r=n[1];ze(n)&&Ds(r,n,r.template,n[8])}}(e),null!==t.contentQueries&&xs(t,e),!i)if(o){const n=t.contentCheckHooks;null!==n&&Pn(e,n)}else{const n=t.contentHooks;null!==n&&Mn(e,n,1),En(e,1)}!function(t,e){try{const n=t.expandoInstructions;if(null!==n){let r=t.expandoStartIndex,s=-1,i=-1;for(let t=0;t<n.length;t++){const o=n[t];"number"==typeof o?o<=0?(i=0-o,Cn(i),r+=9+n[++t],s=r):r+=o:(null!==o&&(cn(r,s),o(2,e[s])),s++)}}}finally{Cn(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)si(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&ui(2,l,r),!i)if(o){const n=t.viewCheckHooks;null!==n&&Pn(e,n)}else{const n=t.viewHooks;null!==n&&Mn(e,n,2),En(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),i||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Ke(e[3],-1))}finally{vn()}}function Rs(t,e,n,r){const s=e[10],i=!rn(),o=Ue(e);try{i&&!o&&s.begin&&s.begin(),o&&Ns(t,e,r),Ds(t,e,n,r)}finally{i&&!o&&s.end&&s.end()}}function Gs(t,e,n,r,s){const i=wn();try{Cn(-1),2&r&&e.length>20&&Cs(t,e,0,rn()),n(r,s)}finally{Cn(i)}}function Hs(t,e,n){if(Ee(e)){const r=e.directiveEnd;for(let s=e.directiveStart;s<r;s++){const e=t.data[s];e.contentQueries&&e.contentQueries(1,n[s],s)}}}function Ls(t,e,n){qe()&&(function(t,e,n,r){const s=n.directiveStart,i=n.directiveEnd;t.firstCreatePass||Xn(n,e),ns(r,e);const o=n.initialInputs;for(let a=s;a<i;a++){const r=t.data[a],i=Ae(r);i&&ti(e,n,r);const l=rr(e,t,a,n);ns(l,e),null!==o&&ei(0,a-s,l,r,0,o),i&&(Fe(n.index,e)[8]=l)}}(t,e,n,Le(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,s=n.directiveEnd,i=t.expandoInstructions,o=t.firstCreatePass,a=n.index-20,l=Xe.lFrame.currentDirectiveIndex;try{Cn(a);for(let n=r;n<s;n++){const r=t.data[n],s=e[n];un(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?Xs(r,s):o&&i.push(null)}}finally{Cn(-1),un(l)}}(t,e,n))}function Vs(t,e,n=Le){const r=e.localNames;if(null!==r){let s=e.index+1;for(let i=0;i<r.length;i+=2){const o=r[i+1],a=-1===o?n(e,t):t[o];t[s++]=a}}}function Bs(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Fs(1,-1,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Fs(t,e,n,r,s,i,o,a,l,c){const u=20+r,h=u+s,d=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:ms);return n}(u,h);return d[1]={type:t,id:e,blueprint:d,template:n,queries:null,viewQuery:a,node:null,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,expandoInstructions: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 i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:c,incompleteFirstPass:!1}}function js(t,e,n,r,s,i){return{type:n,index:r,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:s,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Us(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const s=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,s):n[r]=[e,s]}return n}function zs(t,e,n,r,s,i,o,a){const l=Le(e,n);let c,u=e.inputs;var h;!a&&null!=u&&(c=u[r])?(mi(t,n,c,r,s),Oe(e)&&function(t,e){const n=Fe(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3===e.type&&(r="class"===(h=r)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,s=null!=o?o(s,e.tagName||"",r):s,De(i)?i.setProperty(l,r,s):Nn(r)||(l.setProperty?l.setProperty(r,s):l[r]=s))}function Ws(t,e,n,r){let s=!1;if(qe()){const i=function(t,e,n){const r=t.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const o=r[i];ds(n,o.selectors,!1)&&(s||(s=[]),Yn(Xn(n,e),t,o.type),Ae(o)?(2&n.flags&&rs(n),Qs(t,n),s.unshift(o)):s.push(o))}return s}(t,e,n),o=null===r?null:{"":-1};if(null!==i){let r=0;s=!0,Ys(n,t.data.length,i.length);for(let t=0;t<i.length;t++){const e=i[t];e.providersResolver&&e.providersResolver(e)}qs(t,n,i.length);let a=!1,l=!1;for(let s=0;s<i.length;s++){const c=i[s];n.mergedAttrs=Dn(n.mergedAttrs,c.hostAttrs),Js(t,e,c),Zs(t.data.length-1,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128),!a&&(c.onChanges||c.onInit||c.doCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index-20),a=!0),l||!c.onChanges&&!c.doCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index-20),l=!0),$s(t,c),r+=c.hostVars}!function(t,e){const n=e.directiveEnd,r=t.data,s=e.attrs,i=[];let o=null,a=null;for(let l=e.directiveStart;l<n;l++){const t=r[l],n=t.inputs,c=null===s||as(e)?null:ni(n,s);i.push(c),o=Us(n,l,o),a=Us(t.outputs,l,a)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=i,e.inputs=o,e.outputs=a}(t,n),Ks(t,e,r)}o&&function(t,e,n){if(e){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const s=n[e[t+1]];if(null==s)throw new Error(`Export of name '${e[t+1]}' not found!`);r.push(e[t],s)}}}(n,r,o)}return n.mergedAttrs=Dn(n.mergedAttrs,n.attrs),s}function $s(t,e){const n=t.expandoInstructions;n.push(e.hostBindings),0!==e.hostVars&&n.push(e.hostVars)}function Ks(t,e,n){for(let r=0;r<n;r++)e.push(ms),t.blueprint.push(ms),t.data.push(null)}function Xs(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function qs(t,e,n){const r=20-e.index,s=t.data.length-(65535&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(r,s,n)}function Qs(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Zs(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;Ae(e)&&(n[""]=t)}}function Ys(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Js(t,e,n){t.data.push(n);const r=n.factory||(n.factory=Se(n.type)),s=new An(r,Ae(n),null);t.blueprint.push(s),e.push(s)}function ti(t,e,n){const r=Le(e,t),s=Bs(n),i=t[10],o=oi(t,ks(t,s,null,n.onPush?64:16,r,e,i,i.createRenderer(r,n)));t[e.index]=o}function ei(t,e,n,r,s,i){const o=i[e];if(null!==o){const t=r.setInput;for(let e=0;e<o.length;){const s=o[e++],i=o[e++],a=o[e++];null!==t?r.setInput(n,a,s,i):n[i]=a}}}function ni(t,e){let n=null,r=0;for(;r<e.length;){const s=e[r];if(0!==s)if(5!==s){if("number"==typeof s)break;t.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,t[s],e[r+1])),r+=2}else r+=2;else r+=4}return n}function ri(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}function si(t,e){const n=Fe(e,t);if(ze(n)){const t=n[1];80&n[2]?Ds(t,n,t.template,n[8]):n[5]>0&&function t(e){for(let r=ys(e);null!==r;r=bs(r))for(let e=10;e<r.length;e++){const n=r[e];if(1024&n[2]){const t=n[1];Ds(t,n,t.template,n[8])}else n[5]>0&&t(n)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const s=Fe(n[r],e);ze(s)&&s[5]>0&&t(s)}}(n)}}function ii(t,e){const n=Fe(e,t),r=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),Ns(r,n,n[8])}function oi(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function ai(t){for(;t;){t[2]|=64;const e=_s(t);if(ke(t)&&!e)return t;t=e}return null}function li(t,e,n){const r=e[10];r.begin&&r.begin();try{Ds(t,e,t.template,n)}catch(s){throw gi(e,s),s}finally{r.end&&r.end()}}function ci(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=je(n),s=r[1];Rs(s,r,s.template,n)}}(t[8])}function ui(t,e,n){pn(0),e(t,n)}const hi=(()=>Promise.resolve(null))();function di(t){return t[7]||(t[7]=[])}function pi(t){return t.cleanup||(t.cleanup=[])}function fi(t,e,n){return(null===t||Ae(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function gi(t,e){const n=t[9],r=n?n.get(hr,null):null;r&&r.handleError(e)}function mi(t,e,n,r,s){for(let i=0;i<n.length;){const o=n[i++],a=n[i++],l=e[o],c=t.data[o];null!==c.setInput?c.setInput(l,s,r,a):l[a]=s}}function _i(t,e){const n=e[3];return-1===t.index?Me(n)?n:null:n}function yi(t,e){const n=_i(t,e);return n?Ai(e[11],n[7]):null}function bi(t,e,n,r,s){if(null!=r){let i,o=!1;Me(r)?i=r:Pe(r)&&(o=!0,r=r[0]);const a=Ge(r);0===t&&null!==n?null==s?Oi(e,n,a):Ei(e,n,a,s||null):1===t&&null!==n?Ei(e,n,a,s||null):2===t?function(t,e,n){const r=Ai(t,e);r&&function(t,e,n,r){De(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=i&&function(t,e,n,r,s){const i=n[7];i!==Ge(n)&&bi(e,t,r,i,s);for(let o=10;o<n.length;o++){const s=n[o];Ri(s[1],s,t,e,r,i)}}(e,t,i,n,s)}}function vi(t,e,n,r){const s=yi(t.node,e);s&&Ri(t,e,e[11],n?1:2,s,r)}function wi(t,e){const n=t[9],r=n.indexOf(e);1024&e[2]&&Ke(e[3],-1),n.splice(r,1)}function Ci(t,e){if(t.length<=10)return;const n=10+e,r=t[n];if(r){const s=r[17];null!==s&&s!==t&&wi(s,r),e>0&&(t[n-1][4]=r[4]);const i=se(t,10+e);vi(r[1],r,!1,null);const o=i[19];null!==o&&o.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Si(t,e){if(!(256&e[2])){const n=e[11];De(n)&&n.destroyNode&&Ri(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Pi(t[1],t);for(;e;){let n=null;if(Pe(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Pe(e)&&Pi(e[1],e),e=Ti(e,t);null===e&&(e=t),Pe(e)&&Pi(e[1],e),n=e&&e[4]}e=n}}(e)}}function Ti(t,e){let n;return Pe(t)&&(n=t[6])&&2===n.type?_i(n,t):t[3]===e?null:t[3]}function Pi(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r<n.length;r+=2){const t=e[n[r]];if(!(t instanceof An)){const e=n[r+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)e[n+1].call(t[e[n]]);else e.call(t)}}}(t,e),function(t,e){const n=t.cleanup;if(null!==n){const t=e[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const s=n[r+1],i="function"==typeof s?s(e):Ge(e[s]),o=t[n[r+2]],a=n[r+3];"boolean"==typeof a?i.removeEventListener(n[r],o,a):a>=0?t[a]():t[-a].unsubscribe(),r+=2}else n[r].call(t[n[r+1]]);e[7]=null}}(t,e);const n=e[6];n&&3===n.type&&De(e[11])&&e[11].destroy();const r=e[17];if(null!==r&&Me(e[3])){r!==e[3]&&wi(r,e);const n=e[19];null!==n&&n.detachView(t)}}}function Mi(t,e,n){let r=e.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(e=r).parent;if(null==r){const t=n[6];return 2===t.type?yi(t,n):n[0]}if(e&&5===e.type&&4&e.flags)return Le(e,n).parentNode;if(2&r.flags){const e=t.data,n=e[e[r.index].directiveStart].encapsulation;if(n!==ue.ShadowDom&&n!==ue.Native)return null}return Le(r,n)}function Ei(t,e,n,r){De(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function Oi(t,e,n){De(t)?t.appendChild(e,n):e.appendChild(n)}function xi(t,e,n,r){null!==r?Ei(t,e,n,r):Oi(t,e,n)}function Ai(t,e){return De(t)?t.parentNode(e):e.parentNode}function ki(t,e){if(2===t.type){const n=_i(t,e);return null===n?null:Ni(n.indexOf(e,10)-10,n)}return 4===t.type||5===t.type?Le(t,e):null}function Ii(t,e,n,r){const s=Mi(t,r,e);if(null!=s){const t=e[11],i=ki(r.parent||e[6],e);if(Array.isArray(n))for(let e=0;e<n.length;e++)xi(t,s,n[e],i);else xi(t,s,n,i)}}function Ni(t,e){const n=10+t+1;if(n<e.length){const t=e[n],r=t[1].firstChild;if(null!==r)return function t(e,n){if(null!==n){const r=n.type;if(3===r)return Le(n,e);if(0===r)return Ni(-1,e[n.index]);if(4===r||5===r){const r=n.child;if(null!==r)return t(e,r);{const t=e[n.index];return Me(t)?Ni(-1,t):Ge(t)}}{const r=e[16],s=r[6],i=_s(r),o=s.projection[n.projection];return null!=o?t(i,o):t(e,n.next)}}return null}(t,r)}return e[7]}function Di(t,e,n,r,s,i,o){for(;null!=n;){const a=r[n.index],l=n.type;o&&0===e&&(a&&ns(Ge(a),r),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(Di(t,e,n.child,r,s,i,!1),bi(e,t,s,a,i)):1===l?Gi(t,e,r,n,s,i):bi(e,t,s,a,i)),n=o?n.projectionNext:n.next}}function Ri(t,e,n,r,s,i){Di(n,r,t.node.child,e,s,i,!1)}function Gi(t,e,n,r,s,i){const o=n[16],a=o[6].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)bi(e,t,s,a[l],i);else Di(t,e,a,o[3],s,i,!0)}function Hi(t,e,n){De(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function Li(t,e,n){De(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}class Vi{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const t=this._lView;return null==t[0]?function t(e,n,r,s,i=!1){for(;null!==r;){const o=n[r.index];if(null!==o&&s.push(Ge(o)),Me(o))for(let e=10;e<o.length;e++){const n=o[e],r=n[1].firstChild;null!==r&&t(n[1],n,r,s)}const a=r.type;if(4===a||5===a)t(e,n,r.child,s);else if(1===a){const e=n[16],i=e[6].projection[r.projection];if(Array.isArray(i))s.push(...i);else{const n=_s(e);t(n[1],n,i,s,!0)}}r=i?r.projectionNext:r.next}return s}(t[1],t,t[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Si(this._lView[1],this._lView)}onDestroy(t){var e,n,r;e=this._lView[1],r=t,di(n=this._lView).push(r),e.firstCreatePass&&pi(e).push(n[7].length-1,null)}markForCheck(){ai(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){li(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){sn(!0);try{li(t,e,n)}finally{sn(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,Ri(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Bi extends Vi{constructor(t){super(t),this._view=t}detectChanges(){ci(this._view)}checkNoChanges(){!function(t){sn(!0);try{ci(t)}finally{sn(!1)}}(this._view)}get context(){return null}}let Fi,ji,Ui;function zi(t,e,n){return Fi||(Fi=class extends t{}),new Fi(Le(e,n))}function Wi(t,e,n,r){return ji||(ji=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=ks(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),Ns(e,n,t),new Vi(n)}}),0===n.type?new ji(r,n,zi(e,n,r)):null}function $i(t,e,n,r){let s;Ui||(Ui=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return zi(e,this._hostTNode,this._hostView)}get injector(){return new or(this._hostTNode,this._hostView)}get parentInjector(){const t=Zn(this._hostTNode,this._hostView),e=Vn(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){const t=n.parent.injectorIndex;let e=n.parent;for(;null!=e.parent&&t==e.parent.injectorIndex;)e=e.parent;return e}let r=Ln(t),s=e,i=e[6];for(;r>1;)s=s[15],i=s[6],r--;return i}(t,this._hostView,this._hostTNode);return Gn(t)&&null!=n?new or(n,e):new or(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,s){const i=n||this.parentInjector;if(!s&&null==t.ngModule&&i){const t=i.get(te,null);t&&(s=t)}const o=t.create(i,r,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Me(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new Ui(e,e[6],e[3]);r.detach(r.indexOf(t))}}const s=this._adjustIndex(e);return function(t,e,n,r){const s=10+r,i=n.length;r>0&&(n[s-1][4]=e),r<i-10?(e[4]=n[s],re(n,10+r,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(r,n,this._lContainer,s),vi(r,n,!0,Ni(s,this._lContainer)),t.attachToViewContainerRef(this),re(this._lContainer[8],s,t),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(t,e)}indexOf(t){const e=this._lContainer[8];return null!==e?e.indexOf(t):-1}remove(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1);!function(t,e){const n=Ci(t,e);n&&Si(n[1],n)}(this._lContainer,e),se(this._lContainer[8],e)}detach(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=Ci(this._lContainer,e);return n&&null!=se(this._lContainer[8],e)?new Vi(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const i=r[n.index];if(Me(i))s=i;else{let t;if(4===n.type)t=Ge(i);else if(t=r[11].createComment(""),ke(r)){const e=r[11],s=Le(n,r);Ei(e,Ai(e,s),t,function(t,e){return De(t)?t.nextSibling(e):e.nextSibling}(e,s))}else Ii(r[1],r,t,n);r[n.index]=s=ri(i,r,t,n),oi(r,s)}return new Ui(s,n,r)}function Ki(t=!1){return function(t,e,n){if(!n&&Oe(t)){const n=Fe(t.index,e);return new Vi(n,n)}return 3===t.type||0===t.type||4===t.type||5===t.type?new Vi(e[16],e):null}(Je(),Qe(),t)}let Xi=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>qi(),t})();const qi=Ki,Qi=new Vt("Set Injector scope."),Zi={},Yi={},Ji=[];let to=void 0;function eo(){return void 0===to&&(to=new Jt),to}function no(t,e=null,n=null,r){return new ro(t,n,e||eo(),r)}class ro{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];e&&ne(e,n=>this.processProvider(n,t,e)),ne([t],t=>this.processInjectorType(t,[],s)),this.records.set(Bt,oo(void 0,this));const i=this.records.get(Qi);this.scope=null!=i?i.value:null,this.source=r||("object"==typeof t?null:wt(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=Ft,n=at.Default){this.assertNotDestroyed();const r=$t(this);try{if(!(n&at.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof Vt)&&pt(t);e=n&&this.injectableDefInScope(n)?oo(so(t),Zi):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&at.Self?eo():this.parent).get(t,e=n&at.Optional&&e===Ft?null:e)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(wt(t)),r)throw i;return function(t,e,n,r){const s=t.ngTempTokenPath;throw e.__source&&s.unshift(e.__source),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=wt(e);if(Array.isArray(e))s=e.map(wt).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):wt(r)))}s=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${t.replace(jt,"\n  ")}`}("\n"+t.message,s,n,r),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(i,t,"R3InjectorError",this.source)}throw i}finally{$t(r)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(wt(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=Pt(t)))return!1;let r=gt(t);const s=null==r&&t.ngModule||void 0,i=void 0===s?t:s,o=-1!==n.indexOf(i);if(void 0!==s&&(r=gt(s)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(i);try{ne(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:r}=t[e];ne(r,t=>this.processProvider(t,n,r||Ji))}}this.injectorDefTypes.add(i),this.records.set(i,oo(r.factory,Zi));const a=r.providers;if(null!=a&&!o){const e=t;ne(a,t=>this.processProvider(t,e,a))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let r=lo(t=Pt(t))?t:Pt(t&&t.provide);const s=function(t,e,n){return ao(t)?oo(void 0,t.useValue):oo(io(t,e,n),Zi)}(t,e,n);if(lo(t)||!0!==t.multi){const t=this.records.get(r);t&&void 0!==t.multi&&ss()}else{let e=this.records.get(r);e?void 0===e.multi&&ss():(e=oo(void 0,Zi,!0),e.factory=()=>Yt(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,s)}hydrate(t,e){var n;return e.value===Yi?function(t){throw new Error("Cannot instantiate cyclic dependency! "+t)}(wt(t)):e.value===Zi&&(e.value=Yi,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function so(t){const e=pt(t),n=null!==e?e.factory:Se(t);if(null!==n)return n;const r=gt(t);if(null!==r)return r.factory;if(t instanceof Vt)throw new Error(`Token ${wt(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=ie(e,"?");throw new Error(`Can't resolve all parameters for ${wt(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[mt]||t[bt]||t[yt]&&t[yt]());if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function io(t,e,n){let r=void 0;if(lo(t)){const e=Pt(t);return Se(e)||so(e)}if(ao(t))r=()=>Pt(t.useValue);else if((s=t)&&s.useFactory)r=()=>t.useFactory(...Yt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>qt(Pt(t.useExisting));else{const s=Pt(t&&(t.useClass||t.provide));if(s||function(t,e,n){let r="";throw t&&e&&(r=` - only instances of Provider and Type are allowed, got: [${e.map(t=>t==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${wt(t)}'`+r)}(e,n,t),!function(t){return!!t.deps}(t))return Se(s)||so(s);r=()=>new s(...Yt(t.deps))}var s;return r}function oo(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function ao(t){return null!==t&&"object"==typeof t&&Ut in t}function lo(t){return"function"==typeof t}const co=function(t,e,n){return function(t,e=null,n=null,r){const s=no(t,e,n,r);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};let uo=(()=>{class t{static create(t,e){return Array.isArray(t)?co(t,e,""):co(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=Ft,t.NULL=new Jt,t.\u0275prov=ut({token:t,providedIn:"any",factory:()=>qt(Bt)}),t.__NG_ELEMENT_ID__=-1,t})();const ho=new Vt("AnalyzeForEntryComponents");let po=new Map;const fo=new Set;function go(t){return"string"==typeof t?t:t.text()}function mo(t,e,n){let r=n?t.styles:null,s=n?t.classes:null,i=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?i=t:1==i?s=Ct(s,t):2==i&&(r=Ct(r,t+": "+e[++o]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=s:t.classesWithoutHost=s}let _o=null;function yo(){if(!_o){const t=kt.Symbol;if(t&&t.iterator)_o=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(_o=n)}}}return _o}function bo(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}class vo{constructor(t){this.wrapped=t}static wrap(t){return new vo(t)}static unwrap(t){return vo.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof vo}}function wo(t){return!!Co(t)&&(Array.isArray(t)||!(t instanceof Map)&&yo()in t)}function Co(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function So(t,e,n){return t[e]=n}function To(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Po(t,e,n,r){const s=Qe();return To(s,an(),e)&&(Ze(),function(t,e,n,r,s,i){const o=Le(t,e),a=e[11];if(null==r)De(a)?a.removeAttribute(o,n,i):o.removeAttribute(n);else{const e=null==s?Bn(r):s(r,t.tagName||"",n);De(a)?a.setAttribute(o,n,e,i):i?o.setAttributeNS(i,n,e):o.setAttribute(n,e)}}(Sn(),s,t,e,n,r)),Po}function Mo(t,e,n,r,s,i,o,a){const l=Qe(),c=Ze(),u=t+20,h=c.firstCreatePass?function(t,e,n,r,s,i,o,a,l){const c=e.consts,u=Is(e,n[6],t,0,o||null,We(c,a));Ws(e,n,u,We(c,l)),Tn(e,u);const h=u.tViews=Fs(2,-1,r,s,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c),d=js(0,null,2,-1,null,null);return d.injectorIndex=u.injectorIndex,h.node=d,null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(t,c,l,e,n,r,s,i,o):c.data[u];tn(h,!1);const d=l[11].createComment("");Ii(c,l,d,h),ns(d,l),oi(l,l[u]=ri(d,l,d,h)),xe(h)&&Ls(c,l,h),null!=o&&Vs(l,h,a)}function Eo(t){return Be(Xe.lFrame.contextLView,t)}function Oo(t,e=at.Default){const n=Qe();return null==n?qt(t,e):Jn(Je(),n,Pt(t),e)}function xo(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let r=0;for(;r<t;){const s=n[r];if(In(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<t&&"string"==typeof n[r];)r++;else{if(s===e)return n[r+1];r+=2}}}return null}(Je(),t)}function Ao(){throw new Error("invalid")}function ko(t,e,n){const r=Qe();return To(r,an(),e)&&zs(Ze(),Sn(),r,t,e,r[11],n,!1),ko}function Io(t,e,n,r,s){const i=s?"class":"style";mi(t,n,e.inputs[i],i,r)}function No(t,e,n,r){const s=Qe(),i=Ze(),o=20+t,a=s[11],l=s[o]=As(e,a,Xe.lFrame.currentNamespace),c=i.firstCreatePass?function(t,e,n,r,s,i,o){const a=e.consts,l=We(a,i),c=Is(e,n[6],t,3,s,l);return Ws(e,n,c,We(a,o)),null!==c.attrs&&mo(c,c.attrs,!1),null!==c.mergedAttrs&&mo(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(t,i,s,0,e,n,r):i.data[o];tn(c,!0);const u=c.mergedAttrs;null!==u&&kn(a,l,u);const h=c.classes;null!==h&&Li(a,l,h);const d=c.styles;null!==d&&Hi(a,l,d),Ii(i,s,l,c),0===Xe.lFrame.elementDepthCount&&ns(l,s),Xe.lFrame.elementDepthCount++,xe(c)&&(Ls(i,s,c),Hs(i,c,s)),null!==r&&Vs(s,c)}function Do(){let t=Je();en()?nn():(t=t.parent,tn(t,!1));const e=t;Xe.lFrame.elementDepthCount--;const n=Ze();n.firstCreatePass&&(Tn(n,t),Ee(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Io(n,e,Qe(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Io(n,e,Qe(),e.stylesWithoutHost,!1)}function Ro(t,e,n,r){No(t,e,n,r),Do()}function Go(t,e,n){const r=Qe(),s=Ze(),i=t+20,o=s.firstCreatePass?function(t,e,n,r,s){const i=e.consts,o=We(i,r),a=Is(e,n[6],t,4,"ng-container",o);return null!==o&&mo(a,o,!0),Ws(e,n,a,We(i,s)),null!==e.queries&&e.queries.elementStart(e,a),a}(t,s,r,e,n):s.data[i];tn(o,!0);const a=r[i]=r[11].createComment("");Ii(s,r,a,o),ns(a,r),xe(o)&&(Ls(s,r,o),Hs(s,o,r)),null!=n&&Vs(r,o)}function Ho(){let t=Je();const e=Ze();en()?nn():(t=t.parent,tn(t,!1)),e.firstCreatePass&&(Tn(e,t),Ee(t)&&e.queries.elementEnd(t))}function Lo(){return Qe()}function Vo(t){return!!t&&"function"==typeof t.then}function Bo(t){return!!t&&"function"==typeof t.subscribe}function Fo(t,e,n=!1,r){const s=Qe(),i=Ze(),o=Je();return Uo(i,s,s[11],o,t,e,n,r),Fo}function jo(t,e,n=!1,r){const s=Je(),i=Qe(),o=Ze();return Uo(o,i,fi(hn(o.data),s,i),s,t,e,n,r),jo}function Uo(t,e,n,r,s,i,o=!1,a){const l=xe(r),c=t.firstCreatePass&&(t.cleanup||(t.cleanup=[])),u=di(e);let h=!0;if(3===r.type){const d=Le(r,e),p=a?a(d):he,f=p.target||d,g=u.length,m=a?t=>a(Ge(t[r.index])).target:r.index;if(De(n)){let o=null;if(!a&&l&&(o=function(t,e,n,r){const s=t.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const t=s[i];if(t===n&&s[i+1]===r){const t=e[7],n=s[i+2];return t.length>n?t[n]:null}"string"==typeof t&&(i+=2)}return null}(t,e,s,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=i,o.__ngLastListenerFn__=i,h=!1;else{i=Wo(r,e,i,!1);const t=n.listen(p.name||f,s,i);u.push(i,t),c&&c.push(s,m,g,g+1)}}else i=Wo(r,e,i,!0),f.addEventListener(s,i,o),u.push(i),c&&c.push(s,m,g,o)}const d=r.outputs;let p;if(h&&null!==d&&(p=d[s])){const t=p.length;if(t)for(let n=0;n<t;n+=2){const t=e[p[n]][p[n+1]].subscribe(i),o=u.length;u.push(i,t),c&&c.push(s,r.index,o,-(o+1))}}}function zo(t,e,n){try{return!1!==e(n)}catch(r){return gi(t,r),!1}}function Wo(t,e,n,r){return function s(i){if(i===Function)return n;const o=2&t.flags?Fe(t.index,e):e;0==(32&e[2])&&ai(o);let a=zo(e,n,i),l=s.__ngNextListenerFn__;for(;l;)a=zo(e,l,i)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&(i.preventDefault(),i.returnValue=!1),a}}function $o(t=1){return function(t){return(Xe.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Xe.lFrame.contextLView))[8]}(t)}function Ko(t,e){let n=null;const r=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let s=0;s<e.length;s++){const i=e[s];if("*"!==i){if(null===r?ds(t,i,!0):ps(r,i))return s}else n=s}return n}function Xo(t){const e=Qe()[16][6];if(!e.projection){const n=e.projection=ie(t?t.length:1,null),r=n.slice();let s=e.child;for(;null!==s;){const e=t?Ko(s,t):0;null!==e&&(r[e]?r[e].projectionNext=s:n[e]=s,r[e]=s),s=s.next}}}function qo(t,e=0,n){const r=Qe(),s=Ze(),i=Is(s,r[6],t,1,null,n||null);null===i.projection&&(i.projection=e),nn(),function(t,e,n){Gi(e[11],0,e,n,Mi(t,n,e),ki(n.parent||e[6],e))}(s,r,i)}const Qo=[];function Zo(t,e,n,r,s){const i=t[n+1],o=null===e;let a=r?Ts(i):Ms(i),l=!1;for(;0!==a&&(!1===l||o);){const n=t[a+1];Yo(t[a],e)&&(l=!0,t[a+1]=r?Os(n):Ps(n)),a=r?Ts(n):Ms(n)}l&&(t[n+1]=r?Ps(i):Os(i))}function Yo(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&le(t,e)>=0}const Jo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ta(t){return t.substring(Jo.key,Jo.keyEnd)}function ea(t,e){const n=Jo.textEnd;return n===e?-1:(e=Jo.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,Jo.key=e,n),na(t,e,n))}function na(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function ra(t,e,n){return aa(t,e,n,!1),ra}function sa(t,e){return aa(t,e,null,!0),sa}function ia(t){!function(t,e,n,r){const s=Ze(),i=ln(2);s.firstUpdatePass&&ca(s,null,i,!0);const o=Qe();if(n!==ms&&To(o,i,n)){const r=s.data[wn()+20];if(ga(r,!0)&&!la(s,i)){let t=r.classesWithoutHost;null!==t&&(n=Ct(t,n||"")),Io(s,r,o,n,!0)}else!function(t,e,n,r,s,i,o,a){s===ms&&(s=Qo);let l=0,c=0,u=0<s.length?s[0]:null,h=0<i.length?i[0]:null;for(;null!==u||null!==h;){const o=l<s.length?s[l+1]:void 0,d=c<i.length?i[c+1]:void 0;let p=null,f=void 0;u===h?(l+=2,c+=2,o!==d&&(p=h,f=d)):null===h||null!==u&&u<h?(l+=2,p=u):(c+=2,p=h,f=d),null!==p&&da(t,e,n,r,p,f,!0,a),u=l<s.length?s[l]:null,h=c<i.length?i[c]:null}}(s,r,o,o[11],o[i+1],o[i+1]=function(t,e,n){if(null==n||""===n)return Qo;const r=[],s=yr(n);if(Array.isArray(s))for(let i=0;i<s.length;i++)t(r,s[i],!0);else if("object"==typeof s)for(const i in s)s.hasOwnProperty(i)&&t(r,i,s[i]);else"string"==typeof s&&e(r,s);return r}(t,e,n),0,i)}}(oe,oa,t)}function oa(t,e){for(let n=function(t){return function(t){Jo.key=0,Jo.keyEnd=0,Jo.value=0,Jo.valueEnd=0,Jo.textEnd=t.length}(t),ea(t,na(t,0,Jo.textEnd))}(e);n>=0;n=ea(e,n))oe(t,ta(e),!0)}function aa(t,e,n,r){const s=Qe(),i=Ze(),o=ln(2);if(i.firstUpdatePass&&ca(i,t,o,r),e!==ms&&To(s,o,e)){let a;null==n&&(a=function(){const t=Xe.lFrame;return null===t?null:t.currentSanitizer}())&&(n=a),da(i,i.data[wn()+20],s,s[11],t,s[o+1]=function(t,e){return null==t||("function"==typeof e?t=e(t):"string"==typeof e?t+=e:"object"==typeof t&&(t=wt(yr(t)))),t}(e,n),r,o)}}function la(t,e){return e>=t.expandoStartIndex}function ca(t,e,n,r){const s=t.data;if(null===s[n+1]){const i=s[wn()+20],o=la(t,n);ga(i,r)&&null===e&&!o&&(e=!1),e=function(t,e,n,r){const s=hn(t);let i=r?e.residualClasses:e.residualStyles;if(null===s)0===(r?e.classBindings:e.styleBindings)&&(n=ha(n=ua(null,t,e,n,r),e.attrs,r),i=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(n=ua(s,t,e,n,r),null===i){let n=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==Ms(r))return t[Ts(r)]}(t,e,r);void 0!==n&&Array.isArray(n)&&(n=ua(null,t,e,n[1],r),n=ha(n,e.attrs,r),function(t,e,n,r){t[Ts(n?e.classBindings:e.styleBindings)]=r}(t,e,r,n))}else i=function(t,e,n){let r=void 0;const s=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<s;i++)r=ha(r,t[i].hostAttrs,n);return ha(r,e.attrs,n)}(t,e,r)}return void 0!==i&&(r?e.residualClasses=i:e.residualStyles=i),n}(s,i,e,r),function(t,e,n,r,s,i){let o=i?e.classBindings:e.styleBindings,a=Ts(o),l=Ms(o);t[r]=n;let c,u=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||le(t,c)>0)&&(u=!0)}else c=n;if(s)if(0!==l){const e=Ts(t[a+1]);t[r+1]=Ss(e,a),0!==e&&(t[e+1]=Es(t[e+1],r)),t[a+1]=131071&t[a+1]|r<<17}else t[r+1]=Ss(a,0),0!==a&&(t[a+1]=Es(t[a+1],r)),a=r;else t[r+1]=Ss(l,0),0===a?a=r:t[l+1]=Es(t[l+1],r),l=r;u&&(t[r+1]=Ps(t[r+1])),Zo(t,c,r,!0),Zo(t,c,r,!1),function(t,e,n,r,s){const i=s?t.residualClasses:t.residualStyles;null!=i&&"string"==typeof e&&le(i,e)>=0&&(n[r+1]=Os(n[r+1]))}(e,c,t,r,i),o=Ss(a,l),i?e.classBindings=o:e.styleBindings=o}(s,i,e,n,o,r)}}function ua(t,e,n,r,s){let i=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(i=e[a],r=ha(r,i.hostAttrs,s),i!==t);)a++;return null!==t&&(n.directiveStylingLast=a),r}function ha(t,e,n){const r=n?1:2;let s=-1;if(null!==e)for(let i=0;i<e.length;i++){const o=e[i];"number"==typeof o?s=o:s===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),oe(t,o,!!n||e[++i]))}return void 0===t?null:t}function da(t,e,n,r,s,i,o,a){if(3!==e.type)return;const l=t.data,c=l[a+1];fa(1==(1&c)?pa(l,e,n,s,Ms(c),o):void 0)||(fa(i)||function(t){return 2==(2&t)}(c)&&(i=pa(l,null,n,s,a,o)),function(t,e,n,r,s){const i=De(t);if(e)s?i?t.addClass(n,r):n.classList.add(r):i?t.removeClass(n,r):n.classList.remove(r);else{const e=-1==r.indexOf("-")?void 0:2;null==s?i?t.removeStyle(n,r,e):n.style.removeProperty(r):i?t.setStyle(n,r,s,e):n.style.setProperty(r,s)}}(r,o,He(wn(),n),s,i))}function pa(t,e,n,r,s,i){const o=null===e;let a=void 0;for(;s>0;){const e=t[s],i=Array.isArray(e),l=i?e[1]:e,c=null===l;let u=n[s+1];u===ms&&(u=c?Qo:void 0);let h=c?ae(u,r):l===r?u:void 0;if(i&&!fa(h)&&(h=ae(e,r)),fa(h)&&(a=h,o))return a;const d=t[s+1];s=o?Ts(d):Ms(d)}if(null!==e){let t=i?e.residualClasses:e.residualStyles;null!=t&&(a=ae(t,r))}return a}function fa(t){return void 0!==t}function ga(t,e){return 0!=(t.flags&(e?16:32))}function ma(t,e=""){const n=Qe(),r=Ze(),s=t+20,i=r.firstCreatePass?Is(r,n[6],t,3,null,null):r.data[s],o=n[s]=function(t,e){return De(e)?e.createText(t):e.createTextNode(t)}(e,n[11]);Ii(r,n,o,i),tn(i,!1)}function _a(t){return ya("",t,""),_a}function ya(t,e,n){const r=Qe(),s=function(t,e,n,r){return To(t,an(),n)?e+Bn(n)+r:ms}(r,t,e,n);return s!==ms&&function(t,e,n){const r=He(e,t),s=t[11];De(s)?s.setValue(r,n):r.textContent=n}(r,wn(),s),ya}function ba(t,e,n){const r=Qe();return To(r,an(),e)&&zs(Ze(),Sn(),r,t,e,r[11],n,!0),ba}function va(t,e,n){const r=Qe();if(To(r,an(),e)){const s=Ze(),i=Sn();zs(s,i,r,t,e,fi(hn(s.data),i,r),n,!0)}return va}function wa(t,e){const n=je(t)[1],r=n.data.length-1;Tn(n,{directiveStart:r,directiveEnd:r+1})}function Ca(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const r=[t];for(;e;){let s=void 0;if(Ae(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(n){r.push(s);const e=t;e.inputs=Sa(t.inputs),e.declaredInputs=Sa(t.declaredInputs),e.outputs=Sa(t.outputs);const n=s.hostBindings;n&&Ma(t,n);const i=s.viewQuery,o=s.contentQueries;if(i&&Ta(t,i),o&&Pa(t,o),ct(t.inputs,s.inputs),ct(t.declaredInputs,s.declaredInputs),ct(t.outputs,s.outputs),Ae(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}e.afterContentChecked=e.afterContentChecked||s.afterContentChecked,e.afterContentInit=t.afterContentInit||s.afterContentInit,e.afterViewChecked=t.afterViewChecked||s.afterViewChecked,e.afterViewInit=t.afterViewInit||s.afterViewInit,e.doCheck=t.doCheck||s.doCheck,e.onDestroy=t.onDestroy||s.onDestroy,e.onInit=t.onInit||s.onInit}const e=s.features;if(e)for(let r=0;r<e.length;r++){const s=e[r];s&&s.ngInherit&&s(t),s===Ca&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){const s=t[r];s.hostVars=e+=s.hostVars,s.hostAttrs=Dn(s.hostAttrs,n=Dn(n,s.hostAttrs))}}(r)}function Sa(t){return t===he?{}:t===de?[]:t}function Ta(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function Pa(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,s)=>{e(t,r,s),n(t,r,s)}:e}function Ma(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}class Ea{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function Oa(t){t.type.prototype.ngOnChanges&&(t.setInput=xa,t.onChanges=function(){const t=Aa(this),e=t&&t.current;if(e){const n=t.previous;if(n===he)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}})}function xa(t,e,n,r){const s=Aa(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:he,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];i[a]=new Ea(l&&l.currentValue,e,o===he),t[r]=e}function Aa(t){return t.__ngSimpleChanges__||null}function ka(t,e,n,r,s){if(t=Pt(t),Array.isArray(t))for(let i=0;i<t.length;i++)ka(t[i],e,n,r,s);else{const i=Ze(),o=Qe();let a=lo(t)?t:Pt(t.provide),l=io(t);const c=Je(),u=65535&c.providerIndexes,h=c.directiveStart,d=c.providerIndexes>>16;if(lo(t)||!t.multi){const r=new An(l,s,Oo),p=Da(a,e,s?u:u+d,h);-1===p?(Yn(Xn(c,o),i,a),Ia(i,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=65536),n.push(r),o.push(r)):(n[p]=r,o[p]=r)}else{const p=Da(a,e,u+d,h),f=Da(a,e,u,u+d),g=p>=0&&n[p],m=f>=0&&n[f];if(s&&!m||!s&&!g){Yn(Xn(c,o),i,a);const u=function(t,e,n,r,s){const i=new An(t,n,Oo);return i.multi=[],i.index=e,i.componentProviders=0,Na(i,s,r&&!n),i}(s?Ga:Ra,n.length,s,r,l);!s&&m&&(n[f].providerFactory=u),Ia(i,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=65536),n.push(u),o.push(u)}else Ia(i,t,p>-1?p:f,Na(n[s?f:p],l,!s&&r));!s&&r&&m&&n[f].componentProviders++}}}function Ia(t,e,n,r){const s=lo(e);if(s||e.useClass){const i=(e.useClass||e).prototype.ngOnDestroy;if(i){const o=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[r,i]):o[t+1].push(r,i)}else o.push(n,i)}}}function Na(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Da(t,e,n,r){for(let s=n;s<r;s++)if(e[s]===t)return s;return-1}function Ra(t,e,n,r){return Ha(this.multi,[])}function Ga(t,e,n,r){const s=this.multi;let i;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=rr(n,n[1],this.providerFactory.index,r);i=e.slice(0,t),Ha(s,i);for(let n=t;n<e.length;n++)i.push(e[n])}else i=[],Ha(s,i);return i}function Ha(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function La(t,e=[]){return n=>{n.providersResolver=(n,r)=>function(t,e,n){const r=Ze();if(r.firstCreatePass){const s=Ae(t);ka(n,r.data,r.blueprint,s,!0),ka(e,r.data,r.blueprint,s,!1)}}(n,r?r(t):t,e)}}Oa.ngInherit=!0;class Va{}class Ba{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${wt(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let Fa=(()=>{class t{}return t.NULL=new Ba,t})(),ja=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>Ua(t),t})();const Ua=function(t){return zi(t,Je(),Qe())};class za{}const Wa=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();let $a=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ka(),t})();const Ka=function(){const t=Qe(),e=Fe(Je().index,t);return function(t){const e=t[11];if(De(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Pe(e)?e:t)};let Xa=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>null}),t})();class qa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Qa=new qa("9.1.11");class Za{constructor(){}supports(t){return wo(t)}create(t){return new Ja(t)}}const Ya=(t,e)=>e;class Ja{constructor(t){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=t||Ya}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,s=null;for(;e||n;){const i=!n||e&&e.currentIndex<rl(n,r,s)?e:n,o=rl(i,r,s),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{s||(s=[]);const t=o-r,e=a-r;if(t!=e){for(let n=0;n<t;n++){const r=n<s.length?s[n]:s[n]=0,i=r+n;e<=i&&i<t&&(s[n]=r+1)}s[i.previousIndex]=e-t}}o!==a&&t(i,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!wo(t))throw new Error(`Error trying to diff '${wt(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,r,s=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],r=this._trackByFn(e,n),null!==s&&bo(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,n,r,e)),bo(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,e),i=!0),s=s._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[yo()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(t,t=>{r=this._trackByFn(e,t),null!==s&&bo(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,t,r,e)),bo(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,r,e),i=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(bo(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(bo(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,r)):t=this._addAfter(new tl(e,n),s,r),t}_verifyReinsertion(t,e,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new nl),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new nl),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class tl{constructor(t,e){this.item=t,this.trackById=e,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 el{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&bo(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class nl{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new el,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function rl(t,e,n){const r=t.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+e+s}class sl{constructor(){}supports(t){return t instanceof Map||Co(t)}create(){return new il}}class il{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(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||Co(t)))throw new Error(`Error trying to diff '${wt(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new ol(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){bo(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class ol{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let al=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new ot,new st]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>new t([new Za])}),t})(),ll=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new ot,new st]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>new t([new sl])}),t})();const cl=[new sl],ul=new al([new Za]),hl=new ll(cl);let dl=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>pl(t,ja),t})();const pl=function(t,e){return Wi(t,e,Je(),Qe())};let fl=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>gl(t,ja),t})();const gl=function(t,e){return $i(t,e,Je(),Qe())},ml={};class _l extends Fa{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Ce(t);return new vl(e,this.ngModule)}}function yl(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const bl=new Vt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>jn});class vl extends Va{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(gs).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return yl(this.componentDef.inputs)}get outputs(){return yl(this.componentDef.outputs)}create(t,e,n,r){const s=(r=r||this.ngModule)?function(t,e){return{get:(n,r,s)=>{const i=t.get(n,ml,s);return i!==ml||r===ml?i:e.get(n,r,s)}}}(t,r.injector):t,i=s.get(za,Re),o=s.get(Xa,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(De(t))return t.selectRootElement(e,n===ue.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):As(l,i.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),d={components:[],scheduler:jn,clean:hi,playerHandler:null,flags:0},p=Fs(0,-1,null,1,0,null,null,null,null,null),f=ks(null,p,d,u,null,null,i,a,o,s);let g,m;gn(f,null);try{const t=function(t,e,n,r,s,i){const o=n[1];n[20]=t;const a=Is(o,null,0,3,null,null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(mo(a,l,!0),null!==t&&(kn(s,t,l),null!==a.classes&&Li(s,t,a.classes),null!==a.styles&&Hi(s,t,a.styles)));const c=r.createRenderer(t,e),u=ks(n,Bs(e),null,e.onPush?64:16,n[20],a,r,c,void 0);return o.firstCreatePass&&(Yn(Xn(a,n),o,e.type),Qs(o,a),Ys(a,n.length,1)),oi(n,u),n[20]=u}(c,this.componentDef,f,i,a);if(c)if(n)kn(a,c,["ng-version",Qa.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,s=2;for(;r<t.length;){let i=t[r];if("string"==typeof i)2===s?""!==i&&e.push(i,t[++r]):8===s&&n.push(i);else{if(!us(s))break;s=i}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&kn(a,c,t),e&&e.length>0&&Li(a,c,e.join(" "))}if(m=Ve(p,0),void 0!==e){const t=m.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=e[n];t.push(null!=r?Array.from(r):null)}}g=function(t,e,n,r,s){const i=n[1],o=function(t,e,n){const r=Je();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),qs(t,r,1),Js(t,e,n));const s=rr(e,t,e.length-1,r);ns(s,e);const i=Le(r,e);return i&&ns(i,e),s}(i,n,e);r.components.push(o),t[8]=o,s&&s.forEach(t=>t(o,e)),e.contentQueries&&e.contentQueries(1,o,n.length-1);const a=Je();if(i.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){Cn(a.index-20);const t=n[1];$s(t,e),Ks(t,n,e.hostVars),Xs(e,o)}return o}(t,this.componentDef,f,d,[wa]),Ns(p,f,null)}finally{vn()}const _=new wl(this.componentType,g,zi(ja,m,f),f,m);return n&&!h||(p.node.child=m),_}}class wl extends class{}{constructor(t,e,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new Bi(r),function(t,e,n,r){let s=t.node;null==s&&(t.node=s=js(0,null,2,-1,null,null)),r[6]=s}(r[1],0,0,r),this.componentType=t}get injector(){return new or(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const Cl=void 0;var Sl=["en",[["a","p"],["AM","PM"],Cl],[["AM","PM"],Cl,Cl],[["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"]],Cl,[["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"]],Cl,[["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}",Cl,"{1} 'at' {0}",Cl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Tl={};function Pl(t){return t in Tl||(Tl[t]=kt.ng&&kt.ng.common&&kt.ng.common.locales&&kt.ng.common.locales[t]),Tl[t]}const Ml=function(){var t={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};return t[t.LocaleId]="LocaleId",t[t.DayPeriodsFormat]="DayPeriodsFormat",t[t.DayPeriodsStandalone]="DayPeriodsStandalone",t[t.DaysFormat]="DaysFormat",t[t.DaysStandalone]="DaysStandalone",t[t.MonthsFormat]="MonthsFormat",t[t.MonthsStandalone]="MonthsStandalone",t[t.Eras]="Eras",t[t.FirstDayOfWeek]="FirstDayOfWeek",t[t.WeekendRange]="WeekendRange",t[t.DateFormat]="DateFormat",t[t.TimeFormat]="TimeFormat",t[t.DateTimeFormat]="DateTimeFormat",t[t.NumberSymbols]="NumberSymbols",t[t.NumberFormats]="NumberFormats",t[t.CurrencyCode]="CurrencyCode",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.Directionality]="Directionality",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}();let El="en-US";function Ol(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(El=t.toLowerCase().replace(/_/g,"-"))}const xl=new Map;class Al extends te{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new _l(this);const n=Te(t),r=t[Gt]||null;r&&Ol(r),this._bootstrapComponents=zn(n.bootstrap),this._r3Injector=no(t,e,[{provide:te,useValue:this},{provide:Fa,useValue:this.componentFactoryResolver}],wt(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=uo.THROW_IF_NOT_FOUND,n=at.Default){return t===uo||t===te||t===Bt?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class kl extends ee{constructor(t){super(),this.moduleType=t,null!==Te(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${wt(e)} vs ${wt(e.name)}`)})(t,xl.get(t),e),xl.set(t,e)}let n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new Al(this.moduleType,t)}}function Il(t,e,n,r,s,i){return function(t,e,n,r,s,i,o,a){const l=e+n;return function(t,e,n,r,s){const i=function(t,e,n,r){const s=To(t,e,n);return To(t,e+1,r)||s}(t,e,n,r);return To(t,e+2,s)||i}(t,l,s,i,o)?So(t,l+3,a?r.call(a,s,i,o):r(s,i,o)):Nl(t,l+3)}(Qe(),on(),t,e,n,r,s,i)}function Nl(t,e){const n=t[e];return n===ms?void 0:n}function Dl(t,e,n,r,s,i){const o=e+n;return To(t,o,s)?So(t,o+1,i?r.call(i,s):r(s)):Nl(t,o+1)}function Rl(t,e){const n=Ze();let r;const s=t+20;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}throw new Error(`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,r.onDestroy)):r=n.data[s];const i=r.factory||(r.factory=Se(r.type)),o=Kt(Oo),a=$n(!1),l=i();return $n(a),Kt(o),function(t,e,n,r){const s=n+20;s>=t.data.length&&(t.data[s]=null,t.blueprint[s]=null),e[s]=r}(n,Qe(),t,l),l}function Gl(t,e,n){const r=Qe(),s=Be(r,t);return function(t,e){return vo.isWrapped(e)&&(e=vo.unwrap(e),t[Xe.lFrame.bindingIndex]=ms),e}(r,function(t,e){return t[1].data[e+20].pure}(r,t)?Dl(r,on(),e,s.transform,n,s):s.transform(n))}class Hl extends P{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,s=t=>null,i=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(i=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(i=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(r,s,i);return t instanceof h&&t.add(o),o}}function Ll(){return this._results[yo()]()}class Vl{constructor(){this.dirty=!0,this._results=[],this.changes=new Hl,this.length=0;const t=yo(),e=Vl.prototype;e[t]||(e[t]=Ll)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let r=0;r<e.length;r++){let s=e[r];Array.isArray(s)?(n===e&&(n=e.slice(0,r)),t(s,n)):n!==e&&n.push(s)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Bl{constructor(t){this.queryList=t,this.matches=null}clone(){return new Bl(this.queryList)}setDirty(){this.queryList.setDirty()}}class Fl{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);r.push(this.queries[n.indexInDeclarationView].clone())}return new Fl(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==nc(t,e).matches&&this.queries[e].setDirty()}}class jl{constructor(t,e,n,r=null){this.predicate=t,this.descendants=e,this.isStatic=n,this.read=r}}class Ul{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,s=this.getByIndex(n).embeddedTView(t,r);s&&(s.indexInDeclarationView=n,null!==e?e.push(s):e=[s])}return null!==e?new Ul(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class zl{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new zl(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&4===n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){if(Array.isArray(this.metadata.predicate)){const n=this.metadata.predicate;for(let r=0;r<n.length;r++)this.matchTNodeWithReadOption(t,e,Wl(e,n[r]))}else{const n=this.metadata.predicate;n===dl?0===e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,nr(e,t,n,!1,!1))}}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===ja||r===fl||r===dl&&0===e.type)this.addMatch(e.index,-2);else{const n=nr(e,t,r,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function Wl(t,e){const n=t.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function $l(t,e,n,r){return-1===n?function(t,e){return 3===t.type||4===t.type?zi(ja,t,e):0===t.type?Wi(dl,ja,t,e):null}(e,t):-2===n?function(t,e,n){return n===ja?zi(ja,e,t):n===dl?Wi(dl,ja,e,t):n===fl?$i(fl,ja,e,t):void 0}(t,e,r):rr(t,t[1],n,e)}function Kl(t,e,n,r){const s=e[19].queries[r];if(null===s.matches){const r=t.data,i=n.matches,o=[];for(let t=0;t<i.length;t+=2){const s=i[t];o.push(s<0?null:$l(e,r[s],i[t+1],n.metadata.read))}s.matches=o}return s.matches}function Xl(t){const e=Qe(),n=Ze(),r=dn();pn(r+1);const s=nc(n,r);if(t.dirty&&Ue(e)===s.metadata.isStatic){if(null===s.matches)t.reset([]);else{const i=s.crossesNgTemplate?function t(e,n,r,s){const i=e.queries.getByIndex(r),o=i.matches;if(null!==o){const a=Kl(e,n,i,r);for(let e=0;e<o.length;e+=2){const r=o[e];if(r>0)s.push(a[e/2]);else{const i=o[e+1],a=n[-r];for(let e=10;e<a.length;e++){const n=a[e];n[17]===n[3]&&t(n[1],n,i,s)}if(null!==a[9]){const e=a[9];for(let n=0;n<e.length;n++){const r=e[n];t(r[1],r,i,s)}}}}}return s}(n,e,r,[]):Kl(n,e,s,r);t.reset(i),t.notifyOnChanges()}return!0}return!1}function ql(t,e,n){Zl(Ze(),Qe(),t,e,n,!0)}function Ql(t,e,n){Zl(Ze(),Qe(),t,e,n,!1)}function Zl(t,e,n,r,s,i){t.firstCreatePass&&(ec(t,new jl(n,r,i,s),-1),i&&(t.staticViewQueries=!0)),tc(t,e)}function Yl(t,e,n,r){!function(t,e,n,r,s,i,o,a){t.firstCreatePass&&(ec(t,new jl(n,r,!1,s),o.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(t.contentQueries.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(t,a)),tc(t,e)}(Ze(),Qe(),e,n,r,0,Je(),t)}function Jl(){return t=Qe(),e=dn(),t[19].queries[e].queryList;var t,e}function tc(t,e){const n=new Vl;!function(t,e,n,r){const s=di(e);s.push(n),t.firstCreatePass&&pi(t).push(r,s.length-1)}(t,e,n,n.destroy),null===e[19]&&(e[19]=new Fl),e[19].queries.push(new Bl(n))}function ec(t,e,n){null===t.queries&&(t.queries=new Ul),t.queries.track(new zl(e,n))}function nc(t,e){return t.queries.getByIndex(e)}function rc(t,e){return Wi(dl,ja,t,e)}const sc=new Vt("Application Initializer");let ic=(()=>{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();Vo(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(qt(sc,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const oc=new Vt("AppId"),ac={provide:oc,useFactory:function(){return`${lc()}${lc()}${lc()}`},deps:[]};function lc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const cc=new Vt("Platform Initializer"),uc=new Vt("Platform ID"),hc=new Vt("appBootstrapListener");let dc=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const pc=new Vt("LocaleId"),fc=new Vt("DefaultCurrencyCode");class gc{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const mc=function(t){return new kl(t)},_c=mc,yc=function(t){return Promise.resolve(mc(t))},bc=function(t){const e=mc(t),n=zn(Te(t).declarations).reduce((t,e)=>{const n=Ce(e);return n&&t.push(new vl(n)),t},[]);return new gc(e,n)},vc=bc,wc=function(t){return Promise.resolve(bc(t))};let Cc=(()=>{class t{constructor(){this.compileModuleSync=_c,this.compileModuleAsync=yc,this.compileModuleAndAllComponentsSync=vc,this.compileModuleAndAllComponentsAsync=wc}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const Sc=new Vt("compilerOptions"),Tc=(()=>Promise.resolve(0))();function Pc(t){"undefined"==typeof Zone?Tc.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Mc{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Hl(!1),this.onMicrotaskEmpty=new Hl(!1),this.onStable=new Hl(!1),this.onError=new Hl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=kt.requestAnimationFrame,e=kt.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(kt,()=>{t.lastRequestAnimationFrameId=-1,Ac(t),xc(t)}),Ac(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,s,i,o,a)=>{try{return kc(t),n.invokeTask(s,i,o,a)}finally{e&&"eventTask"===i.type&&e(),Ic(t)}},onInvoke:(e,n,r,s,i,o,a)=>{try{return kc(t),e.invoke(r,s,i,o,a)}finally{Ic(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Ac(t),xc(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Mc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Mc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+r,t,Oc,Ec,Ec);try{return s.runTask(i,e,n)}finally{s.cancelTask(i)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function Ec(){}const Oc={};function xc(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Ac(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function kc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ic(t){t._nesting--,xc(t)}class Nc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Hl,this.onMicrotaskEmpty=new Hl,this.onStable=new Hl,this.onError=new Hl}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let Dc=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Mc.assertNotInAngularZone(),Pc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Pc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(qt(Mc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Rc=(()=>{class t{constructor(){this._applications=new Map,Lc.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}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,e=!0){return Lc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class Gc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let Hc,Lc=new Gc,Vc=function(t,e,n){const r=t.get(Sc,[]).concat(e),s=new kl(n);if(0===po.size)return Promise.resolve(s);const i=function(t){const e=[];return t.forEach(t=>t&&e.push(...t)),e}(r.map(t=>t.providers));if(0===i.length)return Promise.resolve(s);const o=function(){const t=kt.ng;if(!t||!t.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n  - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return t.\u0275compilerFacade}(),a=uo.create({providers:i}).get(o.ResourceLoader);return function(t){const e=[],n=new Map;function r(t){let e=n.get(t);if(!e){const r=(t=>Promise.resolve(a.get(t)))(t);n.set(t,e=r.then(go))}return e}return po.forEach((t,n)=>{const s=[];t.templateUrl&&s.push(r(t.templateUrl).then(e=>{t.template=e}));const i=t.styleUrls,o=t.styles||(t.styles=[]),a=t.styles.length;i&&i.forEach((e,n)=>{o.push(""),s.push(r(e).then(r=>{o[a+n]=r,i.splice(i.indexOf(e),1),0==i.length&&(t.styleUrls=void 0)}))});const l=Promise.all(s).then(()=>function(t){fo.delete(t)}(n));e.push(l)}),po=new Map,Promise.all(e).then(()=>{})}().then(()=>s)};const Bc=new Vt("AllowMultipleToken");class Fc{constructor(t,e){this.name=t,this.token=e}}function jc(t,e,n=[]){const r="Platform: "+e,s=new Vt(r);return(e=[])=>{let i=Uc();if(!i||i.injector.get(Bc,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:Qi,useValue:"platform"});!function(t){if(Hc&&!Hc.destroyed&&!Hc.injector.get(Bc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Hc=t.get(zc);const e=t.get(cc,null);e&&e.forEach(t=>t())}(uo.create({providers:t,name:r}))}return function(t){const e=Uc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function Uc(){return Hc&&!Hc.destroyed?Hc:null}let zc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new Nc:("zone.js"===t?void 0:t)||new Mc({enableLongStackTrace:Sr(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:Mc,useValue:n}];return n.run(()=>{const e=uo.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(e),i=s.injector.get(hr,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>Kc(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{i.handleError(t)}})),function(t,e,n){try{const r=n();return Vo(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(i,n,()=>{const t=s.injector.get(ic);return t.runInitializers(),t.donePromise.then(()=>(Ol(s.injector.get(pc,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=Wc({},e);return Vc(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get($c);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${wt(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(qt(uo))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Wc(t,e){return Array.isArray(e)?e.reduce(Wc,t):Object.assign(Object.assign({},t),e)}let $c=(()=>{class t{constructor(t,e,n,r,s,i){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Sr(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new v(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),a=new v(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Mc.assertNotInAngularZone(),Pc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Mc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=K(o,a.pipe(t=>{return X()((e=tt,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,Y);return r.source=t,r.subjectFactory=n,r})(t));var e}))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof Va?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(te),s=n.create(uo.NULL,[],e||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const i=s.injector.get(Dc,null);return i&&s.injector.get(Rc).registerApplication(s.location.nativeElement,i),this._loadComponent(s),Sr()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Kc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(hc,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Kc(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(qt(Mc),qt(dc),qt(uo),qt(hr),qt(Fa),qt(ic))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Kc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Xc{}class qc{}const Qc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Zc=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Qc}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n("zn8P")(e).then(t=>t[r]).then(t=>Yc(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),s="NgFactory";return void 0===r&&(r="default",s=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+s]).then(t=>Yc(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(qt(Cc),qt(qc,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Yc(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Jc=jc(null,"core",[{provide:uc,useValue:"unknown"},{provide:zc,deps:[uo]},{provide:Rc,deps:[]},{provide:dc,deps:[]}]),tu=[{provide:$c,useClass:$c,deps:[Mc,dc,uo,hr,Fa,ic]},{provide:bl,deps:[Mc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:ic,useClass:ic,deps:[[new st,sc]]},{provide:Cc,useClass:Cc,deps:[]},ac,{provide:al,useFactory:function(){return ul},deps:[]},{provide:ll,useFactory:function(){return hl},deps:[]},{provide:pc,useFactory:function(t){return Ol(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new rt(pc),new st,new ot]]},{provide:fc,useValue:"USD"}];let eu=(()=>{class t{constructor(t){}}return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)(qt($c))},providers:tu}),t})();const nu={production:!0,url:"https://salesforcevirtualadventures.com/google/",bottlesThreshold:50,stockName:"Google_bottle",showVideoCtaBars:!1,showVideoCtaOverlays:!0,disableScrubbing:!1,videos:{Zulily_Viewfinder:"https://storage.googleapis.com/salesforce-stp-assets/G7%20EXPERT%20PRODUCT%20DEMO%20SESSION_SUBTITLES_V03.mp4",Zulily_Box:"https://storage.googleapis.com/salesforce-stp-assets/G6%20DATA%20SUPERHERO%20LEADERSHIP%20SESSION_SUBTITLES_V02.mp4",Yeti_Sign_L:"https://storage.googleapis.com/salesforce-stp-assets/G1%20INTEGRATION%20PRODUCT%20DEMO_SUBTITLES.mp4",Yeti_Sign_C:"https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/salesforce.mp4",Yeti_Sign_R:"https://storage.googleapis.com/salesforce-stp-assets/G2%20GOOGLE%20ASK%20THE%20EXPERT%20SESSION_SUBTITLES_V02.mp4",PWC_Sign_Top:"https://storage.googleapis.com/salesforce-stp-assets/G4%20GOOGLE%20PRODUCT%20DEMO%20FEATURING%20PwC_SUBTITLES_V03.mp4",PWC_Sign_Bottom:"https://storage.googleapis.com/salesforce-stp-assets/G5%20DIGITAL%20UPSKILLING%20SESSION%20FEATURING%20PwC_SUBTITLES_V02.mp4"},mobileVideoData:{"zulily-expert-product-demo-session":{src:"https://storage.googleapis.com/salesforce-stp-assets/G7%20EXPERT%20PRODUCT%20DEMO%20SESSION_SUBTITLES_V03.mp4",background:"/assets/images/mobile-bg-zulily.jpg",menuPage:"/tableau-big-query/videos"},"zulily-data-superhero-session":{src:"https://storage.googleapis.com/salesforce-stp-assets/G6%20DATA%20SUPERHERO%20LEADERSHIP%20SESSION_SUBTITLES_V02.mp4",background:"/assets/images/mobile-bg-zulily.jpg",menuPage:"/tableau-big-query/videos"},"yeti-ask-the-expert-session":{src:"https://storage.googleapis.com/salesforce-stp-assets/G1%20INTEGRATION%20PRODUCT%20DEMO_SUBTITLES.mp4",background:"/assets/images/mobile-bg-yeti.jpg",menuPage:"/marketing-cloud-analytics-360/videos"},"yeti-integration-product-demo":{src:"https://storage.googleapis.com/salesforce-stp-assets/G2%20GOOGLE%20ASK%20THE%20EXPERT%20SESSION_SUBTITLES_V02.mp4",background:"/assets/images/mobile-bg-yeti.jpg",menuPage:"/marketing-cloud-analytics-360/videos"},"pwc-salesforce-g-suite-product-demo":{src:"https://storage.googleapis.com/salesforce-stp-assets/G4%20GOOGLE%20PRODUCT%20DEMO%20FEATURING%20PwC_SUBTITLES_V03.mp4",background:"/assets/images/mobile-bg-pwc.jpg",menuPage:"/sales-cloud-g-suite/videos"},"pwc-digital-upskilling-session":{src:"https://storage.googleapis.com/salesforce-stp-assets/G5%20DIGITAL%20UPSKILLING%20SESSION%20FEATURING%20PwC_SUBTITLES_V02.mp4",background:"/assets/images/mobile-bg-pwc.jpg",menuPage:"/sales-cloud-g-suite/videos"}},debug:{showFormOnLoad:!1,showVideoOnLoad:!1,autofillForm:!1}};let ru=null;function su(){return ru}const iu=new Vt("DocumentToken");let ou=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:au,token:t,providedIn:"platform"}),t})();function au(){return qt(cu)}const lu=new Vt("Location Initialized");let cu=(()=>{class t extends ou{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=su().getLocation(),this._history=su().getHistory()}getBaseHrefFromDOM(){return su().getBaseHref(this._doc)}onPopState(t){su().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){su().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}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,e,n){uu()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){uu()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(qt(iu))},t.\u0275prov=ut({factory:hu,token:t,providedIn:"platform"}),t})();function uu(){return!!window.history.pushState}function hu(){return new cu(qt(iu))}function du(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function pu(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function fu(t){return t&&"?"!==t[0]?"?"+t:t}let gu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:mu,token:t,providedIn:"root"}),t})();function mu(t){const e=qt(iu).location;return new yu(qt(ou),e&&e.origin||"")}const _u=new Vt("appBaseHref");let yu=(()=>{class t extends gu{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return du(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+fu(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const s=this.prepareExternalUrl(n+fu(r));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){const s=this.prepareExternalUrl(n+fu(r));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(qt(ou),qt(_u,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),bu=(()=>{class t extends gu{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=du(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let s=this.prepareExternalUrl(n+fu(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){let s=this.prepareExternalUrl(n+fu(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(qt(ou),qt(_u,8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),vu=(()=>{class t{constructor(t,e){this._subject=new Hl,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=pu(Cu(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+fu(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Cu(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+fu(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+fu(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)})}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(qt(gu),qt(ou))},t.normalizeQueryParams=fu,t.joinWithSlash=du,t.stripTrailingSlash=pu,t.\u0275prov=ut({factory:wu,token:t,providedIn:"root"}),t})();function wu(){return new vu(qt(gu),qt(ou))}function Cu(t){return t.replace(/\/index.html$/,"")}const Su=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}();class Tu{}let Pu=(()=>{class t extends Tu{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Pl(e);if(n)return n;const r=e.split("-")[0];if(n=Pl(r),n)return n;if("en"===r)return Sl;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[Ml.PluralCase]}(e||this.locale)(t)){case Su.Zero:return"zero";case Su.One:return"one";case Su.Two:return"two";case Su.Few:return"few";case Su.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(qt(pc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Mu(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}class Eu{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}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 Ou=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){Sr()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Eu(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new xu(t,n);e.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const i=new xu(t,s);e.push(i)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=r,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Oo(fl),Oo(dl),Oo(al))},t.\u0275dir=ve({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class xu{constructor(t,e){this.record=t,this.view=e}}let Au=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new ku,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Iu("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Iu("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,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Oo(fl),Oo(dl))},t.\u0275dir=ve({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class ku{constructor(){this.$implicit=null,this.ngIf=null}}function Iu(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${wt(e)}'.`)}let Nu=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,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,e){const[n,r]=t.split(".");null!=(e=null!=e&&r?`${e}${r}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(Oo(ja),Oo(ll),Oo($a))},t.\u0275dir=ve({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),Du=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(t){const e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}_hasContextShapeChanged(t){const e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(let t of n)if(-1===e.indexOf(t))return!0;return!1}return!0}_updateExistingContext(t){for(let e of Object.keys(t))this._viewRef.context[e]=this.ngTemplateOutletContext[e]}}return t.\u0275fac=function(e){return new(e||t)(Oo(fl))},t.\u0275dir=ve({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[Oa]}),t})();class Ru{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Gu{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Hu=new Gu,Lu=new Ru;let Vu=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):bo(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,vo.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(Vo(e))return Hu;if(Bo(e))return Lu;throw Error(`InvalidPipeArgument: '${e}' for pipe '${wt(t)}'`)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(function(t=at.Default){const e=Ki(!0);if(null!=e||t&at.Optional)return e;throw new Error("No provider for ChangeDetectorRef!")}())},t.\u0275pipe=we({name:"async",type:t,pure:!1}),t})(),Bu=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[{provide:Tu,useClass:Pu}]}),t})();function Fu(t){return"browser"===t}let ju=(()=>{class t{}return t.\u0275prov=ut({token:t,providedIn:"root",factory:()=>new Uu(qt(iu),window,qt(hr))}),t})();class Uu{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);const n=this.document.querySelector(`[name='${t}']`);if(n)return void this.scrollToElement(n)}catch(e){this.errorHandler.handleError(e)}}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}class zu extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new zu,ru||(ru=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=$u||($u=document.querySelector("base"),$u)?$u.getAttribute("href"):null;return null==e?null:(n=e,Wu||(Wu=document.createElement("a")),Wu.setAttribute("href",n),"/"===Wu.pathname.charAt(0)?Wu.pathname:"/"+Wu.pathname);var n}resetBaseElement(){$u=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Mu(document.cookie,t)}}let Wu,$u=null;const Ku=new Vt("TRANSITION_ID"),Xu=[{provide:sc,useFactory:function(t,e,n){return()=>{n.get(ic).donePromise.then(()=>{const n=su();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[Ku,iu,uo],multi:!0}];class qu{static init(){var t;t=new qu,Lc=t}addToWindow(t){kt.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},kt.getAllAngularTestabilities=()=>t.getAllTestabilities(),kt.getAllAngularRootElements=()=>t.getAllRootElements(),kt.frameworkStabilizers||(kt.frameworkStabilizers=[]),kt.frameworkStabilizers.push(t=>{const e=kt.getAllAngularTestabilities();let n=e.length,r=!1;const s=function(e){r=r||e,n--,0==n&&t(r)};e.forEach((function(t){t.whenStable(s)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?su().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const Qu=new Vt("EventManagerPlugins");let Zu=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r<n.length;r++){const e=n[r];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error("No event manager plugin found for event "+t)}}return t.\u0275fac=function(e){return new(e||t)(qt(Qu),qt(Mc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class Yu{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=su().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let Ju=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),th=(()=>{class t extends Ju{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>su().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(qt(iu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const eh={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/"},nh=/%COMP%/g;function rh(t,e,n){for(let r=0;r<e.length;r++){let s=e[r];Array.isArray(s)?rh(t,s,n):(s=s.replace(nh,t),n.push(s))}return n}function sh(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let ih=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new oh(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case ue.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new ah(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case ue.Native:case ue.ShadowDom:return new lh(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=rh(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(qt(Zu),qt(th),qt(oc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class oh{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(eh[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const s=eh[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=eh[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&Wa.DashCase?t.style.setProperty(e,n,r&Wa.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&Wa.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,sh(n)):this.eventManager.addEventListener(t,e,sh(n))}}class ah extends oh{constructor(t,e,n,r){super(t),this.component=n;const s=rh(r+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(nh,r+"-"+n.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(nh,t)}(r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class lh extends oh{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===ue.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=rh(r.id,r.styles,[]);for(let i=0;i<s.length;i++){const t=document.createElement("style");t.textContent=s[i],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let ch=(()=>{class t extends Yu{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(qt(iu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const uh=["alt","control","meta","shift"],hh={"\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"},dh={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},ph={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let fh=(()=>{class t extends Yu{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const s=t.parseEventName(n),i=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>su().onAndCancel(e,s.domEventName,i))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=t._normalizeKey(n.pop());let i="";if(uh.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=r,o.fullKey=i,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&dh.hasOwnProperty(e)&&(e=dh[e]))}return hh[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),uh.forEach(r=>{r!=n&&(0,ph[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return s=>{t.getEventFullKey(s)===e&&r.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(qt(iu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),gh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return qt(mh)},token:t,providedIn:"root"}),t})(),mh=(()=>{class t extends gh{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case $r.NONE:return e;case $r.HTML:return br(e,"HTML")?yr(e):zr(this._doc,String(e));case $r.STYLE:return br(e,"Style")?yr(e):qr(e);case $r.SCRIPT:if(br(e,"Script"))return yr(e);throw new Error("unsafe value used in a script context");case $r.URL:return vr(e),br(e,"URL")?yr(e):Er(String(e));case $r.RESOURCE_URL:if(br(e,"ResourceURL"))return yr(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return new pr(t)}bypassSecurityTrustStyle(t){return new fr(t)}bypassSecurityTrustScript(t){return new gr(t)}bypassSecurityTrustUrl(t){return new mr(t)}bypassSecurityTrustResourceUrl(t){return new _r(t)}}return t.\u0275fac=function(e){return new(e||t)(qt(iu))},t.\u0275prov=ut({factory:function(){return t=qt(Bt),new mh(t.get(iu));var t},token:t,providedIn:"root"}),t})();const _h=jc(Jc,"browser",[{provide:uc,useValue:"browser"},{provide:cc,useValue:function(){zu.makeCurrent(),qu.init()},multi:!0},{provide:iu,useFactory:function(){return function(t){Ie=t}(document),document},deps:[]}]),yh=[[],{provide:Qi,useValue:"root"},{provide:hr,useFactory:function(){return new hr},deps:[]},{provide:Qu,useClass:ch,multi:!0,deps:[iu,Mc,uc]},{provide:Qu,useClass:fh,multi:!0,deps:[iu]},[],{provide:ih,useClass:ih,deps:[Zu,th,oc]},{provide:za,useExisting:ih},{provide:Ju,useExisting:th},{provide:th,useClass:th,deps:[iu]},{provide:Dc,useClass:Dc,deps:[Mc]},{provide:Zu,useClass:Zu,deps:[Qu,Mc]},[]];let bh=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:oc,useValue:e.appId},{provide:Ku,useExisting:oc},Xu]}}}return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)(qt(t,12))},providers:yh,imports:[Bu,eu]}),t})();function vh(...t){let e=t[t.length-1];return E(e)?(t.pop(),B(t,e)):$(t)}"undefined"!=typeof window&&window;class wh extends P{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new C;return this._value}next(t){super.next(this._value=t)}}const Ch=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})(),Sh={};class Th{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new Ph(t,this.resultSelector))}}class Ph extends G{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(Sh),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++){const e=t[n];this.add(R(this,e,e,n))}}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n,r,s){const i=this.values,o=this.toRespond?i[n]===Sh?--this.toRespond:this.toRespond:0;i[n]=e,0===o&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const Mh=new v(t=>t.complete());function Eh(t){return t?function(t){return new v(e=>t.schedule(()=>e.complete()))}(t):Mh}function Oh(t){return new v(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?F(n):Eh()).subscribe(e)})}function xh(){return W(1)}function Ah(t,e){return function(n){return n.lift(new kh(t,e))}}class kh{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new Ih(t,this.predicate,this.thisArg))}}class Ih extends f{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}const Nh=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function Dh(t){return function(e){return 0===t?Eh():e.lift(new Rh(t))}}class Rh{constructor(t){if(this.total=t,this.total<0)throw new Nh}call(t,e){return e.subscribe(new Gh(t,this.total))}}class Gh extends f{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;s<n;s++){const s=e++%n;t.next(r[s])}}t.complete()}}function Hh(t=Bh){return e=>e.lift(new Lh(t))}class Lh{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new Vh(t,this.errorFactory))}}class Vh extends f{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function Bh(){return new Ch}function Fh(t=null){return e=>e.lift(new jh(t))}class jh{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Uh(t,this.defaultValue))}}class Uh extends f{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function zh(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Ah((e,n)=>t(e,n,r)):_,Dh(1),n?Fh(e):Hh(()=>new Ch))}function Wh(t){return function(e){const n=new $h(t),r=e.lift(n);return n.caught=r}}class $h{constructor(t){this.selector=t}call(t,e){return e.subscribe(new Kh(t,this.selector,this.caught))}}class Kh extends G{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new O(this,void 0,void 0);this.add(r);const s=R(this,n,void 0,void 0,r);s!==r&&this.add(s)}}}function Xh(t){return e=>0===t?Eh():e.lift(new qh(t))}class qh{constructor(t){if(this.total=t,this.total<0)throw new Nh}call(t,e){return e.subscribe(new Qh(t,this.total))}}class Qh extends f{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}function Zh(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Ah((e,n)=>t(e,n,r)):_,Xh(1),n?Fh(e):Hh(()=>new Ch))}class Yh{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new Jh(t,this.predicate,this.thisArg,this.source))}}class Jh extends f{constructor(t,e,n,r){super(t),this.predicate=e,this.thisArg=n,this.source=r,this.index=0,this.thisArg=n||this}notifyComplete(t){this.destination.next(t),this.destination.complete()}_next(t){let e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function td(t,e){return"function"==typeof e?n=>n.pipe(td((n,r)=>F(t(n,r)).pipe(H((t,s)=>e(n,t,r,s))))):e=>e.lift(new ed(t))}class ed{constructor(t){this.project=t}call(t,e){return e.subscribe(new nd(t,this.project))}}class nd extends G{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)}_innerSub(t,e,n){const r=this.innerSubscription;r&&r.unsubscribe();const s=new O(this,e,n),i=this.destination;i.add(s),this.innerSubscription=R(this,t,void 0,void 0,s),this.innerSubscription!==s&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,n,r,s){this.destination.next(e)}}function rd(...t){return xh()(vh(...t))}function sd(...t){const e=t[t.length-1];return E(e)?(t.pop(),n=>rd(t,n,e)):e=>rd(t,e)}function id(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new od(t,e,n))}}class od{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new ad(t,this.accumulator,this.seed,this.hasSeed))}}class ad extends f{constructor(t,e,n,r){super(t),this.accumulator=e,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}function ld(t,e){return j(t,e,1)}function cd(){}function ud(t,e,n){return function(r){return r.lift(new hd(t,e,n))}}class hd{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new dd(t,this.nextOrObserver,this.error,this.complete))}}class dd extends f{constructor(t,e,n,s){super(t),this._tapNext=cd,this._tapError=cd,this._tapComplete=cd,this._tapError=n||cd,this._tapComplete=s||cd,r(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||cd,this._tapError=e.error||cd,this._tapComplete=e.complete||cd)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}class pd{constructor(t){this.callback=t}call(t,e){return e.subscribe(new fd(t,this.callback))}}class fd extends f{constructor(t,e){super(t),this.add(new h(e))}}class gd{constructor(t,e){this.id=t,this.url=e}}class md extends gd{constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class _d extends gd{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class yd extends gd{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class bd extends gd{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class vd extends gd{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class wd extends gd{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Cd extends gd{constructor(t,e,n,r,s){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Sd extends gd{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Td extends gd{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pd{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Md{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ed{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Od{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xd{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ad{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kd{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Id=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&Ro(0,"router-outlet")},directives:function(){return[Hf]},encapsulation:2}),t})();class Nd{constructor(t){this.params=t||{}}has(t){return this.params.hasOwnProperty(t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Dd(t){return new Nd(t)}function Rd(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Gd(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const s={};for(let i=0;i<r.length;i++){const e=r[i],n=t[i];if(e.startsWith(":"))s[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,r.length),posParams:s}}class Hd{constructor(t,e){this.routes=t,this.module=e}}function Ld(t,e=""){for(let n=0;n<t.length;n++){const r=t[n];Vd(r,Bd(e,r))}}function Vd(t,e){if(!t)throw new Error(`\n      Invalid configuration of route '${e}': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    `);if(Array.isArray(t))throw new Error(`Invalid configuration of route '${e}': Array cannot be specified`);if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&"primary"!==t.outlet)throw new Error(`Invalid configuration of route '${e}': a componentless route without children or loadChildren cannot have a named outlet set`);if(t.redirectTo&&t.children)throw new Error(`Invalid configuration of route '${e}': redirectTo and children cannot be used together`);if(t.redirectTo&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': redirectTo and loadChildren cannot be used together`);if(t.children&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': children and loadChildren cannot be used together`);if(t.redirectTo&&t.component)throw new Error(`Invalid configuration of route '${e}': redirectTo and component cannot be used together`);if(t.path&&t.matcher)throw new Error(`Invalid configuration of route '${e}': path and matcher cannot be used together`);if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error(`Invalid configuration of route '${e}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===t.path&&void 0===t.matcher)throw new Error(`Invalid configuration of route '${e}': routes must have either a path or a matcher specified`);if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error(`Invalid configuration of route '${e}': path cannot start with a slash`);if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error(`Invalid configuration of route '{path: "${e}", redirectTo: "${t.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error(`Invalid configuration of route '${e}': pathMatch can only be set to 'prefix' or 'full'`);t.children&&Ld(t.children,e)}function Bd(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:`${t}/${e.path}`:"":t}function Fd(t){const e=t.children&&t.children.map(Fd),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=Id),n}function jd(t,e){const n=Object.keys(t),r=Object.keys(e);if(!n||!r||n.length!=r.length)return!1;let s;for(let i=0;i<n.length;i++)if(s=n[i],!Ud(t[s],e[s]))return!1;return!0}function Ud(t,e){return Array.isArray(t)&&Array.isArray(e)?t.length==e.length&&t.every(t=>e.indexOf(t)>-1):t===e}function zd(t){return Array.prototype.concat.apply([],t)}function Wd(t){return t.length>0?t[t.length-1]:null}function $d(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Kd(t){return Bo(t)?t:Vo(t)?F(Promise.resolve(t)):vh(t)}function Xd(t,e,n){return n?function(t,e){return jd(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Yd(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>Ud(t[n],e[n]))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,s){if(n.segments.length>s.length)return!!Yd(n.segments.slice(0,s.length),s)&&!r.hasChildren();if(n.segments.length===s.length){if(!Yd(n.segments,s))return!1;for(const e in r.children){if(!n.children[e])return!1;if(!t(n.children[e],r.children[e]))return!1}return!0}{const t=s.slice(0,n.segments.length),i=s.slice(n.segments.length);return!!Yd(n.segments,t)&&!!n.children.primary&&e(n.children.primary,r,i)}}(e,n,n.segments)}(t.root,e.root)}class qd{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Dd(this.queryParams)),this._queryParamMap}toString(){return np.serialize(this)}}class Qd{constructor(t,e){this.segments=t,this.children=e,this.parent=null,$d(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return rp(this)}}class Zd{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Dd(this.parameters)),this._parameterMap}toString(){return cp(this)}}function Yd(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function Jd(t,e){let n=[];return $d(t.children,(t,r)=>{"primary"===r&&(n=n.concat(e(t,r)))}),$d(t.children,(t,r)=>{"primary"!==r&&(n=n.concat(e(t,r)))}),n}class tp{}class ep{parse(t){const e=new fp(t);return new qd(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+function t(e,n){if(!e.hasChildren())return rp(e);if(n){const n=e.children.primary?t(e.children.primary,!1):"",r=[];return $d(e.children,(e,n)=>{"primary"!==n&&r.push(`${n}:${t(e,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=Jd(e,(n,r)=>"primary"===r?[t(e.children.primary,!1)]:[`${r}:${t(n,!1)}`]);return`${rp(e)}/(${n.join("//")})`}}(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${ip(e)}=${ip(t)}`).join("&"):`${ip(e)}=${ip(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const np=new ep;function rp(t){return t.segments.map(t=>cp(t)).join("/")}function sp(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ip(t){return sp(t).replace(/%3B/gi,";")}function op(t){return sp(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ap(t){return decodeURIComponent(t)}function lp(t){return ap(t.replace(/\+/g,"%20"))}function cp(t){return`${op(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${op(t)}=${op(e[t])}`).join("")}`;var e}const up=/^[^\/()?;=#]+/;function hp(t){const e=t.match(up);return e?e[0]:""}const dp=/^[^=?&#]+/,pp=/^[^?&#]+/;class fp{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Qd([],{}):new Qd([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new Qd(t,e)),n}parseSegment(){const t=hp(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Zd(ap(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=hp(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=hp(this.remaining);t&&(n=t,this.capture(n))}t[ap(e)]=ap(n)}parseQueryParam(t){const e=function(t){const e=t.match(dp);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(pp);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=lp(e),s=lp(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(s)}else t[r]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=hp(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s=void 0;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s="primary");const i=this.parseChildren();e[s]=1===Object.keys(i).length?i.primary:new Qd([],i),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class gp{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=mp(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=mp(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=_p(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return _p(t,this._root).map(t=>t.value)}}function mp(t,e){if(t===e.value)return e;for(const n of e.children){const e=mp(t,n);if(e)return e}return null}function _p(t,e){if(t===e.value)return[e];for(const n of e.children){const r=_p(t,n);if(r.length)return r.unshift(e),r}return[]}class yp{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function bp(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class vp extends gp{constructor(t,e){super(t),this.snapshot=e,Mp(this,t)}toString(){return this.snapshot.toString()}}function wp(t,e){const n=function(t,e){const n=new Tp([],{},{},"",{},"primary",e,null,t.root,-1,{});return new Pp("",new yp(n,[]))}(t,e),r=new wh([new Zd("",{})]),s=new wh({}),i=new wh({}),o=new wh({}),a=new wh(""),l=new Cp(r,s,o,a,i,"primary",e,n.root);return l.snapshot=n.root,new vp(new yp(l,[]),n)}class Cp{constructor(t,e,n,r,s,i,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this._futureSnapshot=a}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._paramMap=this.params.pipe(H(t=>Dd(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(H(t=>Dd(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Sp(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Tp{constructor(t,e,n,r,s,i,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Dd(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Dd(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Pp extends gp{constructor(t,e){super(e),this.url=t,Mp(this,e)}toString(){return Ep(this._root)}}function Mp(t,e){e.value._routerState=t,e.children.forEach(e=>Mp(t,e))}function Ep(t){const e=t.children.length>0?` { ${t.children.map(Ep).join(", ")} } `:"";return`${t.value}${e}`}function Op(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,jd(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),jd(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!jd(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),jd(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function xp(t,e){var n,r;return jd(t.params,e.params)&&Yd(n=t.url,r=e.url)&&n.every((t,e)=>jd(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||xp(t.parent,e.parent))}function Ap(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function kp(t,e,n,r,s){let i={};return r&&$d(r,(t,e)=>{i[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new qd(n.root===t?e:function t(e,n,r){const s={};return $d(e.children,(e,i)=>{s[i]=e===n?r:t(e,n,r)}),new Qd(e.segments,s)}(n.root,t,e),i,s)}class Ip{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Ap(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(r&&r!==Wd(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Np{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Dp(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function Rp(t,e,n){if(t||(t=new Qd([],{})),0===t.segments.length&&t.hasChildren())return Gp(t,e,n);const r=function(t,e,n){let r=0,s=e;const i={match:!1,pathIndex:0,commandIndex:0};for(;s<t.segments.length;){if(r>=n.length)return i;const e=t.segments[s],o=Dp(n[r]),a=r<n.length-1?n[r+1]:null;if(s>0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!Bp(o,a,e))return i;r+=2}else{if(!Bp(o,{},e))return i;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(t,e,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const e=new Qd(t.segments.slice(0,r.pathIndex),{});return e.children.primary=new Qd(t.segments.slice(r.pathIndex),t.children),Gp(e,0,s)}return r.match&&0===s.length?new Qd(t.segments,{}):r.match&&!t.hasChildren()?Hp(t,e,n):r.match?Gp(t,0,s):Hp(t,e,n)}function Gp(t,e,n){if(0===n.length)return new Qd(t.segments,{});{const r=function(t){return"object"!=typeof t[0]||void 0===t[0].outlets?{primary:t}:t[0].outlets}(n),s={};return $d(r,(n,r)=>{null!==n&&(s[r]=Rp(t.children[r],e,n))}),$d(t.children,(t,e)=>{void 0===r[e]&&(s[e]=t)}),new Qd(t.segments,s)}}function Hp(t,e,n){const r=t.segments.slice(0,e);let s=0;for(;s<n.length;){if("object"==typeof n[s]&&void 0!==n[s].outlets){const t=Lp(n[s].outlets);return new Qd(r,t)}if(0===s&&Ap(n[0])){r.push(new Zd(t.segments[e].path,n[0])),s++;continue}const i=Dp(n[s]),o=s<n.length-1?n[s+1]:null;i&&o&&Ap(o)?(r.push(new Zd(i,Vp(o))),s+=2):(r.push(new Zd(i,{})),s++)}return new Qd(r,{})}function Lp(t){const e={};return $d(t,(t,n)=>{null!==t&&(e[n]=Hp(new Qd([],{}),0,t))}),e}function Vp(t){const e={};return $d(t,(t,n)=>e[n]=""+t),e}function Bp(t,e,n){return t==n.path&&jd(e,n.parameters)}class Fp{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Op(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=bp(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),$d(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const r=bp(t),s=t.value.component?n.children:e;$d(r,(t,e)=>this.deactivateRouteAndItsChildren(t,s)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const r=bp(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new Ad(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Od(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(Op(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),jp(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(r.snapshot),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=s,e.outlet&&e.outlet.activateWith(r,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function jp(t){Op(t.value),t.children.forEach(jp)}function Up(t){return"function"==typeof t}function zp(t){return t instanceof qd}class Wp{constructor(t){this.segmentGroup=t||null}}class $p{constructor(t){this.urlTree=t}}function Kp(t){return new v(e=>e.error(new Wp(t)))}function Xp(t){return new v(e=>e.error(new $p(t)))}function qp(t){return new v(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Qp{constructor(t,e,n,r,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(te)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(H(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Wh(t=>{if(t instanceof $p)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Wp)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(H(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(Wh(t=>{if(t instanceof Wp)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new Qd([],{primary:t}):t;return new qd(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(H(t=>new Qd([],t))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return vh({});const n=[],r=[],s={};return $d(t,(t,i)=>{const o=e(i,t).pipe(H(t=>s[i]=t));"primary"===i?n.push(o):r.push(o)}),vh.apply(null,n.concat(r)).pipe(xh(),zh(),H(()=>s))}(n.children,(n,r)=>this.expandSegmentGroup(t,e,r,n))}expandSegment(t,e,n,r,s,i){return vh(...n).pipe(H(o=>this.expandSegmentAgainstRoute(t,e,n,o,r,s,i).pipe(Wh(t=>{if(t instanceof Wp)return vh(null);throw t}))),xh(),Zh(t=>!!t),Wh((t,n)=>{if(t instanceof Ch||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,r,s))return vh(new Qd([],{}));throw new Wp(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,r,s,i,o){return tf(r)!==i?Kp(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i):Kp(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Xp(s):this.lineralizeSegments(n,s).pipe(j(n=>{const s=new Qd(n,{});return this.expandSegment(t,s,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Zp(e,r,s);if(!o)return Kp(e);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?Xp(u):this.lineralizeSegments(r,u).pipe(j(r=>this.expandSegment(t,e,n,r.concat(s.slice(l)),i,!1)))}matchSegmentAgainstRoute(t,e,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(H(t=>(n._loadedConfig=t,new Qd(r,{})))):vh(new Qd(r,{}));const{matched:s,consumedSegments:i,lastChild:o}=Zp(e,n,r);if(!s)return Kp(e);const a=r.slice(o);return this.getChildConfig(t,n,r).pipe(j(t=>{const n=t.module,r=t.routes,{segmentGroup:s,slicedSegments:o}=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some(n=>Jp(t,e,n)&&"primary"!==tf(n))}(t,n,r)?{segmentGroup:Yp(new Qd(e,function(t,e){const n={};n.primary=e;for(const r of t)""===r.path&&"primary"!==tf(r)&&(n[tf(r)]=new Qd([],{}));return n}(r,new Qd(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>Jp(t,e,n))}(t,n,r)?{segmentGroup:Yp(new Qd(t.segments,function(t,e,n,r){const s={};for(const i of n)Jp(t,e,i)&&!r[tf(i)]&&(s[tf(i)]=new Qd([],{}));return Object.assign(Object.assign({},r),s)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,i,a,r);return 0===o.length&&s.hasChildren()?this.expandChildren(n,r,s).pipe(H(t=>new Qd(i,t))):0===r.length&&0===o.length?vh(new Qd(i,{})):this.expandSegment(n,s,r,o,"primary",!0).pipe(H(t=>new Qd(i.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?vh(new Hd(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?vh(e._loadedConfig):function(t,e,n){const r=e.canLoad;return r&&0!==r.length?F(r).pipe(H(r=>{const s=t.get(r);let i;if(function(t){return t&&Up(t.canLoad)}(s))i=s.canLoad(e,n);else{if(!Up(s))throw new Error("Invalid CanLoad guard");i=s(e,n)}return Kd(i)})).pipe(xh(),(s=t=>!0===t,t=>t.lift(new Yh(s,void 0,t)))):vh(!0);var s}(t.injector,e,n).pipe(j(n=>n?this.configLoader.load(t.injector,e).pipe(H(t=>(e._loadedConfig=t,t))):function(t){return new v(e=>e.error(Rd(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):vh(new Hd([],t))}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return vh(n);if(r.numberOfChildren>1||!r.children.primary)return qp(t.redirectTo);r=r.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const s=this.createSegmentGroup(t,e.root,n,r);return new qd(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return $d(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[r]=e[s]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const s=this.createSegments(t,e.segments,n,r);let i={};return $d(e.children,(e,s)=>{i[s]=this.createSegmentGroup(t,e,n,r)}),new Qd(s,i)}createSegments(t,e,n,r){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function Zp(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const r=(e.matcher||Gd)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Yp(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Qd(t.segments.concat(e.segments),e.children)}return t}function Jp(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function tf(t){return t.outlet||"primary"}class ef{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class nf{constructor(t,e){this.component=t,this.route=e}}function rf(t,e,n){const r=t._root;return function t(e,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=bp(n);return e.children.forEach(e=>{!function(e,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,a=n?n.value:null,l=r?r.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Yd(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Yd(t.url,e.url)||!jd(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!xp(t,e)||!jd(t.queryParams,e.queryParams);case"paramsChange":default:return!xp(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new ef(s)):(o.data=a.data,o._resolvedData=a._resolvedData),t(e,n,o.component?l?l.children:null:r,s,i),c&&i.canDeactivateChecks.push(new nf(l&&l.outlet&&l.outlet.component||null,a))}else a&&of(n,l,i),i.canActivateChecks.push(new ef(s)),t(e,null,o.component?l?l.children:null:r,s,i)}(e,o[e.value.outlet],r,s.concat([e.value]),i),delete o[e.value.outlet]}),$d(o,(t,e)=>of(t,r.getContext(e),i)),i}(r,e?e._root:null,n,[r.value])}function sf(t,e,n){const r=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function of(t,e,n){const r=bp(t),s=t.value;$d(r,(t,r)=>{of(t,s.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new nf(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}const af=Symbol("INITIAL_VALUE");function lf(){return td(t=>function(...t){let e=null,n=null;return E(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),$(t,n).lift(new Th(e))}(...t.map(t=>t.pipe(Xh(1),sd(af)))).pipe(id((t,e)=>{let n=!1;return e.reduce((t,r,s)=>{if(t!==af)return t;if(r===af&&(n=!0),!n){if(!1===r)return r;if(s===e.length-1||zp(r))return r}return t},t)},af),Ah(t=>t!==af),H(t=>zp(t)?t:!0===t),Xh(1)))}function cf(t,e){return null!==t&&e&&e(new xd(t)),vh(!0)}function uf(t,e){return null!==t&&e&&e(new Ed(t)),vh(!0)}function hf(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?vh(r.map(r=>Oh(()=>{const s=sf(r,e,n);let i;if(function(t){return t&&Up(t.canActivate)}(s))i=Kd(s.canActivate(e,t));else{if(!Up(s))throw new Error("Invalid CanActivate guard");i=Kd(s(e,t))}return i.pipe(Zh())}))).pipe(lf()):vh(!0)}function df(t,e,n){const r=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Oh(()=>vh(e.guards.map(s=>{const i=sf(s,e.node,n);let o;if(function(t){return t&&Up(t.canActivateChild)}(i))o=Kd(i.canActivateChild(r,t));else{if(!Up(i))throw new Error("Invalid CanActivateChild guard");o=Kd(i(r,t))}return o.pipe(Zh())})).pipe(lf())));return vh(s).pipe(lf())}class pf{}class ff{constructor(t,e,n,r,s,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){try{const t=_f(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),n=new Tp([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new yp(n,e),s=new Pp(this.url,r);return this.inheritParamsAndData(s._root),vh(s)}catch(t){return new v(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=Sp(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=Jd(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),r=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${r}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,r){for(const i of t)try{return this.processSegmentAgainstRoute(i,e,n,r)}catch(s){if(!(s instanceof pf))throw s}if(this.noLeftoversInUrl(e,n,r))return[];throw new pf}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo)throw new pf;if((t.outlet||"primary")!==r)throw new pf;let s,i=[],o=[];if("**"===t.path){const i=n.length>0?Wd(n).parameters:{};s=new Tp(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,vf(t),r,t.component,t,gf(e),mf(e)+n.length,wf(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new pf;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(e.matcher||Gd)(n,t,e);if(!r)throw new pf;const s={};$d(r.posParams,(t,e)=>{s[e]=t.path});const i=r.consumed.length>0?Object.assign(Object.assign({},s),r.consumed[r.consumed.length-1].parameters):s;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:i}}(e,t,n);i=a.consumedSegments,o=n.slice(a.lastChild),s=new Tp(i,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,vf(t),r,t.component,t,gf(e),mf(e)+i.length,wf(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=_f(e,i,o,a,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return[new yp(s,t)]}if(0===a.length&&0===c.length)return[new yp(s,[])];const u=this.processSegment(a,l,c,"primary");return[new yp(s,u)]}}function gf(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function mf(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function _f(t,e,n,r,s){if(n.length>0&&function(t,e,n){return n.some(n=>yf(t,e,n)&&"primary"!==bf(n))}(t,n,r)){const s=new Qd(e,function(t,e,n,r){const s={};s.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const i of n)if(""===i.path&&"primary"!==bf(i)){const n=new Qd([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[bf(i)]=n}return s}(t,e,r,new Qd(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>yf(t,e,n))}(t,n,r)){const i=new Qd(t.segments,function(t,e,n,r,s,i){const o={};for(const a of r)if(yf(t,n,a)&&!s[bf(a)]){const n=new Qd([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===i?t.segments.length:e.length,o[bf(a)]=n}return Object.assign(Object.assign({},s),o)}(t,e,n,r,t.children,s));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}const i=new Qd(t.segments,t.children);return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}function yf(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function bf(t){return t.outlet||"primary"}function vf(t){return t.data||{}}function wf(t){return t.resolve||{}}function Cf(t,e,n,r){const s=sf(t,e,r);return Kd(s.resolve?s.resolve(e,n):s(e,n))}function Sf(t){return function(e){return e.pipe(td(e=>{const n=t(e);return n?F(n).pipe(H(()=>e)):F([e])}))}}class Tf{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}const Pf=new Vt("ROUTES");class Mf{constructor(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(H(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new Hd(zd(r.injector.get(Pf)).map(Fd),r)}))}loadModuleFactory(t){return"string"==typeof t?F(this.loader.load(t)):Kd(t()).pipe(j(t=>t instanceof ee?vh(t):F(this.compiler.compileModuleAsync(t))))}}class Ef{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function Of(t){throw t}function xf(t,e,n){return e.parse("/")}function Af(t,e){return vh(null)}let kf=(()=>{class t{constructor(t,e,n,r,s,i,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new P,this.errorHandler=Of,this.malformedUriErrorHandler=xf,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Af,afterPreactivation:Af},this.urlHandlingStrategy=new Ef,this.routeReuseStrategy=new Tf,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=s.get(te),this.console=s.get(dc);const l=s.get(Mc);this.isNgZoneEnabled=l instanceof Mc,this.resetConfig(a),this.currentUrlTree=new qd(new Qd([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Mf(i,o,t=>this.triggerEvent(new Pd(t)),t=>this.triggerEvent(new Md(t))),this.routerState=wp(this.currentUrlTree,this.rootComponentType),this.transitions=new wh({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(Ah(t=>0!==t.id),H(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),td(t=>{let n=!1,r=!1;return vh(t).pipe(ud(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),td(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return vh(t).pipe(td(t=>{const n=this.transitions.getValue();return e.next(new md(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?Mh:[t]}),td(t=>Promise.resolve(t)),(r=this.ngModule.injector,s=this.configLoader,i=this.urlSerializer,o=this.config,function(t){return t.pipe(td(t=>function(t,e,n,r,s){return new Qp(t,e,n,r,s).apply()}(r,s,i,t.extractedUrl,o).pipe(H(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),ud(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,s){return function(i){return i.pipe(j(i=>function(t,e,n,r,s="emptyOnly",i="legacy"){return new ff(t,e,n,r,s,i).recognize()}(t,e,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe(H(t=>Object.assign(Object.assign({},i),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),ud(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),ud(t=>{const n=new vd(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var r,s,i,o;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:i,extras:o}=t,a=new md(n,this.serializeUrl(r),s,i);e.next(a);const l=wp(r,this.rootComponentType).snapshot;return vh(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign(Object.assign({},o),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Mh}),Sf(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),ud(t=>{const e=new wd(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),H(t=>Object.assign(Object.assign({},t),{guards:rf(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(j(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return 0===o.length&&0===i.length?vh(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return F(t).pipe(j(t=>function(t,e,n,r,s){const i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?vh(i.map(i=>{const o=sf(i,e,s);let a;if(function(t){return t&&Up(t.canDeactivate)}(o))a=Kd(o.canDeactivate(t,e,n,r));else{if(!Up(o))throw new Error("Invalid CanDeactivate guard");a=Kd(o(t,e,n,r))}return a.pipe(Zh())})).pipe(lf()):vh(!0)}(t.component,t.route,n,e,r)),Zh(t=>!0!==t,!0))}(o,r,s,t).pipe(j(n=>n&&"boolean"==typeof n?function(t,e,n,r){return F(e).pipe(ld(e=>F([uf(e.route.parent,r),cf(e.route,r),df(t,e.path,n),hf(t,e.route,n)]).pipe(xh(),Zh(t=>!0!==t,!0))),Zh(t=>!0!==t,!0))}(r,i,t,e):vh(n)),H(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),ud(t=>{if(zp(t.guardsResult)){const e=Rd(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),ud(t=>{const e=new Cd(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Ah(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new yd(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),Sf(t=>{if(t.guards.canActivateChecks.length)return vh(t).pipe(ud(t=>{const e=new Sd(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(e=this.paramsInheritanceStrategy,n=this.ngModule.injector,function(t){return t.pipe(j(t=>{const{targetSnapshot:r,guards:{canActivateChecks:s}}=t;return s.length?F(s).pipe(ld(t=>function(t,e,n,r){return function(t,e,n,r){const s=Object.keys(t);if(0===s.length)return vh({});if(1===s.length){const i=s[0];return Cf(t[i],e,n,r).pipe(H(t=>({[i]:t})))}const i={};return F(s).pipe(j(s=>Cf(t[s],e,n,r).pipe(H(t=>(i[s]=t,t))))).pipe(zh(),H(()=>i))}(t._resolve,t,e,r).pipe(H(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Sp(t,n).resolve),null)))}(t.route,r,e,n)),function(t,e){return arguments.length>=2?function(n){return y(id(t,e),Dh(1),Fh(e))(n)}:function(e){return y(id((e,n,r)=>t(e,n,r+1)),Dh(1))(e)}}((t,e)=>t),H(e=>t)):vh(t)}))}),ud(t=>{const e=new Td(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}));var e,n}),Sf(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),H(t=>{const e=function(t,e,n){const r=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){const s=r.value;s._futureSnapshot=n.value;const i=function(e,n,r){return n.children.map(n=>{for(const s of r.children)if(e.shouldReuseRoute(s.value.snapshot,n.value))return t(e,n,s);return t(e,n)})}(e,n,r);return new yp(s,i)}{const r=e.retrieve(n.value);if(r){const t=r.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(let r=0;r<e.children.length;++r)t(e.children[r],n.children[r])}(n,t),t}{const r=new Cp(new wh((s=n.value).url),new wh(s.params),new wh(s.queryParams),new wh(s.fragment),new wh(s.data),s.outlet,s.component,s),i=n.children.map(n=>t(e,n));return new yp(r,i)}}var s}(t,e._root,n?n._root:void 0);return new vp(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),ud(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(i=this.rootContexts,o=this.routeReuseStrategy,a=t=>this.triggerEvent(t),H(t=>(new Fp(o,t.targetRouterState,t.currentRouterState,a).activate(i),t))),ud({next(){n=!0},complete(){n=!0}}),(s=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new yd(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null},t=>t.lift(new pd(s))),Wh(n=>{if(r=!0,(s=n)&&s.ngNavigationCancelingError){const r=zp(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new yd(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),r?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const r=new bd(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(i){t.reject(i)}}var s;return Mh}));var s,i,o,a}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{let e=this.parseUrl(t.url);const n="popstate"===t.type?"popstate":"hashchange",r=t.state&&t.state.navigationId?t.state:null;setTimeout(()=>{this.scheduleNavigation(e,n,r,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Ld(t),this.config=t.map(Fd),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:s,preserveQueryParams:i,queryParamsHandling:o,preserveFragment:a}=e;Sr()&&i&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=n||this.routerState.root,c=a?this.currentUrlTree.fragment:s;let u=null;if(o)switch(o){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}else u=i?this.currentUrlTree.queryParams:r||null;return null!==u&&(u=this.removeEmptyProps(u)),function(t,e,n,r,s){if(0===n.length)return kp(e.root,e.root,e,r,s);const i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Ip(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return $d(r.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new Ip(n,e,r)}(n);if(i.toRoot())return kp(e.root,new Qd([],{}),e,r,s);const o=function(t,e,n){if(t.isAbsolute)return new Np(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new Np(n.snapshot._urlSegment,!0,0);const r=Ap(t.commands[0])?0:1;return function(t,e,n){let r=t,s=e,i=n;for(;i>s;){if(i-=s,r=r.parent,!r)throw new Error("Invalid number of '../'");s=r.segments.length}return new Np(r,!1,s-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(i,e,t),a=o.processChildren?Gp(o.segmentGroup,o.index,i.commands):Rp(o.segmentGroup,o.index,i.commands);return kp(o.segmentGroup,a,e,r,s)}(l,this.currentUrlTree,t,u,c)}navigateByUrl(t,e={skipLocationChange:!1}){Sr()&&this.isNgZoneEnabled&&!Mc.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=zp(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){if(zp(t))return Xd(this.currentUrlTree,t,e);const n=this.parseUrl(t);return Xd(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const r=t[n];return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new _d(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,r,s){const i=this.getTransition();if(i&&"imperative"!==e&&"imperative"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(i&&"hashchange"==e&&"popstate"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(i&&"popstate"==e&&"hashchange"===i.source&&i.rawUrl.toString()===t.toString())return Promise.resolve(!0);let o,a,l;s?(o=s.resolve,a=s.reject,l=s.promise):l=new Promise((t,e)=>{o=t,a=e});const c=++this.navigationId;return this.setTransition({id:c,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:o,reject:a,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const s=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(s)||e?this.location.replaceState(s,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(s,"",Object.assign(Object.assign({},r),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(t){Ao()},t.\u0275dir=ve({type:t}),t})(),If=(()=>{class t{constructor(t,e,n,r,s){this.router=t,this.route=e,this.commands=[],null==n&&r.setAttribute(s.nativeElement,"tabindex","0")}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Sr()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:Df(this.skipLocationChange),replaceUrl:Df(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Df(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Df(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(Oo(kf),Oo(Cp),xo("tabindex"),Oo($a),Oo(ja))},t.\u0275dir=ve({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&Fo("click",(function(){return e.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),t})(),Nf=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(t=>{t instanceof _d&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Sr()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t}ngOnChanges(t){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:Df(this.skipLocationChange),replaceUrl:Df(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Df(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Df(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(Oo(kf),Oo(Cp),Oo(gu))},t.\u0275dir=ve({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&Fo("click",(function(t){return e.onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)})),2&t&&(ba("href",e.href,Yr),Po("target",e.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[Oa]}),t})();function Df(t){return""===t||!!t}class Rf{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Gf,this.attachRef=null}}class Gf{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Rf,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}let Hf=(()=>{class t{constructor(t,e,n,r,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new Hl,this.deactivateEvents=new Hl,this.name=r||"primary",t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,s=new Lf(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(Oo(Gf),Oo(fl),Oo(Fa),xo("name"),Oo(Xi))},t.\u0275dir=ve({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Lf{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Cp?this.route:t===Gf?this.childContexts:this.parent.get(t,e)}}class Vf{}class Bf{preload(t,e){return vh(null)}}let Ff=(()=>{class t{constructor(t,e,n,r,s){this.router=t,this.injector=r,this.preloadingStrategy=s,this.loader=new Mf(e,n,e=>t.triggerEvent(new Pd(e)),e=>t.triggerEvent(new Md(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Ah(t=>t instanceof _d),ld(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(te);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return F(n).pipe(W(),H(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(j(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(qt(kf),qt(Xc),qt(Cc),qt(uo),qt(Vf))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),jf=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof md?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof _d&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof kd&&(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,e){this.router.triggerEvent(new kd(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(t){Ao()},t.\u0275dir=ve({type:t}),t})();const Uf=new Vt("ROUTER_CONFIGURATION"),zf=new Vt("ROUTER_FORROOT_GUARD"),Wf=[vu,{provide:tp,useClass:ep},{provide:kf,useFactory:function(t,e,n,r,s,i,o,a={},l,c){const u=new kf(null,t,e,n,r,s,i,zd(o));if(l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),a.errorHandler&&(u.errorHandler=a.errorHandler),a.malformedUriErrorHandler&&(u.malformedUriErrorHandler=a.malformedUriErrorHandler),a.enableTracing){const t=su();u.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return a.onSameUrlNavigation&&(u.onSameUrlNavigation=a.onSameUrlNavigation),a.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=a.paramsInheritanceStrategy),a.urlUpdateStrategy&&(u.urlUpdateStrategy=a.urlUpdateStrategy),a.relativeLinkResolution&&(u.relativeLinkResolution=a.relativeLinkResolution),u},deps:[tp,Gf,vu,uo,Xc,Cc,Pf,Uf,[class{},new st],[class{},new st]]},Gf,{provide:Cp,useFactory:function(t){return t.routerState.root},deps:[kf]},{provide:Xc,useClass:Zc},Ff,Bf,class{preload(t,e){return e().pipe(Wh(()=>vh(null)))}},{provide:Uf,useValue:{enableTracing:!1}}];function $f(){return new Fc("Router",kf)}let Kf=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Wf,Zf(e),{provide:zf,useFactory:Qf,deps:[[kf,new st,new ot]]},{provide:Uf,useValue:n||{}},{provide:gu,useFactory:qf,deps:[ou,[new rt(_u),new st],Uf]},{provide:jf,useFactory:Xf,deps:[kf,ju,Uf]},{provide:Vf,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Bf},{provide:Fc,multi:!0,useFactory:$f},[Yf,{provide:sc,multi:!0,useFactory:Jf,deps:[Yf]},{provide:eg,useFactory:tg,deps:[Yf]},{provide:hc,multi:!0,useExisting:eg}]]}}static forChild(e){return{ngModule:t,providers:[Zf(e)]}}}return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)(qt(zf,8),qt(kf,8))}}),t})();function Xf(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new jf(t,e,n)}function qf(t,e,n={}){return n.useHash?new bu(t,e):new yu(t,e)}function Qf(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Zf(t){return[{provide:ho,multi:!0,useValue:t},{provide:Pf,multi:!0,useValue:t}]}let Yf=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new P}appInitializer(){return this.injector.get(lu,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(kf),r=this.injector.get(Uf);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?vh(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(Uf),n=this.injector.get(Ff),r=this.injector.get(jf),s=this.injector.get(kf),i=this.injector.get($c);t===i.components[0]&&(this.isLegacyEnabled(e)?s.initialNavigation():this.isLegacyDisabled(e)&&s.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),s.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}return t.\u0275fac=function(e){return new(e||t)(qt(uo))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();function Jf(t){return t.appInitializer.bind(t)}function tg(t){return t.bootstrapListener.bind(t)}const eg=new Vt("Router Initializer");let ng=(()=>{class t{constructor(){this.toggleStatus=!1,this._toggleStatus=new wh(!1),this.$toggleStatus=this._toggleStatus.asObservable()}getStatus(){return this.toggleStatus}toggle(){this.toggleStatus=!this.toggleStatus,this._toggleStatus.next(this.toggleStatus)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),rg=(()=>{class t{constructor(t){this.sidenavService=t}ngOnInit(){}toggle(){this.sidenavService._toggleStatus.next(!0)}}return t.\u0275fac=function(e){return new(e||t)(Oo(ng))},t.\u0275cmp=fe({type:t,selectors:[["app-mobile-header"]],decls:9,vars:0,consts:[[1,"container-fluid"],[1,"row"],[1,"col-lg-12","nav"],[1,"nav-items"],["routerLink","/",1,"logo"],["src","/assets/images/google-sf-lockup-color@2x.png","alt","Salesforce + Google"],[1,"menu",3,"click"],["src","/assets/images/menu-1@2x.png","alt","Menu"]],template:function(t,e){1&t&&(No(0,"div",0),No(1,"div",1),No(2,"div",2),No(3,"div",3),No(4,"div",4),Ro(5,"img",5),ma(6," Virtual Adventure "),Do(),No(7,"div",6),Fo("click",(function(){return e.toggle()})),Ro(8,"img",7),Do(),Do(),Do(),Do(),Do())},directives:[If],styles:["[_nghost-%COMP%]{background:#fff;position:absolute;top:0;z-index:95;padding:8px 0;box-shadow:0 1.5px 3px rgba(0,0,0,.36)}.nav-items[_ngcontent-%COMP%], [_nghost-%COMP%]{width:100%;display:flex;align-items:center}.nav-items[_ngcontent-%COMP%]{justify-content:space-between}.nav-items[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{font-size:11px;color:#032e61}.nav-items[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:42px;margin-right:10px}.nav-items[_ngcontent-%COMP%]   .menu[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:25px}"]}),t})();const sg=["*"];let ig=(()=>{class t{constructor(){this.centerContent=!1,this.emitter=new Hl}ngOnInit(){}get backgroundImageSrc(){return this.backgroundImage?`url(${this.backgroundImage})`:"none"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["app-mobile-page"]],inputs:{backgroundImage:"backgroundImage",centerContent:"centerContent"},outputs:{emitter:"emitter"},ngContentSelectors:sg,decls:4,vars:4,consts:[[1,"mobile-wrapper"],[1,"mobile-content"]],template:function(t,e){1&t&&(Xo(),No(0,"div",0),Ro(1,"app-mobile-header"),No(2,"div",1),qo(3),Do(),Do()),2&t&&(ra("background-image",e.backgroundImageSrc,ts),ws(2),sa("mobile-content--center-content",e.centerContent))},directives:[rg],styles:[".mobile-wrapper[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;background:transparent none no-repeat 50%;background-size:cover}.mobile-content[_ngcontent-%COMP%]{padding:130px 0 86px;height:100%;display:flex;flex-direction:column;position:relative;overflow:auto;flex:0 1 auto}.mobile-content--center-content[_ngcontent-%COMP%]{justify-content:center}"]}),t})(),og=(()=>{class t{constructor(t){this.router=t}ngOnInit(){}gotoMainMenu(){this.router.navigateByUrl("/menu")}}return t.\u0275fac=function(e){return new(e||t)(Oo(kf))},t.\u0275cmp=fe({type:t,selectors:[["app-home-page"]],decls:14,vars:1,consts:[[3,"centerContent"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card__before"],["src","assets/images/guy.png","alt","Salesforce"],[1,"card","card--wood"],["src","assets/images/salesforce-google.svg","alt","Salesforce + Google",1,"img-fluid","logo"],[1,"btn","btn-primary",3,"click"]],template:function(t,e){1&t&&(No(0,"app-mobile-page",0),No(1,"div",1),No(2,"div",2),No(3,"div",3),No(4,"div",4),Ro(5,"img",5),Do(),No(6,"div",6),Ro(7,"img",7),No(8,"h1"),ma(9,"Virtual Adventure"),Do(),No(10,"p"),ma(11," Welcome Trailblazers, we\u2019re glad you\u2019re here. Come learn new ways to innovate for your business, and get to know your customers even better. "),Do(),No(12,"button",8),Fo("click",(function(){return e.gotoMainMenu()})),ma(13,"Start exploring"),Do(),Do(),Do(),Do(),Do(),Do()),2&t&&ko("centerContent",!0)},directives:[ig],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(/assets/images/card-wood.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{background-image:url(/assets/images/form-bg.png);padding:20px}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}  html{min-height:100%}  body,   html{height:100%;background:#032e61 url(/assets/images/mobile-bg.jpg) no-repeat 50%;background-size:cover}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{max-width:180px}.card__before[_ngcontent-%COMP%]{display:block}.card__before[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:240px;margin:0 auto;display:block}"]}),t})(),ag=(()=>{class t{constructor(){this.videosWatched=[],this.allowTracking=JSON.parse(localStorage.getItem("allowTracking")),this.regionUS=JSON.parse(localStorage.getItem("regionUS"))}get allowTracking(){return this.trackingValue}set allowTracking(t){this.trackingValue=t,null!==t&&localStorage.setItem("allowTracking",t.toString())}get regionUS(){return this.regionUSValue}set regionUS(t){this.regionUSValue=t,null!==t&&localStorage.setItem("regionUS",t.toString())}watchedVideo(t){this.videosWatched.includes(t)||this.videosWatched.push(t),this.videosWatched.includes("yeti-ask-the-expert-session")&&this.videosWatched.includes("yeti-integration-product-demo")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),lg=(()=>{class t{constructor(t,e){this.router=t,this.mobileService=e}canActivate(t,e){return null===this.mobileService.allowTracking&&null===this.mobileService.regionUS&&this.router.navigateByUrl("/compliance"),!0}}return t.\u0275fac=function(e){return new(e||t)(qt(kf),qt(ag))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function cg(t,e){return new v(n=>{const r=t.length;if(0===r)return void n.complete();const s=new Array(r);let i=0,o=0;for(let a=0;a<r;a++){const l=F(t[a]);let c=!1;n.add(l.subscribe({next:t=>{c||(c=!0,o++),s[a]=t},error:t=>n.error(t),complete:()=>{i++,i!==r&&c||(o===r&&n.next(e?e.reduce((t,e,n)=>(t[e]=s[n],t),{}):s),n.complete())}}))}})}const ug=new Vt("NgValueAccessor"),hg={provide:ug,useExisting:Tt(()=>dg),multi:!0};let dg=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Oo($a),Oo(ja))},t.\u0275dir=ve({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&Fo("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[La([hg])]}),t})();const pg={provide:ug,useExisting:Tt(()=>gg),multi:!0},fg=new Vt("CompositionEventMode");let gg=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=su()?su().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",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)}}return t.\u0275fac=function(e){return new(e||t)(Oo($a),Oo(ja),Oo(fg,8))},t.\u0275dir=ve({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&Fo("input",(function(t){return e._handleInput(t.target.value)}))("blur",(function(){return e.onTouched()}))("compositionstart",(function(){return e._compositionStart()}))("compositionend",(function(t){return e._compositionEnd(t.target.value)}))},features:[La([pg])]}),t})(),mg=(()=>{class t{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}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ve({type:t}),t})(),_g=(()=>{class t extends mg{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return yg(e||t)},t.\u0275dir=ve({type:t,features:[Ca]}),t})();const yg=ar(_g);function bg(){throw new Error("unimplemented")}class vg extends mg{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return bg()}get asyncValidator(){return bg()}}class wg{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let Cg=(()=>{class t extends wg{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(Oo(vg,2))},t.\u0275dir=ve({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&sa("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[Ca]}),t})(),Sg=(()=>{class t extends wg{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(Oo(_g,2))},t.\u0275dir=ve({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&sa("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[Ca]}),t})();function Tg(t){return null==t||0===t.length}const Pg=new Vt("NgValidators"),Mg=new Vt("NgAsyncValidators"),Eg=/^(?=.{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 Og{static min(t){return e=>{if(Tg(e.value)||Tg(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}static max(t){return e=>{if(Tg(e.value)||Tg(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return Tg(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return Tg(t.value)||Eg.test(t.value)?null:{email:!0}}static minLength(t){return e=>{if(Tg(e.value))return null;const n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}}static maxLength(t){return e=>{const n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}}static pattern(t){if(!t)return Og.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(Tg(t.value))return null;const r=t.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(xg);return 0==e.length?null:function(t){return kg(function(t,e){return e.map(e=>e(t))}(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(xg);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if(l(e))return cg(e,null);if(c(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return cg(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return cg(t=1===t.length&&l(t[0])?t[0]:t,null).pipe(H(t=>e(...t)))}return cg(t,null)}(function(t,e){return e.map(e=>e(t))}(t,e).map(Ag)).pipe(H(kg))}}}function xg(t){return null!=t}function Ag(t){const e=Vo(t)?F(t):t;if(!Bo(e))throw new Error("Expected validator to return Promise or Observable.");return e}function kg(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function Ig(t){return t.validate?e=>t.validate(e):t}function Ng(t){return t.validate?e=>t.validate(e):t}const Dg={provide:ug,useExisting:Tt(()=>Rg),multi:!0};let Rg=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Oo($a),Oo(ja))},t.\u0275dir=ve({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&Fo("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[La([Dg])]}),t})();const Gg={provide:ug,useExisting:Tt(()=>Lg),multi:!0};let Hg=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Lg=(()=>{class t{constructor(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(vg),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')}}return t.\u0275fac=function(e){return new(e||t)(Oo($a),Oo(ja),Oo(Hg),Oo(uo))},t.\u0275dir=ve({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&Fo("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[La([Gg])]}),t})();const Vg={provide:ug,useExisting:Tt(()=>Bg),multi:!0};let Bg=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(Oo($a),Oo(ja))},t.\u0275dir=ve({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&Fo("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[La([Vg])]}),t})();const Fg='\n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });',jg='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });';class Ug{static controlParentException(){throw new Error("formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+Fg)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n       that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n       Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n        ${jg}\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        \n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>`)}static missingFormException(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       "+Fg)}static groupParentException(){throw new Error("formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+jg)}static arrayParentException(){throw new Error('formArrayName must be used with a parent formGroup directive.  You\'ll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n        Example:\n\n        \n    <div [formGroup]="myGroup">\n      <div formArrayName="cities">\n        <div *ngFor="let city of cityArray.controls; index as i">\n          <input [formControlName]="i">\n        </div>\n      </div>\n    </div>\n\n    In your class:\n\n    this.cityArray = new FormArray([new FormControl(\'SF\')]);\n    this.myGroup = new FormGroup({\n      cities: this.cityArray\n    });')}static disabledAttrWarning(){console.warn("\n      It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n      when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n      you. We recommend using this approach to avoid 'changed after checked' errors.\n       \n      Example: \n      form = new FormGroup({\n        first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n        last: new FormControl('Drew', Validators.required)\n      });\n    ")}static ngModelWarning(t){console.warn(`\n    It looks like you're using ngModel on the same form field as ${t}. \n    Support for using the ngModel input property and ngModelChange event with \n    reactive form directives has been deprecated in Angular v6 and will be removed \n    in Angular v7.\n    \n    For more information on this, see our API docs here:\n    https://angular.io/api/forms/${"formControl"===t?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n    `)}}const zg={provide:ug,useExisting:Tt(()=>Wg),multi:!0};let Wg=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=bo}set compareWith(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(e){return new(e||t)(Oo($a),Oo(ja))},t.\u0275dir=ve({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&Fo("change",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[La([zg])]}),t})();const $g={provide:ug,useExisting:Tt(()=>Kg),multi:!0};let Kg=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=bo}set compareWith(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(e.hasOwnProperty("selectedOptions")){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const r=t.item(e),s=this._getOptionValue(r.value);n.push(s)}}else{const t=e.options;for(let e=0;e<t.length;e++){const r=t.item(e);if(r.selected){const t=this._getOptionValue(r.value);n.push(t)}}}this.value=n,t(n)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}}return t.\u0275fac=function(e){return new(e||t)(Oo($a),Oo(ja))},t.\u0275dir=ve({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&Fo("change",(function(t){return e.onChange(t.target)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[La([$g])]}),t})();function Xg(t,e){return[...e.path,t]}function qg(t,e){t||Jg(e,"Cannot find control with"),e.valueAccessor||Jg(e,"No value accessor for form control with"),t.validator=Og.compose([t.validator,e.validator]),t.asyncValidator=Og.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Qg(t,e)})}(t,e),function(t,e){t.registerOnChange((t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Qg(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function Qg(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Zg(t,e){null==t&&Jg(e,"Cannot find control with"),t.validator=Og.compose([t.validator,e.validator]),t.asyncValidator=Og.composeAsync([t.asyncValidator,e.asyncValidator])}function Yg(t){return Jg(t,"There is no FormControl instance attached to form control element with")}function Jg(t,e){let n;throw n=t.path.length>1?`path: '${t.path.join(" -> ")}'`:t.path[0]?`name: '${t.path}'`:"unspecified name attribute",new Error(`${e} ${n}`)}function tm(t){return null!=t?Og.compose(t.map(Ig)):null}function em(t){return null!=t?Og.composeAsync(t.map(Ng)):null}const nm=[dg,Bg,Rg,Wg,Kg,Lg];function rm(t){const e=im(t)?t.validators:t;return Array.isArray(e)?tm(e):e||null}function sm(t,e){const n=im(e)?e.asyncValidators:t;return Array.isArray(n)?em(n):n||null}function im(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class om{constructor(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this.validator=rm(t)}setAsyncValidators(t){this.asyncValidator=sm(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING";const e=Ag(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>this.setErrors(e,{emitEvent:t}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let r=t;return e.forEach(t=>{r=r instanceof lm?r.controls.hasOwnProperty(t)?r.controls[t]:null:r instanceof cm&&r.at(t)||null}),r}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Hl,this.statusChanges=new Hl}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){im(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class am extends om{constructor(t=null,e,n){super(rm(e),sm(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class lm extends om{constructor(t,e,n){super(rm(e),sm(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof am?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){let e=!1;return this._forEachChild((n,r)=>{e=e||this.contains(r)&&t(n)}),e}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,r)=>{n=e(n,t,r)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class cm extends om{constructor(t,e,n){super(rm(e),sm(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof am?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}let um=(()=>{class t extends _g{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Xg(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return tm(this._validators)}get asyncValidator(){return em(this._asyncValidators)}_checkParentType(){}}return t.\u0275fac=function(e){return hm(e||t)},t.\u0275dir=ve({type:t,features:[Ca]}),t})();const hm=ar(um);let dm=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ve({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const pm=new Vt("NgModelWithFormControlWarning"),fm={provide:_g,useExisting:Tt(()=>gm)};let gm=(()=>{class t extends _g{constructor(t,e){super(),this._validators=t,this._asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new Hl}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return qg(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){!function(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);Zg(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);Zg(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(t){}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,e=this.directives,this.form._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}),this.ngSubmit.emit(t),!1;var e}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=this.form.get(t.path);t.control!==e&&(function(t,e){e.valueAccessor.registerOnChange(()=>Yg(e)),e.valueAccessor.registerOnTouched(()=>Yg(e)),e._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(t.control,t),e&&qg(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const t=tm(this._validators);this.form.validator=Og.compose([this.form.validator,t]);const e=em(this._asyncValidators);this.form.asyncValidator=Og.composeAsync([this.form.asyncValidator,e])}_checkFormPresent(){this.form||Ug.missingFormException()}}return t.\u0275fac=function(e){return new(e||t)(Oo(Pg,10),Oo(Mg,10))},t.\u0275dir=ve({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&Fo("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[La([fm]),Ca,Oa]}),t})();const mm={provide:_g,useExisting:Tt(()=>_m)};let _m=(()=>{class t extends um{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){vm(this._parent)&&Ug.groupParentException()}}return t.\u0275fac=function(e){return new(e||t)(Oo(_g,13),Oo(Pg,10),Oo(Mg,10))},t.\u0275dir=ve({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[La([mm]),Ca]}),t})();const ym={provide:_g,useExisting:Tt(()=>bm)};let bm=(()=>{class t extends _g{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}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 Xg(null==this.name?this.name:this.name.toString(),this._parent)}get validator(){return tm(this._validators)}get asyncValidator(){return em(this._asyncValidators)}_checkParentType(){vm(this._parent)&&Ug.arrayParentException()}}return t.\u0275fac=function(e){return new(e||t)(Oo(_g,13),Oo(Pg,10),Oo(Mg,10))},t.\u0275dir=ve({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[La([ym]),Ca]}),t})();function vm(t){return!(t instanceof _m||t instanceof gm||t instanceof bm)}const wm={provide:vg,useExisting:Tt(()=>Cm)};let Cm=(()=>{class t extends vg{constructor(t,e,n,r,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new Hl,this._ngModelWarningSent=!1,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||Jg(t,"Value accessor was not provided as an array for form control with");let n=void 0,r=void 0,s=void 0;return e.forEach(e=>{var i;e.constructor===gg?n=e:(i=e,nm.some(t=>i.constructor===t)?(r&&Jg(t,"More than one built-in value accessor matches form control with"),r=e):(s&&Jg(t,"More than one custom value accessor matches form control with"),s=e))}),s||r||n||(Jg(t,"No valid value accessor for form control with"),null)}(this,r)}set isDisabled(t){Ug.disabledAttrWarning()}ngOnChanges(e){var n,r;this._added||this._setUpControl(),function(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!bo(e,n.currentValue)}(e,this.viewModel)&&("formControlName",n=t,this,r=this._ngModelWarningConfig,Sr()&&"never"!==r&&((null!==r&&"once"!==r||n._ngModelWarningSentOnce)&&("always"!==r||this._ngModelWarningSent)||(Ug.ngModelWarning("formControlName"),n._ngModelWarningSentOnce=!0,this._ngModelWarningSent=!0)),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 Xg(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return tm(this._rawValidators)}get asyncValidator(){return em(this._rawAsyncValidators)}_checkParentType(){!(this._parent instanceof _m)&&this._parent instanceof um?Ug.ngModelGroupException():this._parent instanceof _m||this._parent instanceof gm||this._parent instanceof bm||Ug.controlParentException()}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(Oo(_g,13),Oo(Pg,10),Oo(Mg,10),Oo(ug,10),Oo(pm,8))},t.\u0275dir=ve({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[La([wm]),Ca,Oa]}),t._ngModelWarningSentOnce=!1,t})(),Sm=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})(),Tm=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let r=null,s=null,i=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(r=null!=e.validators?e.validators:null,s=null!=e.asyncValidators?e.asyncValidators:null,i=null!=e.updateOn?e.updateOn:void 0):(r=null!=e.validator?e.validator:null,s=null!=e.asyncValidator?e.asyncValidator:null)),new lm(n,{asyncValidators:s,updateOn:i,validators:r})}control(t,e,n){return new am(t,e,n)}array(t,e,n){const r=t.map(t=>this._createControl(t));return new cm(r,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof am||t instanceof lm||t instanceof cm?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),Pm=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[Hg],imports:[Sm]}),t})(),Mm=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:pm,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[Tm,Hg],imports:[Sm]}),t})(),Em=(()=>{class t{constructor(t,e,n){this.mobileService=t,this.formBuilder=e,this.router=n,this.formGroup=this.formBuilder.group({trackingAllowed:new am(!0)})}ngOnInit(){}yes(){this.mobileService.regionUS=!0,this.mobileService.allowTracking=this.formGroup.value.trackingAllowed,this.next()}no(){this.mobileService.regionUS=!1,this.mobileService.allowTracking=this.formGroup.value.trackingAllowed,this.next()}next(){this.router.navigateByUrl("/")}}return t.\u0275fac=function(e){return new(e||t)(Oo(ag),Oo(Tm),Oo(kf))},t.\u0275cmp=fe({type:t,selectors:[["app-compliance-page"]],decls:19,vars:2,consts:[[3,"centerContent"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","card--wood"],[1,"text-center",3,"formGroup"],[1,"buttons"],[1,"btn","btn-block","btn-primary",3,"click"],[1,"form-check"],["id","tracking-allowed","type","checkbox","formControlName","trackingAllowed",1,"form-check-input"],["for","tracking-allowed"],["href","https://www.salesforce.com/company/privacy/full_privacy/","target","_blank"]],template:function(t,e){1&t&&(No(0,"app-mobile-page",0),No(1,"div",1),No(2,"div",2),No(3,"div",3),No(4,"div",4),No(5,"form",5),No(6,"h1"),ma(7,"Are you based in the U.S.?"),Do(),No(8,"div",6),No(9,"button",7),Fo("click",(function(){return e.yes()})),ma(10,"Yes"),Do(),No(11,"button",7),Fo("click",(function(){return e.no()})),ma(12,"No"),Do(),Do(),No(13,"div",8),Ro(14,"input",9),No(15,"label",10),ma(16," By checking this box, I consent to data processing as described in the "),No(17,"a",11),ma(18,"Salesforce Privacy Policy"),Do(),Do(),Do(),Do(),Do(),Do(),Do(),Do(),Do()),2&t&&(ko("centerContent",!0),ws(5),ko("formGroup",e.formGroup))},directives:[ig,dm,Sg,gm,dg,Cg,Cm],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(/assets/images/card-wood.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{background-image:url(/assets/images/form-bg.png);padding:20px}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}  html{min-height:100%}  body,   html{height:100%;background:#032e61 url(/assets/images/mobile-bg.jpg) no-repeat 50%;background-size:cover}h1[_ngcontent-%COMP%]{margin-bottom:2rem}.buttons[_ngcontent-%COMP%]{max-width:140px;margin:0 auto 2rem}.form-check[_ngcontent-%COMP%]{font-size:10px;line-height:1.3;text-align:left}"]}),t})();class Om{}function xm(t,e){return{type:7,name:t,definitions:e,options:{}}}function Am(t,e=null){return{type:4,styles:e,timings:t}}function km(t,e=null){return{type:2,steps:t,options:e}}function Im(t){return{type:6,styles:t,offset:null}}function Nm(t,e,n){return{type:0,name:t,styles:e,options:n}}function Dm(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function Rm(t){Promise.resolve(null).then(t)}class Gm{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Rm(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Hm{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,r=0;const s=this.players.length;0==s?Rm(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++n==s&&this._onDestroy()}),t.onStart(()=>{++r==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){let t=0;return this.players.forEach(e=>{const n=e.getPosition();t=Math.min(n,t)}),t}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const Lm=xm("openClose",[Nm("open",Im({height:"*"})),Nm("closed",Im({height:0})),Dm("open <=> closed",[Am("0.33s ease-out")])]),Vm=xm("fadeOut",[Nm("open",Im({opacity:0,height:0})),Nm("closed",Im({opacity:1,height:"*"})),Dm("open <=> closed",[Am("0.33s ease-out")])]);let Bm=(()=>{class t{constructor(t){this.router=t}ngOnInit(){}click(){this.routerLink?this.router.navigateByUrl(this.routerLink):window.history.back()}}return t.\u0275fac=function(e){return new(e||t)(Oo(kf))},t.\u0275cmp=fe({type:t,selectors:[["app-back-button"]],inputs:{routerLink:"routerLink"},decls:2,vars:0,consts:[[1,"back-button",3,"click"]],template:function(t,e){1&t&&(No(0,"a",0),Fo("click",(function(){return e.click()})),ma(1,"Back"),Do())},styles:[".back-button[_ngcontent-%COMP%]{position:fixed;top:70px;left:5px;width:50px;height:50px;background:transparent url(/assets/images/back-button@2x.png) no-repeat 0 0;background-size:50px;text-indent:-9999rem;overflow:hidden;z-index:90}"]}),t})(),Fm=(()=>{class t{constructor(){this.showContent={orange:"closed",teal:"closed",purple:"closed"}}ngOnInit(){}reveal(t){this.showContent[t]="open"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["app-main-menu-page"]],decls:47,vars:6,consts:[["routerLink","/"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","card--orange","card--has-inner"],[1,"card__inner"],["src","assets/images/marketing-cloud-analytics-360.svg","alt","Marketing Cloud + Analytics 360",1,"img-fluid","logo"],[1,"card__reveal",3,"click"],["src","assets/images/chevrondown.svg","alt","Expand"],[1,"card__hidden-content"],["routerLink","/marketing-cloud-analytics-360",1,"btn","btn-primary","btn-block"],[1,"card","card--teal","card--has-inner"],["src","assets/images/sales-cloud-g-suite.svg","alt","Sales Cloud + G Suite",1,"img-fluid","logo"],["routerLink","/sales-cloud-g-suite",1,"btn","btn-primary","btn-block"],[1,"card","card--purple","card--has-inner","card--last"],["src","assets/images/tableau-bigquery.svg","alt","Tableau + BigQuery",1,"img-fluid","logo"],["routerLink","/tableau-big-query",1,"btn","btn-primary","btn-block"]],template:function(t,e){1&t&&(No(0,"app-mobile-page"),Ro(1,"app-back-button",0),No(2,"div",1),No(3,"div",2),No(4,"div",3),No(5,"div",4),No(6,"div",5),Ro(7,"img",6),No(8,"h2"),ma(9,"Get personal with your marketing journeys."),Do(),No(10,"button",7),Fo("click",(function(){return e.reveal("orange")})),Ro(11,"img",8),Do(),No(12,"div",9),No(13,"p"),ma(14," Take a trail walk to see how companies can use Salesforce Marketing Cloud and Google Analytics 360 to deliver the right message, at the right time. "),Do(),No(15,"p"),ma(16," As a thank you for your time, watch two sessions get a YETI Rambler Bottle delivered to your door while supplies last. Restrictions apply. "),Do(),No(17,"a",10),ma(18,"Enter"),Do(),Do(),Do(),Do(),No(19,"div",11),No(20,"div",5),Ro(21,"img",12),No(22,"h2"),ma(23,"Drive productivity from anywhere."),Do(),No(24,"button",7),Fo("click",(function(){return e.reveal("teal")})),Ro(25,"img",8),Do(),No(26,"div",9),No(27,"p"),ma(28," Stroll through the PwC forest to see how PwC uses Salesforce + Google to keep its global workforce productive while keeping the customer at the enter of everything it does. "),Do(),No(29,"p"),ma(30," Bonus time: You can also take a closer look into PwC and see how it empowers its employees with digital tools to keep them doing their best work. "),Do(),No(31,"a",13),ma(32,"Enter"),Do(),Do(),Do(),Do(),No(33,"div",14),No(34,"div",5),Ro(35,"img",15),No(36,"h2"),ma(37,"Know your customers with integrated data insights."),Do(),No(38,"button",7),Fo("click",(function(){return e.reveal("purple")})),Ro(39,"img",8),Do(),No(40,"div",9),No(41,"p"),ma(42," Hike to this lookout to learn how Zulily uses Tableau and BigQuery to make sense of its data and make better business decisions that earn customer loyalty. "),Do(),No(43,"p"),ma(44," You will also hear the story of a single Zulily analyst and hear the giant data impact she\u2019s made at the company. "),Do(),No(45,"a",16),ma(46,"Enter"),Do(),Do(),Do(),Do(),Do(),Do(),Do(),Do()),2&t&&(ws(10),ko("@fadeOut",e.showContent.orange),ws(2),ko("@openClose",e.showContent.orange),ws(12),ko("@fadeOut",e.showContent.teal),ws(2),ko("@openClose",e.showContent.teal),ws(12),ko("@fadeOut",e.showContent.purple),ws(2),ko("@openClose",e.showContent.purple))},directives:[ig,Bm,If,Nf],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(/assets/images/card-wood.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{background-image:url(/assets/images/form-bg.png);padding:20px}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}  html{min-height:100%}  body,   html{height:100%;background:#032e61 url(/assets/images/mobile-bg.jpg) no-repeat 50%;background-size:cover}body[_ngcontent-%COMP%], html[_ngcontent-%COMP%]{background-image:url(/assets/images/mobile-bg.jpg)!important}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:100%;max-height:40px}"],data:{animation:[Lm,Vm]}}),t})();const jm=["*"];let Um=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["app-speaker"]],inputs:{img:"img",name:"name"},ngContentSelectors:jm,decls:6,vars:3,consts:[[1,"headshot"],[1,"content"]],template:function(t,e){1&t&&(Xo(),Ro(0,"div",0),No(1,"div",1),No(2,"h3"),ma(3),Do(),No(4,"p"),qo(5),Do(),Do()),2&t&&(ra("background-image","url(assets/images/speakers/"+e.img+")",ts),ws(3),_a(e.name))},styles:["[_nghost-%COMP%]{width:100%;max-width:300px;display:flex;text-align:left;font-size:14px}*[_ngcontent-%COMP%], [_nghost-%COMP%]{box-sizing:border-box}.headshot[_ngcontent-%COMP%]{width:60px;height:60px;position:relative;overflow:hidden;border:1px solid #fff;border-radius:9999rem;background:transparent none no-repeat 50%;background-size:cover;margin:0 14px 20px 0;flex:0 0 auto;flex-basis:60px}.content[_ngcontent-%COMP%]{flex:0 1 auto}h3[_ngcontent-%COMP%]{font-size:14px;font-weight:700;margin-bottom:0}"]}),t})();function zm(t,e){1&t&&(Go(0),No(1,"div",6),Ro(2,"img",7),No(3,"p"),ma(4," Difficulty accessing and understanding data is one of the biggest barriers to delivering positive customer experiences. That\u2019s why Salesforce Marketing Cloud and Google Analytics 360 have come together to help you tackle data challenges. "),Do(),No(5,"p"),ma(6," Keep moving down the path and hear how companies, including retailers, work with us to drive thoughtful and personalized customer journeys while staying nimble in this rapidly changing environment. "),Do(),No(7,"button",8),ma(8,"Start exploring"),Do(),Do(),Ho())}function Wm(t,e){1&t&&(Go(0),No(1,"div",9),No(2,"app-speaker",10),ma(3," Product Management"),Ro(4,"br"),ma(5," Google Marketing Platform "),Do(),No(6,"app-speaker",11),ma(7," Senior Director, Strategic"),Ro(8,"br"),ma(9," Partnerships, Salesforce "),Do(),No(10,"h2"),ma(11,"Ask the Expert Session"),Do(),No(12,"p"),ma(13," Get actionable tips on how to maximize Analytics 360 and Marketing Cloud together, plus the answers to the toughest questions we\u2019ve ever heard from customers. "),Do(),No(14,"a",12),ma(15,"Watch Demo"),Do(),Do(),No(16,"div",9),No(17,"app-speaker",13),ma(18," VP, Product Management"),Ro(19,"br"),ma(20," Salesforce "),Do(),No(21,"h2"),ma(22,"Integration Product Demo"),Do(),No(23,"p"),ma(24," See how retailers create personalized customer experiences with the Analytics 360 Integration for Marketing Cloud. "),Do(),No(25,"a",14),ma(26,"Watch Demo"),Do(),Do(),No(27,"div",9),No(28,"p"),ma(29," See more Marketing Cloud and Analytics 360 features and use cases here. "),Do(),No(30,"a",15),ma(31," Read Data Sheet "),Do(),Do(),Ho())}let $m=(()=>{class t{constructor(t){this.router=t,this.showVideos=this.router.url.includes("/videos"),this.environment=nu}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(Oo(kf))},t.\u0275cmp=fe({type:t,selectors:[["app-yeti-page"]],decls:7,vars:2,consts:[["backgroundImage","/assets/images/mobile-bg-yeti.jpg"],["routerLink","/menu"],[1,"container"],[1,"row"],[1,"col-lg-12"],[4,"ngIf"],[1,"card","card--wood"],["src","assets/images/marketing-cloud-analytics-360-white-text.png","alt","Marketing Cloud + Analytics 360",1,"img-fluid","logo"],["routerLink","videos",1,"btn","btn-primary"],[1,"card","card--orange"],["img","matt-jacobson@2x.png","name","Matt Jacobson"],["img","hannah-brown@2x.png","name","Hannah Brown"],["routerLink","/video/yeti-ask-the-expert-session",1,"btn","btn-white"],["img","armita-peymandoust@2x.png","name","Armita Peymandoust"],["routerLink","/video/yeti-integration-product-demo",1,"btn","btn-white"],["href","https://www.salesforce.com/content/dam/web/en_us/www/documents/datasheets/know-your-customer-data-sheet.pdf","target","_blank",1,"btn","btn-white"]],template:function(t,e){1&t&&(No(0,"app-mobile-page",0),Ro(1,"app-back-button",1),No(2,"div",2),No(3,"div",3),No(4,"div",4),Mo(5,zm,9,0,"ng-container",5),Mo(6,Wm,32,0,"ng-container",5),Do(),Do(),Do(),Do()),2&t&&(ws(5),ko("ngIf",!e.showVideos),ws(1),ko("ngIf",e.showVideos))},directives:[ig,Bm,If,Au,Um,Nf],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(/assets/images/card-wood.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{background-image:url(/assets/images/form-bg.png);padding:20px}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}  html{min-height:100%}  body,   html{height:100%;background:#032e61 url(/assets/images/mobile-bg.jpg) no-repeat 50%;background-size:cover}.card--wood[_ngcontent-%COMP%]{text-align:left}"]}),t})();function Km(t,e){1&t&&(Go(0),No(1,"div",6),Ro(2,"img",7),No(3,"p"),ma(4," PwC is a global powerhouse delivering world-class experiences in assurance, advisory, and tax services. "),Do(),No(5,"p"),ma(6," Enter the forest to learn how PwC is using Salesforce and Google to drive productivity and keep its global workforce connected and skilled up. "),Do(),No(7,"button",8),ma(8,"Start exploring"),Do(),Do(),Ho())}function Xm(t,e){1&t&&(Go(0),No(1,"div",9),No(2,"app-speaker",10),ma(3," PwC Advisory Partner "),Do(),No(4,"app-speaker",11),ma(5," Sr. Director, Product"),Ro(6,"br"),ma(7," Management, Salesforce "),Do(),No(8,"h2"),ma(9,"Salesforce + G Suite Product Demo"),Do(),No(10,"p"),ma(11," Walk through exactly how PwC uses this integration to meet customer needs in days not weeks, even though the global workforce is now remote. "),Do(),No(12,"a",12),ma(13,"Watch Demo"),Do(),Do(),No(14,"div",9),No(15,"app-speaker",13),ma(16," VP Trailhead Evangelism"),Ro(17,"br"),ma(18," Salesforce "),Do(),No(19,"app-speaker",14),ma(20," Head of Clients and Markets"),Ro(21,"br"),ma(22," PwC UK "),Do(),No(23,"h2"),ma(24,"Digital Upskilling Session"),Do(),No(25,"p"),ma(26," Hear PwC\u2019s practical advice for how they upskilled more than 276,000 employees on the digital technology of today, including Salesforce and Google. "),Do(),No(27,"a",15),ma(28,"Watch Session"),Do(),Do(),No(29,"div",9),No(30,"p"),ma(31," Learn new skills from anywhere with Trailhead. "),Do(),No(32,"a",16),ma(33,"Visit Trailhead"),Do(),Do(),No(34,"div",9),No(35,"p"),ma(36," Test your technology knowledge with PwC\u2019s Digital Fitness app. "),Do(),No(37,"a",17),ma(38,"Download"),Do(),Do(),Ho())}let qm=(()=>{class t{constructor(t){this.router=t,this.showVideos=this.router.url.includes("/videos")}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(Oo(kf))},t.\u0275cmp=fe({type:t,selectors:[["app-sales-cloud-page"]],decls:7,vars:2,consts:[["backgroundImage","/assets/images/mobile-bg-pwc.jpg"],["routerLink","/menu"],[1,"container"],[1,"row"],[1,"col-lg-12"],[4,"ngIf"],[1,"card","card--wood"],["src","assets/images/sales-cloud-white-text.png","alt","Salesforce Sales Cloud + G Suite Featuring PWC",1,"img-fluid","logo"],["routerLink","videos",1,"btn","btn-primary"],[1,"card","card--teal"],["img","mike-hoodyx@2x.png","name","Mike Hoody"],["img","austin-tam@2x.png","name","Austin Tam"],["routerLink","/video/pwc-salesforce-g-suite-product-demo",1,"btn","btn-white"],["img","leah-mcgowen-hare@2x.png","name","Leah McGowen-Hare"],["img","marco-amitrano@2x.png","name","Marco Amitrano"],["routerLink","/video/pwc-digital-upskilling-session",1,"btn","btn-white"],["href","https://trailhead.salesforce.com/users/teamtrailhead/trailmixes/salesforce-google-virtual-adventure","target","_blank",1,"btn","btn-white"],["href","https://www.pwc.com/us/en/products/digital-fitness.html","target","_blank",1,"btn","btn-white"]],template:function(t,e){1&t&&(No(0,"app-mobile-page",0),Ro(1,"app-back-button",1),No(2,"div",2),No(3,"div",3),No(4,"div",4),Mo(5,Km,9,0,"ng-container",5),Mo(6,Xm,39,0,"ng-container",5),Do(),Do(),Do(),Do()),2&t&&(ws(5),ko("ngIf",!e.showVideos),ws(1),ko("ngIf",e.showVideos))},directives:[ig,Bm,If,Au,Um,Nf],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(/assets/images/card-wood.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{background-image:url(/assets/images/form-bg.png);padding:20px}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}  html{min-height:100%}  body,   html{height:100%;background:#032e61 url(/assets/images/mobile-bg.jpg) no-repeat 50%;background-size:cover}.card--wood[_ngcontent-%COMP%]{text-align:left}"]}),t})();function Qm(t,e){1&t&&(Go(0),No(1,"div",6),Ro(2,"img",7),No(3,"p"),ma(4," Founded in 2010, Zulily offers millions of people a different way to shop. The brand is always launching new sales featuring the latest fashion for adults and kids, home d\xe9cor, toys, gifts and more. "),Do(),No(5,"p"),ma(6," Predicting and responding to customer preferences is key to building lifetime loyalty. Enter Zulily Lookout to see how Tableau and BigQuery help the company drive repeat business and cultivate data superheroes within. "),Do(),No(7,"button",8),ma(8,"Start exploring"),Do(),Do(),Ho())}function Zm(t,e){1&t&&(Go(0),No(1,"div",9),No(2,"app-speaker",10),ma(3," Director of Product"),Ro(4,"br"),ma(5," Management, Google Cloud "),Do(),No(6,"app-speaker",11),ma(7," Senior Director, Strategic"),Ro(8,"br"),ma(9," Partnerships, Salesforce "),Do(),No(10,"h2"),ma(11,"Expert Product Demo Session"),Do(),No(12,"p"),ma(13," Learn the major benefits of the Tableau and BigQuery integration. from a deep product expert. You\u2019ll also see a step-by-step product demo. "),Do(),No(14,"a",12),ma(15,"Watch Demo"),Do(),Do(),No(16,"div",9),No(17,"app-speaker",13),ma(18," Lead Analyst"),Ro(19,"br"),ma(20," Marketing Analytics, Zulily "),Do(),No(21,"app-speaker",14),ma(22," Director, Strategic Partnerships"),Ro(23,"br"),ma(24," Marketing, Salesforce "),Do(),No(25,"h2"),ma(26,"Data Superhero Session"),Do(),No(27,"p"),ma(28," Hear the story of a single Zulily analyst and how she has made data an inherent part of business decisions, turning insights into action and creating Zulily customers for life. "),Do(),No(29,"a",15),ma(30,"Watch Session"),Do(),Do(),No(31,"div",9),No(32,"p"),ma(33," Learn additional best practices for optimizing Tableau and BigQuery. "),Do(),No(34,"a",16),ma(35,"Read White Paper"),Do(),Do(),Ho())}let Ym=(()=>{class t{constructor(t){this.router=t,this.showVideos=this.router.url.includes("/videos")}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(Oo(kf))},t.\u0275cmp=fe({type:t,selectors:[["app-zulily-page"]],decls:7,vars:2,consts:[["backgroundImage","/assets/images/mobile-bg-zulily.jpg"],["routerLink","/menu"],[1,"container"],[1,"row"],[1,"col-lg-12"],[4,"ngIf"],[1,"card","card--wood"],["src","assets/images/tableau-white-text.png","alt","Tableau + Big Query featuring Zulily",1,"img-fluid","logo"],["routerLink","videos",1,"btn","btn-primary"],[1,"card","card--purple"],["img","sudhir-hasbe@2x.png","name","Sudhir Hasbe"],["img","madeleine-corneli@2x.png","name","Madeleine Corneli"],["routerLink","/video/zulily-expert-product-demo-session",1,"btn","btn-white"],["img","angela-wu@2x.png","name","Angela Wu"],["img","laura-fagan@2x.png","name","Laura Fagan"],["routerLink","/video/zulily-data-superhero-session",1,"btn","btn-white"],["href","https://drive.google.com/file/d/1evY40Rk929KyBSo3zrKc0SRGWKKKCm4f/view?usp=sharing","target","_blank",1,"btn","btn-white"]],template:function(t,e){1&t&&(No(0,"app-mobile-page",0),Ro(1,"app-back-button",1),No(2,"div",2),No(3,"div",3),No(4,"div",4),Mo(5,Qm,9,0,"ng-container",5),Mo(6,Zm,36,0,"ng-container",5),Do(),Do(),Do(),Do()),2&t&&(ws(5),ko("ngIf",!e.showVideos),ws(1),ko("ngIf",e.showVideos))},directives:[ig,Bm,If,Au,Um,Nf],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(/assets/images/card-wood.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{background-image:url(/assets/images/form-bg.png);padding:20px}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}  html{min-height:100%}  body,   html{height:100%;background:#032e61 url(/assets/images/mobile-bg.jpg) no-repeat 50%;background-size:cover}.card--wood[_ngcontent-%COMP%]{text-align:left}"]}),t})();const Jm=[{path:"compliance",component:Em},{path:"",component:og,canActivate:[lg]},{path:"menu",component:Fm,canActivate:[lg]},{path:"marketing-cloud-analytics-360",component:$m,canActivate:[lg]},{path:"marketing-cloud-analytics-360/videos",component:$m,canActivate:[lg]},{path:"sales-cloud-g-suite",component:qm,canActivate:[lg]},{path:"sales-cloud-g-suite/videos",component:qm,canActivate:[lg]},{path:"tableau-big-query",component:Ym,canActivate:[lg]},{path:"tableau-big-query/videos",component:Ym,canActivate:[lg]},{path:"video/:id",component:(()=>{class t{constructor(t,e){this.route=t,this.router=e}ngOnInit(){this.paramSubscription=this.route.params.subscribe(t=>{this.videoId=t.id,this.src=nu.mobileVideoData[this.videoId].src,this.background=nu.mobileVideoData[this.videoId].background,this.previousUrl=nu.mobileVideoData[this.videoId].menuPage})}ngOnDestroy(){this.paramSubscription.unsubscribe()}close(){this.router.navigateByUrl(this.previousUrl)}}return t.\u0275fac=function(e){return new(e||t)(Oo(Cp),Oo(kf))},t.\u0275cmp=fe({type:t,selectors:[["app-mobile-video-player"]],decls:7,vars:4,consts:[[3,"centerContent","backgroundImage"],[3,"routerLink"],[1,"video-wrapper"],[1,"close-video",3,"click"],["width","820","height","461","autoplay","","controls","","playsinline","",3,"src"],["video",""]],template:function(t,e){1&t&&(No(0,"app-mobile-page",0),Ro(1,"app-back-button",1),No(2,"div",2),No(3,"button",3),Fo("click",(function(){return e.close()})),ma(4,"Close"),Do(),Ro(5,"video",4,5),Do(),Do()),2&t&&(ko("centerContent",!0)("backgroundImage",e.background),ws(1),ko("routerLink",e.previousUrl),ws(4),ko("src",e.src,Yr))},directives:[ig,Bm,If],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(/assets/images/card-wood.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{background-image:url(/assets/images/form-bg.png);padding:20px}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%]   .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{max-width:154px}  html{min-height:100%}  body,   html{height:100%;background:#032e61 url(/assets/images/mobile-bg.jpg) no-repeat 50%;background-size:cover}.video-wrapper[_ngcontent-%COMP%]{background:transparent url(video-bg.2cd90c80a521deca897e.png) no-repeat 0 0;background-size:cover;width:100%;max-width:1280px;padding-bottom:calc(56.25% + 56px);position:relative;border-radius:12px;margin:0 auto}.video-wrapper[_ngcontent-%COMP%]   video[_ngcontent-%COMP%]{width:100%;height:calc(100% - 56px);position:absolute;top:28px}.video-wrapper[_ngcontent-%COMP%]   .close-video[_ngcontent-%COMP%]{width:28px;height:28px;position:absolute;top:0;right:0;background:transparent url(x.3ad636551768e809bba0.svg) no-repeat 0 0;background-size:cover;text-indent:-9999rem;border:0}"]}),t})(),canActivate:[lg]}];let t_=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Kf.forRoot(Jm)],Kf]}),t})();const e_={CHROME:"Chrome",FIREFOX:"Firefox",SAFARI:"Safari",OPERA:"Opera",IE:"IE",MS_EDGE:"MS-Edge",MS_EDGE_CHROMIUM:"MS-Edge-Chromium",FB_MESSANGER:"FB-Messanger",SAMSUNG:"Samsung",UCBROWSER:"UC-Browser",UNKNOWN:"Unknown"},n_={HTC:/HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel/,NEXUS_PHONE:/Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6/,DELL:/Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b/,MOTOROLA:new RegExp("Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|\n      A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|\n      MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|\n      ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|\n      WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|\n      XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|\n      XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052"),SAMSUNG:new RegExp("\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|\n      GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|\n      GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|\n      GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|\n      GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|\n      GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|\n      GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|\n      GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|\n      GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|\n      GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|\n      GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|\n      GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|\n      GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|\n      GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|\n      GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|\n      GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|\n      GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|\n      GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|\n      SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|\n      SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|\n      SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|\n      SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|\n      SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|\n      SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|\n      SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|\n      SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|\n      SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|\n      SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|\n      SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|\n      SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|\n      SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|\n      SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|\n      SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|\n      SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|\n      SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|\n      SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|\n      SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|\n      SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|\n      SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|\n      SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|\n      SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|\n      SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|\n      SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|\n      SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|\n      SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|\n      SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|\n      SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|\n      SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|\n      SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|\n      GT-N7105|SCH-I535|SM-N900A|SM-N900T|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|\n      GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|\n      GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|\n      SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|\n      SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|\n      SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F"),LG:new RegExp("\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|\n      LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|\n      C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|\n      LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|\n      VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|\n      MS323|M257)"),SONY:/SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533/,ASUS:/Asus.*Galaxy|PadFone.*Mobile/,NOKIA_LUMIA:/Lumia [0-9]{3,4}/,MICROMAX:/Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b/,PALM:/PalmSource|Palm/,VERTU:/Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature/,PANTECH:new RegExp("PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|\n        IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|\n        IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|\n        CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|\n        P2000|P7040|P7000|C790"),FLY:/IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250/,WIKO:new RegExp("KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|\n        SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|\n        CINK KING|CINK PEAX|CINK SLIM|SUBLIM"),I_MOBILE:/i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)/,SIMVALLEY:/\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b/,WOLFGANG:/AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q/,ALCATEL:/Alcatel/,NINTENDO:/Nintendo (3DS|Switch)/,AMOI:/Amoi/,INQ:/INQ/,VITA:/\bVita\b/,BLACKBERRY:/\bBlackBerry\b|\bBB10\b|rim[0-9]+/,FIREFOX_OS:/\bFirefox-OS\b/,IPHONE:/\biPhone\b/,iPod:/\biPod\b/,ANDROID:/\bAndroid\b/,WINDOWS_PHONE:/\bWindows-Phone\b/,GENERIC_PHONE:new RegExp("Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|\n        up.link|vodafone|\\bwap\\b|nokia|Nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser")},r_={iPad:/iPad|iPad.*Mobile/,NexusTablet:/Android.*Nexus[\s]+(7|9|10)/,GoogleTablet:/Android.*Pixel C/,SamsungTablet:new RegExp("SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|\n        GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|\n        SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|\n        GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|\n        SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|\n        GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|\n        SHV-E230S|SHW-M180K|SHW-M180L|SM-T290|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|\n        SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|\n        GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|\n        SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|\n        GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|\n        SM-T510|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|\n        SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|\n        SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|\n        SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|\n        SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|\n        SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|\n        SM-T719|SM-T813|SM-T819|SM-T580|SM-T590|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|\n        SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835"),Kindle:new RegExp("Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|\n        KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome        /[0-9.]+ (?!Mobile)"),SurfaceTablet:/Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)/,HPTablet:/HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10/,AsusTablet:new RegExp("^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|\n        TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|\n        Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|\n        ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|\n        ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b"),BlackBerryTablet:/PlayBook|RIM Tablet/,HTCtablet:/HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410/,MotorolaTablet:/xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617/,NookTablet:/Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2/,AcerTablet:new RegExp("Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|\n        W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\n        \\bA3-A20\\b|\\bA3-A30"),ToshibaTablet:/Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO/,LGTablet:/\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\b/,FujitsuTablet:/Android.*\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\b/,PrestigioTablet:new RegExp("PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|\n        PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|\n        PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|\n        PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|\n        PMT5887|PMT5001|PMT5002"),LenovoTablet:new RegExp("Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|\n        YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|\n        B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304F|TB-X304L|TB-X704F|TB-8703F|Tab2A7-10F|TB2-X30L"),DellTablet:/Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7/,YarvikTablet:new RegExp("Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|\n        TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|\n        TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|\n        TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|\n        TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b"),MedionTablet:/Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB/,ArnovaTablet:/97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2/,IntensoTablet:/INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004/,IRUTablet:/M702pro/,MegafonTablet:/MegaFon V9|\bZTE V9\b|Android.*\bMT7A\b/,EbodaTablet:/E-Boda (Supreme|Impresspeed|Izzycomm|Essential)/,AllViewTablet:/Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)/,ArchosTablet:new RegExp("\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10|\n         Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b"),AinolTablet:/NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark/,NokiaLumiaTablet:/Lumia 2520/,SonyTablet:new RegExp("Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|\n        SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|\n        EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|\n        SGP612|SGP712"),PhilipsTablet:/\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b/,CubeTablet:/Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT/,CobyTablet:new RegExp("MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|\n        MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010"),MIDTablet:new RegExp("M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|\n        MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|\n        MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10"),MSITablet:new RegExp("MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|\n        Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b"),SMiTTablet:/Android.*(\bMID\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)/,RockChipTablet:/Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A/,FlyTablet:/IQ310|Fly Vision/,bqTablet:new RegExp("Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|\n        Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus"),HuaweiTablet:new RegExp("MediaPad|MediaPad 7 Youth|MediaPad T3 10|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|\n        S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-W09"),NecTablet:/\bN-06D|\bN-08D/,PantechTablet:/Pantech.*P4100/,BronchoTablet:/Broncho.*(N701|N708|N802|a710)/,VersusTablet:/TOUCHPAD.*[78910]|\bTOUCHTAB\b/,ZyncTablet:/z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900/,PositivoTablet:/TB07STA|TB10STA|TB07FTA|TB10FTA/,NabiTablet:/Android.*\bNabi/,KoboTablet:/Kobo Touch|\bK080\b|\bVox\b Build|\bArc\b Build/,DanewTablet:/DSlide.*\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\b/,TexetTablet:new RegExp("NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|\n        TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|\n        TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|\n        TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|\n        TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|\n        TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|\n        TB-436|TB-416|TB-146SE|TB-126SE"),PlaystationTablet:/Playstation.*(Portable|Vita)/,TrekstorTablet:/ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab/,PyleAudioTablet:/\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b/,AdvanTablet:new RegExp("Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|\n        T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b"),DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|\n        Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:/Android.*\bG1\b(?!\))/,MicromaxTablet:/Funbook|Micromax.*\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\b/,KarbonnTablet:/Android.*\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\b/,AllFineTablet:/Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide/,PROSCANTablet:new RegExp("\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|\n        PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|\n        PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|\n        PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b"),YONESTablet:/BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026/,ChangJiaTablet:new RegExp("TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|\n        TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|\n        TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|\n        TPC10111|TPC10203|TPC10205|TPC10503"),GUTablet:/TX-A1301|TX-M9002|Q702|kf026/,PointOfViewTablet:new RegExp("TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|\n        TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|\n        TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|\n        TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10"),OvermaxTablet:new RegExp("OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|\n        MagicTab|Stream|TB-08|TB-09)|Qualcore 1027"),HCLTablet:/HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync/,DPSTablet:/DPS Dream 9|DPS Dual 7/,VistureTablet:/V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10/,CrestaTablet:/CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989/,MediatekTablet:/\bMT8125|MT8389|MT8135|MT8377\b/,ConcordeTablet:/Concorde([ ]+)?Tab|ConCorde ReadMan/,GoCleverTablet:new RegExp("GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|\n        TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|\n        GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|\n        TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|\n        TAB R104|TAB R83.3|TAB A1042"),ModecomTablet:new RegExp("FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|\n        FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|\n        FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003"),VoninoTablet:new RegExp("\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|\n        Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|\n        Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b"),ECSTablet:/V07OT2|TM105A|S10OT1|TR10CS1/,StorexTablet:/eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab/,VodafoneTablet:/SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497/,EssentielBTablet:/Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2/,RossMoorTablet:/RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711/,iMobileTablet:/i-mobile i-note/,TolinoTablet:/tolino tab [0-9.]+|tolino shine/,AudioSonicTablet:/\bC-22Q|T7-QC|T-17B|T-17P\b/,AMPETablet:/Android.* A78 /,SkkTablet:/Android.* (SKYPAD|PHOENIX|CYCLOPS)/,TecnoTablet:/TECNO P9|TECNO DP8D/,JXDTablet:new RegExp("Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|\n        S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|\n        P1000|P300|S18|S6600|S9100)\\b"),iJoyTablet:new RegExp("Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|\n        Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|\n        Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|\n        Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|\n        Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)"),FX2Tablet:/FX2 PAD7|FX2 PAD10/,XoroTablet:new RegExp("KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|\n        PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|\n        PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|\n        TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151"),ViewsonicTablet:/ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a/,VerizonTablet:/QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1/,OdysTablet:/LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10/,CaptivaTablet:/CAPTIVA PAD/,IconbitTablet:new RegExp("NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|\n        NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S"),TeclastTablet:new RegExp("T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\n        \\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\n        \\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\n        \\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\n        \\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\n        \\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\n        \\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\n        \\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\n        \\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi"),OndaTablet:new RegExp("\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|\n        V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|\n        V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|\n        Vi40)\\b[s]+|V10 \\b4G\\b"),JaytechTablet:/TPC-PA762/,BlaupunktTablet:/Endeavour 800NG|Endeavour 1010/,DigmaTablet:/\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b/,EvolioTablet:/ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b/,LavaTablet:/QPAD E704|\bIvoryS\b|E-TAB IVORY|\bE-TAB\b/,AocTablet:/MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712/,MpmanTablet:new RegExp("MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\n        \\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|\n        MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010"),CelkonTablet:/CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b/,WolderTablet:new RegExp("miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|\n        POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|\n        FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b"),MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:/\bMI PAD\b|\bHM NOTE 1W\b/,NibiruTablet:/Nibiru M1|Nibiru Jupiter One/,NexoTablet:/NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI/,LeaderTablet:new RegExp("TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|\n        TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100"),UbislateTablet:/UbiSlate[\s]?7C/,PocketBookTablet:/Pocketbook/,KocasoTablet:/\b(TB-1207)\b/,HisenseTablet:/\b(F5281|E2371)\b/,Hudl:/Hudl HT7S3|Hudl 2/,TelstraTablet:/T-Hub2/,GenericTablet:new RegExp("Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|\n        A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|\n        Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107")},s_={BLACKBERRY:"Blackberry",FIREFOX_OS:"Firefox-OS",CHROME_BOOK:"Chrome-Book",WINDOWS_PHONE:"Windows-Phone",VITA:"Vita",PS4:"PS4",CHROMECAST:"Chromecast",APPLE_TV:"Apple-TV",GOOGLE_TV:"Google-TV",ANDROID:"Android",Tesla:"Tesla",iPad:"iPad",IPHONE:"iPhone",iPod:"iPod",UNKNOWN:"Unknown",HTC:"HTC",NEXUS_PHONE:"Nexus Phone",NexusTablet:"Nexus Tablet",DELL:"Dell",MOTOROLA:"Motorola",SAMSUNG:"Samsung",LG:"LG",SONY:"Sony",ASUS:"Asus",NOKIA_LUMIA:"Nokia Lumia",MICROMAX:"Micromax",PALM:"Palm",VERTU:"Vertu",PANTECH:"PANTECH",FLY:"Fly",WIKO:"WIKO",I_MOBILE:"i-mobile",SIMVALLEY:"Simvalley",WOLFGANG:"Wolfgang",ALCATEL:"Alcatel",NINTENDO:"Nintendo",AMOI:"Amoi",INQ:"INQ",GENERIC_PHONE:"Generic Phone"},i_=Object.assign({},n_,r_,{FIREFOX_OS:{and:[/\bFirefox\b/,/\bMobile\b/]},CHROME_BOOK:/\bCrOS\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,CHROMECAST:/\bCrKey\b/,APPLE_TV:/^iTunes-AppleTV\/4.1$/,GOOGLE_TV:/\bGoogleTV\b/,Tesla:/Tesla\/([0-9]{4}.[0-9]{1,2}.?[0-9]{0,2}.?[0-9]{0,2})-(.{7})/}),o_={WINDOWS_3_11:/Win16/,WINDOWS_95:/(Windows 95|Win95|Windows_95)/,WINDOWS_ME:/(Win 9x 4.90|Windows ME)/,WINDOWS_98:/(Windows 98|Win98)/,WINDOWS_CE:/Windows CE/,WINDOWS_2000:/(Windows NT 5.0|Windows 2000)/,WINDOWS_XP:/(Windows NT 5.1|Windows XP)/,WINDOWS_SERVER_2003:/Windows NT 5.2/,WINDOWS_VISTA:/Windows NT 6.0/,WINDOWS_7:/(Windows 7|Windows NT 6.1)/,WINDOWS_8_1:/(Windows 8.1|Windows NT 6.3)/,WINDOWS_8:/(Windows 8|Windows NT 6.2)/,WINDOWS_10:/(Windows NT 10.0)/,WINDOWS_PHONE_7_5:/(Windows Phone OS 7.5)/,WINDOWS_PHONE_8_1:/(Windows Phone 8.1)/,WINDOWS_PHONE_10:/(Windows Phone 10)/,WINDOWS_NT_4_0:{and:[/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/,{not:/Windows NT 10.0/}]},MACOSX:/(MAC OS X\s*[^ 0-9])/,MACOSX_3:/(Darwin 10.3|Mac OS X 10.3)/,MACOSX_4:/(Darwin 10.4|Mac OS X 10.4)/,MACOSX_5:/(Mac OS X 10.5)/,MACOSX_6:/(Mac OS X 10.6)/,MACOSX_7:/(Mac OS X 10.7)/,MACOSX_8:/(Mac OS X 10.8)/,MACOSX_9:/(Mac OS X 10.9)/,MACOSX_10:/(Mac OS X 10.10)/,MACOSX_11:/(Mac OS X 10.11)/,MACOSX_12:/(Mac OS X 10.12)/,MACOSX_13:/(Mac OS X 10.13)/,MACOSX_14:/(Mac OS X 10.14)/,MACOSX_15:/(Mac OS X 10.15)/,iOS:/(iPhone OS\s*[0-9_]+)/},a_={CHROME:[/\bChrome\/([\d\.]+)\b/,/\bCriOS\/([\d\.]+)\b/,/\bHeadlessChrome\/([\d\.]+)\b/],FIREFOX:[/\bFirefox\/([\d\.]+)\b/,/\bFxiOS\/([\d\.]+)\b/],SAFARI:[/\bVersion\/([\d\.]+)\b/,/\bSafari\/([\d\.]+)\b/],OPERA:[/\bVersion\/([\d\.]+)\b/,/\bOPR\/([\d\.]+)\b/],IE:[/\bMSIE ([\d\.]+\w?)\b/,/\brv:([\d\.]+\w?)\b/],MS_EDGE:/\bEdg(?:e|A|iOS)\/([\d\.]+)\b/,MS_EDGE_CHROMIUM:/\bEdg\/([\d\.]+)\b/,SAMSUNG:/\bSamsungBrowser\/([\d\.]+)\b/,UCBROWSER:/\bUCBrowser\/([\d\.]+)\b/},l_=Object.keys(o_).reduce((function(t,e){return t[e]=o_[e],t}),{}),c_=Object.keys(a_).reduce((function(t,e){return t[e_[e]]=a_[e],t}),{});var u_=Object.freeze({BROWSERS:e_,MOBILES_RE:n_,TABLETS_RE:r_,DEVICES:s_,OS:{WINDOWS:"Windows",MAC:"Mac",IOS:"iOS",ANDROID:"Android",LINUX:"Linux",UNIX:"Unix",FIREFOX_OS:"Firefox-OS",CHROME_OS:"Chrome-OS",WINDOWS_PHONE:"Windows-Phone",UNKNOWN:"Unknown"},OS_VERSIONS:{WINDOWS_3_11:"windows-3-11",WINDOWS_95:"windows-95",WINDOWS_ME:"windows-me",WINDOWS_98:"windows-98",WINDOWS_CE:"windows-ce",WINDOWS_2000:"windows-2000",WINDOWS_XP:"windows-xp",WINDOWS_SERVER_2003:"windows-server-2003",WINDOWS_VISTA:"windows-vista",WINDOWS_7:"windows-7",WINDOWS_8_1:"windows-8-1",WINDOWS_8:"windows-8",WINDOWS_10:"windows-10",WINDOWS_PHONE_7_5:"windows-phone-7-5",WINDOWS_PHONE_8_1:"windows-phone-8-1",WINDOWS_PHONE_10:"windows-phone-10",WINDOWS_NT_4_0:"windows-nt-4-0",MACOSX_15:"mac-os-x-15",MACOSX_14:"mac-os-x-14",MACOSX_13:"mac-os-x-13",MACOSX_12:"mac-os-x-12",MACOSX_11:"mac-os-x-11",MACOSX_10:"mac-os-x-10",MACOSX_9:"mac-os-x-9",MACOSX_8:"mac-os-x-8",MACOSX_7:"mac-os-x-7",MACOSX_6:"mac-os-x-6",MACOSX_5:"mac-os-x-5",MACOSX_4:"mac-os-x-4",MACOSX_3:"mac-os-x-3",MACOSX_2:"mac-os-x-2",MACOSX:"mac-os-x",iOS:"iOS",UNKNOWN:"unknown"},OS_RE:{WINDOWS:{and:[{or:[/\bWindows|(Win\d\d)\b/,/\bWin 9x\b/]},{not:/\bWindows Phone\b/}]},MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\bWindows Phone\b/]}}]},IOS:{and:[{or:[/\biPad\b/,/\biPhone\b/,/\biPod\b/]},{not:/\bWindows Phone\b/}]},ANDROID:{and:[/\bAndroid\b/,{not:/\bWindows Phone\b/}]},LINUX:/\bLinux\b/,UNIX:/\bUNIX\b/,FIREFOX_OS:{and:[/\bFirefox\b/,/Mobile\b/]},CHROME_OS:/\bCrOS\b/,WINDOWS_PHONE:{or:[/\bIEMobile\b/,/\bWindows Phone\b/]},PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/},BROWSERS_RE:{CHROME:{and:[{or:[/\bChrome\b/,/\bCriOS\b/,/\bHeadlessChrome\b/]},{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},FIREFOX:{or:[/\bFirefox\b/,/\bFxiOS\b/]},SAFARI:{and:[/^((?!CriOS).)*\Safari\b.*$/,{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bWindows Phone\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},OPERA:{or:[/Opera\b/,/\bOPR\b/]},IE:{or:[/\bMSIE\b/,/\bTrident\b/,/^Mozilla\/5\.0 \(Windows NT 10\.0; Win64; x64\)$/]},MS_EDGE:{or:[/\bEdg(e|A|iOS)\b/]},MS_EDGE_CHROMIUM:/\bEdg\/\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/,FB_MESSANGER:/\bFBAN\/MessengerForiOS\b/,SAMSUNG:/\bSamsungBrowser\b/,UCBROWSER:/\bUCBrowser\b/},DEVICES_RE:i_,OS_VERSIONS_RE_MAP:o_,BROWSER_VERSIONS_RE_MAP:a_,OS_VERSIONS_RE:l_,BROWSER_VERSIONS_RE:c_});class h_{constructor(){}test(t,e){let n=this;return"string"==typeof e&&(e=new RegExp(e)),e instanceof RegExp?e.test(t):e&&Array.isArray(e.and)?e.and.every((function(e){return n.test(t,e)})):e&&Array.isArray(e.or)?e.or.some((function(e){return n.test(t,e)})):!(!e||!e.not||n.test(t,e.not))}exec(t,e){let n=this;return"string"==typeof e&&(e=new RegExp(e)),e instanceof RegExp?e.exec(t):e&&Array.isArray(e)?e.reduce((function(e,r){return e||n.exec(t,r)}),null):null}}let d_=(()=>{let t=class{constructor(t){this.platformId=t,this.ua="",this.userAgent="",this.os="",this.browser="",this.device="",this.os_version="",this.browser_version="",this.reTree=new h_,Fu(this.platformId)&&"undefined"!=typeof window&&(this.userAgent=window.navigator.userAgent),this.setDeviceInfo(this.userAgent)}setDeviceInfo(t=this.userAgent){t!==this.userAgent&&(this.userAgent=t);let e=[{const:"OS",prop:"os"},{const:"BROWSERS",prop:"browser"},{const:"DEVICES",prop:"device"},{const:"OS_VERSIONS",prop:"os_version"}];if(e.forEach(e=>{this[e.prop]=Object.keys(u_[e.const]).reduce((n,r)=>"device"===u_[e.const][r]&&Fu(this.platformId)&&(this.reTree.test(this.userAgent,r_.iPad)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)?(n[u_[e.const][r]]="iPad",Object):(n[u_[e.const][r]]=this.reTree.test(t,u_[e.const+"_RE"][r]),n),{})}),e.forEach(t=>{this[t.prop]=Object.keys(u_[t.const]).map(e=>u_[t.const][e]).reduce((e,n)=>"device"===t.prop&&e===u_[t.const].ANDROID?this[t.prop][n]?n:e:e===u_[t.const].UNKNOWN&&this[t.prop][n]?n:e,u_[t.const].UNKNOWN)}),this.browser_version="0",this.browser!==e_.UNKNOWN){let e=this.reTree.exec(t,c_[this.browser]);e&&(this.browser_version=e[1])}}getDeviceInfo(){return{userAgent:this.userAgent,os:this.os,browser:this.browser,device:this.device,os_version:this.os_version,browser_version:this.browser_version}}isMobile(t=this.userAgent){return!this.isTablet(t)&&!!Object.keys(n_).find(e=>this.reTree.test(t,n_[e]))}isTablet(t=this.userAgent){return!(!Fu(this.platformId)||!(this.reTree.test(this.userAgent,r_.iPad)||"undefined"!=typeof navigator&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))||!!Object.keys(r_).find(e=>!!this.reTree.test(t,r_[e]))}isDesktop(t=this.userAgent){const e=[s_.PS4,s_.CHROME_BOOK,s_.UNKNOWN];return(this.device!==s_.UNKNOWN||!this.isMobile(t)&&!this.isTablet(t))&&e.indexOf(this.device)>-1}};return t.\u0275fac=function(e){return new(e||t)(qt(uc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=ht({factory:function(){return new t(Qt(uc))},token:t,providedIn:"root"}),t})();var p_;let f_=(()=>{let t=p_=class{static forRoot(){return{ngModule:p_,providers:[d_]}}};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Bu]]}),t})(),g_=(()=>{class t{constructor(t,e,n){this.googleTagManagerId=t,this.googleTagManagerAuth=e,this.googleTagManagerPreview=n,this.isLoaded=!1,this.browserGlobals={windowRef:()=>window,documentRef:()=>document},this.gtmId=t,this.gtmAuth=e,this.gtmPreview=n}getDataLayer(){const t=this.browserGlobals.windowRef();return t.dataLayer=t.dataLayer||[],t.dataLayer}pushOnDataLayer(t){this.getDataLayer().push(t)}addGtmToDom(){const t=this.browserGlobals.documentRef();this.pushOnDataLayer({"gtm.start":(new Date).getTime(),event:"gtm.js"});const e=t.createElement("script");e.id="GTMscript",e.async=!0,e.src=this.applyGtmQueryParams("//www.googletagmanager.com/gtm.js"),t.head.insertBefore(e,t.head.firstChild);const n=t.createElement("iframe");n.setAttribute("src",this.applyGtmQueryParams("//www.googletagmanager.com/ns.html")),n.style.width="0",n.style.height="0",n.style.display="none",n.style.visibility="hidden";const r=t.createElement("noscript");r.id="GTMiframe",r.appendChild(n),t.body.insertBefore(r,t.body.firstChild),this.isLoaded=!0}pushTag(t){this.isLoaded||this.addGtmToDom(),this.pushOnDataLayer(t)}applyGtmQueryParams(t){const e=["id="+this.gtmId];return this.gtmAuth&&e.push("gtm_auth="+this.gtmAuth),this.gtmPreview&&e.push("gtm_preview="+this.gtmPreview),-1===t.indexOf("?")&&(t+="?"),t+e.join("&")}}return t.\u0275fac=function(e){return new(e||t)(qt("googleTagManagerId"),qt("googleTagManagerAuth",8),qt("googleTagManagerPreview",8))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=ut({factory:function(){return new t(qt("googleTagManagerId"),qt("googleTagManagerAuth",8),qt("googleTagManagerPreview",8))},token:t,providedIn:"root"}),t})();class m_{}class __{}class y_{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),r=n.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof y_?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new y_;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof y_?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class b_{encodeKey(t){return v_(t)}encodeValue(t){return v_(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function v_(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class w_{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new b_,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const r=t.indexOf("="),[s,i]=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],o=n.get(s)||[];o.push(i),n.set(s,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new w_({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function C_(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function S_(t){return"undefined"!=typeof Blob&&t instanceof Blob}function T_(t){return"undefined"!=typeof FormData&&t instanceof FormData}class P_{constructor(t,e,n,r){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,s=r):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.params&&(this.params=s.params)),this.headers||(this.headers=new y_),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new w_,this.urlWithParams=e}serializeBody(){return null===this.body?null:C_(this.body)||S_(this.body)||T_(this.body)||"string"==typeof this.body?this.body:this.body instanceof w_?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||T_(this.body)?null:S_(this.body)?this.body.type||null:C_(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof w_?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,r=t.responseType||this.responseType,s=void 0!==t.body?t.body:this.body,i=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,o=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let a=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(a=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),a)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new P_(e,n,s,{params:l,headers:a,reportProgress:o,responseType:r,withCredentials:i})}}const M_=function(){var t={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return t[t.Sent]="Sent",t[t.UploadProgress]="UploadProgress",t[t.ResponseHeader]="ResponseHeader",t[t.DownloadProgress]="DownloadProgress",t[t.Response]="Response",t[t.User]="User",t}();class E_{constructor(t,e=200,n="OK"){this.headers=t.headers||new y_,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class O_ extends E_{constructor(t={}){super(t),this.type=M_.ResponseHeader}clone(t={}){return new O_({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class x_ extends E_{constructor(t={}){super(t),this.type=M_.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new x_({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class A_ extends E_{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function k_(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let I_=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let r;if(t instanceof P_)r=t;else{let s=void 0;s=n.headers instanceof y_?n.headers:new y_(n.headers);let i=void 0;n.params&&(i=n.params instanceof w_?n.params:new w_({fromObject:n.params})),r=new P_(t,e,void 0!==n.body?n.body:null,{headers:s,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=vh(r).pipe(ld(t=>this.handler.handle(t)));if(t instanceof P_||"events"===n.observe)return s;const i=s.pipe(Ah(t=>t instanceof x_));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return i.pipe(H(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return i.pipe(H(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return i.pipe(H(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return i.pipe(H(t=>t.body))}case"response":return i;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new w_).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,k_(n,e))}post(t,e,n={}){return this.request("POST",t,k_(n,e))}put(t,e,n={}){return this.request("PUT",t,k_(n,e))}}return t.\u0275fac=function(e){return new(e||t)(qt(m_))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class N_{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const D_=new Vt("HTTP_INTERCEPTORS");let R_=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const G_=/^\)\]\}',?\n/;class H_{}let L_=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),V_=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new v(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const r=t.serializeBody();let s=null;const i=()=>{if(null!==s)return s;const e=1223===n.status?204:n.status,r=n.statusText||"OK",i=new y_(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return s=new O_({headers:i,status:e,statusText:r,url:o}),s},o=()=>{let{headers:r,status:s,statusText:o,url:a}=i(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let c=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(G_,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new x_({body:l,headers:r,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new A_({error:l,headers:r,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:r}=i(),s=new A_({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});e.error(s)};let l=!1;const c=r=>{l||(e.next(i()),l=!0);let s={type:M_.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(s.total=r.total),"text"===t.responseType&&n.responseText&&(s.partialText=n.responseText),e.next(s)},u=t=>{let n={type:M_.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),t.reportProgress&&(n.addEventListener("progress",c),null!==r&&n.upload&&n.upload.addEventListener("progress",u)),n.send(r),e.next({type:M_.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",c),null!==r&&n.upload&&n.upload.removeEventListener("progress",u)),n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(qt(H_))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const B_=new Vt("XSRF_COOKIE_NAME"),F_=new Vt("XSRF_HEADER_NAME");class j_{}let U_=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,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=Mu(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(qt(iu),qt(uc),qt(B_))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),z_=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(qt(j_),qt(F_))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),W_=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(D_,[]);this.chain=t.reduceRight((t,e)=>new N_(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(qt(__),qt(uo))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),$_=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:z_,useClass:R_}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:B_,useValue:e.cookieName}:[],e.headerName?{provide:F_,useValue:e.headerName}:[]]}}}return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[z_,{provide:D_,useExisting:z_,multi:!0},{provide:j_,useClass:U_},{provide:B_,useValue:"XSRF-TOKEN"},{provide:F_,useValue:"X-XSRF-TOKEN"}]}),t})(),K_=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[I_,{provide:m_,useClass:W_},V_,{provide:__,useExisting:V_},L_,{provide:H_,useExisting:L_}],imports:[[$_.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();function X_(t,e){return new v(e?n=>e.schedule(q_,0,{error:t,subscriber:n}):e=>e.error(t))}function q_({error:t,subscriber:e}){e.error(t)}class Q_{constructor(t){t&&Object.assign(this,{product:t.product,stockRemaining:t.stock_remaining,date:new Date(t.date)})}}let Z_=(()=>{class t{constructor(t){this.http=t,this.endpoint="https://salesforcevirtualadventures.com/stock",this.environment=nu,this.jsonHeader={headers:new y_({"Content-Type":"application/json"})},this.get=()=>this.http.get(this.endpoint,Object.assign({},this.jsonHeader)).pipe(Wh(t=>this.handleError(t))),this.getBottlesRemaining=()=>new Promise(t=>{this.get().pipe(H(t=>new Q_(t.filter(t=>t.product===this.environment.stockName)[0]))).subscribe(e=>{t(e.stockRemaining>=this.environment.bottlesThreshold)})})}handleError(t){return t.error instanceof ErrorEvent?console.log("An error occurred:",t.error.message):console.log(`Backend returned code ${t.status}, body was: ${t.error}`),X_("API Service has failed.")}}return t.\u0275fac=function(e){return new(e||t)(qt(I_))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Y_=(()=>{class t{constructor(t,e,n){this.http=t,this.stockService=e,this.gtmService=n,this.lastMessage=new wh(null),this.sendToParent=(t,e)=>{window.parent.postMessage({message:t,params:e},"http://localhost:4200")},this.sendToPlayCanvas=(t,e={})=>{var n,r;(null===(r=null===(n=this.target)||void 0===n?void 0:n.contentWindow)||void 0===r?void 0:r.tellPlayCanvas)&&this.target.contentWindow.tellPlayCanvas({event:t,params:e})},this.getProgressData=()=>JSON.parse(localStorage.getItem("progressData"))||{},this.sendStatus=()=>this.sendToPlayCanvas("sendStatus",{allowTracking:this.allowTracking,regionUS:this.regionUS,bottlesAvailable:this.bottlesAvailable,formSubmitted:this.formSubmitted,progressData:this.getProgressData()}),this.getStatus=()=>setTimeout(()=>this.sendStatus(),1)}get formSubmitted(){return this.formSubmittedValue}set formSubmitted(t){this.formSubmittedValue=t,null!==t&&localStorage.setItem("formSubmitted",t.toString())}get regionUS(){return this.regionValue}set regionUS(t){this.regionValue=t,null!==t&&localStorage.setItem("regionUS",t.toString())}get allowTracking(){return this.trackingValue}set allowTracking(t){this.trackingValue=t,null!==t&&localStorage.setItem("allowTracking",t.toString())}init(t){this.target=t.nativeElement,this.receiveEventsFromPlayCanvas(),this.stockService.getBottlesRemaining().then(t=>{this.bottlesAvailable=t,this.sendStatus()})}receiveEventsFromPlayCanvas(){window.playcanvas_says=(t,e,n,r)=>{this.lastMessage.next({message:t,param1:e,param2:n,param3:r}),this.sendToParent(t,[e,n,r])}}setProgress(t,e){const n=this.getProgressData();n[t]=e,localStorage.setItem("progressData",JSON.stringify(n))}trackEvent(t,e){this.allowTracking&&this.gtmService.pushTag({event:t,data:e})}shareItem(t,e){e||(e=window.location.href),e=encodeURIComponent(e.trim()),"facebook"===t?this.popup("https://www.facebook.com/sharer/sharer.php?u="+e):"twitter"===t?this.popup(`https://twitter.com/intent/tweet?text=${encodeURIComponent("We\u2019re bringing Salesforce + Google to you in a new, on-demand event. Tune in to hear from product experts & thought leaders, plus get practical tips on how to adapt & innovate for your business in today\u2019s climate.")} ${e}`):"linkedin"===t&&this.popup(`https://www.linkedin.com/shareArticle?url=${e}&summary=${encodeURIComponent("Salesforce + Google are headed your way in a new, on-demand event. Tune in for tips on how companies can innovate in today\u2019s climate.")}`)}popup(t){const e=void 0!==window.screenLeft?window.screenLeft:window.screenX,n=void 0!==window.screenTop?window.screenTop:window.screenY,r=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,s=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,i=r/window.screen.availWidth;window.open(t,"_blank",`\n\t\t\ttoolbar=no,\n\t\t\tlocation=no,\n\t\t\tstatus=no,\n\t\t\tmenubar=no,\n\t\t\tscrollbars=yes,\n\t\t\tresizable=yes,\n\t\t\twidth=626,\n\t\t\theight=490,\n\t\t\ttop=${(s-490)/2/i+n},\n\t\t\tleft=${(r-626)/2/i+e}\n\t\t`)}evaluatePopups(){return this.allowTracking=JSON.parse(localStorage.getItem("allowTracking")),this.regionUS=JSON.parse(localStorage.getItem("regionUS")),null===this.allowTracking||null===this.regionUS?"compliance":null}}return t.\u0275fac=function(e){return new(e||t)(qt(I_),qt(Z_),qt(g_))},t.\u0275prov=ut({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),J_=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["app-header"]],decls:2,vars:0,consts:[["href","https://www.salesforce.com/campaign/google/","target","_blank"]],template:function(t,e){1&t&&(No(0,"a",0),ma(1," See More from Salesforce\n"),Do())},styles:["[_nghost-%COMP%]{height:38px;text-align:right;padding:0 1.8rem;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;font-size:12px}a[_ngcontent-%COMP%]{text-decoration:underline}a[_ngcontent-%COMP%]:hover{text-decoration:none}"]}),t})(),ty=(()=>{class t{constructor(t,e){this.playCanvasService=t,this.formBuilder=e,this.closed=new Hl,this.visible=!1,this.formGroup=this.formBuilder.group({trackingAllowed:new am(!0)})}ngOnInit(){this.playCanvasService.formSubmitted=JSON.parse(localStorage.getItem("formSubmitted")),this.playCanvasService.allowTracking=JSON.parse(localStorage.getItem("allowTracking")),this.playCanvasService.regionUS=JSON.parse(localStorage.getItem("regionUS")),this.playCanvasService.allowTracking||(this.visible=!0)}open(){this.visible=!0}close(){this.visible=!1,this.playCanvasService.sendStatus(),this.closed.emit()}yes(){this.playCanvasService.regionUS=!0,this.playCanvasService.allowTracking=this.formGroup.value.trackingAllowed,this.close()}no(){this.playCanvasService.regionUS=!1,this.playCanvasService.allowTracking=this.formGroup.value.trackingAllowed,this.close()}}return t.\u0275fac=function(e){return new(e||t)(Oo(Y_),Oo(Tm))},t.\u0275cmp=fe({type:t,selectors:[["app-compliance"]],hostVars:2,hostBindings:function(t,e){2&t&&sa("visible",e.visible)},inputs:{visible:"visible"},outputs:{closed:"closed"},decls:16,vars:1,consts:[[1,"backdrop"],[1,"popup"],[1,"text-center",3,"formGroup"],[1,"buttons"],[1,"btn","btn-block","btn-primary",3,"click"],[1,"form-check"],["id","tracking-allowed","type","checkbox","formControlName","trackingAllowed",1,"form-check-input"],["for","tracking-allowed"],["href","https://www.salesforce.com/company/privacy/full_privacy/","target","_blank"]],template:function(t,e){1&t&&(Ro(0,"div",0),No(1,"div",1),No(2,"form",2),No(3,"h1"),ma(4,"Are you based in the U.S.?"),Do(),No(5,"div",3),No(6,"button",4),Fo("click",(function(){return e.yes()})),ma(7,"Yes"),Do(),No(8,"button",4),Fo("click",(function(){return e.no()})),ma(9,"No"),Do(),Do(),No(10,"div",5),Ro(11,"input",6),No(12,"label",7),ma(13," By checking this box, I consent to data processing as described in the "),No(14,"a",8),ma(15,"Salesforce Privacy Policy"),Do(),Do(),Do(),Do(),Do()),2&t&&(ws(2),ko("formGroup",e.formGroup))},directives:[dm,Sg,gm,dg,Cg,Cm],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;color:#fff}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%]   .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(popup-bg.2529ff5db1d84d7cf04a.jpg) no-repeat 0 0;background-size:cover;border-radius:25px;padding:2rem}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%]   .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%]   .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%]   .backdrop[_ngcontent-%COMP%]{cursor:auto}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{width:100%;max-width:680px}[_nghost-%COMP%]   .buttons[_ngcontent-%COMP%]{margin:2rem 0}[_nghost-%COMP%]   .buttons[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{text-transform:uppercase}.gdpr[_ngcontent-%COMP%]{width:100%;max-width:820px;height:400px;overflow:auto}h1[_ngcontent-%COMP%]{margin-bottom:1rem;font-weight:700}label[_ngcontent-%COMP%]{font-size:14px}.fine-print[_ngcontent-%COMP%]{font-size:11px}"]}),t})();function ey(t,e){if(1&t&&(No(0,"dl"),No(1,"dt"),ma(2,"Message:"),Do(),No(3,"dd"),ma(4),Do(),No(5,"dt"),ma(6,"Param 1:"),Do(),No(7,"dd"),ma(8),Do(),No(9,"dt"),ma(10,"Param 2:"),Do(),No(11,"dd"),ma(12),Do(),No(13,"dt"),ma(14,"Param 3:"),Do(),No(15,"dd"),ma(16),Do(),Do()),2&t){const t=$o();ws(4),_a(t.data.message),ws(4),_a(t.data.param1),ws(4),_a(t.data.param2),ws(4),_a(t.data.param3)}}let ny=(()=>{class t{constructor(t){this.playCanvasService=t,this.closed=new Hl,this.visible=!1}ngOnInit(){}open(t){this.data=t,this.visible=!0}close(){this.visible=!1,this.playCanvasService.sendStatus(),this.closed.emit()}}return t.\u0275fac=function(e){return new(e||t)(Oo(Y_))},t.\u0275cmp=fe({type:t,selectors:[["app-popup-message"]],hostVars:2,hostBindings:function(t,e){2&t&&sa("visible",e.visible)},outputs:{closed:"closed"},decls:7,vars:1,consts:[[1,"backdrop",3,"click"],[1,"popup"],[4,"ngIf"],[3,"click"]],template:function(t,e){1&t&&(No(0,"div",0),Fo("click",(function(){return e.close()})),Do(),No(1,"div",1),No(2,"p"),ma(3,"popup-message works!"),Do(),Mo(4,ey,17,4,"dl",2),No(5,"button",3),Fo("click",(function(){return e.close()})),ma(6,"Close me"),Do(),Do()),2&t&&(ws(4),ko("ngIf",e.data))},directives:[Au],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%]   .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(popup-bg.2529ff5db1d84d7cf04a.jpg) no-repeat 0 0;background-size:cover;border-radius:25px;padding:2rem}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%]   .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%]   .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{width:100%;max-width:640px}"]}),t})();var ry=n("4+EV");function sy(t){return(sy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function iy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oy(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){iy(t,e,n[e])}))}return t}function ay(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,s=!1,i=void 0;try{for(var o,a=t[Symbol.iterator]();!(r=(o=a.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(l){s=!0,i=l}finally{try{r||null==a.return||a.return()}finally{if(s)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var ly={},cy={};try{"undefined"!=typeof window&&(ly=window),"undefined"!=typeof document&&(cy=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&performance}catch(qT){}var uy=(ly.navigator||{}).userAgent,hy=void 0===uy?"":uy,dy=ly,py=cy,fy=!!py.documentElement&&!!py.head&&"function"==typeof py.addEventListener&&"function"==typeof py.createElement,gy=(~hy.indexOf("MSIE")||hy.indexOf("Trident/"),[1,2,3,4,5,6,7,8,9,10]),my=gy.concat([11,12,13,14,15,16,17,18,19,20]),_y={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},yy=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",_y.GROUP,_y.SWAP_OPACITY,_y.PRIMARY,_y.SECONDARY].concat(gy.map((function(t){return"".concat(t,"x")}))).concat(my.map((function(t){return"w-".concat(t)}))),dy.FontAwesomeConfig||{});py&&"function"==typeof py.querySelector&&[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(t){var e=ay(t,2),n=e[1],r=function(t){return""===t||"false"!==t&&("true"===t||t)}(function(t){var e=py.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(e[0]));null!=r&&(yy[n]=r)}));var by=oy({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},yy);by.autoReplaceSvg||(by.observeMutations=!1);var vy=oy({},by);dy.FontAwesomeConfig=vy;var wy=dy||{};wy.___FONT_AWESOME___||(wy.___FONT_AWESOME___={}),wy.___FONT_AWESOME___.styles||(wy.___FONT_AWESOME___.styles={}),wy.___FONT_AWESOME___.hooks||(wy.___FONT_AWESOME___.hooks={}),wy.___FONT_AWESOME___.shims||(wy.___FONT_AWESOME___.shims=[]);var Cy=wy.___FONT_AWESOME___,Sy=[];fy&&((py.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(py.readyState)||py.addEventListener("DOMContentLoaded",(function t(){py.removeEventListener("DOMContentLoaded",t),Sy.map((function(t){return t()}))})));var Ty,Py=function(){},My="undefined"!=typeof global&&void 0!==global.process&&"function"==typeof global.process.emit,Ey="undefined"==typeof setImmediate?setTimeout:setImmediate,Oy=[];function xy(){for(var t=0;t<Oy.length;t++)Oy[t][0](Oy[t][1]);Oy=[],Ty=!1}function Ay(t,e){Oy.push([t,e]),Ty||(Ty=!0,Ey(xy,0))}function ky(t){var e=t.owner,n=e._state,r=e._data,s=t[n],i=t.then;if("function"==typeof s){n="fulfilled";try{r=s(r)}catch(qT){Ry(i,qT)}}Iy(i,r)||("fulfilled"===n&&Ny(i,r),"rejected"===n&&Ry(i,r))}function Iy(t,e){var n;try{if(t===e)throw new TypeError("A promises callback cannot return that same promise.");if(e&&("function"==typeof e||"object"===sy(e))){var r=e.then;if("function"==typeof r)return r.call(e,(function(r){n||(n=!0,e===r?Dy(t,r):Ny(t,r))}),(function(e){n||(n=!0,Ry(t,e))})),!0}}catch(qT){return n||Ry(t,qT),!0}return!1}function Ny(t,e){t!==e&&Iy(t,e)||Dy(t,e)}function Dy(t,e){"pending"===t._state&&(t._state="settled",t._data=e,Ay(Hy,t))}function Ry(t,e){"pending"===t._state&&(t._state="settled",t._data=e,Ay(Ly,t))}function Gy(t){t._then=t._then.forEach(ky)}function Hy(t){t._state="fulfilled",Gy(t)}function Ly(t){t._state="rejected",Gy(t),!t._handled&&My&&global.process.emit("unhandledRejection",t._data,t)}function Vy(t){global.process.emit("rejectionHandled",t)}function By(t){if("function"!=typeof t)throw new TypeError("Promise resolver "+t+" is not a function");if(this instanceof By==0)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(t,e){function n(t){Ry(e,t)}try{t((function(t){Ny(e,t)}),n)}catch(qT){n(qT)}}(t,this)}By.prototype={constructor:By,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(t,e){var n={owner:this,then:new this.constructor(Py),fulfilled:t,rejected:e};return!e&&!t||this._handled||(this._handled=!0,"rejected"===this._state&&My&&Ay(Vy,this)),"fulfilled"===this._state||"rejected"===this._state?Ay(ky,n):this._then.push(n),n.then},catch:function(t){return this.then(null,t)}},By.all=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.all().");return new By((function(e,n){var r=[],s=0;function i(t){return s++,function(n){r[t]=n,--s||e(r)}}for(var o,a=0;a<t.length;a++)(o=t[a])&&"function"==typeof o.then?o.then(i(a),n):r[a]=o;s||e(r)}))},By.race=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.race().");return new By((function(e,n){for(var r,s=0;s<t.length;s++)(r=t[s])&&"function"==typeof r.then?r.then(e,n):e(r)}))},By.resolve=function(t){return t&&"object"===sy(t)&&t.constructor===By?t:new By((function(e){e(t)}))},By.reject=function(t){return new By((function(e,n){n(t)}))};var Fy={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function jy(){for(var t=12,e="";t-- >0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function Uy(t){return"".concat(t).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function zy(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n],";")}),"")}function Wy(t){return t.size!==Fy.size||t.x!==Fy.x||t.y!==Fy.y||t.rotate!==Fy.rotate||t.flipX||t.flipY}function $y(t){var e=t.transform,n=t.iconWidth,r={transform:"translate(".concat(t.containerWidth/2," 256)")},s="translate(".concat(32*e.x,", ").concat(32*e.y,") "),i="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),o="rotate(".concat(e.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(s," ").concat(i," ").concat(o)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}var Ky={x:0,y:0,width:"100%",height:"100%"};function Xy(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function qy(t){var e=t.icons,n=e.main,r=e.mask,s=t.prefix,i=t.iconName,o=t.transform,a=t.symbol,l=t.title,c=t.maskId,u=t.titleId,h=t.extra,d=t.watchable,p=void 0!==d&&d,f=r.found?r:n,g=f.width,m=f.height,_="fa-w-".concat(Math.ceil(g/m*16)),y=[vy.replacementClass,i?"".concat(vy.familyPrefix,"-").concat(i):"",_].filter((function(t){return-1===h.classes.indexOf(t)})).concat(h.classes).join(" "),b={children:[],attributes:oy({},h.attributes,{"data-prefix":s,"data-icon":i,class:y,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(m)})};p&&(b.attributes["data-fa-i2svg"]=""),l&&b.children.push({tag:"title",attributes:{id:b.attributes["aria-labelledby"]||"title-".concat(u||jy())},children:[l]});var v=oy({},b,{prefix:s,iconName:i,main:n,mask:r,maskId:c,transform:o,symbol:a,styles:h.styles}),w=r.found&&n.found?function(t){var e,n=t.children,r=t.attributes,s=t.main,i=t.mask,o=t.maskId,a=s.icon,l=i.icon,c=$y({transform:t.transform,containerWidth:i.width,iconWidth:s.width}),u={tag:"rect",attributes:oy({},Ky,{fill:"white"})},h=a.children?{children:a.children.map(Xy)}:{},d={tag:"g",attributes:oy({},c.inner),children:[Xy(oy({tag:a.tag,attributes:oy({},a.attributes,c.path)},h))]},p={tag:"g",attributes:oy({},c.outer),children:[d]},f="mask-".concat(o||jy()),g="clip-".concat(o||jy()),m={tag:"mask",attributes:oy({},Ky,{id:f,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[u,p]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:g},children:(e=l,"g"===e.tag?e.children:[e])},m]};return n.push(_,{tag:"rect",attributes:oy({fill:"currentColor","clip-path":"url(#".concat(g,")"),mask:"url(#".concat(f,")")},Ky)}),{children:n,attributes:r}}(v):function(t){var e=t.children,n=t.attributes,r=t.main,s=t.transform,i=zy(t.styles);if(i.length>0&&(n.style=i),Wy(s)){var o=$y({transform:s,containerWidth:r.width,iconWidth:r.width});e.push({tag:"g",attributes:oy({},o.outer),children:[{tag:"g",attributes:oy({},o.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:oy({},r.icon.attributes,o.path)}]}]})}else e.push(r.icon);return{children:e,attributes:n}}(v),C=w.attributes;return v.children=w.children,v.attributes=C,a?function(t){var e=t.iconName,n=t.children,r=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:oy({},t.attributes,{id:!0===r?"".concat(t.prefix,"-").concat(vy.familyPrefix,"-").concat(e):r}),children:n}]}]}(v):function(t){var e=t.children,n=t.main,r=t.mask,s=t.attributes,i=t.styles,o=t.transform;if(Wy(o)&&n.found&&!r.found){var a={x:n.width/n.height/2,y:.5};s.style=zy(oy({},i,{"transform-origin":"".concat(a.x+o.x/16,"em ").concat(a.y+o.y/16,"em")}))}return[{tag:"svg",attributes:s,children:e}]}(v)}var Qy=function(t,e,n,r){var s,i,o,a=Object.keys(t),l=a.length,c=void 0!==r?function(t,e){return function(n,r,s,i){return t.call(e,n,r,s,i)}}(e,r):e;for(void 0===n?(s=1,o=t[a[0]]):(s=0,o=n);s<l;s++)o=c(o,t[i=a[s]],i,t);return o};function Zy(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,s=void 0!==r&&r,i=Object.keys(e).reduce((function(t,n){var r=e[n];return r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{});"function"!=typeof Cy.hooks.addPack||s?Cy.styles[t]=oy({},Cy.styles[t]||{},i):Cy.hooks.addPack(t,i),"fas"===t&&Zy("fa",e)}var Yy=Cy.styles,Jy=Cy.shims,tb=function(){var t=function(t){return Qy(Yy,(function(e,n,r){return e[r]=Qy(n,t,{}),e}),{})};t((function(t,e,n){return e[3]&&(t[e[3]]=n),t})),t((function(t,e,n){var r=e[2];return t[n]=n,r.forEach((function(e){t[e]=n})),t}));var e="far"in Yy;Qy(Jy,(function(t,n){var r=n[1];return"far"!==r||e||(r="fas"),t[n[0]]={prefix:r,iconName:n[2]},t}),{})};function eb(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function nb(t){var e=t.tag,n=t.attributes,r=void 0===n?{}:n,s=t.children,i=void 0===s?[]:s;return"string"==typeof t?Uy(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(Uy(t[n]),'" ')}),"").trim()}(r),">").concat(i.map(nb).join(""),"</").concat(e,">")}function rb(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}tb(),(rb.prototype=Object.create(Error.prototype)).constructor=rb;var sb={fill:"currentColor"},ib={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},ob=(oy({},sb,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),oy({},ib,{attributeName:"opacity"}));function ab(t){var e=t[0],n=t[1],r=ay(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(vy.familyPrefix,"-").concat(_y.GROUP)},children:[{tag:"path",attributes:{class:"".concat(vy.familyPrefix,"-").concat(_y.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(vy.familyPrefix,"-").concat(_y.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}function lb(){vy.autoAddCss&&!pb&&(function(t){if(t&&fy){var e=py.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=py.head.childNodes,r=null,s=n.length-1;s>-1;s--){var i=n[s],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=i)}py.head.insertBefore(e,r)}}(function(){var t="svg-inline--fa",e=vy.familyPrefix,n=vy.replacementClass,r='svg:not(:root).svg-inline--fa {\n  overflow: visible;\n}\n\n.svg-inline--fa {\n  display: inline-block;\n  font-size: inherit;\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n  width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n  width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n  width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n  width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n  width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n  width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n  width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n  width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n  width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n  width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n  width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n  width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n  width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n  width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n  width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n  width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n  width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n  width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n  width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n  width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: 0.3em;\n  width: auto;\n}\n.svg-inline--fa.fa-border {\n  height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n  width: 2em;\n}\n.svg-inline--fa.fa-fw {\n  width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: #ff253a;\n  border-radius: 1em;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  color: #fff;\n  height: 1.5em;\n  line-height: 1;\n  max-width: 5em;\n  min-width: 1.5em;\n  overflow: hidden;\n  padding: 0.25em;\n  right: 0;\n  text-overflow: ellipsis;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: 0;\n  right: 0;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: 0;\n  left: 0;\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  right: 0;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: 0;\n  right: auto;\n  top: 0;\n  -webkit-transform: scale(0.25);\n          transform: scale(0.25);\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-lg {\n  font-size: 1.3333333333em;\n  line-height: 0.75em;\n  vertical-align: -0.0667em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: 2.5em;\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: -2em;\n  position: absolute;\n  text-align: center;\n  width: 2em;\n  line-height: inherit;\n}\n\n.fa-border {\n  border: solid 0.08em #eee;\n  border-radius: 0.1em;\n  padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n  float: left;\n}\n\n.fa-pull-right {\n  float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n  margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n  margin-left: 0.3em;\n}\n\n.fa-spin {\n  -webkit-animation: fa-spin 2s infinite linear;\n          animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n  -webkit-animation: fa-spin 1s infinite steps(8);\n          animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n  -webkit-filter: none;\n          filter: none;\n}\n\n.fa-stack {\n  display: inline-block;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: #fff;\n}\n\n.sr-only {\n  border: 0;\n  clip: rect(0, 0, 0, 0);\n  height: 1px;\n  margin: -1px;\n  overflow: hidden;\n  padding: 0;\n  position: absolute;\n  width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n  clip: auto;\n  height: auto;\n  margin: 0;\n  overflow: visible;\n  position: static;\n  width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: 0.4;\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: 1;\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse {\n  color: #fff;\n}';if("fa"!==e||n!==t){var s=new RegExp("\\.".concat("fa","\\-"),"g"),i=new RegExp("\\--".concat("fa","\\-"),"g"),o=new RegExp("\\.".concat(t),"g");r=r.replace(s,".".concat(e,"-")).replace(i,"--".concat(e,"-")).replace(o,".".concat(n))}return r}()),pb=!0)}function cb(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return nb(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(fy){var e=py.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function ub(t){var e=t.prefix,n=void 0===e?"fa":e,r=t.iconName;if(r)return eb(db.definitions,n,r)||eb(Cy.styles,n,r)}oy({},sb,{cx:"256",cy:"364",r:"28"}),oy({},ib,{attributeName:"r",values:"28;14;28;28;14;28;"}),oy({},ob,{values:"1;0;1;1;0;1;"}),oy({},sb,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),oy({},ob,{values:"1;0;0;0;0;1;"}),oy({},sb,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),oy({},ob,{values:"0;0;1;1;0;0;"});var hb,db=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e;return(e=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var s=n.reduce(this._pullDefinitions,{});Object.keys(s).forEach((function(e){t.definitions[e]=oy({},t.definitions[e]||{},s[e]),Zy(e,s[e]),tb()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map((function(e){var r=n[e],s=r.prefix,i=r.iconName,o=r.icon;t[s]||(t[s]={}),t[s][i]=o})),t}}])&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(t.prototype,e),t}()),pb=!1,fb=(hb=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?Fy:n,s=e.symbol,i=void 0!==s&&s,o=e.mask,a=void 0===o?null:o,l=e.maskId,c=void 0===l?null:l,u=e.title,h=void 0===u?null:u,d=e.titleId,p=void 0===d?null:d,f=e.classes,g=void 0===f?[]:f,m=e.attributes,_=void 0===m?{}:m,y=e.styles,b=void 0===y?{}:y;if(t){var v=t.prefix,w=t.iconName,C=t.icon;return cb(oy({type:"icon"},t),(function(){return lb(),vy.autoA11y&&(h?_["aria-labelledby"]="".concat(vy.replacementClass,"-title-").concat(p||jy()):(_["aria-hidden"]="true",_.focusable="false")),qy({icons:{main:ab(C),mask:a?ab(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:v,iconName:w,transform:oy({},Fy,r),symbol:i,title:h,maskId:c,titleId:p,extra:{attributes:_,styles:b,classes:g}})}))}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:ub(t||{}),r=e.mask;return r&&(r=(r||{}).icon?r:ub(r||{})),hb(n,oy({},e,{mask:r}))});let gb=(()=>{let t=class{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null,this.globalLibrary=!1}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})(),mb=(()=>{let t=class{constructor(){this.definitions={}}addIcons(...t){for(const e of t)e.prefix in this.definitions||(this.definitions[e.prefix]={}),this.definitions[e.prefix][e.iconName]=e}addIconPacks(...t){for(const e of t){const t=Object.keys(e).map(t=>e[t]);this.addIcons(...t)}}getIconDefinition(t,e){return t in this.definitions&&e in this.definitions[t]?this.definitions[t][e]:null}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const _b=t=>{const e={"fa-spin":t.spin,"fa-pulse":t.pulse,"fa-fw":t.fixedWidth,"fa-border":t.border,"fa-inverse":t.inverse,"fa-layers-counter":t.counter,"fa-flip-horizontal":"horizontal"===t.flip||"both"===t.flip,"fa-flip-vertical":"vertical"===t.flip||"both"===t.flip,["fa-"+t.size]:null!==t.size,["fa-rotate-"+t.rotate]:null!==t.rotate,["fa-pull-"+t.pull]:null!==t.pull,["fa-stack-"+t.stackItemSize]:null!=t.stackItemSize};return Object.keys(e).map(t=>e[t]?t:null).filter(t=>t)};let yb=(()=>{let t=class{constructor(){this.stackItemSize="1x"}ngOnChanges(t){if("size"in t)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ve({type:t,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[Oa]}),t})(),bb=(()=>{let t=class{constructor(t,e,n,r){this.sanitizer=t,this.config=e,this.iconLibrary=n,this.stackItem=r,this.classes=[]}ngOnChanges(t){if(null==this.icon&&null==this.config.fallbackIcon)return(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})();let e=null;if(e=null==this.icon?this.config.fallbackIcon:this.icon,t){const t=this.findIconDefinition(e);if(null!=t){const e=this.buildParams();this.renderIcon(t,e)}}}render(){this.ngOnChanges({})}findIconDefinition(t){const e=((t,e)=>{return void 0!==(n=t).prefix&&void 0!==n.iconName?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"==typeof t?{prefix:e,iconName:t}:void 0;var n})(t,this.config.defaultPrefix);if("icon"in e)return e;const n=this.iconLibrary.getIconDefinition(e.prefix,e.iconName);if(null!=n)return n;const r=ub(e);if(null!=r){const t="Global icon library is deprecated. Consult https://github.com/FortAwesome/angular-fontawesome/blob/master/UPGRADING.md for the migration instructions.";if("unset"===this.config.globalLibrary)console.error("FontAwesome: "+t);else if(!this.config.globalLibrary)throw new Error(t);return r}return(t=>{throw new Error(`Could not find icon with iconName=${t.iconName} and prefix=${t.prefix} in the icon library.`)})(e),null}buildParams(){const t={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},e="string"==typeof this.transform?function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),r=n[0],s=n.slice(1).join("-");if(r&&"h"===s)return t.flipX=!0,t;if(r&&"v"===s)return t.flipY=!0,t;if(s=parseFloat(s),isNaN(s))return t;switch(r){case"grow":t.size=t.size+s;break;case"shrink":t.size=t.size-s;break;case"left":t.x=t.x-s;break;case"right":t.x=t.x+s;break;case"up":t.y=t.y-s;break;case"down":t.y=t.y+s;break;case"rotate":t.rotate=t.rotate+s}return t}),e):e}(this.transform):this.transform;return{title:this.title,transform:e,classes:[..._b(t),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(t,e){const n=fb(t,e);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(n.html.join("\n"))}};return t.\u0275fac=function(e){return new(e||t)(Oo(gh),Oo(gb),Oo(mb),Oo(yb,8))},t.\u0275cmp=fe({type:t,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(t,e){2&t&&(ba("innerHTML",e.renderedIconHTML,Qr),Po("title",e.title))},inputs:{classes:"classes",icon:"icon",title:"title",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform",a11yRole:"a11yRole"},features:[Oa],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})(),vb=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})();const wb=["video"];function Cb(t,e){1&t&&(No(0,"div",9),No(1,"a",10),ma(2," Read White Paper "),Do(),Do())}function Sb(t,e){1&t&&(No(0,"div",9),No(1,"a",10),ma(2," Read White Paper "),Do(),Do())}function Tb(t,e){1&t&&(No(0,"div",9),No(1,"a",11),ma(2," Read Data Sheet "),Do(),Do())}function Pb(t,e){1&t&&(No(0,"div",12),No(1,"a",13),ma(2," Visit Trailhead "),Do(),No(3,"a",14),ma(4," Download "),Do(),Do())}function Mb(t,e){if(1&t&&(Go(0),Mo(1,Cb,3,0,"div",7),Mo(2,Sb,3,0,"div",7),Mo(3,Tb,3,0,"div",7),Mo(4,Pb,5,0,"div",8),Ho()),2&t){const t=$o();ws(1),ko("ngIf","Zulily_Box"===t.videoKey),ws(1),ko("ngIf","Zulily_Viewfinder"===t.videoKey),ws(1),ko("ngIf","Yeti_Sign_R"===t.videoKey),ws(1),ko("ngIf","PWC_Sign_Bottom"===t.videoKey)}}function Eb(t,e){1&t&&(No(0,"div",17),No(1,"div",18),No(2,"div",19),No(3,"div",20),No(4,"p"),ma(5," Learn additional best practices for optimizing Tableau and BigQuery "),Do(),No(6,"a",21),ma(7," READ WHITE PAPER "),Do(),Do(),Do(),Do(),Do())}function Ob(t,e){1&t&&(No(0,"div",22),No(1,"div",18),No(2,"div",19),No(3,"div",23),No(4,"p"),ma(5," Learn new skills from anywhere with Trailhead "),Do(),No(6,"a",24),ma(7," VISIT TRAILHEAD "),Do(),Do(),No(8,"div",23),No(9,"p"),ma(10," Test your technology knowledge with PwC's Digital Fitness app "),Do(),No(11,"a",24),ma(12," DOWNLOAD "),Do(),Do(),Do(),Do(),Do())}function xb(t,e){if(1&t&&(Go(0),Mo(1,Eb,8,0,"div",15),Mo(2,Ob,13,0,"div",16),Ho()),2&t){const t=$o();ws(1),ko("ngIf","Zulily_Box"===t.videoKey),ws(1),ko("ngIf","PWC_Sign_Bottom"===t.videoKey)}}let Ab=(()=>{class t{constructor(t,e,n){this.playCanvasService=t,this.sanitizer=e,this.renderer=n,this.environment=nu,this.closed=new Hl,this.visible=!1,this.hasCtasBar=!1,this.achievementAcquired=!1,this.icons={close:ry.faTimes},this.shouldShowCtaBarNow=!1,this.supposedCurrentTime=0,this.ngOnInit=()=>this.calculateChanges(),this.ngOnChanges=()=>this.calculateChanges()}ngAfterViewInit(){nu.disableScrubbing&&(this.video.nativeElement.addEventListener("timeupdate",()=>{this.video.nativeElement.seeking||(this.supposedCurrentTime=this.video.nativeElement.currentTime)}),this.video.nativeElement.addEventListener("seeking",()=>{this.video.nativeElement.currentTime-this.supposedCurrentTime>.01&&(this.video.nativeElement.currentTime=this.supposedCurrentTime)}),this.video.nativeElement.addEventListener("ended",()=>this.supposedCurrentTime=0))}calculateChanges(){this.src=this.sanitizer.bypassSecurityTrustResourceUrl(this.videoId),this.shouldShowCtaBarNow=!1,this.supposedCurrentTime=0,this.hasCtasBar=nu.showVideoCtaBars&&["Zulily_Box","PWC_Sign_Bottom"].includes(this.videoKey)}open(t){this.progressListener=this.renderer.listen(this.video.nativeElement,"timeupdate",()=>{const t=Math.floor(100/this.video.nativeElement.duration*this.video.nativeElement.currentTime);this.shouldShowCtaBarNow=t>=99,t>=95&&(this.achievementAcquired=!0)}),this.achievementAcquired=!1,this.videoKey=t,this.videoId=nu.videos[t],this.visible=!0,this.calculateChanges()}close(){this.visible=!1,this.video.nativeElement.pause(),this.progressListener(),this.src=null,this.closed.emit(),this.achievementAcquired&&(this.playCanvasService.setProgress(this.videoKey,!0),this.playCanvasService.sendStatus())}}return t.\u0275fac=function(e){return new(e||t)(Oo(Y_),Oo(gh),Oo($a))},t.\u0275cmp=fe({type:t,selectors:[["app-popup-video"]],viewQuery:function(t,e){var n;1&t&&Ql(wb,!0),2&t&&Xl(n=Jl())&&(e.video=n.first)},hostVars:2,hostBindings:function(t,e){2&t&&sa("visible",e.visible)},outputs:{closed:"closed"},decls:8,vars:6,consts:[[1,"backdrop",3,"click"],[1,"popup"],["width","820","height","461","autoplay","","controls","",3,"src"],["video",""],[1,"close",3,"click"],[3,"icon"],[4,"ngIf"],["class","cta-overlay cta-overlay--zulily",4,"ngIf"],["class","cta-overlay cta-overlay--pwc",4,"ngIf"],[1,"cta-overlay","cta-overlay--zulily"],["target","_blank","href","https://drive.google.com/file/d/1evY40Rk929KyBSo3zrKc0SRGWKKKCm4f/view?usp=sharing",1,"right"],["target","_blank","href","https://www.salesforce.com/content/dam/web/en_us/www/documents/datasheets/know-your-customer-data-sheet.pdf",1,"right"],[1,"cta-overlay","cta-overlay--pwc"],["target","_blank","href","https://trailhead.salesforce.com/users/teamtrailhead/trailmixes/salesforce-google-virtual-adventure",1,"left"],["target","_blank","href","https://www.pwc.com/us/en/products/digital-fitness.html",1,"right"],["class","cta-bar cta-bar--purple",4,"ngIf"],["class","cta-bar cta-bar--teal",4,"ngIf"],[1,"cta-bar","cta-bar--purple"],[1,"container-fluid"],[1,"row"],[1,"col-lg-12"],["target","_blank","href","https://drive.google.com/file/d/1evY40Rk929KyBSo3zrKc0SRGWKKKCm4f/view?usp=sharing",1,"btn","btn-primary"],[1,"cta-bar","cta-bar--teal"],[1,"col-md-6"],["target","_blank","href","https://trailhead.salesforce.com/users/teamtrailhead/trailmixes/salesforce-google-virtual-adventure",1,"btn","btn-primary"]],template:function(t,e){1&t&&(No(0,"div",0),Fo("click",(function(){return e.close()})),Do(),No(1,"div",1),Ro(2,"video",2,3),No(4,"button",4),Fo("click",(function(){return e.close()})),Ro(5,"fa-icon",5),Do(),Mo(6,Mb,5,4,"ng-container",6),Mo(7,xb,3,2,"ng-container",6),Do()),2&t&&(ws(1),sa("has-ctas",e.hasCtasBar),ws(1),ko("src",e.src,Yr),ws(3),ko("icon",e.icons.close),ws(1),ko("ngIf",e.environment.showVideoCtaOverlays&&e.shouldShowCtaBarNow),ws(1),ko("ngIf",e.hasCtasBar))},directives:[bb,Au],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;display:flex;padding:80px}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%]   .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(popup-bg.2529ff5db1d84d7cf04a.jpg) no-repeat 0 0;border-radius:25px;padding:2rem}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%]   .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%]   .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{background:transparent url(video-bg.2cd90c80a521deca897e.png) no-repeat 50%;background-size:cover;width:calc(100% - 40px);max-width:1280px;height:0;padding-bottom:calc(56.25% - 40px);overflow:visible}@media (min-width:1280px){[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{padding-bottom:0;height:740px}}[_nghost-%COMP%]   .popup.has-ctas[_ngcontent-%COMP%]{transform:translate(-50%,calc(-50% - 90px));border-bottom-left-radius:0;border-bottom-right-radius:0}[_nghost-%COMP%]   video[_ngcontent-%COMP%]{width:calc(100% - 40px);height:calc(100% - 40px);position:absolute;top:20px;left:20px}[_nghost-%COMP%]   .close[_ngcontent-%COMP%]{top:-10px;right:-7px;font-size:31px}[_nghost-%COMP%]   .cta-overlay[_ngcontent-%COMP%]{position:absolute;height:18%;bottom:8%;left:20px;width:calc(100% - 40px);pointer-events:none}[_nghost-%COMP%]   .cta-overlay--pwc[_ngcontent-%COMP%]{bottom:19%;height:20%}[_nghost-%COMP%]   .cta-overlay[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:100%;height:100%;pointer-events:all;background:transparent;color:transparent}[_nghost-%COMP%]   .cta-overlay[_ngcontent-%COMP%]   a.left[_ngcontent-%COMP%], [_nghost-%COMP%]   .cta-overlay[_ngcontent-%COMP%]   a.right[_ngcontent-%COMP%]{width:50%}[_nghost-%COMP%]   .cta-overlay[_ngcontent-%COMP%]   a.right[_ngcontent-%COMP%]{left:auto;right:0}[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]{height:90px;position:absolute;bottom:-90px;left:0;width:100%;background:#3a837d;border-bottom-left-radius:25px;border-bottom-right-radius:25px;color:#fff}[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   .container-fluid[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%}[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   .col-lg-12[_ngcontent-%COMP%], [_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   .col-md-6[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin:1px 0;padding-left:30px;padding-right:30px}@media (min-width:1024px){[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   .col-lg-12[_ngcontent-%COMP%], [_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   .col-md-6[_ngcontent-%COMP%]{height:58px}}[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:0;font-size:18px}@media (max-width:1024px){[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px}}[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{min-width:180px;margin-left:12px;color:#3a837d}@media (max-width:1440px){[_nghost-%COMP%]   .cta-bar[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{font-size:14px}}[_nghost-%COMP%]   .cta-bar--purple[_ngcontent-%COMP%]{background:#472546}[_nghost-%COMP%]   .cta-bar--purple[_ngcontent-%COMP%]   .col-lg-12[_ngcontent-%COMP%]{justify-content:center}[_nghost-%COMP%]   .cta-bar--purple[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{color:#472546}"]}),t})();class kb extends h{constructor(t,e){super()}schedule(t,e=0){return this}}class Ib extends kb{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,r=void 0;try{this.work(t)}catch(qT){n=!0,r=!!qT&&qT||new Error(qT)}if(n)return this.unsubscribe(),r}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let Nb=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class Db extends Nb{constructor(t,e=Nb.now){super(t,()=>Db.delegate&&Db.delegate!==this?Db.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return Db.delegate&&Db.delegate!==this?Db.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}const Rb=new Db(Ib);function Gb(t,e=Rb){return n=>n.lift(new Hb(t,e))}class Hb{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new Lb(t,this.dueTime,this.scheduler))}}class Lb extends f{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Vb,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function Vb(t){t.debouncedNext()}function Bb(t,e){return n=>n.lift(new Fb(t,e))}class Fb{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new jb(t,this.compare,this.keySelector))}}class jb extends f{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(r){return this.destination.error(r)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(r){return this.destination.error(r)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}function Ub(t){return!l(t)&&t-parseFloat(t)+1>=0}function zb(t){const{index:e,period:n,subscriber:r}=t;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}function Wb(t,e,n,s){return r(n)&&(s=n,n=void 0),s?Wb(t,e,n).pipe(H(t=>l(t)?s(...t):s(t))):new v(r=>{!function t(e,n,r,s,i){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,r,i),o=()=>t.removeEventListener(n,r,i)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,r),o=()=>t.off(n,r)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,r),o=()=>t.removeListener(n,r)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,a=e.length;o<a;o++)t(e[o],n,r,s,i)}s.add(o)}(t,e,(function(t){r.next(arguments.length>1?Array.prototype.slice.call(arguments):t)}),r,n)})}class $b{call(t,e){return e.subscribe(new Kb(t))}}class Kb extends G{constructor(t){super(t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(t){this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(let n=0;n<e&&!this.hasFirst;n++){let e=t[n],r=R(this,e,e,n);this.subscriptions&&this.subscriptions.push(r),this.add(r)}this.observables=null}}notifyNext(t,e,n,r,s){if(!this.hasFirst){this.hasFirst=!0;for(let t=0;t<this.subscriptions.length;t++)if(t!==n){let e=this.subscriptions[t];e.unsubscribe(),this.remove(e)}this.subscriptions=null}this.destination.next(e)}}function Xb(t){return e=>e.lift(new qb(t))}class qb{constructor(t){this.notifier=t}call(t,e){const n=new Qb(t),r=R(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}class Qb extends G{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,n,r,s){this.seenValue=!0,this.complete()}notifyComplete(){}}function Zb(...t){return e=>{let n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new Yb(t,n))}}class Yb{constructor(t,e){this.observables=t,this.project=e}call(t,e){return e.subscribe(new Jb(t,this.observables,this.project))}}class Jb extends G{constructor(t,e,n){super(t),this.observables=e,this.project=n,this.toRespond=[];const r=e.length;this.values=new Array(r);for(let s=0;s<r;s++)this.toRespond.push(s);for(let s=0;s<r;s++){let t=e[s];this.add(R(this,t,t,s))}}notifyNext(t,e,n,r,s){this.values[n]=e;const i=this.toRespond;if(i.length>0){const t=i.indexOf(n);-1!==t&&i.splice(t,1)}}notifyComplete(){}_next(t){if(0===this.toRespond.length){const e=[t,...this.values];this.project?this._tryProject(e):this.destination.next(e)}}_tryProject(t){let e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}let tv=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return vh(this.value);case"E":return X_(this.error);case"C":return Eh()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})();class ev{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new nv(t,this.delay,this.scheduler))}}class nv extends f{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,r=t.scheduler,s=t.destination;for(;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(s);if(n.length>0){const e=Math.max(0,n[0].time-r.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(nv.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new rv(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(tv.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(tv.createComplete()),this.unsubscribe()}}class rv{constructor(t,e){this.time=t,this.notification=e}}$localize`:@@ngb.alert.close␟f4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8␟7819314041543176992:Close`;const sv=["*"];$localize`:@@ngb.carousel.previous␟680d5c75b7fd8d37961083608b9fcdc4167b4c43␟4452427314943113135:Previous`,$localize`:@@ngb.carousel.next␟f732c304c7433e5a83ffcd862c3dce709a0f4982␟3885497195825665706:Next`,$localize`:@@ngb.datepicker.previous-month␟c3b08b07b5ab98e7cdcf18df39355690ab7d3884␟8586908745456864217:Previous month`,$localize`:@@ngb.datepicker.previous-month␟c3b08b07b5ab98e7cdcf18df39355690ab7d3884␟8586908745456864217:Previous month`,$localize`:@@ngb.datepicker.next-month␟4bd046985cfe13040d5ef0cd881edce0968a111a␟3628374603023447227:Next month`,$localize`:@@ngb.datepicker.next-month␟4bd046985cfe13040d5ef0cd881edce0968a111a␟3628374603023447227:Next month`,$localize`:@@ngb.datepicker.select-month␟1dbc84807f35518112f62e5775d1daebd3d8462b␟2253869508135064750:Select month`,$localize`:@@ngb.datepicker.select-month␟1dbc84807f35518112f62e5775d1daebd3d8462b␟2253869508135064750:Select month`,$localize`:@@ngb.datepicker.select-year␟8ceb09d002bf0c5d1cac171dfbffe1805d2b3962␟8852264961585484321:Select year`,$localize`:@@ngb.datepicker.select-year␟8ceb09d002bf0c5d1cac171dfbffe1805d2b3962␟8852264961585484321:Select year`;const iv=["dialog"];function ov(t,e){if(1&t&&(No(0,"span"),ma(1),Do()),2&t){const t=$o().$implicit;ia($o().highlightClass),ws(1),_a(t)}}function av(t,e){1&t&&ma(0),2&t&&_a($o().$implicit)}function lv(t,e){if(1&t&&(Mo(0,ov,2,3,"span",1),Mo(1,av,1,1,"ng-template",null,2,rc)),2&t){const t=e.odd,n=Eo(2);ko("ngIf",t)("ngIfElse",n)}}function cv(t,e){if(1&t&&Ro(0,"ngb-highlight",2),2&t){const t=e.term;ko("result",(0,e.formatter)(e.result))("term",t)}}function uv(t,e){}$localize`:@@ngb.pagination.first␟656506dfd46380956a655f919f1498d018f75ca0␟6867721956102594380:««`,$localize`:@@ngb.pagination.previous␟6e52b6ee77a4848d899dd21b591c6fd499e3aef3␟6479320895410098858:«`,$localize`:@@ngb.pagination.next␟ba9cbb4ff311464308a3627e4f1c3345d9fe6d7d␟5458177150283468089:»`,$localize`:@@ngb.pagination.last␟49f27a460bc97e7e00be5b37098bfa79884fc7d9␟5277020320267646988:»»`,$localize`:@@ngb.pagination.first-aria␟f2f852318759c6396b5d3d17031d53817d7b38cc␟2241508602425256033:First`,$localize`:@@ngb.pagination.previous-aria␟680d5c75b7fd8d37961083608b9fcdc4167b4c43␟4452427314943113135:Previous`,$localize`:@@ngb.pagination.next-aria␟f732c304c7433e5a83ffcd862c3dce709a0f4982␟3885497195825665706:Next`,$localize`:@@ngb.pagination.last-aria␟5c729788ba138508aca1bec050b610f7bf81db3e␟4882268002141858767:Last`,$localize`:@@ngb.progressbar.value␟f8e9a947b9db4252c0e9905765338712f2fd032f␟3720830768741091151:${"\ufffd0\ufffd"}:INTERPOLATION:`,$localize`:@@ngb.timepicker.HH␟ce676ab1d6d98f85c836381cf100a4a91ef95a1f␟4043638465245303811:HH`,$localize`:@@ngb.timepicker.hours␟3bbce5fef7e1151da052a4e529453edb340e3912␟8070396816726827304:Hours`,$localize`:@@ngb.timepicker.MM␟72c8edf6a50068a05bde70991e36b1e881f4ca54␟1647282246509919852:MM`,$localize`:@@ngb.timepicker.minutes␟41e62daa962947c0d23ded0981975d1bddf0bf38␟5531237363767747080:Minutes`,$localize`:@@ngb.timepicker.increment-hours␟cb74bc1d625a6c1742f0d7d47306cf495780c218␟5939278348542933629:Increment hours`,$localize`:@@ngb.timepicker.decrement-hours␟147c7a19429da7d999e247d22e33fee370b1691b␟3651829882940481818:Decrement hours`,$localize`:@@ngb.timepicker.increment-minutes␟f5a4a3bc05e053f6732475d0e74875ec01c3a348␟180147720391025024:Increment minutes`,$localize`:@@ngb.timepicker.decrement-minutes␟c1a6899e529c096da5b660385d4e77fe1f7ad271␟7447789825403243588:Decrement minutes`,$localize`:@@ngb.timepicker.SS␟ebe38d36a40a2383c5fefa9b4608ffbda08bd4a3␟3628127143071124194:SS`,$localize`:@@ngb.timepicker.seconds␟4f2ed9e71a7c981db3e50ae2fedb28aff2ec4e6c␟8874012390997067175:Seconds`,$localize`:@@ngb.timepicker.increment-seconds␟912322ecee7d659d04dcf494a70e22e49d334b26␟5364772110539092174:Increment seconds`,$localize`:@@ngb.timepicker.decrement-seconds␟5db47ac104294243a70eb9124fbea9d0004ddf69␟753633511487974857:Decrement seconds`,$localize`:@@ngb.timepicker.PM␟8d6e691e10306c1b34c6b26805151aaea320ef7f␟3564199131264287502:${"\ufffd0\ufffd"}:INTERPOLATION:`,$localize`:@@ngb.timepicker.AM␟69a1f176a93998876952adac57c3bc3863b6105e␟4592818992509942761:${"\ufffd0\ufffd"}:INTERPOLATION:`,$localize`:@@ngb.toast.close-aria␟f4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8␟7819314041543176992:Close`;const hv=function(t,e,n){return{result:t,term:e,formatter:n}};function dv(t,e){if(1&t){const t=Lo();No(0,"button",3),Fo("mouseenter",(function(){Ye(t);const n=e.index;return $o().markActive(n)}))("click",(function(){Ye(t);const n=e.$implicit;return $o().select(n)})),Mo(1,uv,0,0,"ng-template",4),Do()}if(2&t){const t=e.$implicit,n=e.index,r=$o(),s=Eo(1);sa("active",n===r.activeIdx),ko("id",r.id+"-"+n),ws(1),ko("ngTemplateOutlet",r.resultTemplate||s)("ngTemplateOutletContext",Il(5,hv,t,r.term,r.formatter))}}function pv(t){return null!=t?""+t:""}function fv(t){return null!=t}"undefined"==typeof Element||Element.prototype.closest||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(t){let e=this;if(!document.documentElement.contains(e))return null;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});let gv=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Bu]]}),t})(),mv=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Bu]]}),t})(),_v=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})(),yv=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Bu]]}),t})(),bv=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})();var vv=function(t){return t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.Space=32]="Space",t[t.PageUp=33]="PageUp",t[t.PageDown=34]="PageDown",t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown",t}({});const wv=(t,e)=>!!e&&e.some(e=>e.contains(t)),Cv=(t,e)=>!e||null!=function(t,e){return e?void 0===t.closest?null:t.closest(e):null}(t,e),Sv=(()=>"undefined"!=typeof navigator&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent)))();const Tv=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Pv(t){const e=Array.from(t.querySelectorAll(Tv)).filter(t=>-1!==t.tabIndex);return[e[0],e[e.length-1]]}class Mv{getAllStyles(t){return window.getComputedStyle(t)}getStyle(t,e){return this.getAllStyles(t)[e]}isStaticPositioned(t){return"static"===(this.getStyle(t,"position")||"static")}offsetParent(t){let e=t.offsetParent||document.documentElement;for(;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement}position(t,e=!0){let n,r={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(t,"position"))n=t.getBoundingClientRect(),n={top:n.top,bottom:n.bottom,left:n.left,right:n.right,height:n.height,width:n.width};else{const e=this.offsetParent(t);n=this.offset(t,!1),e!==document.documentElement&&(r=this.offset(e,!1)),r.top+=e.clientTop,r.left+=e.clientLeft}return n.top-=r.top,n.bottom-=r.top,n.left-=r.left,n.right-=r.left,e&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n}offset(t,e=!0){const n=t.getBoundingClientRect(),r=window.pageYOffset-document.documentElement.clientTop,s=window.pageXOffset-document.documentElement.clientLeft;let i={height:n.height||t.offsetHeight,width:n.width||t.offsetWidth,top:n.top+r,bottom:n.bottom+r,left:n.left+s,right:n.right+s};return e&&(i.height=Math.round(i.height),i.width=Math.round(i.width),i.top=Math.round(i.top),i.bottom=Math.round(i.bottom),i.left=Math.round(i.left),i.right=Math.round(i.right)),i}positionElements(t,e,n,r){const[s="top",i="center"]=n.split("-"),o=r?this.offset(t,!1):this.position(t,!1),a=this.getAllStyles(e),l=parseFloat(a.marginTop),c=parseFloat(a.marginBottom),u=parseFloat(a.marginLeft),h=parseFloat(a.marginRight);let d=0,p=0;switch(s){case"top":d=o.top-(e.offsetHeight+l+c);break;case"bottom":d=o.top+o.height;break;case"left":p=o.left-(e.offsetWidth+u+h);break;case"right":p=o.left+o.width}switch(i){case"top":d=o.top;break;case"bottom":d=o.top+o.height-e.offsetHeight;break;case"left":p=o.left;break;case"right":p=o.left+o.width-e.offsetWidth;break;case"center":"top"===s||"bottom"===s?p=o.left+o.width/2-e.offsetWidth/2:d=o.top+o.height/2-e.offsetHeight/2}e.style.transform=`translate(${Math.round(p)}px, ${Math.round(d)}px)`;const f=e.getBoundingClientRect(),g=document.documentElement,m=window.innerHeight||g.clientHeight,_=window.innerWidth||g.clientWidth;return f.left>=0&&f.top>=0&&f.right<=_&&f.bottom<=m}}const Ev=/\s+/,Ov=new Mv;let xv=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Bu,Pm]]}),t})(),Av=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})(),kv=(()=>{let t=class{constructor(){this.backdrop=!0,this.keyboard=!0}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();class Iv{constructor(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n}}class Nv{constructor(t,e,n,r,s,i){this._type=t,this._injector=e,this._viewContainerRef=n,this._renderer=r,this._componentFactoryResolver=s,this._applicationRef=i,this._windowRef=null,this._contentRef=null}open(t,e){return this._windowRef||(this._contentRef=this._getContentRef(t,e),this._windowRef=this._viewContainerRef.createComponent(this._componentFactoryResolver.resolveComponentFactory(this._type),this._viewContainerRef.length,this._injector,this._contentRef.nodes)),this._windowRef}close(){var t;this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,(null===(t=this._contentRef)||void 0===t?void 0:t.viewRef)&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null))}_getContentRef(t,e){if(t){if(t instanceof dl){const n=t.createEmbeddedView(e);return this._applicationRef.attachView(n),new Iv([n.rootNodes],n)}return new Iv([[this._renderer.createText(""+t)]])}return new Iv([])}}const Dv=()=>{};let Rv=(()=>{let t=class{constructor(t){this._document=t}compensate(){const t=this._getWidth();return this._isPresent(t)?this._adjustBody(t):Dv}_adjustBody(t){const e=this._document.body,n=e.style.paddingRight,r=parseFloat(window.getComputedStyle(e)["padding-right"]);return e.style["padding-right"]=r+t+"px",()=>e.style["padding-right"]=n}_isPresent(t){const e=this._document.body.getBoundingClientRect();return window.innerWidth-(e.left+e.right)>=t-.1*t}_getWidth(){const t=this._document.createElement("div");t.className="modal-scrollbar-measure";const e=this._document.body;e.appendChild(t);const n=t.getBoundingClientRect().width-t.clientWidth;return e.removeChild(t),n}};return t.\u0275fac=function(e){return new(e||t)(qt(iu))},t.\u0275prov=ut({factory:function(){return new t(qt(iu))},token:t,providedIn:"root"}),t})(),Gv=(()=>{let t=class{};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1050"],hostVars:2,hostBindings:function(t,e){2&t&&ia("modal-backdrop fade show"+(e.backdropClass?" "+e.backdropClass:""))},inputs:{backdropClass:"backdropClass"},decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})();class Hv{close(t){}dismiss(t){}}class Lv{constructor(t,e,n,r){this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=n,this._beforeDismiss=r,t.instance.dismissEvent.subscribe(t=>{this.dismiss(t)}),this.result=new Promise((t,e)=>{this._resolve=t,this._reject=e}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}close(t){this._windowCmptRef&&(this._resolve(t),this._removeModalElements())}_dismiss(t){this._reject(t),this._removeModalElements()}dismiss(t){if(this._windowCmptRef)if(this._beforeDismiss){const e=this._beforeDismiss();e&&e.then?e.then(e=>{!1!==e&&this._dismiss(t)},()=>{}):!1!==e&&this._dismiss(t)}else this._dismiss(t)}_removeModalElements(){const t=this._windowCmptRef.location.nativeElement;if(t.parentNode.removeChild(t),this._windowCmptRef.destroy(),this._backdropCmptRef){const t=this._backdropCmptRef.location.nativeElement;t.parentNode.removeChild(t),this._backdropCmptRef.destroy()}this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._backdropCmptRef=null,this._contentRef=null}}var Vv=function(t){return t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC",t}({});let Bv=(()=>{let t=class{constructor(t,e,n){this._document=t,this._elRef=e,this._zone=n,this._closed$=new P,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new Hl}dismiss(t){this.dismissEvent.emit(t)}ngOnInit(){this._elWithFocus=this._document.activeElement}ngAfterViewInit(){const{nativeElement:t}=this._elRef;if(this._zone.runOutsideAngular(()=>{Wb(t,"keydown").pipe(Xb(this._closed$),Ah(t=>t.which===vv.Escape&&this.keyboard)).subscribe(t=>requestAnimationFrame(()=>{t.defaultPrevented||this._zone.run(()=>this.dismiss(Vv.ESC))}));let e=!1;Wb(this._dialogEl.nativeElement,"mousedown").pipe(Xb(this._closed$),ud(()=>e=!1),td(()=>Wb(t,"mouseup").pipe(Xb(this._closed$),Xh(1))),Ah(({target:e})=>t===e)).subscribe(()=>{e=!0}),Wb(t,"click").pipe(Xb(this._closed$)).subscribe(({target:n})=>{!0!==this.backdrop||t!==n||e||this._zone.run(()=>this.dismiss(Vv.BACKDROP_CLICK)),e=!1})}),!t.contains(document.activeElement)){const e=t.querySelector("[ngbAutofocus]"),n=Pv(t)[0];(e||n||t).focus()}}ngOnDestroy(){const t=this._document.body,e=this._elWithFocus;let n;n=e&&e.focus&&t.contains(e)?e:t,this._zone.runOutsideAngular(()=>{setTimeout(()=>n.focus()),this._elWithFocus=null}),this._closed$.next()}};return t.\u0275fac=function(e){return new(e||t)(Oo(iu),Oo(ja),Oo(Mc))},t.\u0275cmp=fe({type:t,selectors:[["ngb-modal-window"]],viewQuery:function(t,e){var n;1&t&&ql(iv,!0),2&t&&Xl(n=Jl())&&(e._dialogEl=n.first)},hostAttrs:["role","dialog","tabindex","-1"],hostVars:5,hostBindings:function(t,e){2&t&&(Po("aria-modal",!0)("aria-labelledby",e.ariaLabelledBy)("aria-describedby",e.ariaDescribedBy),ia("modal fade show d-block"+(e.windowClass?" "+e.windowClass:"")))},inputs:{backdrop:"backdrop",keyboard:"keyboard",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",centered:"centered",scrollable:"scrollable",size:"size",windowClass:"windowClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:sv,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(t,e){1&t&&(Xo(),No(0,"div",0,1),No(2,"div",2),qo(3),Do(),Do()),2&t&&ia("modal-dialog"+(e.size?" modal-"+e.size:"")+(e.centered?" modal-dialog-centered":"")+(e.scrollable?" modal-dialog-scrollable":""))},styles:["ngb-modal-window .component-host-scrollable{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}"],encapsulation:2}),t})(),Fv=(()=>{let t=class{constructor(t,e,n,r,s,i){this._applicationRef=t,this._injector=e,this._document=n,this._scrollBar=r,this._rendererFactory=s,this._ngZone=i,this._activeWindowCmptHasChanged=new P,this._ariaHiddenValues=new Map,this._backdropAttributes=["backdropClass"],this._modalRefs=[],this._windowAttributes=["ariaLabelledBy","ariaDescribedBy","backdrop","centered","keyboard","scrollable","size","windowClass"],this._windowCmpts=[],this._activeInstances=new Hl,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const t=this._windowCmpts[this._windowCmpts.length-1];((t,e,n,r=!1)=>{this._ngZone.runOutsideAngular(()=>{const t=Wb(e,"focusin").pipe(Xb(n),H(t=>t.target));Wb(e,"keydown").pipe(Xb(n),Ah(t=>t.which===vv.Tab),Zb(t)).subscribe(([t,n])=>{const[r,s]=Pv(e);n!==r&&n!==e||!t.shiftKey||(s.focus(),t.preventDefault()),n!==s||t.shiftKey||(r.focus(),t.preventDefault())}),r&&Wb(e,"click").pipe(Xb(n),Zb(t),H(t=>t[1])).subscribe(t=>t.focus())})})(0,t.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(t.location.nativeElement)}})}open(t,e,n,r){const s=r.container instanceof HTMLElement?r.container:fv(r.container)?this._document.querySelector(r.container):this._document.body,i=this._rendererFactory.createRenderer(null,null),o=this._scrollBar.compensate(),a=()=>{this._modalRefs.length||(i.removeClass(this._document.body,"modal-open"),this._revertAriaHidden())};if(!s)throw new Error(`The specified modal container "${r.container||"body"}" was not found in the DOM.`);const l=new Hv,c=this._getContentRef(t,r.injector||e,n,l,r);let u=!1!==r.backdrop?this._attachBackdrop(t,s):void 0,h=this._attachWindowComponent(t,s,c),d=new Lv(h,c,u,r.beforeDismiss);return this._registerModalRef(d),this._registerWindowCmpt(h),d.result.then(o,o),d.result.then(a,a),l.close=t=>{d.close(t)},l.dismiss=t=>{d.dismiss(t)},this._applyWindowOptions(h.instance,r),1===this._modalRefs.length&&i.addClass(this._document.body,"modal-open"),u&&u.instance&&this._applyBackdropOptions(u.instance,r),d}get activeInstances(){return this._activeInstances}dismissAll(t){this._modalRefs.forEach(e=>e.dismiss(t))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(t,e){let n=t.resolveComponentFactory(Gv).create(this._injector);return this._applicationRef.attachView(n.hostView),e.appendChild(n.location.nativeElement),n}_attachWindowComponent(t,e,n){let r=t.resolveComponentFactory(Bv).create(this._injector,n.nodes);return this._applicationRef.attachView(r.hostView),e.appendChild(r.location.nativeElement),r}_applyWindowOptions(t,e){this._windowAttributes.forEach(n=>{fv(e[n])&&(t[n]=e[n])})}_applyBackdropOptions(t,e){this._backdropAttributes.forEach(n=>{fv(e[n])&&(t[n]=e[n])})}_getContentRef(t,e,n,r,s){return n?n instanceof dl?this._createFromTemplateRef(n,r):"string"==typeof n?this._createFromString(n):this._createFromComponent(t,e,n,r,s):new Iv([])}_createFromTemplateRef(t,e){const n=t.createEmbeddedView({$implicit:e,close(t){e.close(t)},dismiss(t){e.dismiss(t)}});return this._applicationRef.attachView(n),new Iv([n.rootNodes],n)}_createFromString(t){const e=this._document.createTextNode(""+t);return new Iv([[e]])}_createFromComponent(t,e,n,r,s){const i=t.resolveComponentFactory(n),o=uo.create({providers:[{provide:Hv,useValue:r}],parent:e}),a=i.create(o),l=a.location.nativeElement;return s.scrollable&&l.classList.add("component-host-scrollable"),this._applicationRef.attachView(a.hostView),new Iv([[l]],a.hostView,a)}_setAriaHidden(t){const e=t.parentElement;e&&t!==this._document.body&&(Array.from(e.children).forEach(e=>{e!==t&&"SCRIPT"!==e.nodeName&&(this._ariaHiddenValues.set(e,e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))}),this._setAriaHidden(e))}_revertAriaHidden(){this._ariaHiddenValues.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(t){const e=()=>{const e=this._modalRefs.indexOf(t);e>-1&&(this._modalRefs.splice(e,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(t),this._activeInstances.emit(this._modalRefs),t.result.then(e,e)}_registerWindowCmpt(t){this._windowCmpts.push(t),this._activeWindowCmptHasChanged.next(),t.onDestroy(()=>{const e=this._windowCmpts.indexOf(t);e>-1&&(this._windowCmpts.splice(e,1),this._activeWindowCmptHasChanged.next())})}};return t.\u0275fac=function(e){return new(e||t)(qt($c),qt(uo),qt(iu),qt(Rv),qt(za),qt(Mc))},t.\u0275prov=ut({factory:function(){return new t(qt($c),qt(Bt),qt(iu),qt(Rv),qt(za),qt(Mc))},token:t,providedIn:"root"}),t})(),jv=(()=>{let t=class{constructor(t,e,n,r){this._moduleCFR=t,this._injector=e,this._modalStack=n,this._config=r}open(t,e={}){const n=Object.assign({},this._config,e);return this._modalStack.open(this._moduleCFR,this._injector,t,n)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(t){this._modalStack.dismissAll(t)}hasOpenModals(){return this._modalStack.hasOpenModals()}};return t.\u0275fac=function(e){return new(e||t)(qt(Fa),qt(uo),qt(Fv),qt(kv))},t.\u0275prov=ut({factory:function(){return new t(qt(Fa),qt(Bt),qt(Fv),qt(kv))},token:t,providedIn:"root"}),t})(),Uv=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[jv]}),t})(),zv=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Bu]]}),t})(),Wv=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Bu]]}),t})(),$v=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Bu]]}),t})(),Kv=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Bu]]}),t})(),Xv=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Bu]]}),t})(),qv=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Bu]]}),t})(),Qv=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Bu]]}),t})(),Zv=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Bu]]}),t})(),Yv=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})(),Jv=(()=>{let t=class{constructor(){this.highlightClass="ngb-highlight"}ngOnChanges(t){const e=pv(this.result),n=(Array.isArray(this.term)?this.term:[this.term]).map(t=>pv(t).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")).filter(t=>t);this.parts=n.length?e.split(new RegExp(`(${n.join("|")})`,"gmi")):[e]}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term"},features:[Oa],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"],["even",""]],template:function(t,e){1&t&&Mo(0,lv,3,2,"ng-template",0),2&t&&ko("ngForOf",e.parts)},directives:[Ou,Au],styles:[".ngb-highlight{font-weight:700}"],encapsulation:2,changeDetection:0}),t})(),tw=(()=>{let t=class{constructor(){this.activeIdx=0,this.focusFirst=!0,this.formatter=pv,this.selectEvent=new Hl,this.activeChangeEvent=new Hl}hasActive(){return this.activeIdx>-1&&this.activeIdx<this.results.length}getActive(){return this.results[this.activeIdx]}markActive(t){this.activeIdx=t,this._activeChanged()}next(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}prev(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}resetActive(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}select(t){this.selectEvent.emit(t)}ngOnInit(){this.resetActive()}_activeChanged(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox",1,"dropdown-menu","show"],hostVars:1,hostBindings:function(t,e){1&t&&Fo("mousedown",(function(t){return t.preventDefault()})),2&t&&ba("id",e.id)},inputs:{focusFirst:"focusFirst",formatter:"formatter",id:"id",results:"results",term:"term",resultTemplate:"resultTemplate"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],decls:3,vars:1,consts:[["rt",""],["ngFor","",3,"ngForOf"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"id","mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&(Mo(0,cv,1,2,"ng-template",null,0,rc),Mo(2,dv,2,9,"ng-template",1)),2&t&&(ws(2),ko("ngForOf",e.results))},directives:[Ou,Jv,Du],encapsulation:2}),t})();const ew=new Vt("live announcer delay",{providedIn:"root",factory:function(){return 100}});function nw(t,e=!1){let n=t.body.querySelector("#ngb-live");return null==n&&e&&(n=t.createElement("div"),n.setAttribute("id","ngb-live"),n.setAttribute("aria-live","polite"),n.setAttribute("aria-atomic","true"),n.classList.add("sr-only"),t.body.appendChild(n)),n}let rw=(()=>{let t=class{constructor(t,e){this._document=t,this._delay=e}ngOnDestroy(){const t=nw(this._document);t&&t.parentElement.removeChild(t)}say(t){const e=nw(this._document,!0),n=this._delay;if(null!=e){e.textContent="";const r=()=>e.textContent=t;null===n?r():setTimeout(r,n)}}};return t.\u0275fac=function(e){return new(e||t)(qt(iu),qt(ew))},t.\u0275prov=ut({factory:function(){return new t(qt(iu),qt(ew))},token:t,providedIn:"root"}),t})(),sw=(()=>{let t=class{constructor(){this.editable=!0,this.focusFirst=!0,this.showHint=!1,this.placement=["bottom-left","bottom-right","top-left","top-right"]}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({factory:function(){return new t},token:t,providedIn:"root"}),t})();const iw={provide:ug,useExisting:Tt(()=>aw),multi:!0};let ow=0,aw=(()=>{let t=class{constructor(t,e,n,r,s,i,o,a,l,c,u,h){this._elementRef=t,this._renderer=n,this._live=a,this._document=l,this._ngZone=c,this._changeDetector=u,this._subscription=null,this._closed$=new P,this._inputValueBackup=null,this._windowRef=null,this.autocomplete="off",this.placement="bottom-left",this.selectItem=new Hl,this.activeDescendant=null,this.popupId="ngb-typeahead-"+ow++,this._onTouched=()=>{},this._onChange=t=>{},this.container=i.container,this.editable=i.editable,this.focusFirst=i.focusFirst,this.showHint=i.showHint,this.placement=i.placement,this._valueChanges=Wb(t.nativeElement,"input").pipe(H(t=>t.target.value)),this._resubscribeTypeahead=new wh(null),this._popupService=new Nv(tw,r,e,n,s,h),this._zoneSubscription=o.onStable.subscribe(()=>{this.isPopupOpen()&&function(t,e,n,r,s){let i=Array.isArray(n)?n:n.split(Ev);const o=["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"],a=t=>{const[e,n]=t.split("-"),r=[];return r};let l=i.findIndex(t=>"auto"===t);l>=0&&o.forEach((function(t){null==i.find(e=>-1!==e.search("^"+t))&&i.splice(l++,1,t)}));const c=e.style;c.position="absolute",c.top="0",c.left="0",c["will-change"]="transform";let u=null,h=!1;for(u of i){a(u);if(Ov.positionElements(t,e,u,r)){h=!0;break}}h||(u=i[0],a(u),Ov.positionElements(t,e,u,r))}(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,"body"===this.container)})}ngOnInit(){const t=this._valueChanges.pipe(ud(t=>{this._inputValueBackup=this.showHint?t:null,this._onChange(this.editable?t:void 0)})).pipe(this.ngbTypeahead),e=this._resubscribeTypeahead.pipe(td(()=>t));this._subscription=this._subscribeToUserInput(e)}ngOnDestroy(){this._closePopup(),this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}writeValue(t){this._writeInputValue(this._formatItemForInput(t)),this.showHint&&(this._inputValueBackup=t)}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}dismissPopup(){this.isPopupOpen()&&(this._resubscribeTypeahead.next(null),this._closePopup(),this.showHint&&null!==this._inputValueBackup&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}isPopupOpen(){return null!=this._windowRef}handleBlur(){this._resubscribeTypeahead.next(null),this._onTouched()}handleKeyDown(t){if(this.isPopupOpen())switch(t.which){case vv.ArrowDown:t.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case vv.ArrowUp:t.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case vv.Enter:case vv.Tab:const e=this._windowRef.instance.getActive();fv(e)&&(t.preventDefault(),t.stopPropagation(),this._selectResult(e)),this._closePopup()}}_openPopup(){this.isPopupOpen()||(this._inputValueBackup=this._elementRef.nativeElement.value,this._windowRef=this._popupService.open(),this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe(t=>this._selectResultClosePopup(t)),this._windowRef.instance.activeChangeEvent.subscribe(t=>this.activeDescendant=t),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._changeDetector.markForCheck(),function(t,e,n,r,s,i,o,a){var c;n&&t.runOutsideAngular((c=()=>{const c=Wb(e,"keydown").pipe(Xb(s),Ah(t=>t.which===vv.Escape),ud(t=>t.preventDefault())),u=Wb(e,"mousedown").pipe(H(t=>{const e=t.target;return 2!==t.button&&!wv(e,o)&&("inside"===n?wv(e,i)&&Cv(e,a):"outside"===n?!wv(e,i):Cv(e,a)||!wv(e,i))}),Xb(s)),h=Wb(e,"mouseup").pipe(Zb(u),Ah(([t,e])=>e),function(t,e=Rb){var n;const r=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new ev(r,e))}(0),Xb(s));(function(...t){if(1===t.length){if(!l(t[0]))return t[0];t=t[0]}return $(t,void 0).lift(new $b)})([c.pipe(H(t=>0)),h.pipe(H(t=>1))]).subscribe(e=>t.run(()=>r(e)))},Sv?()=>setTimeout(()=>c(),100):c))}(this._ngZone,this._document,"outside",()=>this.dismissPopup(),this._closed$,[this._elementRef.nativeElement,this._windowRef.location.nativeElement]))}_closePopup(){this._closed$.next(),this._popupService.close(),this._windowRef=null,this.activeDescendant=null}_selectResult(t){let e=!1;this.selectItem.emit({item:t,preventDefault:()=>{e=!0}}),this._resubscribeTypeahead.next(null),e||(this.writeValue(t),this._onChange(t))}_selectResultClosePopup(t){this._selectResult(t),this._closePopup()}_showHint(){var t;if(this.showHint&&(null===(t=this._windowRef)||void 0===t?void 0:t.instance.hasActive())&&null!=this._inputValueBackup){const t=this._inputValueBackup.toLowerCase(),e=this._formatItemForInput(this._windowRef.instance.getActive());t===e.substr(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+e.substr(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,e.length])):this._writeInputValue(e)}}_formatItemForInput(t){return null!=t&&this.inputFormatter?this.inputFormatter(t):pv(t)}_writeInputValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",pv(t))}_subscribeToUserInput(t){return t.subscribe(t=>{t&&0!==t.length?(this._openPopup(),this._windowRef.instance.focusFirst=this.focusFirst,this._windowRef.instance.results=t,this._windowRef.instance.term=this._elementRef.nativeElement.value,this.resultFormatter&&(this._windowRef.instance.formatter=this.resultFormatter),this.resultTemplate&&(this._windowRef.instance.resultTemplate=this.resultTemplate),this._windowRef.instance.resetActive(),this._windowRef.changeDetectorRef.detectChanges(),this._showHint()):this._closePopup();const e=t?t.length:0;this._live.say(0===e?"No results available":`${e} result${1===e?"":"s"} available`)})}_unsubscribeFromUserInput(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}};return t.\u0275fac=function(e){return new(e||t)(Oo(ja),Oo(fl),Oo($a),Oo(uo),Oo(Fa),Oo(sw),Oo(Mc),Oo(rw),Oo(iu),Oo(Mc),Oo(Xi),Oo($c))},t.\u0275dir=ve({type:t,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox","aria-multiline","false"],hostVars:7,hostBindings:function(t,e){1&t&&Fo("blur",(function(){return e.handleBlur()}))("keydown",(function(t){return e.handleKeyDown(t)})),2&t&&(ba("autocomplete",e.autocomplete),Po("aria-autocomplete",e.showHint?"both":"list")("aria-activedescendant",e.activeDescendant)("aria-owns",e.isPopupOpen()?e.popupId:null)("aria-expanded",e.isPopupOpen()),sa("open",e.isPopupOpen()))},inputs:{autocomplete:"autocomplete",placement:"placement",container:"container",editable:"editable",focusFirst:"focusFirst",showHint:"showHint",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],features:[La([iw])]}),t})(),lw=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Bu]]}),t})();const cw=[gv,mv,_v,yv,bv,xv,Av,Uv,zv,Wv,$v,Kv,Xv,Qv,Zv,Yv,lw,qv];let uw=(()=>{let t=class{};return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[cw,gv,mv,_v,yv,bv,xv,Av,Uv,zv,Wv,$v,Kv,Xv,Qv,Zv,Yv,lw,qv]}),t})();const hw=["instance"];function dw(t,e){if(1&t&&(No(0,"div"),ma(1),Do()),2&t){const t=e.$implicit;ws(1),ya(" ",t," ")}}function pw(t,e){if(1&t&&(No(0,"div",38),Mo(1,dw,2,1,"div",39),Do()),2&t){const t=$o();ws(1),ko("ngForOf",t.errors)}}function fw(t,e){1&t&&(No(0,"div",40),ma(1," Zipcode must be at least 5 characters long. "),Do())}const gw=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District Of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"];let mw=(()=>{class t{constructor(t,e,n){this.playCanvasService=t,this.formBuilder=e,this.http=n,this.closed=new Hl,this.submitted=new Hl,this.visible=!1,this.status="ready",this.endpoint="https://salesforcevirtualadventures.com/add",this.environment=nu,this.jsonHeader={headers:new y_({"Content-Type":"application/json"})},this.icons={close:ry.faTimes},this.focus$=new P,this.click$=new P,this.formGroup=this.formBuilder.group({first_name:new am(null),last_name:new am(null),home_address:new am(null),home_address_2:new am(null),city:new am(null),state:new am(null),zipcode:new am(null,{validators:[Og.required,Og.minLength(5)],updateOn:"blur"}),phone_number:new am(null),email:new am(null),privacy:new am(!1,[Og.requiredTrue])}),this.search=t=>{const e=t.pipe(Gb(50),Bb()),n=this.click$.pipe(Ah(()=>!this.instance.isPopupOpen()));return K(e,this.focus$,n).pipe(H(t=>""===t?gw:gw.filter(e=>e.toLowerCase().indexOf(t.toLowerCase())>-1).slice(0,10)))}}get zipcode(){return this.formGroup.get("zipcode")}ngOnInit(){!this.environment.production&&this.environment.debug.autofillForm&&this.formGroup.patchValue({first_name:"Test",last_name:"User",home_address:"123 Main St",home_address_2:"Note to dev: Should not be required",city:"Charlotte",state:"NC",zipcode:"28215",phone_number:"1234567890",email:"test0003@gmail.com",privacy:!1})}open(){this.visible=!0}close(){this.visible=!1,this.closed.emit()}submit(t){t.product=this.environment.stockName,t.source="GOOGLE",this.formGroup.valid&&"ready"===this.status&&(this.errors=[],this.status="loading",this.http.post(this.endpoint,t,this.jsonHeader).pipe(Wh(t=>{var e,n;return this.errors="string"==typeof t.error?[t.error]:null===(n=null===(e=t.error)||void 0===e?void 0:e.errors)||void 0===n?void 0:n.map(t=>this.humanizeError(t)),this.status="ready",X_(t.error)})).subscribe(t=>{this.status="ready",this.playCanvasService.formSubmitted=!0,this.playCanvasService.sendStatus(),this.submitted.emit(),this.visible=!1}))}humanizeError(t){let e;if("Invalid value"===t.msg){let n=t.param.replace(/_/g," ");"home address"===n?n="home address line 1":"home address 2"===n&&(n="home address line 2"),e=`The ${n} field is required.`}return e||(e="An unknown error has occurred."),e}}return t.\u0275fac=function(e){return new(e||t)(Oo(Y_),Oo(Tm),Oo(I_))},t.\u0275cmp=fe({type:t,selectors:[["app-popup-form"]],viewQuery:function(t,e){var n;1&t&&ql(hw,!0),2&t&&Xl(n=Jl())&&(e.instance=n.first)},hostVars:2,hostBindings:function(t,e){2&t&&sa("visible",e.visible)},inputs:{visible:"visible"},outputs:{closed:"closed",submitted:"submitted"},decls:72,vars:11,consts:[[1,"backdrop",3,"click"],[1,"popup"],["autocomplete","false",3,"formGroup","submit"],["class","alert alert-danger","role","alert",4,"ngIf"],["class","alert alert-danger",4,"ngIf"],[1,"row"],[1,"col-sm-6"],["for","first_name",1,"sr-only"],["type","search","id","first_name","formControlName","first_name","placeholder","First Name",1,"form-control"],["for","last_name",1,"sr-only"],["type","search","id","last_name","formControlName","last_name","placeholder","Last Name",1,"form-control"],[1,"col-sm-12"],["for","home_address",1,"sr-only"],["type","search","id","home_address","formControlName","home_address","placeholder","Address Line 1",1,"form-control"],["for","home_address_2",1,"sr-only"],["type","search","id","home_address_2","formControlName","home_address_2","placeholder","Address Line 2 (optional)",1,"form-control"],[1,"col-sm-4"],["for","city",1,"sr-only"],["type","search","id","city","formControlName","city","placeholder","City",1,"form-control"],["for","state",1,"sr-only"],["id","state","type","text","formControlName","state","placeholder","State",1,"form-control",3,"ngbTypeahead","editable","focus","click"],["instance","ngbTypeahead"],["for","zipcode",1,"sr-only"],["type","search","id","zipcode","formControlName","zipcode","placeholder","Zip",1,"form-control"],["for","phone_number",1,"sr-only"],["type","search","id","phone_number","formControlName","phone_number","placeholder","Phone",1,"form-control"],["for","email",1,"sr-only"],["type","search","id","email","formControlName","email","placeholder","Email",1,"form-control"],[1,"col-lg-12"],[1,"form-check"],["type","checkbox","formControlName","privacy",1,"form-check-input"],["href","https://www.salesforce.com/company/privacy/full_privacy/","target","_blank"],[1,"buttons"],["type","button",1,"btn","btn-primary",3,"click"],["type","submit",1,"btn","btn-primary",3,"disabled"],[1,"fine-print"],[1,"close",3,"click"],[3,"icon"],["role","alert",1,"alert","alert-danger"],[4,"ngFor","ngForOf"],[1,"alert","alert-danger"]],template:function(t,e){1&t&&(No(0,"div",0),Fo("click",(function(){return e.close()})),Do(),No(1,"div",1),No(2,"h1"),ma(3," Please tell us where to ship your YETI"),No(4,"sup"),ma(5,"\xae"),Do(),ma(6,". "),Do(),No(7,"form",2),Fo("submit",(function(){return e.submit(e.formGroup.value)})),Mo(8,pw,2,1,"div",3),Mo(9,fw,2,0,"div",4),No(10,"div",5),No(11,"div",6),No(12,"label",7),ma(13,"First Name"),Do(),Ro(14,"input",8),Do(),No(15,"div",6),No(16,"label",9),ma(17,"Last Name"),Do(),Ro(18,"input",10),Do(),Do(),No(19,"div",5),No(20,"div",11),No(21,"label",12),ma(22,"Address Line 1"),Do(),Ro(23,"input",13),Do(),Do(),No(24,"div",5),No(25,"div",11),No(26,"label",14),ma(27,"Address Line 2 (optional)"),Do(),Ro(28,"input",15),Do(),Do(),No(29,"div",5),No(30,"div",16),No(31,"label",17),ma(32,"City"),Do(),Ro(33,"input",18),Do(),No(34,"div",16),No(35,"label",19),ma(36,"State"),Do(),No(37,"input",20,21),Fo("focus",(function(t){return e.focus$.next(t.target.value)}))("click",(function(t){return e.click$.next(t.target.value)})),Do(),Do(),No(39,"div",16),No(40,"label",22),ma(41,"Zip"),Do(),Ro(42,"input",23),Do(),Do(),No(43,"div",5),No(44,"div",6),No(45,"label",24),ma(46,"Phone"),Do(),Ro(47,"input",25),Do(),No(48,"div",6),No(49,"label",26),ma(50,"Email"),Do(),Ro(51,"input",27),Do(),Do(),No(52,"div",5),No(53,"div",28),No(54,"div",29),No(55,"label"),Ro(56,"input",30),ma(57," By registering, you confirm that you agree to the processing of your personal data by Salesforce as described in the "),No(58,"a",31),ma(59,"Privacy Statement"),Do(),ma(60,". "),Do(),Do(),Do(),Do(),No(61,"div",5),No(62,"div",28),No(63,"div",32),No(64,"button",33),Fo("click",(function(){return e.close()})),ma(65," Opt Out "),Do(),No(66,"button",34),ma(67," Submit "),Do(),Do(),Do(),Do(),No(68,"p",35),ma(69," Limited time offer. While supplies last. Open to eligible attendees of the Salesforce + Google Virtual Experience starting on July 31, 2020, who reside in the United States (incl. DC). Employees, contractors, consultants, officers, directors or agents of the government or Salesforce and its promotional partners, advertising/promotion agencies, or suppliers, are not eligible to participate. Subject to verification of eligibility and availability. Limit one (1) per person. Color options may vary. Cannot deliver to P.O. boxes. Offer not sponsored by or associated with Yeti\xae. Offer subject to change at any time. Other terms and restrictions apply. "),Do(),Do(),No(70,"button",36),Fo("click",(function(){return e.close()})),Ro(71,"fa-icon",37),Do(),Do()),2&t&&(ws(7),sa("loading","loading"===e.status),ko("formGroup",e.formGroup),ws(1),ko("ngIf",(null==e.errors?null:e.errors.length)>0),ws(1),ko("ngIf",e.zipcode.invalid&&(e.zipcode.dirty||e.zipcode.touched)&&e.zipcode.errors.minlength),ws(28),ko("ngbTypeahead",e.search)("editable",!1),ws(29),sa("disabled",!e.formGroup.valid),ko("disabled",!e.formGroup.valid),ws(5),ko("icon",e.icons.close))},directives:[dm,Sg,gm,Au,gg,Cg,Cm,aw,dg,bb,Ou],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;color:#fff}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%]   .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(popup-bg.2529ff5db1d84d7cf04a.jpg) no-repeat 0 0;border-radius:25px;padding:2rem}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%]   .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%]   .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{background:#ea7600 url(form-bg.5f6aa8eb81df210053e5.png) no-repeat 0 0;background-size:cover;max-width:860px}[_nghost-%COMP%]   h1[_ngcontent-%COMP%]{margin-bottom:1rem}[_nghost-%COMP%]   h1[_ngcontent-%COMP%]   sup[_ngcontent-%COMP%]{font-size:14px;position:relative;top:-20px}[_nghost-%COMP%]   form[_ngcontent-%COMP%]{opacity:1;transition:opacity .25s ease-out}[_nghost-%COMP%]   form.loading[_ngcontent-%COMP%]{opacity:.5;pointer-events:none;cursor:not-allowed}[_nghost-%COMP%]   form[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{margin-bottom:1rem}[_nghost-%COMP%]   .fine-print[_ngcontent-%COMP%]{font-size:12px;margin-bottom:0}[_nghost-%COMP%]   .form-check[_ngcontent-%COMP%]{text-align:center;font-size:14px;margin:0 auto;max-width:530px;line-height:1.1}[_nghost-%COMP%]   .buttons[_ngcontent-%COMP%]{width:100%;max-width:420px;margin:0 auto;display:flex;justify-content:center;align-items:center}[_nghost-%COMP%]   .buttons[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{width:100%;margin:0 1rem;text-transform:uppercase}  ngb-typeahead-window{max-height:220px;overflow:auto}"]}),t})(),_w=(()=>{class t{constructor(){this.closed=new Hl,this.visible=!1,this.icons={close:ry.faTimes}}ngOnInit(){}open(){this.visible=!0}close(){this.visible=!1,this.closed.emit()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=fe({type:t,selectors:[["app-popup-form-confirmation"]],hostVars:2,hostBindings:function(t,e){2&t&&sa("visible",e.visible)},inputs:{visible:"visible"},outputs:{closed:"closed"},decls:10,vars:1,consts:[[1,"backdrop",3,"click"],[1,"popup"],["href","mailto:salesforceandgoogle@salesforce.com"],[1,"close",3,"click"],[3,"icon"]],template:function(t,e){1&t&&(No(0,"div",0),Fo("click",(function(){return e.close()})),Do(),No(1,"div",1),No(2,"h1"),ma(3,"We got your selection."),Do(),No(4,"p"),ma(5," Please allow 3-5 business days for your selection to be processed. If you have any questions please contact us "),No(6,"a",2),ma(7,"salesforceandgoogle@salesforce.com"),Do(),Do(),No(8,"button",3),Fo("click",(function(){return e.close()})),Ro(9,"fa-icon",4),Do(),Do()),2&t&&(ws(9),ko("icon",e.icons.close))},directives:[bb],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;color:#fff;text-align:center}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%]   .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(popup-bg.2529ff5db1d84d7cf04a.jpg) no-repeat 0 0;border-radius:25px;padding:2rem}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%]   .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%]   .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%]   .popup[_ngcontent-%COMP%]{background:#ea7600 url(form-bg.5f6aa8eb81df210053e5.png) no-repeat 0 0;background-size:cover}[_nghost-%COMP%]   h1[_ngcontent-%COMP%]{margin:3rem 0}[_nghost-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:6rem}"]}),t})(),yw=(()=>{class t{constructor(t,e,n){this.formBuilder=t,this.playCanvasService=e,this.stockService=n,this.openCompliance=new Hl,this.iframeUrl=new Hl,this.environment=nu,this.formGroup=this.formBuilder.group({src:new am(null,[Og.required])}),this.clearLocalStorage=()=>localStorage.clear(),this.sendStatus=()=>this.playCanvasService.sendStatus(),this.setProgress=()=>this.playCanvasService.setProgress("achievement_1",!0),this.setBottleThresholdTooHigh=()=>{this.environment.bottlesThreshold=999999999,this.stockService.getBottlesRemaining().then(t=>{this.playCanvasService.bottlesAvailable=t,this.playCanvasService.sendStatus()})},this.resetBottleThreshold=()=>{this.environment.bottlesThreshold=50,this.stockService.getBottlesRemaining().then(t=>{this.playCanvasService.bottlesAvailable=t,this.playCanvasService.sendStatus()})}}ngOnInit(){}emitUrl(){this.formGroup.valid&&this.iframeUrl.emit(this.formGroup.value.src)}}return t.\u0275fac=function(e){return new(e||t)(Oo(Tm),Oo(Y_),Oo(Z_))},t.\u0275cmp=fe({type:t,selectors:[["app-footer"]],outputs:{openCompliance:"openCompliance",iframeUrl:"iframeUrl"},decls:24,vars:0,consts:[[1,"left"],["href","https://www.salesforce.com/company/legal/intellectual/","target","_blank"],[1,"d-lg-block","d-md-none"],[1,"right","text-right"],[1,"links"],["target","_blank","href","https://www.salesforce.com/company/legal/"],["target","_blank","href","https://www.salesforce.com/company/legal/sfdc-website-terms-of-service/"],["target","_blank","href","https://www.salesforce.com/company/privacy/"],["target","_blank","href","https://www.salesforce.com/company/disclosure/"],["target","_blank","href","https://trust.salesforce.com/en/"],["target","_blank","href","https://www.salesforce.com/company/contact-us/?d=cta-glob-footer-11"],["target","_blank","href","https://www.salesforce.com/company/disclosure/#"]],template:function(t,e){1&t&&(No(0,"div",0),No(1,"p"),ma(2," Copyright 2020 Salesforce.com, inc. "),No(3,"a",1),ma(4,"All rights reserved"),Do(),ma(5,". Various trademarks held by their respective owners."),Ro(6,"br",2),ma(7," Salesforce Tower, 415 Mission St, San Francisco, CA 94105 "),Do(),Do(),No(8,"div",3),No(9,"div",4),No(10,"a",5),ma(11,"Legal"),Do(),No(12,"a",6),ma(13,"Terms of Service"),Do(),No(14,"a",7),ma(15,"Privacy Information"),Do(),No(16,"a",8),ma(17,"Responsible Disclosure"),Do(),No(18,"a",9),ma(19,"Trust"),Do(),No(20,"a",10),ma(21,"Contact"),Do(),No(22,"a",11),ma(23,"Cookie Preference"),Do(),Do(),Do())},styles:["[_nghost-%COMP%]{width:100%;height:52px;display:flex;justify-content:space-between;align-items:center;color:#fff;padding:0 1.8rem;font-size:12px;background:#032e61}a[_ngcontent-%COMP%]{color:#3478b0}p[_ngcontent-%COMP%]{margin-bottom:0}.links[_ngcontent-%COMP%]{display:flex}.links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin-right:22px}@media (max-width:1440px){.links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin-right:12px}}.btn[_ngcontent-%COMP%]{margin-left:1px}"]}),t})();const bw=["iframe"],vw=["form"],ww=["formConfirmation"],Cw=["message"],Sw=["video"];let Tw,Pw=(()=>{class t{constructor(t,e){this.playCanvasService=t,this.sanitizer=e,this.environment=nu,this.subscriptions=[],this.src=this.sanitizer.bypassSecurityTrustResourceUrl("assets/playcanvas/release/index.html"),this.openCompliance=()=>this.needToAnswerCompliance=!0,this.openConfirmation=()=>this.popupFormConfirmation.open()}ngOnInit(){this.evaluatePopups()}ngAfterViewInit(){this.playCanvasService.init(this.iframe),this.handleMessages(),this.subscriptions.push(this.popupMessage.closed.subscribe(()=>this.playCanvasService.sendToPlayCanvas("popupClosed")),this.popupVideo.closed.subscribe(()=>this.playCanvasService.sendToPlayCanvas("popupClosed")),this.popupForm.closed.subscribe(()=>this.playCanvasService.sendToPlayCanvas("popupClosed")),this.popupFormConfirmation.closed.subscribe(()=>this.playCanvasService.sendToPlayCanvas("popupClosed"))),this.environment.production||(this.environment.debug.showFormOnLoad&&setTimeout(()=>this.popupForm.open(),500),this.environment.debug.showVideoOnLoad&&setTimeout(()=>this.popupVideo.open("Zulily_Viewfinder"),500))}ngOnDestroy(){this.subscriptions.map(t=>t.unsubscribe()),this.subscriptions=[]}handleMessages(){this.subscriptions.push(this.playCanvasService.lastMessage.subscribe(t=>{t&&("showPopup"===t.message?(this.playCanvasService.sendToPlayCanvas("popupOpen"),Object.keys(nu.videos).includes(t.param1)?this.popupVideo.open(t.param1):"bottleForm"===t.param1?this.popupForm.open():this.environment.production||this.popupMessage.open(t)):"getStatus"===t.message?this.playCanvasService.getStatus():"setProgress"===t.message?this.playCanvasService.setProgress(t.param1,t.param2):"trackEvent"===t.message?this.playCanvasService.trackEvent(t.param1,t.param2):"shareItem"===t.message&&this.playCanvasService.shareItem(t.param1))}))}listenForMessage(t){var e,n,r;this.playCanvasService.lastMessage.next({message:t.data.message,param1:null===(e=t.data.params)||void 0===e?void 0:e[0],param2:null===(n=t.data.params)||void 0===n?void 0:n[1],param3:null===(r=t.data.params)||void 0===r?void 0:r[2]}),this.playCanvasService.sendToPlayCanvas(t.data.message,t.data.params)}pageClosed(){this.playCanvasService.sendStatus()}evaluatePopups(){switch(this.playCanvasService.evaluatePopups()){case"compliance":return this.needToAnswerCompliance=!0}}changeIframeUrl(t){-1===t.indexOf("://")&&(t=`https://playcanv.as/index/${t}/`),this.src=this.sanitizer.bypassSecurityTrustResourceUrl(t)}}return t.\u0275fac=function(e){return new(e||t)(Oo(Y_),Oo(gh))},t.\u0275cmp=fe({type:t,selectors:[["app-play-canvas"]],viewQuery:function(t,e){var n;1&t&&(Ql(bw,!0),Ql(vw,!0),Ql(ww,!0),Ql(Cw,!0),Ql(Sw,!0)),2&t&&(Xl(n=Jl())&&(e.iframe=n.first),Xl(n=Jl())&&(e.popupForm=n.first),Xl(n=Jl())&&(e.popupFormConfirmation=n.first),Xl(n=Jl())&&(e.popupMessage=n.first),Xl(n=Jl())&&(e.popupVideo=n.first))},hostBindings:function(t,e){1&t&&Fo("message",(function(t){return e.listenForMessage(t)}),!1,Un)("beforeunload",(function(t){return e.pageClosed(t)}),!1,Un)},decls:13,vars:2,consts:[[3,"visible","closed"],["message",""],["video",""],[3,"submitted"],["form",""],["formConfirmation",""],["frameborder","0",3,"src"],["iframe",""],[3,"openCompliance","iframeUrl"]],template:function(t,e){1&t&&(Ro(0,"app-header"),No(1,"app-compliance",0),Fo("closed",(function(){return e.evaluatePopups()})),Do(),Ro(2,"app-popup-message",null,1),Ro(4,"app-popup-video",null,2),No(6,"app-popup-form",3,4),Fo("submitted",(function(){return e.openConfirmation()})),Do(),Ro(8,"app-popup-form-confirmation",null,5),Ro(10,"iframe",6,7),No(12,"app-footer",8),Fo("openCompliance",(function(){return e.openCompliance()}))("iframeUrl",(function(t){return e.changeIframeUrl(t)})),Do()),2&t&&(ws(1),ko("visible",e.needToAnswerCompliance),ws(9),ko("src",e.src,Jr))},directives:[J_,ty,ny,Ab,mw,_w,yw],styles:["html{height:100%}  body{margin:0;max-height:100%;overflow:hidden;position:relative;width:100%}iframe[_ngcontent-%COMP%]{width:100%;height:100%;height:calc(100% - 98px)}"]}),t})();try{Tw="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(QT){Tw=!1}let Mw,Ew,Ow,xw=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Fu(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&&!Tw)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(qt(uc,8))},t.\u0275prov=ut({factory:function(){return new t(qt(uc,8))},token:t,providedIn:"root"}),t})(),Aw=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})();function kw(t){return function(){if(null==Mw&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Mw=!0}))}finally{Mw=Mw||!1}return Mw}()?t:!!t.capture}function Iw(){if("object"!=typeof document||!document)return 0;if(null==Ew){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.height="1px",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",t.appendChild(n),document.body.appendChild(t),Ew=0,0===t.scrollLeft&&(t.scrollLeft=1,Ew=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return Ew}function Nw(t){return null!=t&&""+t!="false"}function Dw(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function Rw(t){return t instanceof ja?t.nativeElement:t}class Gw{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new Hw(t,this.durationSelector))}}class Hw extends G{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const r=R(this,n);!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))}notifyNext(t,e,n,r){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Lw(t,e=Rb){return n=()=>function(t=0,e,n){let r=-1;return Ub(e)?r=Number(e)<1?1:Number(e):E(e)&&(n=e),E(n)||(n=Rb),new v(e=>{const s=Ub(t)?t:+t-n.now();return n.schedule(zb,s,{index:0,period:r,subscriber:e})})}(t,e),function(t){return t.lift(new Gw(n))};var n}const Vw=new Vt("cdk-dir-doc",{providedIn:"root",factory:function(){return Qt(iu)}});let Bw=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new Hl,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(qt(Vw,8))},t.\u0275prov=ut({factory:function(){return new t(qt(Vw,8))},token:t,providedIn:"root"}),t})(),Fw=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})(),jw=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new P,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new v(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Lw(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):vh()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Ah(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,r)=>{this._scrollableContainsElement(r,t)&&e.push(r)}),e}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollableContainsElement(t,e){let n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Wb(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(qt(Mc),qt(xw),qt(iu,8))},t.\u0275prov=ut({factory:function(){return new t(qt(Mc),qt(xw),qt(iu,8))},token:t,providedIn:"root"}),t})(),Uw=(()=>{class t{constructor(t,e,n,r){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=r,this._destroyed=new P,this._elementScrolled=new v(t=>this.ngZone.runOutsideAngular(()=>Wb(this.elementRef.nativeElement,"scroll").pipe(Xb(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=Iw()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Iw()?t.left=t.right:1==Iw()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&2==Iw()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&1==Iw()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(Oo(ja),Oo(jw),Oo(Mc),Oo(Bw,8))},t.\u0275dir=ve({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),zw=(()=>{class t{constructor(t,e,n){this._platform=t,this._document=n,e.runOutsideAngular(()=>{const e=this._getWindow();this._change=t.isBrowser?K(Wb(e,"resize"),Wb(e,"orientationchange")):vh(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}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:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._getDocument(),e=this._getWindow(),n=t.documentElement,r=n.getBoundingClientRect();return{top:-r.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-r.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Lw(t)):this._change}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(qt(xw),qt(Mc),qt(iu,8))},t.\u0275prov=ut({factory:function(){return new t(qt(xw),qt(Mc),qt(iu,8))},token:t,providedIn:"root"}),t})(),Ww=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)}}),t})(),$w=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(QT){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){const t=e&&e.nodeName.toLowerCase();if(-1===Xw(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===t)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}let r=t.nodeName.toLowerCase(),s=Xw(t);if(t.hasAttribute("contenteditable"))return-1!==s;if("iframe"===r)return!1;if("audio"===r){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0}isFocusable(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||Kw(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)}}return t.\u0275fac=function(e){return new(e||t)(qt(xw))},t.\u0275prov=ut({factory:function(){return new t(qt(xw))},token:t,providedIn:"root"}),t})();function Kw(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function Xw(t){if(!Kw(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class qw{constructor(t,e,n,r,s=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null}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(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n<e.length;n++)e[n].hasAttribute("cdk-focus-"+t)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]):e[n].hasAttribute("cdk-focus-region-"+t)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return t?(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),Sr()&&!this._checker.isFocusable(t)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",t),t.focus(),!0):this.focusFirstTabbableElement()}focusFirstTabbableElement(){const t=this._getRegionBoundary("start");return t&&t.focus(),!!t}focusLastTabbableElement(){const t=this._getRegionBoundary("end");return t&&t.focus(),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=0;n<e.length;n++){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(t)return t}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=e.length-1;n>=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Xh(1)).subscribe(t)}}let Qw=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new qw(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(qt($w),qt(Mc),qt(iu))},t.\u0275prov=ut({factory:function(){return new t(qt($w),qt(Mc),qt(iu))},token:t,providedIn:"root"}),t})();"undefined"!=typeof Element&&Element;const Zw=new Vt("cdk-focus-monitor-default-options"),Yw=kw({passive:!0,capture:!0});let Jw=(()=>{class t{constructor(t,e,n,r){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=function(t){return 0===t.buttons}(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=tC(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=tC(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let r=e;r;r=r.parentElement)n.call(this,t,r)},this._document=n,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(t,e=!1){if(!this._platform.isBrowser)return vh(null);const n=Rw(t),r=function(t){if(function(){if(null==Ow){const t="undefined"!=typeof document?document.head:null;Ow=!(!t||!t.createShadowRoot&&!t.attachShadow)}return Ow}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}(n)||this._getDocument(),s=this._elementInfo.get(n);if(s)return e&&(s.checkChildren=!0),s.subject.asObservable();const i={checkChildren:e,subject:new P,rootNode:r};return this._elementInfo.set(n,i),this._registerGlobalListeners(i),i.subject.asObservable()}stopMonitoring(t){const e=Rw(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const r=Rw(t);this._setOriginForCurrentEventQueue(e),"function"==typeof r.focus&&r.focus(n)}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=tC(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);if(!n||!n.checkChildren&&e!==tC(t))return;const r=this._getFocusOrigin(t);this._setClasses(e,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,Yw),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,Yw)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,Yw),t.addEventListener("mousedown",this._documentMousedownListener,Yw),t.addEventListener("touchstart",this._documentTouchstartListener,Yw),e.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Yw),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Yw),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,Yw),t.removeEventListener("mousedown",this._documentMousedownListener,Yw),t.removeEventListener("touchstart",this._documentTouchstartListener,Yw),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}return t.\u0275fac=function(e){return new(e||t)(qt(Mc),qt(xw),qt(iu,8),qt(Zw,8))},t.\u0275prov=ut({factory:function(){return new t(qt(Mc),qt(xw),qt(iu,8),qt(Zw,8))},token:t,providedIn:"root"}),t})();function tC(t){return t.composedPath?t.composedPath()[0]:t.target}let eC=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(qt(xw),qt(iu))},t.\u0275prov=ut({factory:function(){return new t(qt(xw),qt(iu))},token:t,providedIn:"root"}),t})();const nC=new qa("9.2.4");function rC(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function sC(t){switch(t.length){case 0:return new Gm;case 1:return t[0];default:return new Hm(t)}}function iC(t,e,n,r,s={},i={}){const o=[],a=[];let l=-1,c=null;if(r.forEach(t=>{const n=t.offset,r=n==l,u=r&&c||{};Object.keys(t).forEach(n=>{let r=n,a=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,o),a){case"!":a=s[n];break;case"*":a=i[n];break;default:a=e.normalizeStyleValue(n,r,a,o)}u[r]=a}),r||a.push(u),c=u,l=n}),o.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${o.join(t)}`)}return a}function oC(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&aC(n,"start",t)));break;case"done":t.onDone(()=>r(n&&aC(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&aC(n,"destroy",t)))}}function aC(t,e,n){const r=n.totalTime,s=lC(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),i=t._data;return null!=i&&(s._data=i),s}function lC(t,e,n,r,s="",i=0,o){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:s,totalTime:i,disabled:!!o}}function cC(t,e,n){let r;return t instanceof Map?(r=t.get(e),r||t.set(e,r=n)):(r=t[e],r||(r=t[e]=n)),r}function uC(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let hC=(t,e)=>!1,dC=(t,e)=>!1,pC=(t,e,n)=>[];const fC=rC();(fC||"undefined"!=typeof Element)&&(hC=(t,e)=>t.contains(e),dC=(()=>{if(fC||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):dC}})(),pC=(t,e,n)=>{let r=[];if(n)r.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&r.push(n)}return r});let gC=null,mC=!1;function _C(t){gC||(gC=("undefined"!=typeof document?document.body:null)||{},mC=!!gC.style&&"WebkitAppearance"in gC.style);let e=!0;return gC.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in gC.style,!e&&mC)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in gC.style),e}const yC=dC,bC=hC,vC=pC;function wC(t){const e={};return Object.keys(t).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]}),e}let CC=(()=>{class t{validateStyleProperty(t){return _C(t)}matchesElement(t,e){return yC(t,e)}containsElement(t,e){return bC(t,e)}query(t,e,n){return vC(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,r,s,i=[],o){return new Gm(n,r)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})(),SC=(()=>{class t{}return t.NOOP=new CC,t})();function TC(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:PC(parseFloat(e[1]),e[2])}function PC(t,e){switch(e){case"s":return 1e3*t;default:return t}}function MC(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let r,s=0,i="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};r=PC(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(s=PC(parseFloat(o),n[4]));const a=n[5];a&&(i=a)}else r=t;if(!n){let n=!1,i=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(i,0,`The provided timing value "${t}" is invalid.`)}return{duration:r,delay:s,easing:i}}(t,e,n)}function EC(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function OC(t,e,n={}){if(e)for(let r in t)n[r]=t[r];else EC(t,n);return n}function xC(t,e,n){return n?e+":"+n+";":""}function AC(t){let e="";for(let n=0;n<t.style.length;n++){const r=t.style.item(n);e+=xC(0,r,t.style.getPropertyValue(r))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=xC(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function kC(t,e,n){t.style&&(Object.keys(e).forEach(r=>{const s=VC(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[s]),t.style[s]=e[r]}),rC()&&AC(t))}function IC(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=VC(e);t.style[n]=""}),rC()&&AC(t))}function NC(t){return Array.isArray(t)?1==t.length?t[0]:km(t):t}const DC=new RegExp("{{\\s*(.+?)\\s*}}","g");function RC(t){let e=[];if("string"==typeof t){let n;for(;n=DC.exec(t);)e.push(n[1]);DC.lastIndex=0}return e}function GC(t,e,n){const r=t.toString(),s=r.replace(DC,(t,r)=>{let s=e[r];return e.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),s=""),s.toString()});return s==r?t:s}function HC(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const LC=/-+([a-z0-9])/g;function VC(t){return t.replace(LC,(...t)=>t[1].toUpperCase())}function BC(t,e){return 0===t||0===e}function FC(t,e,n){const r=Object.keys(n);if(r.length&&e.length){let i=e[0],o=[];if(r.forEach(t=>{i.hasOwnProperty(t)||o.push(t),i[t]=n[t]}),o.length)for(var s=1;s<e.length;s++){let n=e[s];o.forEach((function(e){n[e]=UC(t,e)}))}}return e}function jC(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function UC(t,e){return window.getComputedStyle(t)[e]}function zC(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}const r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const s=r[1],i=r[2],o=r[3];e.push(KC(s,o)),"<"!=i[0]||"*"==s&&"*"==o||e.push(KC(o,s))}(t,n,e)):n.push(t),n}const WC=new Set(["true","1"]),$C=new Set(["false","0"]);function KC(t,e){const n=WC.has(t)||$C.has(t),r=WC.has(e)||$C.has(e);return(s,i)=>{let o="*"==t||t==s,a="*"==e||e==i;return!o&&n&&"boolean"==typeof s&&(o=s?WC.has(t):$C.has(t)),!a&&r&&"boolean"==typeof i&&(a=i?WC.has(e):$C.has(e)),o&&a}}const XC=new RegExp("s*:selfs*,?","g");function qC(t,e,n){return new QC(t).build(e,n)}class QC{constructor(t){this._driver=t}build(t,e){const n=new ZC(e);return this._resetContextStyleTimingState(n),jC(this,NC(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0;const s=[],i=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,r=n.name;r.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,s.push(this.visitState(n,e))}),n.name=r}else if(1==t.type){const s=this.visitTransition(t,e);n+=s.queryCount,r+=s.depCount,i.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:i,queryCount:n,depCount:r,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){const s=new Set,i=r||{};if(n.styles.forEach(t=>{if(YC(t)){const e=t;Object.keys(e).forEach(t=>{RC(e[t]).forEach(t=>{i.hasOwnProperty(t)||s.add(t)})})}}),s.size){const n=HC(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=jC(this,NC(t.animation),e);return{type:1,matchers:zC(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:JC(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>jC(this,t,e)),options:JC(t.options)}}visitGroup(t,e){const n=e.currentTime;let r=0;const s=t.steps.map(t=>{e.currentTime=n;const s=jC(this,t,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:3,steps:s,options:JC(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return tS(MC(t,e).duration,0,"");const r=t;if(r.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=tS(0,0,"");return t.dynamic=!0,t.strValue=r,t}return n=n||MC(r,e),tS(n.duration,n.delay,n.easing)}(t.timings,e.errors);let r;e.currentAnimateTimings=n;let s=t.styles?t.styles:Im({});if(5==s.type)r=this.visitKeyframes(s,e);else{let s=t.styles,i=!1;if(!s){i=!0;const t={};n.easing&&(t.easing=n.easing),s=Im(t)}e.currentTime+=n.duration+n.delay;const o=this.visitStyle(s,e);o.isEmptyStep=i,r=o}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?"*"==t?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let r=!1,s=null;return n.forEach(t=>{if(YC(t)){const e=t,n=e.easing;if(n&&(s=n,delete e.easing),!r)for(let t in e)if(e[t].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:s,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let r=e.currentTime,s=e.currentTime;n&&s>0&&(s-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const i=e.collectedStyles[e.currentQuerySelector],o=i[n];let a=!0;o&&(s!=r&&s>=o.startTime&&r<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${r}ms"`),a=!1),s=o.startTime),a&&(i[n]={startTime:s,endTime:r}),e.options&&function(t,e,n){const r=e.params||{},s=RC(t);s.length&&s.forEach(t=>{r.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const s=[];let i=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(YC(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(YC(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(r++,c=n.offset=l),o=o||c<0||c>1,i=i||c<a,a=c,s.push(c),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),i&&e.errors.push("Please ensure that all keyframe offsets are in order");const c=t.steps.length;let u=0;r>0&&r<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(u=1/(c-1));const h=c-1,d=e.currentTime,p=e.currentAnimateTimings,f=p.duration;return l.forEach((t,r)=>{const i=u>0?r==h?1:u*r:s[r],o=i*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=i,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:jC(this,NC(t.animation),e),options:JC(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:JC(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:JC(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[s,i]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(XC,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+s:s,cC(e.collectedStyles,e.currentQuerySelector,{});const o=jC(this,NC(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:i,animation:o,originalSelector:t.selector,options:JC(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:MC(t.timings,e.errors,!0);return{type:12,animation:jC(this,NC(t.animation),e),timings:n,options:null}}}class ZC{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function YC(t){return!Array.isArray(t)&&"object"==typeof t}function JC(t){var e;return t?(t=EC(t)).params&&(t.params=(e=t.params)?EC(e):null):t={},t}function tS(t,e,n){return{duration:t,delay:e,easing:n}}function eS(t,e,n,r,s,i,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:s,delay:i,totalTime:s+i,easing:o,subTimeline:a}}class nS{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const rS=new RegExp(":enter","g"),sS=new RegExp(":leave","g");function iS(t,e,n,r,s,i={},o={},a,l,c=[]){return(new oS).buildKeyframes(t,e,n,r,s,i,o,a,l,c)}class oS{buildKeyframes(t,e,n,r,s,i,o,a,l,c=[]){l=l||new nS;const u=new lS(t,e,l,r,s,c,[]);u.options=a,u.currentTimeline.setStyles([i],null,u.errors,a),jC(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[eS(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const r=e.createSubContext(t.options),s=e.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);s!=i&&e.transformIntoNewTimeline(i)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let r=e.currentTimeline.currentTime;const s=null!=n.duration?TC(n.duration):null,i=null!=n.delay?TC(n.delay):null;return 0!==s&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,s,i);r=Math.max(r,n.duration+n.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),jC(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let r=e;const s=t.options;if(s&&(s.params||s.delay)&&(r=e.createSubContext(s),r.transformIntoNewTimeline(),null!=s.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=aS);const t=TC(s.delay);r.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>jC(this,t,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let r=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?TC(t.options.delay):0;t.steps.forEach(i=>{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),jC(this,i,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return MC(e.params?GC(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(n.duration),this.visitStyle(s,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const s=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(s):n.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,s=n.duration,i=e.createSubContext().currentTimeline;i.easing=n.easing,t.styles.forEach(t=>{i.forwardTime((t.offset||0)*s),i.setStyles(t.styles,t.easing,e.errors,e.options),i.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(i),e.transformIntoNewTimeline(r+s),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,r=t.options||{},s=r.delay?TC(r.delay):0;s&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=aS);let i=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,r)=>{e.currentQueryIndex=r;const o=e.createSubContext(t.options,n);s&&o.delayNextStep(s),n===e.element&&(a=o.currentTimeline),jC(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(i),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,r=e.currentTimeline,s=t.timings,i=Math.abs(s.duration),o=i*(e.currentQueryTotal-1);let a=i*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;jC(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}const aS={};class lS{constructor(t,e,n,r,s,i,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=s,this.errors=i,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=aS,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new cS(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let r=this.options;null!=n.duration&&(r.duration=TC(n.duration)),null!=n.delay&&(r.delay=TC(n.delay));const s=n.params;if(s){let t=r.params;t||(t=this.options.params={}),Object.keys(s).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=GC(s[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const r=e||this.element,s=new lS(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=aS,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},s=new uS(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,r,s,i){let o=[];if(r&&o.push(this.element),t.length>0){t=(t=t.replace(rS,"."+this._enterClassName)).replace(sS,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return s||0!=o.length||i.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class cS{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new cS(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||"*",this._currentKeyframe[t]="*"}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&(this._previousKeyframe.easing=e);const s=r&&r.params||{},i=function(t,e){const n={};let r;return t.forEach(t=>{"*"===t?(r=r||Object.keys(e),r.forEach(t=>{n[t]="*"})):OC(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(i).forEach(t=>{const e=GC(i[t],s,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:"*"),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],r=t._styleSummary[e];(!n||r.time>n.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((s,i)=>{const o=OC(s,!0);Object.keys(o).forEach(n=>{const r=o[n];"!"==r?t.add(n):"*"==r&&e.add(n)}),n||(o.offset=i/this.duration),r.push(o)});const s=t.size?HC(t.values()):[],i=e.size?HC(e.values()):[];if(n){const t=r[0],e=EC(t);t.offset=0,e.offset=1,r=[t,e]}return eS(this.element,r,s,i,this.duration,this.startTime,this.easing,!1)}}class uS extends cS{constructor(t,e,n,r,s,i,o=!1){super(t,e,i.delay),this.element=e,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],i=n+e,o=e/i,a=OC(t[0],!1);a.offset=0,s.push(a);const l=OC(t[0],!1);l.offset=hS(o),s.push(l);const c=t.length-1;for(let r=1;r<=c;r++){let o=OC(t[r],!1);o.offset=hS((e+o.offset*n)/i),s.push(o)}n=i,e=0,r="",t=s}return eS(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function hS(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class dS{}class pS extends dS{normalizePropertyName(t,e){return VC(t)}normalizeStyleValue(t,e,n,r){let s="";const i=n.toString().trim();if(fS[e]&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&r.push(`Please provide a CSS unit value for ${t}:${n}`)}return i+s}}const fS=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("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".split(",")))();function gS(t,e,n,r,s,i,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:n,fromStyles:i,toState:r,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const mS={};class _S{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,r){return function(t,e,n,r,s){return t.some(t=>t(e,n,r,s))}(this.ast.matchers,t,e,n,r)}buildStyles(t,e,n){const r=this._stateStyles["*"],s=this._stateStyles[t],i=r?r.buildStyles(e,n):{};return s?s.buildStyles(e,n):i}build(t,e,n,r,s,i,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||mS,d=this.buildStyles(n,o&&o.params||mS,u),p=a&&a.params||mS,f=this.buildStyles(r,p,u),g=new Set,m=new Map,_=new Map,y="void"===r,b={params:Object.assign(Object.assign({},h),p)},v=c?[]:iS(t,e,this.ast.animation,s,i,d,f,b,l,u);let w=0;if(v.forEach(t=>{w=Math.max(t.duration+t.delay,w)}),u.length)return gS(e,this._triggerName,n,r,y,d,f,[],[],m,_,w,u);v.forEach(t=>{const n=t.element,r=cC(m,n,{});t.preStyleProps.forEach(t=>r[t]=!0);const s=cC(_,n,{});t.postStyleProps.forEach(t=>s[t]=!0),n!==e&&g.add(n)});const C=HC(g.values());return gS(e,this._triggerName,n,r,y,d,f,v,C,m,_,w)}}class yS{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},r=EC(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let i=s[t];i.length>1&&(i=GC(i,r,e)),n[t]=i})}}),n}}class bS{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new yS(t.style,t.options&&t.options.params||{})}),vS(this.states,"true","1"),vS(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new _S(t,e,this.states))}),this.fallbackTransition=function(t,e){return new _S(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},e)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,r){return this.transitionFactories.find(s=>s.match(t,e,n,r))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function vS(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const wS=new nS;class CS{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],r=qC(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r}_buildPlayer(t,e,n){const r=t.element,s=iC(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],s=this._animations[t];let i;const o=new Map;if(s?(i=iS(this._driver,e,s,"ng-enter","ng-leave",{},{},n,wS,r),i.forEach(t=>{const e=cC(o,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),i=[]),r.length)throw new Error("Unable to create the animation due to the following errors: "+r.join("\n"));o.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,"*")})});const a=sC(i.map(t=>{const e=o.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=a,a.onDestroy(()=>this.destroy(t)),this.players.push(a),a}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e}listen(t,e,n,r){const s=lC(e,"","","");return oC(this._getPlayer(t),n,s,r),()=>{}}command(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n)return void this.create(t,e,r[0]||{});const s=this._getPlayer(t);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const SS=[],TS={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},PS={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class MS{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(r=n?t.value:t)?r:null,n){const e=EC(t);delete e.value,this.options=e}else this.options={};var r;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const ES=new MS("void");class OS{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,RS(e,this._hostClassName)}listen(t,e,n,r){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var s;const i=cC(this._elementListeners,t,[]),o={name:e,phase:n,callback:r};i.push(o);const a=cC(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(RS(t,"ng-trigger"),RS(t,"ng-trigger-"+e),a[e]=ES),()=>{this._engine.afterFlush(()=>{const t=i.indexOf(o);t>=0&&i.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,r=!0){const s=this._getTrigger(e),i=new AS(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(RS(t,"ng-trigger"),RS(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new MS(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=ES),"void"!==l.value&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let s=0;s<n.length;s++){const r=n[s];if(!e.hasOwnProperty(r)||t[r]!==e[r])return!1}return!0}(a.params,l.params)){const e=[],n=s.matchStyles(a.value,a.params,e),r=s.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{IC(t,n),kC(t,r)})}return}const c=cC(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=s.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!r)return;u=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:i,isFallbackTransition:h}),h||(RS(t,"ng-animate-queued"),i.onStart(()=>{GS(t,"ng-animate-queued")})),i.onDone(()=>{let e=this.players.indexOf(i);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(i);t>=0&&n.splice(t,1)}}),this.players.push(i),c.push(i),i}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,".ng-trigger",!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,r){const s=this._engine.statesByElement.get(t);if(s){const i=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",r);n&&i.push(n)}}),i.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&sC(i).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const r=e.name;if(n.has(r))return;n.add(r);const s=this._triggers[r].fallbackTransition,i=this._engine.statesByElement.get(t)[r]||ES,o=new MS("void"),a=new AS(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,transition:s,fromState:i,toState:o,player:a,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)r=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)n.markElementAsRemoved(this.id,t,!1,e);else{const r=t.__ng_removed;r&&r!==TS||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){RS(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const s=n.element,i=this._elementListeners.get(s);i&&i.forEach(e=>{if(e.name==n.triggerName){const r=lC(s,n.triggerName,n.fromState.value,n.toState.value);r._data=t,oC(n.player,e.phase,r,e.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,r=e.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class xS{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,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=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new OS(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let s=n;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let r=0;r<t.length;r++){const s=n[t[r]].namespaceId;if(s){const t=this._fetchNamespace(s);t&&e.add(t)}}}return e}trigger(t,e,n,r){if(kS(e)){const s=this._fetchNamespace(t);if(s)return s.trigger(e,n,r),!0}return!1}insertNode(t,e,n,r){if(!kS(e))return;const s=e.__ng_removed;if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const r=this._fetchNamespace(t);r&&r.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),RS(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),GS(t,"ng-animate-disabled"))}removeNode(t,e,n,r){if(kS(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,n,r){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,r,s){return kS(e)?this._fetchNamespace(t).listen(e,n,r,s):()=>{}}_buildInstruction(t,e,n,r,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return sC(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=TS,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)RS(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?sC(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))}_flushAnimations(t,e){const n=new nS,r=[],s=new Map,i=[],o=new Map,a=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(t=>{c.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)c.add(e[n])});const u=this.bodyNode,h=Array.from(this.statesByElement.keys()),d=DS(h,this.collectedEnterElements),p=new Map;let f=0;d.forEach((t,e)=>{const n="ng-enter"+f++;p.set(e,n),t.forEach(t=>RS(t,n))});const g=[],m=new Set,_=new Set;for(let A=0;A<this.collectedLeaveElements.length;A++){const t=this.collectedLeaveElements[A],e=t.__ng_removed;e&&e.setForRemoval&&(g.push(t),m.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>m.add(t)):_.add(t))}const y=new Map,b=DS(h,Array.from(m));b.forEach((t,e)=>{const n="ng-leave"+f++;y.set(e,n),t.forEach(t=>RS(t,n))}),t.push(()=>{d.forEach((t,e)=>{const n=p.get(e);t.forEach(t=>GS(t,n))}),b.forEach((t,e)=>{const n=y.get(e);t.forEach(t=>GS(t,n))}),g.forEach(t=>{this.processLeaveNode(t)})});const v=[],w=[];for(let A=this._namespaceList.length-1;A>=0;A--)this._namespaceList[A].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(v.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const c=!u||!this.driver.containsElement(u,s),h=y.get(s),d=p.get(s),f=this._buildInstruction(t,n,d,h,c);if(f.errors&&f.errors.length)w.push(f);else{if(c)return e.onStart(()=>IC(s,f.fromStyles)),e.onDestroy(()=>kC(s,f.toStyles)),void r.push(e);if(t.isFallbackTransition)return e.onStart(()=>IC(s,f.fromStyles)),e.onDestroy(()=>kC(s,f.toStyles)),void r.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(s,f.timelines),i.push({instruction:f,player:e,element:s}),f.queriedElements.forEach(t=>cC(o,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=a.get(e);t||a.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let r=l.get(e);r||l.set(e,r=new Set),n.forEach(t=>r.add(t))})}});if(w.length){const t=[];w.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),v.forEach(t=>t.destroy()),this.reportError(t)}const C=new Map,S=new Map;i.forEach(t=>{const e=t.element;n.has(e)&&(S.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,C))}),r.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{cC(C,e,[]).push(t),t.destroy()})});const T=g.filter(t=>LS(t,a,l)),P=new Map;NS(P,this.driver,_,l,"*").forEach(t=>{LS(t,a,l)&&T.push(t)});const M=new Map;d.forEach((t,e)=>{NS(M,this.driver,new Set(t),a,"!")}),T.forEach(t=>{const e=P.get(t),n=M.get(t);P.set(t,Object.assign(Object.assign({},e),n))});const E=[],O=[],x={};i.forEach(t=>{const{element:e,player:i,instruction:o}=t;if(n.has(e)){if(c.has(e))return i.onDestroy(()=>kC(e,o.toStyles)),i.disabled=!0,i.overrideTotalTime(o.totalTime),void r.push(i);let t=x;if(S.size>1){let n=e;const r=[];for(;n=n.parentNode;){const e=S.get(n);if(e){t=e;break}r.push(n)}r.forEach(e=>S.set(e,t))}const n=this._buildAnimation(i.namespaceId,o,C,s,M,P);if(i.setRealPlayer(n),t===x)E.push(i);else{const e=this.playersByElement.get(t);e&&e.length&&(i.parentPlayer=sC(e)),r.push(i)}}else IC(e,o.fromStyles),i.onDestroy(()=>kC(e,o.toStyles)),O.push(i),c.has(e)&&r.push(i)}),O.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const n=sC(e);t.setRealPlayer(n)}}),r.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let A=0;A<g.length;A++){const t=g[A],e=t.__ng_removed;if(GS(t,"ng-leave"),e&&e.hasAnimation)continue;let n=[];if(o.size){let e=o.get(t);e&&e.length&&n.push(...e);let r=this.driver.query(t,".ng-animating",!0);for(let t=0;t<r.length;t++){let e=o.get(r[t]);e&&e.length&&n.push(...e)}}const r=n.filter(t=>!t.destroyed);r.length?HS(this,t,r):this.processLeaveNode(t)}return g.length=0,E.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),E}elementContainsData(t,e){let n=!1;const r=e.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,r,s){let i=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(i=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||"void"==s;e.forEach(e=>{e.queued||(t||e.triggerName==r)&&i.push(e)})}}return(n||r)&&(i=i.filter(t=>!(n&&n!=t.namespaceId||r&&r!=t.triggerName))),i}_beforeAnimationBuild(t,e,n){const r=e.element,s=e.isRemovalTransition?void 0:t,i=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==r,l=cC(n,t,[]);this._getPreviousPlayers(t,a,s,i,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}IC(r,e.fromStyles)}_buildAnimation(t,e,n,r,s,i){const o=e.triggerName,a=e.element,l=[],c=new Set,u=new Set,h=e.timelines.map(e=>{const h=e.element;c.add(h);const d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new Gm(e.duration,e.delay);const p=h!==a,f=function(t){const e=[];return function t(e,n){for(let r=0;r<e.length;r++){const s=e[r];s instanceof Hm?t(s.players,n):n.push(s)}}(t,e),e}((n.get(h)||SS).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===h),g=s.get(h),m=i.get(h),_=iC(0,this._normalizer,0,e.keyframes,g,m),y=this._buildPlayer(e,_,f);if(e.subTimeline&&r&&u.add(h),p){const e=new AS(t,o,h);e.setRealPlayer(y),l.push(e)}return y});l.forEach(t=>{cC(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let r;if(t instanceof Map){if(r=t.get(e),r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&t.delete(e)}}else if(r=t[e],r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&delete t[e]}return r}(this.playersByQueriedElement,t.element,t))}),c.forEach(t=>RS(t,"ng-animating"));const d=sC(h);return d.onDestroy(()=>{c.forEach(t=>GS(t,"ng-animating")),kC(a,e.toStyles)}),u.forEach(t=>{cC(r,t,[]).push(d)}),d}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Gm(t.duration,t.delay)}}class AS{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Gm,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>oC(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){cC(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function kS(t){return t&&1===t.nodeType}function IS(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function NS(t,e,n,r,s){const i=[];n.forEach(t=>i.push(IS(t)));const o=[];r.forEach((n,r)=>{const i={};n.forEach(t=>{const n=i[t]=e.computeStyle(r,t,s);n&&0!=n.length||(r.__ng_removed=PS,o.push(r))}),t.set(r,i)});let a=0;return n.forEach(t=>IS(t,i[a++])),o}function DS(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const r=new Set(e),s=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let i=s.get(e);if(i)return i;const o=e.parentNode;return i=n.has(o)?o:r.has(o)?1:t(o),s.set(e,i),i}(t);1!==e&&n.get(e).push(t)}),n}function RS(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function GS(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function HS(t,e,n){sC(n).onDone(()=>t.processLeaveNode(e))}function LS(t,e,n){const r=n.get(t);if(!r)return!1;let s=e.get(t);return s?r.forEach(t=>s.add(t)):e.set(t,r),n.delete(t),!0}class VS{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new xS(t,e,n),this._timelineEngine=new CS(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,r,s){const i=t+"-"+r;let o=this._triggerCache[i];if(!o){const t=[],e=qC(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new bS(t,e)}(r,e),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(e,r,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)}onRemove(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,r){if("@"==n.charAt(0)){const[t,s]=uC(n);this._timelineEngine.command(t,e,s,r)}else this._transitionEngine.trigger(t,e,n,r)}listen(t,e,n,r,s){if("@"==n.charAt(0)){const[t,r]=uC(n);return this._timelineEngine.listen(t,e,r,s)}return this._transitionEngine.listen(t,e,n,r,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function BS(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=jS(e[0]),e.length>1&&(r=jS(e[e.length-1]))):e&&(n=jS(e)),n||r?new FS(t,n,r):null}let FS=(()=>{class t{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&kC(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(kC(this._element,this._initialStyles),this._endStyles&&(kC(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(IC(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(IC(this._element,this._endStyles),this._endStyles=null),kC(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function jS(t){let e=null;const n=Object.keys(t);for(let r=0;r<n.length;r++){const s=n[r];US(s)&&(e=e||{},e[s]=t[s])}return e}function US(t){return"display"===t||"position"===t}class zS{constructor(t,e,n,r,s,i,o){this._element=t,this._name=e,this._duration=n,this._delay=r,this._easing=s,this._fillMode=i,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=QS(t,"").trim();n.length&&(function(t,e){let n=0;for(let r=0;r<t.length;r++)","===t.charAt(r)&&n++}(n),e=`${n}, ${e}`),qS(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),XS(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){WS(this._element,this._name,"paused")}resume(){WS(this._element,this._name,"running")}setPosition(t){const e=$S(this._element,this._name);this._position=t*this._duration,qS(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),XS(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=QS(t,"").split(","),r=KS(n,e);r>=0&&(n.splice(r,1),qS(t,"",n.join(",")))}(this._element,this._name))}}function WS(t,e,n){qS(t,"PlayState",n,$S(t,e))}function $S(t,e){const n=QS(t,"");return n.indexOf(",")>0?KS(n.split(","),e):KS([n],e)}function KS(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function XS(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function qS(t,e,n,r){const s="animation"+e;if(null!=r){const e=t.style[s];if(e.length){const t=e.split(",");t[r]=n,n=t.join(",")}}t.style[s]=n}function QS(t,e){return t.style["animation"+e]}class ZS{constructor(t,e,n,r,s,i,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=s,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=i||"linear",this.totalTime=r+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new zS(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:UC(this.element,n))})}this.currentSnapshot=t}}class YS extends Gm{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=wC(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class JS{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return _C(t)}matchesElement(t,e){return yC(t,e)}containsElement(t,e){return bC(t,e)}query(t,e,n){return vC(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>wC(t));let r=`@keyframes ${e} {\n`,s="";n.forEach(t=>{s=" ";const e=parseFloat(t.offset);r+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=`${s}animation-timing-function: ${n};\n`));default:return void(r+=`${s}${e}: ${n};\n`)}}),r+=s+"}\n"}),r+="}\n";const i=document.createElement("style");return i.innerHTML=r,i}animate(t,e,n,r,s,i=[],o){o&&this._notifyFaultyScrubber();const a=i.filter(t=>t instanceof ZS),l={};BC(n,r)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=FC(t,e,l));if(0==n)return new YS(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);document.querySelector("head").appendChild(h);const d=BS(t,e),p=new ZS(t,e,u,n,r,s,c,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class tT{constructor(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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}_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(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:UC(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class eT{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(nT().toString()),this._cssKeyframesDriver=new JS}validateStyleProperty(t){return _C(t)}matchesElement(t,e){return yC(t,e)}containsElement(t,e){return bC(t,e)}query(t,e,n){return vC(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,r,s,i=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,s,i);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};s&&(a.easing=s);const l={},c=i.filter(t=>t instanceof tT);BC(n,r)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=BS(t,e=FC(t,e=e.map(t=>OC(t,!1)),l));return new tT(t,e,a,u)}}function nT(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let rT=(()=>{class t extends Om{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:ue.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?km(t):t;return oT(this._renderer,null,e,"register",[n]),new sT(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(qt(za),qt(iu))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class sT extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new iT(this._id,t,e||{},this._renderer)}}class iT{constructor(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return oT(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(t){this._command("setPosition",t)}getPosition(){return 0}}function oT(t,e,n,r,s){return t.setProperty(e,`@@${n}:${r}`,s)}let aT=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new lT("",n,this.engine),this._rendererCache.set(n,t)),t}const r=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const i=e=>{Array.isArray(e)?e.forEach(i):this.engine.registerTrigger(r,s,t,e.name,e)};return e.data.animation.forEach(i),new cT(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}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()}}return t.\u0275fac=function(e){return new(e||t)(qt(za),qt(VS),qt(Mc))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();class lT{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,r){this.delegate.setAttribute(t,e,n,r)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,r){this.delegate.setStyle(t,e,n,r)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class cT extends lT{constructor(t,e,n,r){super(e,n,r),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const r=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),i="";return"@"!=s.charAt(0)&&([s,i]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,r,s,i,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let uT=(()=>{class t extends VS{constructor(t,e,n){super(t.body,e,n)}}return t.\u0275fac=function(e){return new(e||t)(qt(iu),qt(SC),qt(dS))},t.\u0275prov=ut({token:t,factory:t.\u0275fac}),t})();const hT=new Vt("AnimationModuleType"),dT=[{provide:SC,useFactory:function(){return"function"==typeof nT()?new eT:new JS}},{provide:hT,useValue:"BrowserAnimations"},{provide:Om,useClass:rT},{provide:dS,useFactory:function(){return new pS}},{provide:VS,useClass:uT},{provide:za,useFactory:function(t,e,n){return new aT(t,e,n)},deps:[ih,VS,Mc]}];let pT=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:dT,imports:[bh]}),t})();const fT=new qa("9.2.4"),gT=new Vt("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let mT,_T=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getDocument(){const t=this._document||document;return"object"==typeof t&&t?t:null}_getWindow(){const t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return Sr()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){const t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&!e.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){const t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(t||!e||!e.body||"function"!=typeof getComputedStyle)return;const n=e.createElement("div");n.classList.add("mat-theme-loaded-marker"),e.body.appendChild(n);const r=getComputedStyle(n);r&&"none"!==r.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),e.body.removeChild(n)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&fT.full!==nC.full&&console.warn("The Angular Material version ("+fT.full+") does not match the Angular CDK version ("+nC.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)(qt(eC),qt(gT,8),qt(iu,8))},imports:[[Fw],Fw]}),t})();try{mT="undefined"!=typeof Intl}catch(QT){mT=!1}const yT=["*"];function bT(t,e){if(1&t){const t=Lo();No(0,"div",2),Fo("click",(function(){return Ye(t),$o()._onBackdropClicked()})),Do()}2&t&&sa("mat-drawer-shown",$o()._isShowingBackdrop())}function vT(t,e){1&t&&(No(0,"mat-drawer-content"),qo(1,2),Do())}const wT=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],CT=["mat-drawer","mat-drawer-content","*"];function ST(t,e){if(1&t){const t=Lo();No(0,"div",2),Fo("click",(function(){return Ye(t),$o()._onBackdropClicked()})),Do()}2&t&&sa("mat-drawer-shown",$o()._isShowingBackdrop())}function TT(t,e){1&t&&(No(0,"mat-sidenav-content",3),qo(1,2),Do())}const PT=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],MT=["mat-sidenav","mat-sidenav-content","*"],ET={transformDrawer:xm("transform",[Nm("open, open-instant",Im({transform:"none",visibility:"visible"})),Nm("void",Im({"box-shadow":"none",visibility:"hidden"})),Dm("void => open-instant",Am("0ms")),Dm("void <=> open, open-instant => void",Am("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function OT(t){throw Error(`A drawer was already declared for 'position="${t}"'`)}const xT=new Vt("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),AT=new Vt("MAT_DRAWER_CONTAINER");let kT=(()=>{class t extends Uw{constructor(t,e,n,r,s){super(n,r,s),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(Oo(Xi),Oo(Tt(()=>NT)),Oo(ja),Oo(jw),Oo(Mc))},t.\u0275cmp=fe({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e){2&t&&ra("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[Ca],ngContentSelectors:yT,decls:1,vars:0,template:function(t,e){1&t&&(Xo(),qo(0))},encapsulation:2,changeDetection:0}),t})(),IT=(()=>{class t{constructor(t,e,n,r,s,i,o){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=n,this._platform=r,this._ngZone=s,this._doc=i,this._container=o,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new P,this._animationEnd=new P,this._animationState="void",this.openedChange=new Hl(!0),this._destroyed=new P,this.onPositionChanged=new Hl,this._modeChanged=new P,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{Wb(this._elementRef.nativeElement,"keydown").pipe(Ah(t=>27===t.keyCode&&!this.disableClose&&!function(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}(t)),Xb(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe(Bb((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{const{fromState:e,toState:n}=t;(0===n.indexOf("open")&&"void"===e||"void"===n&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=Nw(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=Nw(t)}get opened(){return this._opened}set opened(t){this.toggle(Nw(t))}get _openedStream(){return this.openedChange.pipe(Ah(t=>t),H(()=>{}))}get openedStart(){return this._animationStarted.pipe(Ah(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),H(()=>{}))}get _closedStream(){return this.openedChange.pipe(Ah(t=>!t),H(()=>{}))}get closedStart(){return this._animationStarted.pipe(Ah(t=>t.fromState!==t.toState&&"void"===t.toState),H(()=>{}))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){if(!this.autoFocus)return;const t=this._doc&&this._doc.activeElement;t&&this._elementRef.nativeElement.contains(t)&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}toggle(t=!this.opened,e="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=e):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe(Xh(1)).subscribe(e=>t(e?"open":"close"))})}get _width(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(t){this._animationStarted.next(t)}_animationDoneListener(t){this._animationEnd.next(t)}}return t.\u0275fac=function(e){return new(e||t)(Oo(ja),Oo(Qw),Oo(Jw),Oo(xw),Oo(Mc),Oo(iu,8),Oo(AT,8))},t.\u0275cmp=fe({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e){1&t&&jo("@transform.start",(function(t){return e._animationStartListener(t)}))("@transform.done",(function(t){return e._animationDoneListener(t)})),2&t&&(Po("align",null),va("@transform",e._animationState),sa("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:yT,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(Xo(),No(0,"div",0),qo(1),Do())},encapsulation:2,data:{animation:[ET.transformDrawer]},changeDetection:0}),t})(),NT=(()=>{class t{constructor(t,e,n,r,s,i=!1,o){this._dir=t,this._element=e,this._ngZone=n,this._changeDetectorRef=r,this._animationMode=o,this._drawers=new Vl,this.backdropClick=new Hl,this._destroyed=new P,this._doCheckSubject=new P,this._contentMargins={left:null,right:null},this._contentMarginChanges=new P,t&&t.change.pipe(Xb(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),s.change().pipe(Xb(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=i}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=Nw(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:Nw(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(sd(this._allDrawers),Xb(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(sd(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._doCheckSubject.pipe(Gb(10),Xb(this._destroyed)).subscribe(()=>this.updateContentMargins())}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._width;else if("push"==this._left.mode){const n=this._left._width;t+=n,e-=n}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._width;else if("push"==this._right.mode){const n=this._right._width;e+=n,t-=n}t=t||null,e=e||null,t===this._contentMargins.left&&e===this._contentMargins.right||(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe(Ah(t=>t.fromState!==t.toState),Xb(this._drawers.changes)).subscribe(t=>{"open-instant"!==t.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe(Xb(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe(Xb(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.asObservable().pipe(Xh(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe(Xb(K(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const e=this._element.nativeElement.classList,n="mat-drawer-container-has-open";t?e.add(n):e.remove(n)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?(null!=this._end&&OT("end"),this._end=t):(null!=this._start&&OT("start"),this._start=t)}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawer()}_closeModalDrawer(){[this._start,this._end].filter(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t.close())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return"side"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return t.\u0275fac=function(e){return new(e||t)(Oo(Bw,8),Oo(ja),Oo(Mc),Oo(Xi),Oo(zw),Oo(xT),Oo(hT,8))},t.\u0275cmp=fe({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,n){var r;1&t&&(Yl(n,kT,!0),Yl(n,IT,!0)),2&t&&(Xl(r=Jl())&&(e._content=r.first),Xl(r=Jl())&&(e._allDrawers=r))},viewQuery:function(t,e){var n;1&t&&Ql(kT,!0),2&t&&Xl(n=Jl())&&(e._userContent=n.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e){2&t&&sa("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[La([{provide:AT,useExisting:t}])],ngContentSelectors:CT,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,e){1&t&&(Xo(wT),Mo(0,bT,1,2,"div",0),qo(1),qo(2,1),Mo(3,vT,2,0,"mat-drawer-content",1)),2&t&&(ko("ngIf",e.hasBackdrop),ws(3),ko("ngIf",!e._content))},directives:[Au,kT],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),t})(),DT=(()=>{class t extends kT{constructor(t,e,n,r,s){super(t,e,n,r,s)}}return t.\u0275fac=function(e){return new(e||t)(Oo(Xi),Oo(Tt(()=>HT)),Oo(ja),Oo(jw),Oo(Mc))},t.\u0275cmp=fe({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e){2&t&&ra("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[Ca],ngContentSelectors:yT,decls:1,vars:0,template:function(t,e){1&t&&(Xo(),qo(0))},encapsulation:2,changeDetection:0}),t})(),RT=(()=>{class t extends IT{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=Nw(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=Dw(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=Dw(t)}}return t.\u0275fac=function(e){return GT(e||t)},t.\u0275cmp=fe({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e){2&t&&(Po("align",null),ra("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),sa("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened)("mat-sidenav-fixed",e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[Ca],ngContentSelectors:yT,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(Xo(),No(0,"div",0),qo(1),Do())},encapsulation:2,data:{animation:[ET.transformDrawer]},changeDetection:0}),t})();const GT=ar(RT);let HT=(()=>{class t extends NT{}return t.\u0275fac=function(e){return LT(e||t)},t.\u0275cmp=fe({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,n){var r;1&t&&(Yl(n,DT,!0),Yl(n,RT,!0)),2&t&&(Xl(r=Jl())&&(e._content=r.first),Xl(r=Jl())&&(e._allDrawers=r))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e){2&t&&sa("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[La([{provide:AT,useExisting:t}]),Ca],ngContentSelectors:MT,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(t,e){1&t&&(Xo(PT),Mo(0,ST,1,2,"div",0),qo(1),qo(2,1),Mo(3,TT,2,0,"mat-sidenav-content",1)),2&t&&(ko("ngIf",e.hasBackdrop),ws(3),ko("ngIf",!e._content))},directives:[Au,DT,Uw],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),t})();const LT=ar(HT);let VT=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Bu,_T,Aw,Ww],Ww,_T]}),t})();function BT(t,e){}const FT=function(t){return{background:t,transition:"0.25s"}};let jT=(()=>{class t{constructor(t,e){this.sidenavService=t,this.router=e}ngOnInit(){}onOpenedChange(t){this.sidenavService._toggleStatus.next(t)}close(){this.sidenavService._toggleStatus.next(!1)}navigateTo(t){this.router.navigateByUrl(t),this.close()}}return t.\u0275fac=function(e){return new(e||t)(Oo(ng),Oo(kf))},t.\u0275cmp=fe({type:t,selectors:[["app-sidenav"]],contentQueries:function(t,e,n){var r;1&t&&Yl(n,dl,!0),2&t&&Xl(r=Jl())&&(e.template=r.first)},decls:60,vars:10,consts:[["mode","over",1,"side",3,"position","opened","openedChange"],[1,"sidenav"],[1,"sidenav-item-close"],["src","/assets/images/close-6@2x.png","alt","Close sidenav",3,"click"],[1,"sidenav-item",3,"click"],["src","/assets/images/OrangePin.svg","alt","Orange Pin"],["src","/assets/images/Right-Chevron.svg","alt","Right arrow"],["src","/assets/images/TealPin.svg","alt","Teal Pin"],["src","/assets/images/BluePin.svg","alt","Blue Pin"],[1,"sidenav-item"],["src","/assets/images/TrailheadLogo.svg","alt","Trail Head Logo"],["src","/assets/images/help.svg","alt","Question Mark"],["src","/assets/images/socialshare.svg","alt","Social Share"],[1,"sidenav-footer"],[1,"sidenav-footer-copyright"],["href","https://www.salesforce.com/company/legal/intellectual/","target","_blank"],[1,"sidenav-footer-links"],["target","_blank","href","https://www.salesforce.com/company/legal/"],["target","_blank","href","https://www.salesforce.com/company/legal/sfdc-website-terms-of-service/"],["target","_blank","href","https://www.salesforce.com/company/privacy/"],["target","_blank","href","https://www.salesforce.com/company/disclosure/"],["target","_blank","href","https://trust.salesforce.com/en/"],["target","_blank","href","https://www.salesforce.com/company/contact-us/?d=cta-glob-footer-11"],["target","_blank","href","https://www.salesforce.com/company/disclosure/#"],[3,"ngStyle"],[3,"ngTemplateOutlet"]],template:function(t,e){var n,r;1&t&&(No(0,"mat-sidenav-container"),No(1,"mat-sidenav",0),Fo("openedChange",(function(t){return e.onOpenedChange(t)})),Rl(2,"async"),No(3,"div",1),No(4,"div",2),No(5,"img",3),Fo("click",(function(){return e.close()})),Do(),Do(),No(6,"div",4),Fo("click",(function(){return e.navigateTo("/marketing-cloud-analytics-360")})),Ro(7,"img",5),No(8,"span"),ma(9," Get personal with your marketing journeys "),Do(),Ro(10,"img",6),Do(),No(11,"div",4),Fo("click",(function(){return e.navigateTo("/sales-cloud-g-suite")})),Ro(12,"img",7),No(13,"span"),ma(14," Drive productivity from anywhere "),Do(),Ro(15,"img",6),Do(),No(16,"div",4),Fo("click",(function(){return e.navigateTo("/tableau-big-query")})),Ro(17,"img",8),No(18,"span"),ma(19," Know your customers with integrated data insights. "),Do(),Ro(20,"img",6),Do(),No(21,"div",9),Ro(22,"img",10),No(23,"span"),ma(24," Trailhead "),Do(),Ro(25,"img",6),Do(),No(26,"div",9),Ro(27,"img",11),No(28,"span"),ma(29," Questions "),Do(),Ro(30,"img",6),Do(),No(31,"div",9),Ro(32,"img",12),No(33,"span"),ma(34," Share "),Do(),Ro(35,"img",6),Do(),No(36,"div",13),No(37,"div",14),ma(38," \xa9 Copyright 2020 Salesforce.com, inc. "),No(39,"a",15),ma(40,"All rights reserved."),Do(),ma(41," Various trademarks held by their respective owners. Salesforce.com, inc. Salesforce Tower, 415 Mission Street "),Do(),No(42,"div",16),No(43,"a",17),ma(44,"Legal"),Do(),No(45,"a",18),ma(46,"Terms of Service"),Do(),No(47,"a",19),ma(48,"Privacy Information"),Do(),No(49,"a",20),ma(50,"Responsible Disclosure"),Do(),No(51,"a",21),ma(52,"Trust"),Do(),No(53,"a",22),ma(54,"Contact"),Do(),No(55,"a",23),ma(56,"Cookie Preference"),Do(),Do(),Do(),Do(),Do(),No(57,"mat-sidenav-content",24),Rl(58,"async"),Mo(59,BT,0,0,"ng-template",25),Do(),Do()),2&t&&(ws(1),ko("position","end")("opened",Gl(2,4,e.sidenavService.$toggleStatus)),ws(56),ko("ngStyle",(8,n=FT,r=Gl(58,6,e.sidenavService.$toggleStatus)?"rgba(0, 0, 0, 0.6)":"",Dl(Qe(),on(),8,n,r,void 0))),ws(2),ko("ngTemplateOutlet",e.template))},directives:[HT,RT,DT,Nu,Du],pipes:[Vu],styles:[".sidenav[_ngcontent-%COMP%]{background-color:#fff;height:100%;display:flex;flex-direction:column}.sidenav-item-close[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding:20px}.sidenav-item-close[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:15px}.sidenav-item[_ngcontent-%COMP%]{padding:17px;display:flex;align-items:center;border-bottom:1px solid #d3d3d3}.sidenav-item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]:first-child{width:30px;height:30px}.sidenav-item[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#032e61;font-weight:700;margin:auto 15px}.sidenav-item[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]:nth-child(3){width:8px;margin-left:auto}.sidenav-footer[_ngcontent-%COMP%]{background-color:#032e61;color:#fff;font-size:11px;flex:1}.sidenav-footer-copyright[_ngcontent-%COMP%]{padding:20px}.sidenav-footer-copyright[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#00a1e0}.sidenav-footer-links[_ngcontent-%COMP%]{padding:0 20px}.sidenav-footer-links[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#00a1e0;font-size:10px;padding-right:10px} .mat-drawer-container{height:100%} .mat-sidenav{width:85%}"]}),t})();function UT(t,e){1&t&&Ro(0,"app-play-canvas")}function zT(t,e){1&t&&Ro(0,"router-outlet")}function WT(t,e){1&t&&(No(0,"app-sidenav"),Mo(1,zT,1,0,"ng-template"),Do())}let $T=(()=>{class t{constructor(t,e,n,r){this.mobileService=t,this.deviceService=e,this.gtmService=n,this.router=r,this.title="Salesforce + Google Virtual Adventure",this.userIsOnDesktop=this.deviceService.isDesktop();const s=document.createElement("canvas"),i=s.getContext("webgl")||s.getContext("experimental-webgl");this.userHasWebGl=i&&i instanceof WebGLRenderingContext,this.router.events.forEach(t=>{t instanceof _d&&this.gtmService.pushTag({event:"page",pageName:t.url})})}}return t.\u0275fac=function(e){return new(e||t)(Oo(ag),Oo(d_),Oo(g_),Oo(kf))},t.\u0275cmp=fe({type:t,selectors:[["app-root"]],decls:2,vars:2,consts:[[4,"ngIf"]],template:function(t,e){1&t&&(Mo(0,UT,1,0,"app-play-canvas",0),Mo(1,WT,2,0,"app-sidenav",0)),2&t&&(ko("ngIf",e.userIsOnDesktop&&e.userHasWebGl),ws(1),ko("ngIf",!e.userIsOnDesktop||!e.userHasWebGl))},directives:[Au,Pw,jT,Hf],styles:[".webgl-message[_ngcontent-%COMP%]{height:100vh;color:#fff;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0 2rem}.mobile-message[_ngcontent-%COMP%]{width:100%;height:100%;background:#032e61 url(LandingPage-Google-Portrait.d7ac3efc7298d80ac3b7.jpg) no-repeat 50%;background-size:cover}@media (orientation:landscape){.mobile-message[_ngcontent-%COMP%]{background-image:url(LandingPage-Google-Landscape.79e66373091b604f2ed3.jpg);background-size:cover}}.mobile-message[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{color:transparent}"]}),t})(),KT=(()=>{class t{}return t.\u0275mod=ye({type:t}),t.\u0275inj=dt({factory:function(e){return new(e||t)},imports:[[Bu]]}),t})(),XT=(()=>{class t{}return t.\u0275mod=ye({type:t,bootstrap:[$T]}),t.\u0275inj=dt({factory:function(e){return new(e||t)},providers:[{provide:"googleTagManagerId",useValue:"GTM-WNXHF5F"}],imports:[[bh,t_,KT,K_,uw,Pm,Mm,f_,vb,Bu,pT,VT]]}),t})();nu.production&&function(){if(Cr)throw new Error("Cannot enable prod mode after platform setup.");wr=!1}(),_h().bootstrapModule(XT).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]);

Youez - 2016 - github.com/yon3zu
LinuXploit