@healthcatalyst/catalyst-docfx-template 1.0.149 → 1.0.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/styles/docs-navbar.js
CHANGED
|
@@ -106,7 +106,7 @@ Zone.__load_patch("legacy",n=>{const s=n[Zone.__symbol__("legacyPatch")];s&&s()}
|
|
|
106
106
|
* found in the LICENSE file at https://angular.io/license
|
|
107
107
|
*/
|
|
108
108
|
function ue(n,s){if(Zone[s.symbol("patchEventTarget")])return;const{eventNames:h,zoneSymbolEventNames:u,TRUE_STR:d,FALSE_STR:y,ZONE_SYMBOL_PREFIX:C}=s.getGlobalObjects();for(let N=0;N<h.length;N++){const O=h[N],o=C+(O+y),c=C+(O+d);u[O]={},u[O][y]=o,u[O][d]=c}const k=n.EventTarget;k&&k.prototype&&s.patchEventTarget(n,s,[k&&k.prototype])}(n,h);const u=n.XMLHttpRequestEventTarget;u&&u.prototype&&h.patchEventTarget(n,h,[u.prototype])}),Zone.__load_patch("MutationObserver",(n,s,h)=>{Dt("MutationObserver"),Dt("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(n,s,h)=>{Dt("IntersectionObserver")}),Zone.__load_patch("FileReader",(n,s,h)=>{Dt("FileReader")}),Zone.__load_patch("on_property",(n,s,h)=>{!function le(n,s){if(Ft&&!qt||Zone[n.symbol("patchEvents")])return;const h=s.__Zone_ignore_on_properties;let u=[];if(Xt){const d=window;u=u.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const y=function $t(){try{const n=gt.navigator.userAgent;if(-1!==n.indexOf("MSIE ")||-1!==n.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:d,ignoreProperties:["error"]}]:[];wt(d,Ut(d),h&&h.concat(y),st(d))}u=u.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let d=0;d<u.length;d++){const y=s[u[d]];y&&y.prototype&&wt(y.prototype,Ut(y.prototype),h)}}(h,n)}),Zone.__load_patch("customElements",(n,s,h)=>{!function ae(n,s){const{isBrowser:h,isMix:u}=s.getGlobalObjects();(h||u)&&n.customElements&&"customElements"in n&&s.patchCallbacks(s,n.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(n,h)}),Zone.__load_patch("XHR",(n,s)=>{!function N(O){const t=O.XMLHttpRequest;if(!t)return;const e=t.prototype;let c=e[kt],i=e[Tt];if(!c){const w=O.XMLHttpRequestEventTarget;if(w){const x=w.prototype;c=x[kt],i=x[Tt]}}const a="readystatechange",_="scheduled";function m(w){const x=w.data,L=x.target;L[y]=!1,L[k]=!1;const it=L[d];c||(c=L[kt],i=L[Tt]),it&&i.call(L,a,it);const mt=L[d]=()=>{if(L.readyState===L.DONE)if(!x.aborted&&L[y]&&w.state===_){const Y=L[s.__symbol__("loadfalse")];if(0!==L.status&&Y&&Y.length>0){const _t=w.invoke;w.invoke=function(){const ct=L[s.__symbol__("loadfalse")];for(let K=0;K<ct.length;K++)ct[K]===w&&ct.splice(K,1);!x.aborted&&w.state===_&&_t.call(w)},Y.push(w)}else w.invoke()}else!x.aborted&&!1===L[y]&&(L[k]=!0)};return c.call(L,a,mt),L[h]||(L[h]=w),P.apply(L,x.args),L[y]=!0,w}function p(){}function E(w){const x=w.data;return x.aborted=!0,z.apply(x.target,x.args)}const Z=ft(e,"open",()=>function(w,x){return w[u]=0==x[2],w[C]=x[1],Z.apply(w,x)}),J=W("fetchTaskAborting"),U=W("fetchTaskScheduling"),P=ft(e,"send",()=>function(w,x){if(!0===s.current[U]||w[u])return P.apply(w,x);{const L={target:w,url:w[C],isPeriodic:!1,args:x,aborted:!1},it=It("XMLHttpRequest.send",p,L,m,E);w&&!0===w[k]&&!L.aborted&&it.state===_&&it.invoke()}}),z=ft(e,"abort",()=>function(w,x){const L=function o(w){return w[h]}(w);if(L&&"string"==typeof L.type){if(null==L.cancelFn||L.data&&L.data.aborted)return;L.zone.cancelTask(L)}else if(!0===s.current[J])return z.apply(w,x)})}(n);const h=W("xhrTask"),u=W("xhrSync"),d=W("xhrListener"),y=W("xhrScheduled"),C=W("xhrURL"),k=W("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",n=>{n.navigator&&n.navigator.geolocation&&function ne(n,s){const h=n.constructor.name;for(let u=0;u<s.length;u++){const d=s[u],y=n[d];if(y){if(!Vt(nt(n,d)))continue;n[d]=(k=>{const N=function(){return k.apply(this,Ht(arguments,h+"."+d))};return ht(N,k),N})(y)}}}(n.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(n,s)=>{function h(u){return function(d){rt(n,u).forEach(C=>{const k=n.PromiseRejectionEvent;if(k){const N=new k(u,{promise:d.promise,reason:d.rejection});C.invoke(N)}})}}n.PromiseRejectionEvent&&(s[W("unhandledPromiseRejectionHandler")]=h("unhandledrejection"),s[W("rejectionHandledHandler")]=h("rejectionhandled"))})}},nt=>{nt(nt.s=37)}]);
|
|
109
|
-
(self.webpackChunknavbar=self.webpackChunknavbar||[]).push([[179],{357:(oo,is,hu)=>{"use strict";function ro(n){return"function"==typeof n}let w=!1;const bi={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else w&&console.log("RxJS: Back to a better error behavior. Thank you. <3");w=n},get useDeprecatedSynchronousErrorHandling(){return w}};function Vo(n){setTimeout(()=>{throw n},0)}const lc={closed:!0,next(n){},error(n){if(bi.useDeprecatedSynchronousErrorHandling)throw n;Vo(n)},complete(){}},en=Array.isArray||(n=>n&&"number"==typeof n.length);function pu(n){return null!==n&&"object"==typeof n}const uc=(()=>{function n(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return n.prototype=Object.create(Error.prototype),n})();class je{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:i,_unsubscribe:o,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof je)e.remove(this);else if(null!==e)for(let s=0;s<e.length;++s)e[s].remove(this);if(ro(o)){i&&(this._unsubscribe=void 0);try{o.call(this)}catch(s){t=s instanceof uc?so(s.errors):[s]}}if(en(r)){let s=-1,c=r.length;for(;++s<c;){const u=r[s];if(pu(u))try{u.unsubscribe()}catch(h){t=t||[],h instanceof uc?t=t.concat(so(h.errors)):t.push(h)}}}if(t)throw new uc(t)}add(t){let e=t;if(!t)return je.EMPTY;switch(typeof t){case"function":e=new je(t);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof je)){const r=e;e=new je,e._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:i}=e;if(null===i)e._parentOrParents=this;else if(i instanceof je){if(i===this)return e;e._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return e;i.push(this)}const o=this._subscriptions;return null===o?this._subscriptions=[e]:o.push(e),e}remove(t){const e=this._subscriptions;if(e){const i=e.indexOf(t);-1!==i&&e.splice(i,1)}}}var n;function so(n){return n.reduce((t,e)=>t.concat(e instanceof uc?e.errors:e),[])}je.EMPTY=((n=new je).closed=!0,n);const ta="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class gt extends je{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=lc;break;case 1:if(!t){this.destination=lc;break}if("object"==typeof t){t instanceof gt?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new ia(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new ia(this,t,e,i)}}[ta](){return this}static create(t,e,i){const o=new gt(t,e,i);return o.syncErrorThrowable=!1,o}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 ia extends gt{constructor(t,e,i,o){super(),this._parentSubscriber=t;let r,s=this;ro(e)?r=e:e&&(r=e.next,i=e.error,o=e.complete,e!==lc&&(s=Object.create(e),ro(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=r,this._error=i,this._complete=o}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;bi.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:i}=bi;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):Vo(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;Vo(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);bi.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(i){if(this.unsubscribe(),bi.useDeprecatedSynchronousErrorHandling)throw i;Vo(i)}}__tryOrSetError(t,e,i){if(!bi.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(o){return bi.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=o,t.syncErrorThrown=!0,!0):(Vo(o),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const os="function"==typeof Symbol&&Symbol.observable||"@@observable";function vi(n){return n}let Be=(()=>{class n{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,o){const{operator:r}=this,s=function gr(n,t,e){if(n){if(n instanceof gt)return n;if(n[ta])return n[ta]()}return n||t||e?new gt(n,t,e):new gt(lc)}(e,i,o);if(s.add(r?r.call(s,this.source):this.source||bi.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),bi.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(i){bi.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function Xn(n){for(;n;){const{closed:t,destination:e,isStopped:i}=n;if(t||i)return!1;n=e&&e instanceof gt?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=Fi(i))((o,r)=>{let s;s=this.subscribe(c=>{try{e(c)}catch(u){r(u),s&&s.unsubscribe()}},r,o)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[os](){return this}pipe(...e){return 0===e.length?this:function yi(n){return 0===n.length?vi:1===n.length?n[0]:function(e){return n.reduce((i,o)=>o(i),e)}}(e)(this)}toPromise(e){return new(e=Fi(e))((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return n.create=t=>new n(t),n})();function Fi(n){if(n||(n=bi.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const ao=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class ap extends je{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 i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class cp extends gt{constructor(t){super(t),this.destination=t}}let ie=(()=>{class n extends Be{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[ta](){return new cp(this)}lift(e){const i=new lp(this,this);return i.operator=e,i}next(e){if(this.closed)throw new ao;if(!this.isStopped){const{observers:i}=this,o=i.length,r=i.slice();for(let s=0;s<o;s++)r[s].next(e)}}error(e){if(this.closed)throw new ao;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:i}=this,o=i.length,r=i.slice();for(let s=0;s<o;s++)r[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new ao;this.isStopped=!0;const{observers:e}=this,i=e.length,o=e.slice();for(let r=0;r<i;r++)o[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new ao;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new ao;return this.hasError?(e.error(this.thrownError),je.EMPTY):this.isStopped?(e.complete(),je.EMPTY):(this.observers.push(e),new ap(this,e))}asObservable(){const e=new Be;return e.source=this,e}}return n.create=(t,e)=>new lp(t,e),n})();class lp extends ie{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):je.EMPTY}}function mr(n){return n&&"function"==typeof n.schedule}function vn(n,t){return function(i){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new O_(n,t))}}class O_{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new _r(t,this.project,this.thisArg))}}class _r extends gt{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}const co=n=>t=>{for(let e=0,i=n.length;e<i&&!t.closed;e++)t.next(n[e]);t.complete()},Rn=function hc(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),br=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function ra(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const fu=n=>{if(n&&"function"==typeof n[os])return(n=>t=>{const e=n[os]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)})(n);if(br(n))return co(n);if(ra(n))return(n=>t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,Vo),t))(n);if(n&&"function"==typeof n[Rn])return(n=>t=>{const e=n[Rn]();for(;;){let i;try{i=e.next()}catch(o){return t.error(o),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t})(n);{const e=`You provided ${pu(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function gu(n,t){return new Be(e=>{const i=new je;let o=0;return i.add(t.schedule(function(){o!==n.length?(e.next(n[o++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function lo(n,t){return t?function Mi(n,t){if(null!=n){if(function fc(n){return n&&"function"==typeof n[os]}(n))return function sa(n,t){return new Be(e=>{const i=new je;return i.add(t.schedule(()=>{const o=n[os]();i.add(o.subscribe({next(r){i.add(t.schedule(()=>e.next(r)))},error(r){i.add(t.schedule(()=>e.error(r)))},complete(){i.add(t.schedule(()=>e.complete()))}}))})),i})}(n,t);if(ra(n))return function aa(n,t){return new Be(e=>{const i=new je;return i.add(t.schedule(()=>n.then(o=>{i.add(t.schedule(()=>{e.next(o),i.add(t.schedule(()=>e.complete()))}))},o=>{i.add(t.schedule(()=>e.error(o)))}))),i})}(n,t);if(br(n))return gu(n,t);if(function up(n){return n&&"function"==typeof n[Rn]}(n)||"string"==typeof n)return function pc(n,t){if(!n)throw new Error("Iterable cannot be null");return new Be(e=>{const i=new je;let o;return i.add(()=>{o&&"function"==typeof o.return&&o.return()}),i.add(t.schedule(()=>{o=n[Rn](),i.add(t.schedule(function(){if(e.closed)return;let r,s;try{const c=o.next();r=c.value,s=c.done}catch(c){return void e.error(c)}s?e.complete():(e.next(r),this.schedule())}))})),i})}(n,t)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,t):n instanceof Be?n:new Be(fu(n))}class ca extends gt{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class rs extends gt{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function uo(n,t){if(t.closed)return;if(n instanceof Be)return n.subscribe(t);let e;try{e=fu(n)(t)}catch(i){t.error(i)}return e}function zn(n,t,e=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(zn((o,r)=>lo(n(o,r)).pipe(vn((s,c)=>t(o,s,r,c))),e)):("number"==typeof t&&(e=t),i=>i.lift(new la(n,e)))}class la{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new gc(t,this.project,this.concurrent))}}class gc extends rs{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,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 i=this.index++;try{e=this.project(t,i)}catch(o){return void this.destination.error(o)}this.active++,this._innerSub(e)}_innerSub(t){const e=new ca(this),i=this.destination;i.add(e);const o=uo(t,e);o!==e&&i.add(o)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function ss(n=Number.POSITIVE_INFINITY){return zn(vi,n)}function mu(n,t){return t?gu(n,t):new Be(co(n))}function Bi(...n){let t=Number.POSITIVE_INFINITY,e=null,i=n[n.length-1];return mr(i)?(e=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(t=n.pop())):"number"==typeof i&&(t=n.pop()),null===e&&1===n.length&&n[0]instanceof Be?n[0]:ss(t)(mu(n,e))}function vr(){return function(t){return t.lift(new _u(t))}}class _u{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const o=new bu(t,i),r=e.subscribe(o);return o.closed||(o.connection=i.connect()),r}}class bu extends gt{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:i}=this,o=t._connection;this.connection=null,o&&(!i||o===i)&&o.unsubscribe()}}class mc extends Be{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 je,t.add(this.source.subscribe(new yu(this.getSubject(),this))),t.closed&&(this._connection=null,t=je.EMPTY)),t}refCount(){return vr()(this)}}const vu=(()=>{const n=mc.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}})();class yu extends cp{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()}}}class wu{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:i}=this,o=this.subjectFactory(),r=i(o).subscribe(t);return r.add(e.subscribe(o)),r}}function z_(){return new ie}
|
|
109
|
+
(self.webpackChunknavbar=self.webpackChunknavbar||[]).push([[179],{357:(oo,is,du)=>{"use strict";function ro(n){return"function"==typeof n}let w=!1;const bi={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else w&&console.log("RxJS: Back to a better error behavior. Thank you. <3");w=n},get useDeprecatedSynchronousErrorHandling(){return w}};function Vo(n){setTimeout(()=>{throw n},0)}const lc={closed:!0,next(n){},error(n){if(bi.useDeprecatedSynchronousErrorHandling)throw n;Vo(n)},complete(){}},en=Array.isArray||(n=>n&&"number"==typeof n.length);function hu(n){return null!==n&&"object"==typeof n}const uc=(()=>{function n(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return n.prototype=Object.create(Error.prototype),n})();class je{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:i,_unsubscribe:o,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof je)e.remove(this);else if(null!==e)for(let s=0;s<e.length;++s)e[s].remove(this);if(ro(o)){i&&(this._unsubscribe=void 0);try{o.call(this)}catch(s){t=s instanceof uc?so(s.errors):[s]}}if(en(r)){let s=-1,c=r.length;for(;++s<c;){const u=r[s];if(hu(u))try{u.unsubscribe()}catch(h){t=t||[],h instanceof uc?t=t.concat(so(h.errors)):t.push(h)}}}if(t)throw new uc(t)}add(t){let e=t;if(!t)return je.EMPTY;switch(typeof t){case"function":e=new je(t);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof je)){const r=e;e=new je,e._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:i}=e;if(null===i)e._parentOrParents=this;else if(i instanceof je){if(i===this)return e;e._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return e;i.push(this)}const o=this._subscriptions;return null===o?this._subscriptions=[e]:o.push(e),e}remove(t){const e=this._subscriptions;if(e){const i=e.indexOf(t);-1!==i&&e.splice(i,1)}}}var n;function so(n){return n.reduce((t,e)=>t.concat(e instanceof uc?e.errors:e),[])}je.EMPTY=((n=new je).closed=!0,n);const ta="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class gt extends je{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=lc;break;case 1:if(!t){this.destination=lc;break}if("object"==typeof t){t instanceof gt?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new ia(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new ia(this,t,e,i)}}[ta](){return this}static create(t,e,i){const o=new gt(t,e,i);return o.syncErrorThrowable=!1,o}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 ia extends gt{constructor(t,e,i,o){super(),this._parentSubscriber=t;let r,s=this;ro(e)?r=e:e&&(r=e.next,i=e.error,o=e.complete,e!==lc&&(s=Object.create(e),ro(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=r,this._error=i,this._complete=o}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;bi.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:i}=bi;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):Vo(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;Vo(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);bi.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(i){if(this.unsubscribe(),bi.useDeprecatedSynchronousErrorHandling)throw i;Vo(i)}}__tryOrSetError(t,e,i){if(!bi.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(o){return bi.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=o,t.syncErrorThrown=!0,!0):(Vo(o),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const os="function"==typeof Symbol&&Symbol.observable||"@@observable";function vi(n){return n}let Be=(()=>{class n{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,o){const{operator:r}=this,s=function gr(n,t,e){if(n){if(n instanceof gt)return n;if(n[ta])return n[ta]()}return n||t||e?new gt(n,t,e):new gt(lc)}(e,i,o);if(s.add(r?r.call(s,this.source):this.source||bi.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),bi.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(i){bi.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function Xn(n){for(;n;){const{closed:t,destination:e,isStopped:i}=n;if(t||i)return!1;n=e&&e instanceof gt?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=Fi(i))((o,r)=>{let s;s=this.subscribe(c=>{try{e(c)}catch(u){r(u),s&&s.unsubscribe()}},r,o)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[os](){return this}pipe(...e){return 0===e.length?this:function yi(n){return 0===n.length?vi:1===n.length?n[0]:function(e){return n.reduce((i,o)=>o(i),e)}}(e)(this)}toPromise(e){return new(e=Fi(e))((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return n.create=t=>new n(t),n})();function Fi(n){if(n||(n=bi.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const ao=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class cp extends je{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 i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class lp extends gt{constructor(t){super(t),this.destination=t}}let ie=(()=>{class n extends Be{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[ta](){return new lp(this)}lift(e){const i=new up(this,this);return i.operator=e,i}next(e){if(this.closed)throw new ao;if(!this.isStopped){const{observers:i}=this,o=i.length,r=i.slice();for(let s=0;s<o;s++)r[s].next(e)}}error(e){if(this.closed)throw new ao;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:i}=this,o=i.length,r=i.slice();for(let s=0;s<o;s++)r[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new ao;this.isStopped=!0;const{observers:e}=this,i=e.length,o=e.slice();for(let r=0;r<i;r++)o[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new ao;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new ao;return this.hasError?(e.error(this.thrownError),je.EMPTY):this.isStopped?(e.complete(),je.EMPTY):(this.observers.push(e),new cp(this,e))}asObservable(){const e=new Be;return e.source=this,e}}return n.create=(t,e)=>new up(t,e),n})();class up extends ie{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):je.EMPTY}}function mr(n){return n&&"function"==typeof n.schedule}function vn(n,t){return function(i){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new A_(n,t))}}class A_{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new _r(t,this.project,this.thisArg))}}class _r extends gt{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}const co=n=>t=>{for(let e=0,i=n.length;e<i&&!t.closed;e++)t.next(n[e]);t.complete()},Rn=function hc(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),br=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function ra(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const pu=n=>{if(n&&"function"==typeof n[os])return(n=>t=>{const e=n[os]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)})(n);if(br(n))return co(n);if(ra(n))return(n=>t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,Vo),t))(n);if(n&&"function"==typeof n[Rn])return(n=>t=>{const e=n[Rn]();for(;;){let i;try{i=e.next()}catch(o){return t.error(o),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t})(n);{const e=`You provided ${hu(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function fu(n,t){return new Be(e=>{const i=new je;let o=0;return i.add(t.schedule(function(){o!==n.length?(e.next(n[o++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function lo(n,t){return t?function Mi(n,t){if(null!=n){if(function fc(n){return n&&"function"==typeof n[os]}(n))return function sa(n,t){return new Be(e=>{const i=new je;return i.add(t.schedule(()=>{const o=n[os]();i.add(o.subscribe({next(r){i.add(t.schedule(()=>e.next(r)))},error(r){i.add(t.schedule(()=>e.error(r)))},complete(){i.add(t.schedule(()=>e.complete()))}}))})),i})}(n,t);if(ra(n))return function aa(n,t){return new Be(e=>{const i=new je;return i.add(t.schedule(()=>n.then(o=>{i.add(t.schedule(()=>{e.next(o),i.add(t.schedule(()=>e.complete()))}))},o=>{i.add(t.schedule(()=>e.error(o)))}))),i})}(n,t);if(br(n))return fu(n,t);if(function dp(n){return n&&"function"==typeof n[Rn]}(n)||"string"==typeof n)return function pc(n,t){if(!n)throw new Error("Iterable cannot be null");return new Be(e=>{const i=new je;let o;return i.add(()=>{o&&"function"==typeof o.return&&o.return()}),i.add(t.schedule(()=>{o=n[Rn](),i.add(t.schedule(function(){if(e.closed)return;let r,s;try{const c=o.next();r=c.value,s=c.done}catch(c){return void e.error(c)}s?e.complete():(e.next(r),this.schedule())}))})),i})}(n,t)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,t):n instanceof Be?n:new Be(pu(n))}class ca extends gt{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class rs extends gt{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function uo(n,t){if(t.closed)return;if(n instanceof Be)return n.subscribe(t);let e;try{e=pu(n)(t)}catch(i){t.error(i)}return e}function zn(n,t,e=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(zn((o,r)=>lo(n(o,r)).pipe(vn((s,c)=>t(o,s,r,c))),e)):("number"==typeof t&&(e=t),i=>i.lift(new la(n,e)))}class la{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new gc(t,this.project,this.concurrent))}}class gc extends rs{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,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 i=this.index++;try{e=this.project(t,i)}catch(o){return void this.destination.error(o)}this.active++,this._innerSub(e)}_innerSub(t){const e=new ca(this),i=this.destination;i.add(e);const o=uo(t,e);o!==e&&i.add(o)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function ss(n=Number.POSITIVE_INFINITY){return zn(vi,n)}function gu(n,t){return t?fu(n,t):new Be(co(n))}function Bi(...n){let t=Number.POSITIVE_INFINITY,e=null,i=n[n.length-1];return mr(i)?(e=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(t=n.pop())):"number"==typeof i&&(t=n.pop()),null===e&&1===n.length&&n[0]instanceof Be?n[0]:ss(t)(gu(n,e))}function vr(){return function(t){return t.lift(new mu(t))}}class mu{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const o=new _u(t,i),r=e.subscribe(o);return o.closed||(o.connection=i.connect()),r}}class _u extends gt{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:i}=this,o=t._connection;this.connection=null,o&&(!i||o===i)&&o.unsubscribe()}}class mc extends Be{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 je,t.add(this.source.subscribe(new vu(this.getSubject(),this))),t.closed&&(this._connection=null,t=je.EMPTY)),t}refCount(){return vr()(this)}}const bu=(()=>{const n=mc.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}})();class vu extends lp{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()}}}class Cu{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:i}=this,o=this.subjectFactory(),r=i(o).subscribe(t);return r.add(e.subscribe(o)),r}}function R_(){return new ie}
|
|
110
110
|
/**
|
|
111
111
|
* @license Angular v14.3.0
|
|
112
112
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
@@ -126,14 +126,14 @@ function lt(n){for(let t in n)if(n[t]===lt)return t;throw Error("Could not find
|
|
|
126
126
|
*
|
|
127
127
|
* Use of this source code is governed by an MIT-style license that can be
|
|
128
128
|
* found in the LICENSE file at https://angular.io/license
|
|
129
|
-
*/function ct(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(ct).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function
|
|
129
|
+
*/function ct(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(ct).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const t=n.toString();if(null==t)return""+t;const e=t.indexOf("\n");return-1===e?t:t.substring(0,e)}function wu(n,t){return null==n||""===n?null===t?"":t:null==t||""===t?n:n+" "+t}
|
|
130
130
|
/**
|
|
131
131
|
* @license
|
|
132
132
|
* Copyright Google LLC All Rights Reserved.
|
|
133
133
|
*
|
|
134
134
|
* Use of this source code is governed by an MIT-style license that can be
|
|
135
135
|
* found in the LICENSE file at https://angular.io/license
|
|
136
|
-
*/const
|
|
136
|
+
*/const F_=lt({__forward_ref__:lt});function $e(n){return n.__forward_ref__=$e,n.toString=function(){return ct(this())},n}function ce(n){return bc(n)?n():n}function bc(n){return"function"==typeof n&&n.hasOwnProperty(F_)&&n.__forward_ref__===$e}
|
|
137
137
|
/**
|
|
138
138
|
* @license
|
|
139
139
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -170,7 +170,7 @@ class B extends Error{constructor(t,e){super(function vc(n,t){return`NG0${Math.a
|
|
|
170
170
|
* Use of this source code is governed by an MIT-style license that can be
|
|
171
171
|
* found in the LICENSE file at https://angular.io/license
|
|
172
172
|
*/
|
|
173
|
-
function $(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Ke(n){return{providers:n.providers||[],imports:n.imports||[]}}function Mc(n){return
|
|
173
|
+
function $(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Ke(n){return{providers:n.providers||[],imports:n.imports||[]}}function Mc(n){return pp(n,ua)||pp(n,gp)}function pp(n,t){return n.hasOwnProperty(t)?n[t]:null}function Su(n){return n&&(n.hasOwnProperty(da)||n.hasOwnProperty(mp))?n[da]:null}const ua=lt({\u0275prov:lt}),da=lt({\u0275inj:lt}),gp=lt({ngInjectableDef:lt}),mp=lt({ngInjectorDef:lt});
|
|
174
174
|
/**
|
|
175
175
|
* @license
|
|
176
176
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -184,7 +184,7 @@ function $(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.facto
|
|
|
184
184
|
*
|
|
185
185
|
* Use of this source code is governed by an MIT-style license that can be
|
|
186
186
|
* found in the LICENSE file at https://angular.io/license
|
|
187
|
-
*/let Cc;function Vn(n){const t=Cc;return Cc=n,t}function
|
|
187
|
+
*/let Cc;function Vn(n){const t=Cc;return Cc=n,t}function Iu(n,t,e){const i=Mc(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&se.Optional?null:void 0!==t?t:void yc(ct(n))}
|
|
188
188
|
/**
|
|
189
189
|
* @license
|
|
190
190
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -207,7 +207,7 @@ function Uo(n){return{toString:n}.toString()}
|
|
|
207
207
|
* Use of this source code is governed by an MIT-style license that can be
|
|
208
208
|
* found in the LICENSE file at https://angular.io/license
|
|
209
209
|
*/
|
|
210
|
-
const ut=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),yr={},Je=[],ha=lt({\u0275cmp:lt}),wc=lt({\u0275dir:lt}),
|
|
210
|
+
const ut=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),yr={},Je=[],ha=lt({\u0275cmp:lt}),wc=lt({\u0275dir:lt}),Tu=lt({\u0275pipe:lt}),yp=lt({\u0275mod:lt}),po=lt({\u0275fac:lt}),as=lt({__NG_ELEMENT_ID__:lt});
|
|
211
211
|
/**
|
|
212
212
|
* @license
|
|
213
213
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -222,7 +222,7 @@ const ut=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||type
|
|
|
222
222
|
* Use of this source code is governed by an MIT-style license that can be
|
|
223
223
|
* found in the LICENSE file at https://angular.io/license
|
|
224
224
|
*/
|
|
225
|
-
let
|
|
225
|
+
let $_=0;function mt(n){return Uo(()=>{const e=!0===n.standalone,i={},o={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===ei.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||Je,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||dn.Emulated,id:"c"+$_++,styles:n.styles||Je,_:null,setInput:null,schemas:n.schemas||null,tView:null},r=n.dependencies,s=n.features;return o.inputs=Cp(n.inputs,i),o.outputs=Cp(n.outputs),s&&s.forEach(c=>c(o)),o.directiveDefs=r?()=>("function"==typeof r?r():r).map(Mp).filter(Dc):null,o.pipeDefs=r?()=>("function"==typeof r?r():r).map(yn).filter(Dc):null,o})}function Mp(n){return X(n)||we(n)}function Dc(n){return null!==n}function ot(n){return Uo(()=>({type:n.type,bootstrap:n.bootstrap||Je,declarations:n.declarations||Je,imports:n.imports||Je,exports:n.exports||Je,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Cp(n,t){if(null==n)return yr;const e={};for(const i in n)if(n.hasOwnProperty(i)){let o=n[i],r=o;Array.isArray(o)&&(r=o[1],o=o[0]),e[o]=i,t&&(t[o]=r)}return e}const H=mt;function tn(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function X(n){return n[ha]||null}function we(n){return n[wc]||null}function yn(n){return n[Tu]||null}
|
|
226
226
|
/**
|
|
227
227
|
* @license
|
|
228
228
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -230,7 +230,7 @@ let K_=0;function mt(n){return Uo(()=>{const e=!0===n.standalone,i={},o={type:n.
|
|
|
230
230
|
* Use of this source code is governed by an MIT-style license that can be
|
|
231
231
|
* found in the LICENSE file at https://angular.io/license
|
|
232
232
|
*/
|
|
233
|
-
function kn(n){return Array.isArray(n)&&"object"==typeof n[1]}function ni(n){return Array.isArray(n)&&!0===n[1]}function us(n){return 0!=(8&n.flags)}function go(n){return 2==(2&n.flags)}function Tc(n){return 1==(1&n.flags)}function ii(n){return null!==n.template}function
|
|
233
|
+
function kn(n){return Array.isArray(n)&&"object"==typeof n[1]}function ni(n){return Array.isArray(n)&&!0===n[1]}function us(n){return 0!=(8&n.flags)}function go(n){return 2==(2&n.flags)}function Tc(n){return 1==(1&n.flags)}function ii(n){return null!==n.template}function wp(n){return 0!=(256&n[2])}
|
|
234
234
|
/**
|
|
235
235
|
* @license
|
|
236
236
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -259,7 +259,7 @@ function Wo(n,t){return n.hasOwnProperty(po)?n[po]:null}
|
|
|
259
259
|
*
|
|
260
260
|
* Use of this source code is governed by an MIT-style license that can be
|
|
261
261
|
* found in the LICENSE file at https://angular.io/license
|
|
262
|
-
*/function rn(){return
|
|
262
|
+
*/function rn(){return Lp}function Lp(n){return n.type.prototype.ngOnChanges&&(n.setInput=ib),nb}function nb(){const n=ri(this),t=n?.current;if(t){const e=n.previous;if(e===yr)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function ib(n,t,e,i){const o=ri(n)||function Np(n,t){return n[Dr]=t}
|
|
263
263
|
/**
|
|
264
264
|
* @license
|
|
265
265
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -281,28 +281,28 @@ function k(n){for(;Array.isArray(n);)n=n[0];return n}function Ve(n,t){return k(t
|
|
|
281
281
|
*
|
|
282
282
|
* Use of this source code is governed by an MIT-style license that can be
|
|
283
283
|
* found in the LICENSE file at https://angular.io/license
|
|
284
|
-
*/}const he={lFrame:va(null),bindingsEnabled:!0};function _a(){return he.bindingsEnabled}function z(){return he.lFrame.lView}function Ae(){return he.lFrame.tView}function _o(n){return he.lFrame.contextLView=n,n[8]}function bo(n){return he.lFrame.contextLView=null,n}function St(){let n=
|
|
284
|
+
*/}const he={lFrame:va(null),bindingsEnabled:!0};function _a(){return he.bindingsEnabled}function z(){return he.lFrame.lView}function Ae(){return he.lFrame.tView}function _o(n){return he.lFrame.contextLView=n,n[8]}function bo(n){return he.lFrame.contextLView=null,n}function St(){let n=ju();for(;null!==n&&64===n.type;)n=n.parent;return n}function ju(){return he.lFrame.currentTNode}function fn(n,t){const e=he.lFrame;e.currentTNode=n,e.isParent=t}function fs(){return he.lFrame.isParent}function Ru(){he.lFrame.isParent=!1}function sn(){const n=he.lFrame;let t=n.bindingRootIndex;return-1===t&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function yo(){return he.lFrame.bindingIndex}function gs(){return he.lFrame.bindingIndex++}function Mo(n){const t=he.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function ub(n,t){const e=he.lFrame;e.bindingIndex=e.bindingRootIndex=n,Ac(t)}function Ac(n){he.lFrame.currentDirectiveIndex=n}function Bu(n){const t=he.lFrame.currentDirectiveIndex;return-1===t?null:n[t]}function Oc(){return he.lFrame.currentQueryIndex}function xr(n){he.lFrame.currentQueryIndex=n}function Vu(n){const t=n[1];return 2===t.type?t.declTNode:1===t.type?n[6]:null}function Sr(n,t,e){if(e&se.SkipSelf){let o=t,r=n;for(;!(o=o.parent,null!==o||e&se.Host||(o=Vu(r),null===o||(r=r[15],10&o.type))););if(null===o)return!1;t=o,n=r}const i=he.lFrame=ms();return i.currentTNode=t,i.lView=n,!0}function Ir(n){const t=ms(),e=n[1];he.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function ms(){const n=he.lFrame,t=null===n?null:n.child;return null===t?va(n):t}function va(n){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=t),t}function Tr(){const n=he.lFrame;return he.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const Ap=Tr;function Hu(){const n=Tr();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Mn(){return he.lFrame.selectedIndex}function Di(n){he.lFrame.selectedIndex=n}function pt(){const n=he.lFrame;return ga(n.tView,n.selectedIndex)}function jc(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e<i;e++){const r=n.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:c,ngAfterViewInit:u,ngAfterViewChecked:h,ngOnDestroy:p}=r;s&&(n.contentHooks||(n.contentHooks=[])).push(-e,s),c&&((n.contentHooks||(n.contentHooks=[])).push(e,c),(n.contentCheckHooks||(n.contentCheckHooks=[])).push(e,c)),u&&(n.viewHooks||(n.viewHooks=[])).push(-e,u),h&&((n.viewHooks||(n.viewHooks=[])).push(e,h),(n.viewCheckHooks||(n.viewCheckHooks=[])).push(e,h)),null!=p&&(n.destroyHooks||(n.destroyHooks=[])).push(e,p)}}function Rc(n,t,e){Op(n,t,3,e)}function zc(n,t,e,i){(3&n[2])===e&&Op(n,t,e,i)}function Co(n,t){let e=n[2];(3&e)===t&&(e&=2047,e+=1,n[2]=e)}function Op(n,t,e,i){const r=i??-1,s=t.length-1;let c=0;for(let u=void 0!==i?65535&n[18]:0;u<s;u++)if("number"==typeof t[u+1]){if(c=t[u],null!=i&&c>=i)break}else t[u]<0&&(n[18]+=65536),(c<r||-1==r)&&(fb(n,e,t,u),n[18]=(4294901760&n[18])+u+2),u++}function fb(n,t,e,i){const o=e[i]<0,r=e[i+1],c=n[o?-e[i]:e[i]];if(o){if(n[2]>>11<n[18]>>16&&(3&n[2])===t){n[2]+=2048;try{r.call(c)}finally{}}}else try{r.call(c)}finally{}}
|
|
285
285
|
/**
|
|
286
286
|
* @license
|
|
287
287
|
* Copyright Google LLC All Rights Reserved.
|
|
288
288
|
*
|
|
289
289
|
* Use of this source code is governed by an MIT-style license that can be
|
|
290
290
|
* found in the LICENSE file at https://angular.io/license
|
|
291
|
-
*/class ya{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Fc(n,t,e){let i=0;for(;i<e.length;){const o=e[i];if("number"==typeof o){if(0!==o)break;i++;const r=e[i++],s=e[i++],c=e[i++];n.setAttribute(t,s,c,r)}else{const r=o,s=e[++i];
|
|
291
|
+
*/class ya{constructor(t,e,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Fc(n,t,e){let i=0;for(;i<e.length;){const o=e[i];if("number"==typeof o){if(0!==o)break;i++;const r=e[i++],s=e[i++],c=e[i++];n.setAttribute(t,s,c,r)}else{const r=o,s=e[++i];jp(r)?n.setProperty(t,r,s):n.setAttribute(t,r,s),i++}}return i}function Pp(n){return 3===n||4===n||6===n}function jp(n){return 64===n.charCodeAt(0)}function Bc(n,t){if(null!==t&&0!==t.length)if(null===n||0===n.length)n=t.slice();else{let e=-1;for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?e=o:0===e||Rp(n,e,o,null,-1===e||2===e?t[++i]:null)}}return n}function Rp(n,t,e,i,o){let r=0,s=n.length;if(-1===t)s=-1;else for(;r<n.length;){const c=n[r++];if("number"==typeof c){if(c===t){s=-1;break}if(c>t){s=r-1;break}}}for(;r<n.length;){const c=n[r];if("number"==typeof c)break;if(c===e){if(null===i)return void(null!==o&&(n[r+1]=o));if(i===n[r+1])return void(n[r+2]=o)}r++,null!==i&&r++,null!==o&&r++}-1!==s&&(n.splice(s,0,t),r=s+1),n.splice(r++,0,e),null!==i&&n.splice(r++,0,i),null!==o&&n.splice(r++,0,o)}
|
|
292
292
|
/**
|
|
293
293
|
* @license
|
|
294
294
|
* Copyright Google LLC All Rights Reserved.
|
|
295
295
|
*
|
|
296
296
|
* Use of this source code is governed by an MIT-style license that can be
|
|
297
297
|
* found in the LICENSE file at https://angular.io/license
|
|
298
|
-
*/function Ko(n){return-1!==n}function bs(n){return 32767&n}function gn(n,t){let e=function
|
|
298
|
+
*/function Ko(n){return-1!==n}function bs(n){return 32767&n}function gn(n,t){let e=function bb(n){return n>>16}(n),i=t;for(;e>0;)i=i[15],e--;return i}
|
|
299
299
|
/**
|
|
300
300
|
* @license
|
|
301
301
|
* Copyright Google LLC All Rights Reserved.
|
|
302
302
|
*
|
|
303
303
|
* Use of this source code is governed by an MIT-style license that can be
|
|
304
304
|
* found in the LICENSE file at https://angular.io/license
|
|
305
|
-
*/let
|
|
305
|
+
*/let Gu=!0;function Vc(n){const t=Gu;return Gu=n,t}let Bp=0;const xi={};function Ca(n,t){const e=kr(n,t);if(-1!==e)return e;const i=t[1];i.firstCreatePass&&(n.injectorIndex=t.length,wa(i.data,n),wa(t,null),wa(i.blueprint,null));const o=Er(n,t),r=n.injectorIndex;if(Ko(o)){const s=bs(o),c=gn(o,t),u=c[1].data;for(let h=0;h<8;h++)t[r+h]=c[s+h]|u[s+h]}return t[r+8]=o,r}function wa(n,t){n.push(0,0,0,0,0,0,0,0,t)}function kr(n,t){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===t[n.injectorIndex+8]?-1:n.injectorIndex}function Er(n,t){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let e=0,i=null,o=t;for(;null!==o;){if(i=Wt(o),null===i)return-1;if(e++,o=o[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function Hc(n,t,e){!function vb(n,t,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(as)&&(i=e[as]),null==i&&(i=e[as]=Bp++);const o=255&i;t.data[n+(o>>5)]|=1<<o}(n,t,e)}function Hp(n,t,e){if(e&se.Optional||void 0!==n)return n;yc()}function Hi(n,t,e,i){if(e&se.Optional&&void 0===i&&(i=null),0==(e&(se.Self|se.Host))){const o=n[9],r=Vn(void 0);try{return o?o.get(t,i,e&se.Optional):Iu(t,i,e&se.Optional)}finally{Vn(r)}}return Hp(i,0,e)}function Uc(n,t,e,i=se.Default,o){if(null!==n){if(1024&t[2]){const s=function Yp(n,t,e,i,o){let r=n,s=t;for(;null!==r&&null!==s&&1024&s[2]&&!(256&s[2]);){const c=Jo(r,s,e,i|se.Self,xi);if(c!==xi)return c;let u=r.parent;if(!u){const h=s[21];if(h){const p=h.get(e,xi,i);if(p!==xi)return p}u=Wt(s),s=s[15]}r=u}return o}(n,t,e,i,xi);if(s!==xi)return s}const r=Jo(n,t,e,i,xi);if(r!==xi)return r}return Hi(t,e,i,o)}function Jo(n,t,e,i,o){const r=function Up(n){if("string"==typeof n)return n.charCodeAt(0)||0;const t=n.hasOwnProperty(as)?n[as]:void 0;return"number"==typeof t?t>=0?255&t:yb:t}(e);if("function"==typeof r){if(!Sr(t,n,i))return i&se.Host?Hp(o,0,i):Hi(t,e,i,o);try{const s=r(i);if(null!=s||i&se.Optional)return s;yc()}finally{Ap()}}else if("number"==typeof r){let s=null,c=kr(n,t),u=-1,h=i&se.Host?t[16][6]:null;for((-1===c||i&se.SkipSelf)&&(u=-1===c?Er(n,t):t[c+8],-1!==u&&Do(i,!1)?(s=t[1],c=bs(u),t=gn(u,t)):c=-1);-1!==c;){const p=t[1];if(ys(r,c,p.data)){const g=ci(c,t,e,s,i,h);if(g!==xi)return g}u=t[c+8],-1!==u&&Do(i,t[1].data[c+8]===h)&&ys(r,c,t)?(s=p,c=bs(u),t=gn(u,t)):c=-1}}return o}function ci(n,t,e,i,o,r){const s=t[1],c=s.data[n+8],p=Yc(c,s,e,null==i?go(c)&&Gu:i!=s&&0!=(3&c.type),o&se.Host&&r===c);return null!==p?vs(t,s,p,c):xi}function Yc(n,t,e,i,o){const r=n.providerIndexes,s=t.data,c=1048575&r,u=n.directiveStart,p=r>>20,_=o?c+p:n.directiveEnd;for(let y=i?c:c+p;y<_;y++){const M=s[y];if(y<u&&e===M||y>=u&&M.type===e)return y}if(o){const y=s[u];if(y&&ii(y)&&y.type===e)return u}return null}function vs(n,t,e,i){let o=n[e];const r=t.data;if(function gb(n){return n instanceof ya}(o)){const s=o;s.resolving&&
|
|
306
306
|
/**
|
|
307
307
|
* @license
|
|
308
308
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -310,7 +310,7 @@ function k(n){for(;Array.isArray(n);)n=n[0];return n}function Ve(n,t){return k(t
|
|
|
310
310
|
* Use of this source code is governed by an MIT-style license that can be
|
|
311
311
|
* found in the LICENSE file at https://angular.io/license
|
|
312
312
|
*/
|
|
313
|
-
function
|
|
313
|
+
function Du(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw new B(-200,`Circular dependency in DI detected for ${n}${e}`)}(function qe(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():de(n)}(r[e]));const c=Vc(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?Vn(s.injectImpl):null;Sr(n,i,se.Default);try{o=n[e]=s.factory(void 0,r,n,i),t.firstCreatePass&&e>=i.directiveStart&&
|
|
314
314
|
/**
|
|
315
315
|
* @license
|
|
316
316
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -318,7 +318,7 @@ function xu(n,t){const e=t?`. Dependency path: ${t.join(" > ")} > ${n}`:"";throw
|
|
|
318
318
|
* Use of this source code is governed by an MIT-style license that can be
|
|
319
319
|
* found in the LICENSE file at https://angular.io/license
|
|
320
320
|
*/
|
|
321
|
-
function Oe(n,t,e){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=t.type.prototype;if(i){const s=
|
|
321
|
+
function Oe(n,t,e){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=t.type.prototype;if(i){const s=Lp(t);(e.preOrderHooks||(e.preOrderHooks=[])).push(n,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,s)}o&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-n,o),r&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n,r),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n,r))}(e,r[e],t)}finally{null!==u&&Vn(u),Vc(c),s.resolving=!1,Ap()}}return o}function ys(n,t,e){return!!(e[t+(n>>5)]&1<<n)}function Do(n,t){return!(n&se.Self||n&se.Host&&t)}class Lr{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,i){return Uc(this._tNode,this._lView,t,i,e)}}function yb(){return new Lr(St(),z())}function tt(n){return Uo(()=>{const t=n.prototype.constructor,e=t[po]||Wu(t),i=Object.prototype;let o=Object.getPrototypeOf(n.prototype).constructor;for(;o&&o!==i;){const r=o[po]||Wu(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function Wu(n){return bc(n)?()=>{const t=Wu(ce(n));return t&&t()}:Wo(n)}function Wt(n){const t=n[1],e=t.type;return 2===e?t.declTNode:1===e?n[6]:null}
|
|
322
322
|
/**
|
|
323
323
|
* @license
|
|
324
324
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -348,7 +348,7 @@ class G{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.
|
|
|
348
348
|
*
|
|
349
349
|
* Use of this source code is governed by an MIT-style license that can be
|
|
350
350
|
* found in the LICENSE file at https://angular.io/license
|
|
351
|
-
*/function Yn(n,t){void 0===t&&(t=n);for(let e=0;e<n.length;e++){let i=n[e];Array.isArray(i)?(t===n&&(t=n.slice(0,e)),Yn(i,t)):t!==n&&t.push(i)}return t}function Ui(n,t){n.forEach(e=>Array.isArray(e)?Ui(e,t):t(e))}function Qc(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Zc(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function Pr(n,t){const e=[];for(let i=0;i<n;i++)e.push(t);return e}function Ln(n,t,e){let i=jr(n,t);return i>=0?n[1|i]=e:(i=~i,function
|
|
351
|
+
*/function Yn(n,t){void 0===t&&(t=n);for(let e=0;e<n.length;e++){let i=n[e];Array.isArray(i)?(t===n&&(t=n.slice(0,e)),Yn(i,t)):t!==n&&t.push(i)}return t}function Ui(n,t){n.forEach(e=>Array.isArray(e)?Ui(e,t):t(e))}function Qc(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function Zc(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function Pr(n,t){const e=[];for(let i=0;i<n;i++)e.push(t);return e}function Ln(n,t,e){let i=jr(n,t);return i>=0?n[1|i]=e:(i=~i,function Qp(n,t,e,i){let o=n.length;if(o==t)n.push(e,i);else if(1===o)n.push(i,n[0]),n[0]=e;else{for(o--,n.push(n[o-1],n[o]);o>t;)n[o]=n[o-2],o--;n[t]=e,n[t+1]=i}}(n,i,t,e)),i}function Ju(n,t){const e=jr(n,t);if(e>=0)return n[1|e]}function jr(n,t){return function $c(n,t,e){let i=0,o=n.length>>e;for(;o!==i;){const r=i+(o-i>>1),s=n[r<<e];if(t===s)return r<<e;s>t?o=r:i=r+1}return~(o<<e)}
|
|
352
352
|
/**
|
|
353
353
|
* @license
|
|
354
354
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -363,7 +363,7 @@ class G{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.
|
|
|
363
363
|
* Use of this source code is governed by an MIT-style license that can be
|
|
364
364
|
* found in the LICENSE file at https://angular.io/license
|
|
365
365
|
*/
|
|
366
|
-
const Ia={},
|
|
366
|
+
const Ia={},td="__NG_DI_FLAG__",wn="ngTempTokenPath",Kc=/\n/gm,id="__source";let Cs;function Qt(n){const t=Cs;return Cs=n,t}function er(n,t=se.Default){if(void 0===Cs)throw new B(-203,!1);return null===Cs?Iu(n,void 0,t):Cs.get(n,t&se.Optional?null:void 0,t)}function P(n,t=se.Default){return(function Q_(){return Cc}()||er)(ce(n),t)}function So(n,t=se.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),P(n,t)}function Jc(n){const t=[];for(let e=0;e<n.length;e++){const i=ce(n[e]);if(Array.isArray(i)){if(0===i.length)throw new B(900,!1);let o,r=se.Default;for(let s=0;s<i.length;s++){const c=i[s],u=$p(c);"number"==typeof u?-1===u?o=c.token:r|=u:o=c}t.push(P(o,r))}else t.push(P(i))}return t}function Rr(n,t){return n[td]=t,n.prototype[td]=t,n}function $p(n){return n[td]}
|
|
367
367
|
/**
|
|
368
368
|
* @license
|
|
369
369
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -401,7 +401,7 @@ var Dn=(()=>((Dn=Dn||{})[Dn.Important=1]="Important",Dn[Dn.DashCase=2]="DashCase
|
|
|
401
401
|
* Use of this source code is governed by an MIT-style license that can be
|
|
402
402
|
* found in the LICENSE file at https://angular.io/license
|
|
403
403
|
*/
|
|
404
|
-
const La=new Map;let
|
|
404
|
+
const La=new Map;let hd=0;const cl="__ngContext__";function nt(n,t){kn(t)?(n[cl]=t[20],function Ts(n){La.set(n[20],n)}(t)):n[cl]=t}function Aa(n,t){return undefined(n,t)}
|
|
405
405
|
/**
|
|
406
406
|
* @license
|
|
407
407
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -409,21 +409,21 @@ const La=new Map;let pd=0;const cl="__ngContext__";function nt(n,t){kn(t)?(n[cl]
|
|
|
409
409
|
* Use of this source code is governed by an MIT-style license that can be
|
|
410
410
|
* found in the LICENSE file at https://angular.io/license
|
|
411
411
|
*/
|
|
412
|
-
function ks(n){const t=n[3];return ni(t)?t[3]:t}function
|
|
412
|
+
function ks(n){const t=n[3];return ni(t)?t[3]:t}function bd(n){return mf(n[13])}function vd(n){return mf(n[4])}function mf(n){for(;null!==n&&!ni(n);)n=n[4];return n}
|
|
413
413
|
/**
|
|
414
414
|
* @license
|
|
415
415
|
* Copyright Google LLC All Rights Reserved.
|
|
416
416
|
*
|
|
417
417
|
* Use of this source code is governed by an MIT-style license that can be
|
|
418
418
|
* found in the LICENSE file at https://angular.io/license
|
|
419
|
-
*/function Fr(n,t,e,i,o){if(null!=i){let r,s=!1;ni(i)?r=i:kn(i)&&(s=!0,i=i[0]);const c=k(i);0===n&&null!==e?null==o?
|
|
419
|
+
*/function Fr(n,t,e,i,o){if(null!=i){let r,s=!1;ni(i)?r=i:kn(i)&&(s=!0,i=i[0]);const c=k(i);0===n&&null!==e?null==o?wf(t,e,c):Vr(t,e,c,o||null,!0):1===n&&null!==e?Vr(t,e,c,o||null,!0):2===n?function kd(n,t,e){const i=dl(n,t);i&&function Hb(n,t,e,i){n.removeChild(t,e,i)}(n,i,t,e)}(t,c,s):3===n&&t.destroyNode(c),null!=r&&function Ub(n,t,e,i,o){const r=e[7];r!==k(e)&&Fr(t,n,i,r,o);for(let c=10;c<e.length;c++){const u=e[c];ja(u[1],u,n,t,i,r)}}(t,n,r,e,o)}}function Br(n,t,e){return n.createElement(t,e)}function tr(n,t){const e=n[9],i=e.indexOf(t),o=t[3];512&t[2]&&(t[2]&=-513,et(o,-1)),e.splice(i,1)}function Cd(n,t){if(n.length<=10)return;const e=10+t,i=n[e];if(i){const o=i[17];null!==o&&o!==n&&tr(o,i),t>0&&(n[e-1][4]=i[4]);const r=Zc(n,10+t);!function Md(n,t){ja(n,t,t[11],2,null,null),t[0]=null,t[6]=null}(i[1],i);const s=r[19];null!==s&&s.detachView(r[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function wd(n,t){if(!(128&t[2])){const e=t[11];e.destroyNode&&ja(n,t,e,3,null,null),function ul(n){let t=n[13];if(!t)return Dd(n[1],n);for(;t;){let e=null;if(kn(t))e=t[13];else{const i=t[10];i&&(e=i)}if(!e){for(;t&&!t[4]&&t!==n;)kn(t)&&Dd(t[1],t),t=t[3];null===t&&(t=n),kn(t)&&Dd(t[1],t),e=t&&t[4]}t=e}}(t)}}function Dd(n,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Vb(n,t){let e;if(null!=n&&null!=(e=n.destroyHooks))for(let i=0;i<e.length;i+=2){const o=t[e[i]];if(!(o instanceof ya)){const r=e[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){const c=o[r[s]],u=r[s+1];try{u.call(c)}finally{}}else try{r.call(o)}finally{}}}}(n,t),function Bb(n,t){const e=n.cleanup,i=t[7];let o=-1;if(null!==e)for(let r=0;r<e.length-1;r+=2)if("string"==typeof e[r]){const s=e[r+1],c="function"==typeof s?s(t):k(t[s]),u=i[o=e[r+2]],h=e[r+3];"boolean"==typeof h?c.removeEventListener(e[r],u,h):h>=0?i[o=h]():i[o=-h].unsubscribe(),r+=2}else{const s=i[o=e[r+1]];e[r].call(s)}if(null!==i){for(let r=o+1;r<i.length;r++)(0,i[r])();t[7]=null}}(n,t),1===t[1].type&&t[11].destroy();const e=t[17];if(null!==e&&ni(t[3])){e!==t[3]&&tr(e,t);const i=t[19];null!==i&&i.detachView(n)}!function sl(n){La.delete(n[20])}
|
|
420
420
|
/**
|
|
421
421
|
* @license
|
|
422
422
|
* Copyright Google LLC All Rights Reserved.
|
|
423
423
|
*
|
|
424
424
|
* Use of this source code is governed by an MIT-style license that can be
|
|
425
425
|
* found in the LICENSE file at https://angular.io/license
|
|
426
|
-
*/(t)}}function
|
|
426
|
+
*/(t)}}function Mf(n,t,e){return function Cf(n,t,e){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return e[0];if(2&i.flags){const o=n.data[i.directiveStart].encapsulation;if(o===dn.None||o===dn.Emulated)return null}return Xe(i,e)}(n,t.parent,e)}function Vr(n,t,e,i,o){n.insertBefore(t,e,i,o)}function wf(n,t,e){n.appendChild(t,e)}function Df(n,t,e,i,o){null!==i?Vr(n,t,e,i,o):wf(n,t,e)}function dl(n,t){return n.parentNode(t)}function xd(n,t,e){return Sf(n,t,e)}let Pd,Sf=function Sd(n,t,e){return 40&n.type?Xe(n,e):null};function Pa(n,t,e,i){const o=Mf(n,i,t),r=t[11],c=xd(i.parent||t[6],i,t);if(null!=o)if(Array.isArray(e))for(let u=0;u<e.length;u++)Df(r,o,e[u],c,!1);else Df(r,o,e,c,!1)}function hl(n,t){if(null!==t){const e=t.type;if(3&e)return Xe(t,n);if(4&e)return Td(-1,n[t.index]);if(8&e){const i=t.child;if(null!==i)return hl(n,i);{const o=n[t.index];return ni(o)?Td(-1,o):k(o)}}if(32&e)return Aa(t,n)()||k(n[t.index]);{const i=Tf(n,t);return null!==i?Array.isArray(i)?i[0]:hl(ks(n[16]),i):hl(n,t.next)}}return null}function Tf(n,t){return null!==t?n[16][6].projection[t.projection]:null}function Td(n,t){const e=10+n+1;if(e<t.length){const i=t[e],o=i[1].firstChild;if(null!==o)return hl(i,o)}return t[7]}function Ed(n,t,e,i,o,r,s){for(;null!=e;){const c=i[e.index],u=e.type;if(s&&0===t&&(c&&nt(k(c),i),e.flags|=4),64!=(64&e.flags))if(8&u)Ed(n,t,e.child,i,o,r,!1),Fr(t,n,o,c,r);else if(32&u){const h=Aa(e,i);let p;for(;p=h();)Fr(t,n,o,p,r);Fr(t,n,o,c,r)}else 16&u?kf(n,t,i,e,o,r):Fr(t,n,o,c,r);e=s?e.projectionNext:e.next}}function ja(n,t,e,i,o,r){Ed(e,i,n.firstChild,t,o,r,!1)}function kf(n,t,e,i,o,r){const s=e[16],u=s[6].projection[i.projection];if(Array.isArray(u))for(let h=0;h<u.length;h++)Fr(t,n,o,u[h],r);else Ed(n,t,u,s[3],o,r,!0)}function Ld(n,t,e){n.setAttribute(t,"style",e)}function Nd(n,t,e){""===e?n.removeAttribute(t,"class"):n.setAttribute(t,"class",e)}
|
|
427
427
|
/**
|
|
428
428
|
* @license
|
|
429
429
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -438,7 +438,7 @@ function ks(n){const t=n[3];return ni(t)?t[3]:t}function vd(n){return gf(n[13])}
|
|
|
438
438
|
* Use of this source code is governed by an MIT-style license that can be
|
|
439
439
|
* found in the LICENSE file at https://angular.io/license
|
|
440
440
|
*/
|
|
441
|
-
class
|
|
441
|
+
class Of{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function nr(n){return n instanceof Of?n.changingThisBreaksApplicationSecurity:n}
|
|
442
442
|
/**
|
|
443
443
|
* @license
|
|
444
444
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -446,7 +446,7 @@ class Af{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){
|
|
|
446
446
|
* Use of this source code is governed by an MIT-style license that can be
|
|
447
447
|
* found in the LICENSE file at https://angular.io/license
|
|
448
448
|
*/
|
|
449
|
-
const
|
|
449
|
+
const ov=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;
|
|
450
450
|
/**
|
|
451
451
|
* @license
|
|
452
452
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -454,7 +454,7 @@ const rv=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;
|
|
|
454
454
|
* Use of this source code is governed by an MIT-style license that can be
|
|
455
455
|
* found in the LICENSE file at https://angular.io/license
|
|
456
456
|
*/
|
|
457
|
-
var
|
|
457
|
+
var zt=(()=>((zt=zt||{})[zt.NONE=0]="NONE",zt[zt.HTML=1]="HTML",zt[zt.STYLE=2]="STYLE",zt[zt.SCRIPT=3]="SCRIPT",zt[zt.URL=4]="URL",zt[zt.RESOURCE_URL=5]="RESOURCE_URL",zt))();
|
|
458
458
|
/**
|
|
459
459
|
* @license
|
|
460
460
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -468,14 +468,14 @@ var Rt=(()=>((Rt=Rt||{})[Rt.NONE=0]="NONE",Rt[Rt.HTML=1]="HTML",Rt[Rt.STYLE=2]="
|
|
|
468
468
|
*
|
|
469
469
|
* Use of this source code is governed by an MIT-style license that can be
|
|
470
470
|
* found in the LICENSE file at https://angular.io/license
|
|
471
|
-
*/();return t?t.sanitize(
|
|
471
|
+
*/();return t?t.sanitize(zt.URL,n)||"":function Ra(n,t){const e=function Xb(n){return n instanceof Of&&n.getTypeName()||null}(n);if(null!=e&&e!==t){if("ResourceURL"===e&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===t}(n,"URL")?nr(n):function gl(n){return(n=String(n)).match(ov)?n:"unsafe:"+n}
|
|
472
472
|
/**
|
|
473
473
|
* @license
|
|
474
474
|
* Copyright Google LLC All Rights Reserved.
|
|
475
475
|
*
|
|
476
476
|
* Use of this source code is governed by an MIT-style license that can be
|
|
477
477
|
* found in the LICENSE file at https://angular.io/license
|
|
478
|
-
*/(de(n))}const
|
|
478
|
+
*/(de(n))}const Yf=new G("ENVIRONMENT_INITIALIZER"),Ba=new G("INJECTOR",-1),Gf=new G("INJECTOR_DEF_TYPES");
|
|
479
479
|
/**
|
|
480
480
|
* @license
|
|
481
481
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -490,7 +490,7 @@ var Rt=(()=>((Rt=Rt||{})[Rt.NONE=0]="NONE",Rt[Rt.HTML=1]="HTML",Rt[Rt.STYLE=2]="
|
|
|
490
490
|
* Use of this source code is governed by an MIT-style license that can be
|
|
491
491
|
* found in the LICENSE file at https://angular.io/license
|
|
492
492
|
*/
|
|
493
|
-
class
|
|
493
|
+
class Bd{get(t,e=Ia){if(e===Ia){const i=new Error(`NullInjectorError: No provider for ${ct(t)}!`);throw i.name="NullInjectorError",i}return e}}
|
|
494
494
|
/**
|
|
495
495
|
* @license
|
|
496
496
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -504,7 +504,7 @@ class Vd{get(t,e=Ia){if(e===Ia){const i=new Error(`NullInjectorError: No provide
|
|
|
504
504
|
*
|
|
505
505
|
* Use of this source code is governed by an MIT-style license that can be
|
|
506
506
|
* found in the LICENSE file at https://angular.io/license
|
|
507
|
-
*/function
|
|
507
|
+
*/function Wf(...n){return{\u0275providers:bl(0,n)}}function bl(n,...t){const e=[],i=new Set;let o;return Ui(t,r=>{const s=r;vl(s,e,[],i)&&(o||(o=[]),o.push(s))}),void 0!==o&&Vd(o,e),e}function Vd(n,t){for(let e=0;e<n.length;e++){const{providers:o}=n[e];Ui(o,r=>{t.push(r)})}}function vl(n,t,e,i){if(!(n=ce(n)))return!1;let o=null,r=Su(n);const s=!r&&X(n);if(r||s){if(s&&!s.standalone)return!1;o=n}else{const u=n.ngModule;if(r=Su(u),!r)return!1;o=u}const c=i.has(o);if(s){if(c)return!1;if(i.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const h of u)vl(h,t,e,i)}}else{if(!r)return!1;{if(null!=r.imports&&!c){let h;i.add(o);try{Ui(r.imports,p=>{vl(p,t,e,i)&&(h||(h=[]),h.push(p))})}finally{}void 0!==h&&Vd(h,t)}if(!c){const h=Wo(o)||(()=>new o);t.push({provide:o,useFactory:h,deps:Je},{provide:Gf,useValue:o,multi:!0},{provide:Yf,useValue:()=>P(o),multi:!0})}const u=r.providers;null==u||c||Ui(u,p=>{t.push(p)})}}return o!==n&&void 0!==n.providers}const Qf=lt({provide:String,useValue:lt});function Hd(n){return null!==n&&"object"==typeof n&&Qf in n}function Qi(n){return"function"==typeof n}
|
|
508
508
|
/**
|
|
509
509
|
* @license
|
|
510
510
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -512,21 +512,21 @@ class Vd{get(t,e=Ia){if(e===Ia){const i=new Error(`NullInjectorError: No provide
|
|
|
512
512
|
* Use of this source code is governed by an MIT-style license that can be
|
|
513
513
|
* found in the LICENSE file at https://angular.io/license
|
|
514
514
|
*/
|
|
515
|
-
const
|
|
515
|
+
const Ud=new G("Set Injector scope."),Ml={},Yd={};
|
|
516
516
|
/**
|
|
517
517
|
* @license
|
|
518
518
|
* Copyright Google LLC All Rights Reserved.
|
|
519
519
|
*
|
|
520
520
|
* Use of this source code is governed by an MIT-style license that can be
|
|
521
521
|
* found in the LICENSE file at https://angular.io/license
|
|
522
|
-
*/let Cl;function wl(){return void 0===Cl&&(Cl=new
|
|
522
|
+
*/let Cl;function wl(){return void 0===Cl&&(Cl=new Bd),Cl}class Es{}class Kf extends Es{constructor(t,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Wn(t,s=>this.processProvider(s)),this.records.set(Ba,Ls(void 0,this)),o.has("environment")&&this.records.set(Es,Ls(void 0,this));const r=this.records.get(Ud);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Gf.multi,Je,se.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const e=Qt(this),i=Vn(void 0);try{return t()}finally{Qt(e),Vn(i)}}get(t,e=Ia,i=se.Default){this.assertNotDestroyed();const o=Qt(this),r=Vn(void 0);try{if(!(i&se.SkipSelf)){let c=this.records.get(t);if(void 0===c){const u=function Mv(n){return"function"==typeof n||"object"==typeof n&&n instanceof G}(t)&&Mc(t);c=u&&this.injectableDefInScope(u)?Ls(Gd(t),Ml):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c)}return(i&se.Self?wl():this.parent).get(t,e=i&se.Optional&&e===Ia?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[wn]=s[wn]||[]).unshift(ct(t)),o)throw s;return function rd(n,t,e,i){const o=n[wn];throw t[id]&&o.unshift(t[id]),n.message=function sd(n,t,e,i=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.slice(2):n;let o=ct(t);if(Array.isArray(t))o=t.map(ct).join(" -> ");else if("object"==typeof t){let r=[];for(let s in t)if(t.hasOwnProperty(s)){let c=t[s];r.push(s+":"+("string"==typeof c?JSON.stringify(c):ct(c)))}o=`{${r.join(", ")}}`}return`${e}${i?"("+i+")":""}[${o}]: ${n.replace(Kc,"\n ")}`}("\n"+n.message,o,e,i),n.ngTokenPath=o,n[wn]=null,n}(s,t,"R3InjectorError",this.source)}throw s}finally{Vn(r),Qt(o)}}resolveInjectorInitializers(){const t=Qt(this),e=Vn(void 0);try{const i=this.get(Yf.multi,Je,se.Self);for(const o of i)o()}finally{Qt(t),Vn(e)}}toString(){const t=[],e=this.records;for(const i of e.keys())t.push(ct(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new B(205,!1)}processProvider(t){let e=Qi(t=ce(t))?t:ce(t&&t.provide);const i=function bv(n){return Hd(n)?Ls(void 0,n.useValue):Ls(Jf(n),Ml)}(t);if(Qi(t)||!0!==t.multi)this.records.get(e);else{let o=this.records.get(e);o||(o=Ls(void 0,Ml,!0),o.factory=()=>Jc(o.multi),this.records.set(e,o)),e=t,o.multi.push(t)}this.records.set(e,i)}hydrate(t,e){return e.value===Ml&&(e.value=Yd,e.value=e.factory()),"object"==typeof e.value&&e.value&&function yv(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=ce(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function Gd(n){const t=Mc(n),e=null!==t?t.factory:Wo(n);if(null!==e)return e;if(n instanceof G)throw new B(204,!1);if(n instanceof Function)return function _v(n){const t=n.length;if(t>0)throw Pr(t,"?"),new B(204,!1);const e=function W_(n){const t=n&&(n[ua]||n[gp]);if(t){const e=function fp(n){if(n.hasOwnProperty("name"))return n.name;const t=(""+n).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),t}return null}(n);return null!==e?()=>e.factory(n):()=>new n}(n);throw new B(204,!1)}function Jf(n,t,e){let i;if(Qi(n)){const o=ce(n);return Wo(o)||Gd(o)}if(Hd(n))i=()=>ce(n.useValue);else if(function $f(n){return!(!n||!n.useFactory)}(n))i=()=>n.useFactory(...Jc(n.deps||[]));else if(function Zf(n){return!(!n||!n.useExisting)}(n))i=()=>P(ce(n.useExisting));else{const o=ce(n&&(n.useClass||n.provide));if(!function vv(n){return!!n.deps}(n))return Wo(o)||Gd(o);i=()=>new o(...Jc(n.deps))}return i}function Ls(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function Cv(n){return!!n.\u0275providers}function Wn(n,t){for(const e of n)Array.isArray(e)?Wn(e,t):Cv(e)?Wn(e.\u0275providers,t):t(e)}
|
|
523
523
|
/**
|
|
524
524
|
* @license
|
|
525
525
|
* Copyright Google LLC All Rights Reserved.
|
|
526
526
|
*
|
|
527
527
|
* Use of this source code is governed by an MIT-style license that can be
|
|
528
528
|
* found in the LICENSE file at https://angular.io/license
|
|
529
|
-
*/class
|
|
529
|
+
*/class qf{}
|
|
530
530
|
/**
|
|
531
531
|
* @license
|
|
532
532
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -541,21 +541,21 @@ const Yd=new G("Set Injector scope."),Ml={},Gd={};
|
|
|
541
541
|
* Use of this source code is governed by an MIT-style license that can be
|
|
542
542
|
* found in the LICENSE file at https://angular.io/license
|
|
543
543
|
*/
|
|
544
|
-
return n.NULL=new Nn,n})();function
|
|
544
|
+
return n.NULL=new Nn,n})();function Dv(){return Qn(St(),z())}function Qn(n,t){return new De(Xe(n,t))}let De=(()=>{class n{constructor(e){this.nativeElement=e}}return n.__NG_ELEMENT_ID__=Dv,n})();function xv(n){return n instanceof De?n.nativeElement:n}
|
|
545
545
|
/**
|
|
546
546
|
* @license
|
|
547
547
|
* Copyright Google LLC All Rights Reserved.
|
|
548
548
|
*
|
|
549
549
|
* Use of this source code is governed by an MIT-style license that can be
|
|
550
550
|
* found in the LICENSE file at https://angular.io/license
|
|
551
|
-
*/class Ns{}let Ti=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function
|
|
551
|
+
*/class Ns{}let Ti=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function Wd(){const n=z(),e=vt(St().index,n);return(kn(e)?e:n)[11]}
|
|
552
552
|
/**
|
|
553
553
|
* @license
|
|
554
554
|
* Copyright Google LLC All Rights Reserved.
|
|
555
555
|
*
|
|
556
556
|
* Use of this source code is governed by an MIT-style license that can be
|
|
557
557
|
* found in the LICENSE file at https://angular.io/license
|
|
558
|
-
*/(),n})(),
|
|
558
|
+
*/(),n})(),Sv=(()=>{class n{}
|
|
559
559
|
/**
|
|
560
560
|
* @license
|
|
561
561
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -563,7 +563,7 @@ return n.NULL=new Nn,n})();function xv(){return Qn(St(),z())}function Qn(n,t){re
|
|
|
563
563
|
* Use of this source code is governed by an MIT-style license that can be
|
|
564
564
|
* found in the LICENSE file at https://angular.io/license
|
|
565
565
|
*/
|
|
566
|
-
return n.\u0275prov=$({token:n,providedIn:"root",factory:()=>null}),n})();class Zn{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const
|
|
566
|
+
return n.\u0275prov=$({token:n,providedIn:"root",factory:()=>null}),n})();class Zn{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Xf=new Zn("14.3.0"),As={};
|
|
567
567
|
/**
|
|
568
568
|
* @license
|
|
569
569
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -584,7 +584,7 @@ return n.\u0275prov=$({token:n,providedIn:"root",factory:()=>null}),n})();class
|
|
|
584
584
|
*
|
|
585
585
|
* Use of this source code is governed by an MIT-style license that can be
|
|
586
586
|
* found in the LICENSE file at https://angular.io/license
|
|
587
|
-
*/function
|
|
587
|
+
*/function Qd(n){return n.ownerDocument}
|
|
588
588
|
/**
|
|
589
589
|
* @license
|
|
590
590
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -592,14 +592,14 @@ return n.\u0275prov=$({token:n,providedIn:"root",factory:()=>null}),n})();class
|
|
|
592
592
|
* Use of this source code is governed by an MIT-style license that can be
|
|
593
593
|
* found in the LICENSE file at https://angular.io/license
|
|
594
594
|
*/
|
|
595
|
-
function
|
|
595
|
+
function ng(n,t,e){let i=n.length;for(;;){const o=n.indexOf(t,e);if(-1===o)return o;if(0===o||n.charCodeAt(o-1)<=32){const r=t.length;if(o+r===i||n.charCodeAt(o+r)<=32)return o}e=o+1}}
|
|
596
596
|
/**
|
|
597
597
|
* @license
|
|
598
598
|
* Copyright Google LLC All Rights Reserved.
|
|
599
599
|
*
|
|
600
600
|
* Use of this source code is governed by an MIT-style license that can be
|
|
601
601
|
* found in the LICENSE file at https://angular.io/license
|
|
602
|
-
*/const
|
|
602
|
+
*/const ig="ng-template";function og(n,t,e){let i=0;for(;i<n.length;){let o=n[i++];if(e&&"class"===o){if(o=n[i],-1!==ng(o.toLowerCase(),t,0))return!0}else if(1===o){for(;i<n.length&&"string"==typeof(o=n[i++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Zi(n){return 4===n.type&&n.value!==ig}function Ce(n,t,e){return t===(4!==n.type||e?n.value:ig)}function rg(n,t,e){let i=4;const o=n.attrs||[],r=function Nv(n){for(let t=0;t<n.length;t++)if(Pp(n[t]))return t;return n.length}(o);let s=!1;for(let c=0;c<t.length;c++){const u=t[c];if("number"!=typeof u){if(!s)if(4&i){if(i=2|1&i,""!==u&&!Ce(n,u,e)||""===u&&1===t.length){if(Tt(i))return!1;s=!0}}else{const h=8&i?u:t[++c];if(8&i&&null!==n.attrs){if(!og(n.attrs,h,e)){if(Tt(i))return!1;s=!0}continue}const g=sg(8&i?"class":u,o,Zi(n),e);if(-1===g){if(Tt(i))return!1;s=!0;continue}if(""!==h){let _;_=g>r?"":o[g+1].toLowerCase();const y=8&i?_:null;if(y&&-1!==ng(y,h,0)||2&i&&h!==_){if(Tt(i))return!1;s=!0}}}}else{if(!s&&!Tt(i)&&!Tt(u))return!1;if(s&&Tt(u))continue;s=!1,i=u|1&i}}return Tt(i)||s}function Tt(n){return 0==(1&n)}function sg(n,t,e,i){if(null===t)return-1;let o=0;if(i||!e){let r=!1;for(;o<t.length;){const s=t[o];if(s===n)return o;if(3===s||6===s)r=!0;else{if(1===s||2===s){let c=t[++o];for(;"string"==typeof c;)c=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=r?1:2}return-1}return function cg(n,t){let e=n.indexOf(4);if(e>-1)for(e++;e<n.length;){const i=n[e];if("number"==typeof i)return-1;if(i===t)return e;e++}return-1}(t,n)}function ag(n,t,e=!1){for(let i=0;i<t.length;i++)if(rg(n,t[i],e))return!0;return!1}function Sl(n,t){e:for(let e=0;e<t.length;e++){const i=t[e];if(n.length===i.length){for(let o=0;o<n.length;o++)if(n[o]!==i[o])continue e;return!0}}return!1}function lg(n,t){return n?":not("+t.trim()+")":t}function Av(n){let t=n[0],e=1,i=2,o="",r=!1;for(;e<n.length;){let s=n[e];if("string"==typeof s)if(2&i){const c=n[++e];o+="["+s+(c.length>0?'="'+c+'"':"")+"]"}else 8&i?o+="."+s:4&i&&(o+=" "+s);else""!==o&&!Tt(s)&&(t+=lg(r,o),o=""),i=s,r=r||!Tt(i);e++}return""!==o&&(t+=lg(r,o)),t}
|
|
603
603
|
/**
|
|
604
604
|
* @license
|
|
605
605
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -614,7 +614,7 @@ const fe={};
|
|
|
614
614
|
*
|
|
615
615
|
* Use of this source code is governed by an MIT-style license that can be
|
|
616
616
|
* found in the LICENSE file at https://angular.io/license
|
|
617
|
-
*/function xe(n){
|
|
617
|
+
*/function xe(n){ug(Ae(),z(),Mn()+n,!1)}function ug(n,t,e,i){if(!i)if(3==(3&t[2])){const r=n.preOrderCheckHooks;null!==r&&Rc(t,r,e)}else{const r=n.preOrderHooks;null!==r&&zc(t,r,0,e)}Di(e)}
|
|
618
618
|
/**
|
|
619
619
|
* @license
|
|
620
620
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -629,14 +629,14 @@ const fe={};
|
|
|
629
629
|
* Use of this source code is governed by an MIT-style license that can be
|
|
630
630
|
* found in the LICENSE file at https://angular.io/license
|
|
631
631
|
*/
|
|
632
|
-
function
|
|
632
|
+
function gg(n,t=null,e=null,i){const o=mg(n,t,e,i);return o.resolveInjectorInitializers(),o}function mg(n,t=null,e=null,i,o=new Set){const r=[e||Je,Wf(n)];return i=i||("object"==typeof n?void 0:ct(n)),new Kf(r,t||wl(),i||null,o)
|
|
633
633
|
/**
|
|
634
634
|
* @license
|
|
635
635
|
* Copyright Google LLC All Rights Reserved.
|
|
636
636
|
*
|
|
637
637
|
* Use of this source code is governed by an MIT-style license that can be
|
|
638
638
|
* found in the LICENSE file at https://angular.io/license
|
|
639
|
-
*/}let Sn=(()=>{class n{static create(e,i){if(Array.isArray(e))return
|
|
639
|
+
*/}let Sn=(()=>{class n{static create(e,i){if(Array.isArray(e))return gg({name:""},i,e,"");{const o=e.name??"";return gg({name:o},e.parent,e.providers,o)}}}
|
|
640
640
|
/**
|
|
641
641
|
* @license
|
|
642
642
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -644,7 +644,7 @@ function fg(n,t=null,e=null,i){const o=gg(n,t,e,i);return o.resolveInjectorIniti
|
|
|
644
644
|
* Use of this source code is governed by an MIT-style license that can be
|
|
645
645
|
* found in the LICENSE file at https://angular.io/license
|
|
646
646
|
*/
|
|
647
|
-
return n.THROW_IF_NOT_FOUND=Ia,n.NULL=new
|
|
647
|
+
return n.THROW_IF_NOT_FOUND=Ia,n.NULL=new Bd,n.\u0275prov=$({token:n,providedIn:"any",factory:()=>P(Ba)}),n.__NG_ELEMENT_ID__=-1,n})();
|
|
648
648
|
/**
|
|
649
649
|
* @license
|
|
650
650
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -674,7 +674,7 @@ function I(n,t=se.Default){const e=z();return null===e?P(n,t):Uc(St(),e,ce(n),t)
|
|
|
674
674
|
* Use of this source code is governed by an MIT-style license that can be
|
|
675
675
|
* found in the LICENSE file at https://angular.io/license
|
|
676
676
|
*/
|
|
677
|
-
function Tl(n,t){return n<<17|t<<2}function ki(n){return n>>17&32767}function
|
|
677
|
+
function Tl(n,t){return n<<17|t<<2}function ki(n){return n>>17&32767}function Xd(n){return 2|n}function Lo(n){return(131068&n)>>2}function eh(n,t){return-131069&n|t<<2}function th(n){return 1|n}function Og(n,t){const e=n.contentQueries;if(null!==e)for(let i=0;i<e.length;i+=2){const o=e[i],r=e[i+1];if(-1!==r){const s=n.data[r];xr(o),s.contentQueries(2,t[r],r)}}}function Al(n,t,e,i,o,r,s,c,u,h,p){const g=t.blueprint.slice();return g[0]=o,g[2]=76|i,(null!==p||n&&1024&n[2])&&(g[2]|=1024),ma(g),g[3]=g[15]=n,g[8]=e,g[10]=s||n&&n[10],g[11]=c||n&&n[11],g[12]=u||n&&n[12]||null,g[9]=h||n&&n[9]||null,g[6]=r,g[20]=function rl(){return hd++}(),g[21]=p,g[16]=2==t.type?n[16]:g,g}function Rs(n,t,e,i,o){let r=n.data[t];if(null===r)r=function ch(n,t,e,i,o){const r=ju(),s=fs(),u=n.data[t]=function f(n,t,e,i,o,r){return{type:e,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?r:r&&r.parent,e,t,i,o);return null===n.firstChild&&(n.firstChild=u),null!==r&&(s?null==r.child&&null!==u.parent&&(r.child=u):null===r.next&&(r.next=u)),u}(n,t,e,i,o),function Vt(){return he.lFrame.inI18n}()&&(r.flags|=64);else if(64&r.type){r.type=e,r.value=i,r.attrs=o;const s=function vo(){const n=he.lFrame,t=n.currentTNode;return n.isParent?t:t.parent}();r.injectorIndex=null===s?-1:s.injectorIndex}return fn(r,!0),r}function zs(n,t,e,i){if(0===e)return-1;const o=t.length;for(let r=0;r<e;r++)t.push(i),n.blueprint.push(i),n.data.push(null);return o}function lh(n,t,e){Ir(t);try{const i=n.viewQuery;null!==i&&hy(1,i,e);const o=n.template;null!==o&&Pg(n,t,o,1,e),n.firstCreatePass&&(n.firstCreatePass=!1),n.staticContentQueries&&Og(n,t),n.staticViewQueries&&hy(2,n.viewQuery,e);const r=n.components;null!==r&&function ay(n,t){for(let e=0;e<t.length;e++)LE(n,t[e])}(t,r)}catch(i){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),i}finally{t[2]&=-5,Hu()}}function Ol(n,t,e,i){const o=t[2];if(128!=(128&o)){Ir(t);try{ma(t),function Fu(n){return he.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==e&&Pg(n,t,e,2,i);const s=3==(3&o);if(s){const h=n.preOrderCheckHooks;null!==h&&Rc(t,h,null)}else{const h=n.preOrderHooks;null!==h&&zc(t,h,0,null),Co(t,0)}if(function kE(n){for(let t=bd(n);null!==t;t=vd(t)){if(!t[2])continue;const e=t[9];for(let i=0;i<e.length;i++){const o=e[i],r=o[3];0==(512&o[2])&&et(r,1),o[2]|=512}}}(t),function TE(n){for(let t=bd(n);null!==t;t=vd(t))for(let e=10;e<t.length;e++){const i=t[e],o=i[1];Lc(i)&&Ol(o,i,o.template,i[8])}}(t),null!==n.contentQueries&&Og(n,t),s){const h=n.contentCheckHooks;null!==h&&Rc(t,h)}else{const h=n.contentHooks;null!==h&&zc(t,h,1),Co(t,1)}!
|
|
678
678
|
/**
|
|
679
679
|
* @license
|
|
680
680
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -682,7 +682,7 @@ function Tl(n,t){return n<<17|t<<2}function ki(n){return n>>17&32767}function eh
|
|
|
682
682
|
* Use of this source code is governed by an MIT-style license that can be
|
|
683
683
|
* found in the LICENSE file at https://angular.io/license
|
|
684
684
|
*/
|
|
685
|
-
function
|
|
685
|
+
function ry(n,t){const e=n.hostBindingOpCodes;if(null!==e)try{for(let i=0;i<e.length;i++){const o=e[i];if(o<0)Di(~o);else{const r=o,s=e[++i],c=e[++i];ub(s,r),c(2,t[r])}}}finally{Di(-1)}}(n,t);const c=n.components;null!==c&&function sy(n,t){for(let e=0;e<t.length;e++)EE(n,t[e])}(t,c);const u=n.viewQuery;if(null!==u&&hy(2,u,i),s){const h=n.viewCheckHooks;null!==h&&Rc(t,h)}else{const h=n.viewHooks;null!==h&&zc(t,h,2),Co(t,2)}!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,et(t[3],-1))}finally{Hu()}}}function Pg(n,t,e,i,o){const r=Mn(),s=2&i;try{Di(-1),s&&t.length>22&&ug(n,t,22,!1),e(i,o)}finally{Di(r)}}function jg(n,t,e){if(us(t)){const o=t.directiveEnd;for(let r=t.directiveStart;r<o;r++){const s=n.data[r];s.contentQueries&&s.contentQueries(1,e[r],r)}}}function uh(n,t,e){!_a()||(function Se(n,t,e,i){const o=e.directiveStart,r=e.directiveEnd;n.firstCreatePass||Ca(e,t),nt(i,t);const s=e.initialInputs;for(let c=o;c<r;c++){const u=n.data[c],h=ii(u);h&&No(t,e,u);const p=vs(t,n,c,e);nt(p,t),null!==s&&SE(0,c-o,p,u,0,s),h&&(vt(e.index,t)[8]=p)}}(n,t,e,Xe(e,t)),128==(128&e.flags)&&function re(n,t,e){const i=e.directiveStart,o=e.directiveEnd,r=e.index,s=function db(){return he.lFrame.currentDirectiveIndex}();try{Di(r);for(let c=i;c<o;c++){const u=n.data[c],h=t[c];Ac(c),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&Ne(u,h)}}finally{Di(-1),Ac(s)}}(n,t,e))}function dh(n,t,e=Xe){const i=t.localNames;if(null!==i){let o=t.index+1;for(let r=0;r<i.length;r+=2){const s=i[r+1],c=-1===s?e(t,n):n[s];n[o++]=c}}}function Rg(n){const t=n.tView;return null===t||t.incompleteFirstPass?n.tView=hh(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts):t}function hh(n,t,e,i,o,r,s,c,u,h){const p=22+i,g=p+o,_=function cy(n,t){const e=[];for(let i=0;i<t;i++)e.push(i<n?null:fe);return e}(p,g),y="function"==typeof h?h():h;return _[1]={type:n,blueprint:_,template:e,queries:null,viewQuery:c,declTNode:t,data:_.slice().fill(null,p),bindingStartIndex:p,expandoStartIndex:g,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:y,incompleteFirstPass:!1}}function d(n,t,e,i){const o=Ew(t);null===e?o.push(i):(o.push(e),n.firstCreatePass&&Lw(n).push(i,o.length-1))}function m(n,t,e){for(let i in n)if(n.hasOwnProperty(i)){const o=n[i];(e=null===e?{}:e).hasOwnProperty(i)?e[i].push(t,o):e[i]=[t,o]}return e}function v(n,t){const i=t.directiveEnd,o=n.data,r=t.attrs,s=[];let c=null,u=null;for(let h=t.directiveStart;h<i;h++){const p=o[h],g=p.inputs,_=null===r||Zi(t)?null:IE(g,r);s.push(_),c=m(g,h,c),u=m(p.outputs,h,u)}null!==c&&(c.hasOwnProperty("class")&&(t.flags|=16),c.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=c,t.outputs=u}function D(n,t,e,i,o,r,s,c){const u=Xe(t,e);let p,h=t.inputs;!c&&null!=h&&(p=h[i])?(py(n,e,p,i,o),go(t)&&T(e,t.index)):3&t.type&&(i=function C(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(i),o=null!=s?s(o,t.value||"",i):o,r.setProperty(u,i,o))}function T(n,t){const e=vt(t,n);16&e[2]||(e[2]|=32)}function U(n,t,e,i){let o=!1;if(_a()){const r=function Re(n,t,e){const i=n.directiveRegistry;let o=null;if(i)for(let r=0;r<i.length;r++){const s=i[r];ag(e,s.selectors,!1)&&(o||(o=[]),Hc(Ca(e,t),n,s.type),ii(s)?(On(n,e),o.unshift(s)):o.push(s))}return o}(n,t,e),s=null===i?null:{"":-1};if(null!==r){o=!0,kt(e,n.data.length,r.length);for(let p=0;p<r.length;p++){const g=r[p];g.providersResolver&&g.providersResolver(g)}let c=!1,u=!1,h=zs(n,t,r.length,null);for(let p=0;p<r.length;p++){const g=r[p];e.mergedAttrs=Bc(e.mergedAttrs,g.hostAttrs),di(n,e,t,h,g),$n(h,g,s),null!==g.contentQueries&&(e.flags|=8),(null!==g.hostBindings||null!==g.hostAttrs||0!==g.hostVars)&&(e.flags|=128);const _=g.type.prototype;!c&&(_.ngOnChanges||_.ngOnInit||_.ngDoCheck)&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e.index),c=!0),!u&&(_.ngOnChanges||_.ngDoCheck)&&((n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e.index),u=!0),h++}v(n,e)}s&&function In(n,t,e){if(t){const i=n.localNames=[];for(let o=0;o<t.length;o+=2){const r=e[t[o+1]];if(null==r)throw new B(-301,!1);i.push(t[o],r)}}}(e,i,s)}return e.mergedAttrs=Bc(e.mergedAttrs,e.attrs),o}function q(n,t,e,i,o,r){const s=r.hostBindings;if(s){let c=n.hostBindingOpCodes;null===c&&(c=n.hostBindingOpCodes=[]);const u=~t.index;(function oe(n){let t=n.length;for(;t>0;){const e=n[--t];if("number"==typeof e&&e<0)return e}return 0})(c)!=u&&c.push(u),c.push(i,o,s)}}function Ne(n,t){null!==n.hostBindings&&n.hostBindings(1,t)}function On(n,t){t.flags|=2,(n.components||(n.components=[])).push(t.index)}function $n(n,t,e){if(e){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)e[t.exportAs[i]]=n;ii(t)&&(e[""]=n)}}function kt(n,t,e){n.flags|=1,n.directiveStart=t,n.directiveEnd=t+e,n.providerIndexes=t}function di(n,t,e,i,o){n.data[i]=o;const r=o.factory||(o.factory=Wo(o.type)),s=new ya(r,ii(o),I);n.blueprint[i]=s,e[i]=s,q(n,t,0,i,zs(n,e,o.hostVars,fe),o)}function No(n,t,e){const i=Xe(t,n),o=Rg(e),r=n[10],s=zg(n,Al(n,o,null,e.onPush?32:16,i,t,r,r.createRenderer(i,e),null,null,null));n[t.index]=s}function Ei(n,t,e,i,o,r){const s=Xe(n,t);!function ly(n,t,e,i,o,r,s){if(null==r)n.removeAttribute(t,o,e);else{const c=null==s?de(r):s(r,i||"",o);n.setAttribute(t,o,c,e)}}(t[11],s,r,n.value,e,i,o)}function SE(n,t,e,i,o,r){const s=r[t];if(null!==s){const c=i.setInput;for(let u=0;u<s.length;){const h=s[u++],p=s[u++],g=s[u++];null!==c?i.setInput(e,g,h,p):e[p]=g}}}function IE(n,t){let e=null,i=0;for(;i<t.length;){const o=t[i];if(0!==o)if(5!==o){if("number"==typeof o)break;n.hasOwnProperty(o)&&(null===e&&(e=[]),e.push(o,n[o],t[i+1])),i+=2}else i+=2;else i+=4}return e}function kw(n,t,e,i){return new Array(n,!0,!1,t,null,0,i,e,null,null)}function EE(n,t){const e=vt(t,n);if(Lc(e)){const i=e[1];48&e[2]?Ol(i,e,i.template,e[8]):e[5]>0&&uy(e)}}function uy(n){for(let i=bd(n);null!==i;i=vd(i))for(let o=10;o<i.length;o++){const r=i[o];if(Lc(r))if(512&r[2]){const s=r[1];Ol(s,r,s.template,r[8])}else r[5]>0&&uy(r)}const e=n[1].components;if(null!==e)for(let i=0;i<e.length;i++){const o=vt(e[i],n);Lc(o)&&o[5]>0&&uy(o)}}function LE(n,t){const e=vt(t,n),i=e[1];(function NE(n,t){for(let e=t.length;e<n.blueprint.length;e++)t.push(n.blueprint[e])})(i,e),lh(i,e,e[8])}function zg(n,t){return n[13]?n[14][4]=t:n[13]=t,n[14]=t,t}function dy(n){for(;n;){n[2]|=32;const t=ks(n);if(wp(n)&&!t)return n;n=t}return null}function Fg(n,t,e,i=!0){const o=t[10];o.begin&&o.begin();try{Ol(n,t,n.template,e)}catch(s){throw i&&Aw(t,s),s}finally{o.end&&o.end()}}function hy(n,t,e){xr(0),t(n,e)}function Ew(n){return n[7]||(n[7]=[])}function Lw(n){return n.cleanup||(n.cleanup=[])}function Aw(n,t){const e=n[9],i=e?e.get(Os,null):null;i&&i.handleError(t)}function py(n,t,e,i,o){for(let r=0;r<e.length;){const s=e[r++],c=e[r++],u=t[s],h=n.data[s];null!==h.setInput?h.setInput(u,o,i,c):u[c]=o}}
|
|
686
686
|
/**
|
|
687
687
|
* @license
|
|
688
688
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -690,35 +690,35 @@ function sy(n,t){const e=n.hostBindingOpCodes;if(null!==e)try{for(let i=0;i<e.le
|
|
|
690
690
|
* Use of this source code is governed by an MIT-style license that can be
|
|
691
691
|
* found in the LICENSE file at https://angular.io/license
|
|
692
692
|
*/
|
|
693
|
-
function
|
|
693
|
+
function Bg(n,t,e){let i=e?n.styles:null,o=e?n.classes:null,r=0;if(null!==t)for(let s=0;s<t.length;s++){const c=t[s];"number"==typeof c?r=c:1==r?o=wu(o,c):2==r&&(i=wu(i,c+": "+t[++s]+";"))}e?n.styles=i:n.stylesWithoutHost=i,e?n.classes=o:n.classesWithoutHost=o}
|
|
694
694
|
/**
|
|
695
695
|
* @license
|
|
696
696
|
* Copyright Google LLC All Rights Reserved.
|
|
697
697
|
*
|
|
698
698
|
* Use of this source code is governed by an MIT-style license that can be
|
|
699
699
|
* found in the LICENSE file at https://angular.io/license
|
|
700
|
-
*/function
|
|
700
|
+
*/function Vg(n,t,e,i,o=!1){for(;null!==e;){const r=t[e.index];if(null!==r&&i.push(k(r)),ni(r))for(let c=10;c<r.length;c++){const u=r[c],h=u[1].firstChild;null!==h&&Vg(u[1],u,h,i)}const s=e.type;if(8&s)Vg(n,t,e.child,i);else if(32&s){const c=Aa(e,t);let u;for(;u=c();)i.push(u)}else if(16&s){const c=Tf(t,e);if(Array.isArray(c))i.push(...c);else{const u=ks(t[16]);Vg(u[1],u,c,i,!0)}}e=o?e.projectionNext:e.next}return i}
|
|
701
701
|
/**
|
|
702
702
|
* @license
|
|
703
703
|
* Copyright Google LLC All Rights Reserved.
|
|
704
704
|
*
|
|
705
705
|
* Use of this source code is governed by an MIT-style license that can be
|
|
706
706
|
* found in the LICENSE file at https://angular.io/license
|
|
707
|
-
*/class
|
|
707
|
+
*/class ph{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,e=t[1];return Vg(e,t,e.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(ni(t)){const e=t[8],i=e?e.indexOf(this):-1;i>-1&&(Cd(t,i),Zc(e,i))}this._attachedToViewContainer=!1}wd(this._lView[1],this._lView)}onDestroy(t){d(this._lView[1],this._lView,null,t)}markForCheck(){dy(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Fg(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new B(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function vf(n,t){ja(n,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new B(902,!1);this._appRef=t}}class AE extends ph{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Fg(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}
|
|
708
708
|
/**
|
|
709
709
|
* @license
|
|
710
710
|
* Copyright Google LLC All Rights Reserved.
|
|
711
711
|
*
|
|
712
712
|
* Use of this source code is governed by an MIT-style license that can be
|
|
713
713
|
* found in the LICENSE file at https://angular.io/license
|
|
714
|
-
*/class
|
|
714
|
+
*/class fy extends at{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=X(t);return new fh(e,this.ngModule)}}function Ow(n){const t=[];for(let e in n)n.hasOwnProperty(e)&&t.push({propName:n[e],templateName:e});return t}class PE{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){const o=this.injector.get(t,As,i);return o!==As||e===As?o:this.parentInjector.get(t,e,i)}}class fh extends qf{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=function Ov(n){return n.map(Av).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Ow(this.componentDef.inputs)}get outputs(){return Ow(this.componentDef.outputs)}create(t,e,i,o){let r=(o=o||this.ngModule)instanceof Es?o:o?.injector;r&&null!==this.componentDef.getStandaloneInjector&&(r=this.componentDef.getStandaloneInjector(r)||r);const s=r?new PE(t,r):t,c=s.get(Ns,null);if(null===c)throw new B(407,!1);const u=s.get(Sv,null),h=c.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",g=i?function l(n,t,e){return n.selectRootElement(t,e===dn.ShadowDom)}(h,i,this.componentDef.encapsulation):Br(h,p,function OE(n){const t=n.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(p)),_=this.componentDef.onPush?288:272,y=hh(0,null,null,1,0,null,null,null,null,null),M=Al(null,y,null,_,null,null,c,h,u,s,null);let x,E;Ir(M);try{const O=function zE(n,t,e,i,o,r){const s=e[1];e[22]=n;const u=Rs(s,22,2,"#host",null),h=u.mergedAttrs=t.hostAttrs;null!==h&&(Bg(u,h,!0),null!==n&&(Fc(o,n,h),null!==u.classes&&Nd(o,n,u.classes),null!==u.styles&&Ld(o,n,u.styles)));const p=i.createRenderer(n,t),g=Al(e,Rg(t),null,t.onPush?32:16,e[22],u,i,p,r||null,null,null);return s.firstCreatePass&&(Hc(Ca(u,e),s,t.type),On(s,u),kt(u,e.length,1)),zg(e,g),e[22]=g}(g,this.componentDef,M,c,h);if(g)if(i)Fc(h,g,["ng-version",Xf.full]);else{const{attrs:V,classes:L}=function Pv(n){const t=[],e=[];let i=1,o=2;for(;i<n.length;){let r=n[i];if("string"==typeof r)2===o?""!==r&&t.push(r,n[++i]):8===o&&e.push(r);else{if(!Tt(o))break;o=r}i++}return{attrs:t,classes:e}}(this.componentDef.selectors[0]);V&&Fc(h,g,V),L&&L.length>0&&Nd(h,g,L.join(" "))}if(E=ga(y,22),void 0!==e){const V=E.projection=[];for(let L=0;L<this.ngContentSelectors.length;L++){const Y=e[L];V.push(null!=Y?Array.from(Y):null)}}x=function FE(n,t,e,i){const o=e[1],r=function F(n,t,e){const i=St();n.firstCreatePass&&(e.providersResolver&&e.providersResolver(e),di(n,i,t,zs(n,t,1,null),e),v(n,i));const o=vs(t,n,i.directiveStart,i);nt(o,t);const r=Xe(i,t);return r&&nt(r,t),o}(o,e,t);if(n[8]=e[8]=r,null!==i)for(const c of i)c(r,t);if(t.contentQueries){const c=St();t.contentQueries(1,r,c.directiveStart)}const s=St();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Di(s.index),q(e[1],s,0,s.directiveStart,s.directiveEnd,t),Ne(t,r)),r}(O,this.componentDef,M,[BE]),lh(y,M,null)}finally{Hu()}return new RE(this.componentType,x,Qn(E,M),M,E)}}class RE extends class wv{}{constructor(t,e,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.instance=e,this.hostView=this.changeDetectorRef=new AE(o),this.componentType=t}setInput(t,e){const i=this._tNode.inputs;let o;if(null!==i&&(o=i[t])){const r=this._rootLView;py(r[1],r,o,t,e),T(r,this._tNode.index)}}get injector(){return new Lr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function BE(){const n=St();jc(z()[1],n)}
|
|
715
715
|
/**
|
|
716
716
|
* @license
|
|
717
717
|
* Copyright Google LLC All Rights Reserved.
|
|
718
718
|
*
|
|
719
719
|
* Use of this source code is governed by an MIT-style license that can be
|
|
720
720
|
* found in the LICENSE file at https://angular.io/license
|
|
721
|
-
*/function te(n){let t=function
|
|
721
|
+
*/function te(n){let t=function Pw(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),e=!0;const i=[n];for(;t;){let o;if(ii(n))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new B(903,!1);o=t.\u0275dir}if(o){if(e){i.push(o);const s=n;s.inputs=gy(n.inputs),s.declaredInputs=gy(n.declaredInputs),s.outputs=gy(n.outputs);const c=o.hostBindings;c&&YE(n,c);const u=o.viewQuery,h=o.contentQueries;if(u&&HE(n,u),h&&UE(n,h),_c(n.inputs,o.inputs),_c(n.declaredInputs,o.declaredInputs),_c(n.outputs,o.outputs),ii(o)&&o.data.animation){const p=n.data;p.animation=(p.animation||[]).concat(o.data.animation)}}const r=o.features;if(r)for(let s=0;s<r.length;s++){const c=r[s];c&&c.ngInherit&&c(n),c===te&&(e=!1)}}t=Object.getPrototypeOf(t)}!function VE(n){let t=0,e=null;for(let i=n.length-1;i>=0;i--){const o=n[i];o.hostVars=t+=o.hostVars,o.hostAttrs=Bc(o.hostAttrs,e=Bc(e,o.hostAttrs))}}(i)}function gy(n){return n===yr?{}:n===Je?[]:n}function HE(n,t){const e=n.viewQuery;n.viewQuery=e?(i,o)=>{t(i,o),e(i,o)}:t}function UE(n,t){const e=n.contentQueries;n.contentQueries=e?(i,o,r)=>{t(i,o,r),e(i,o,r)}:t}function YE(n,t){const e=n.hostBindings;n.hostBindings=e?(i,o)=>{t(i,o),e(i,o)}:t}
|
|
722
722
|
/**
|
|
723
723
|
* @license
|
|
724
724
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -733,14 +733,14 @@ function Fg(n,t,e){let i=e?n.styles:null,o=e?n.classes:null,r=0;if(null!==t)for(
|
|
|
733
733
|
* Use of this source code is governed by an MIT-style license that can be
|
|
734
734
|
* found in the LICENSE file at https://angular.io/license
|
|
735
735
|
*/
|
|
736
|
-
let
|
|
736
|
+
let Hg=null;function Wa(){if(!Hg){const n=ut.Symbol;if(n&&n.iterator)Hg=n.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const i=t[e];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Hg=i)}}}return Hg}
|
|
737
737
|
/**
|
|
738
738
|
* @license
|
|
739
739
|
* Copyright Google LLC All Rights Reserved.
|
|
740
740
|
*
|
|
741
741
|
* Use of this source code is governed by an MIT-style license that can be
|
|
742
742
|
* found in the LICENSE file at https://angular.io/license
|
|
743
|
-
*/function
|
|
743
|
+
*/function gh(n){return!!my(n)&&(Array.isArray(n)||!(n instanceof Map)&&Wa()in n)}function my(n){return null!==n&&("function"==typeof n||"object"==typeof n)}
|
|
744
744
|
/**
|
|
745
745
|
* @license
|
|
746
746
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -770,7 +770,7 @@ function $t(n,t,e,i){const o=z();return Pn(o,gs(),t)&&(Ae(),Ei(pt(),o,n,t,e,i)),
|
|
|
770
770
|
*
|
|
771
771
|
* Use of this source code is governed by an MIT-style license that can be
|
|
772
772
|
* found in the LICENSE file at https://angular.io/license
|
|
773
|
-
*/function Fl(n,t,e,i,o,r,s,c,u,h){const g=function $i(n,t,e,i,o,r){const s=Qa(n,t,e,i);return Qa(n,t+2,o,r)||s}(n,yo(),e,o,s,u);return Mo(4),g?t+de(e)+i+de(o)+r+de(s)+c+de(u)+h:fe}function
|
|
773
|
+
*/function Fl(n,t,e,i,o,r,s,c,u,h){const g=function $i(n,t,e,i,o,r){const s=Qa(n,t,e,i);return Qa(n,t+2,o,r)||s}(n,yo(),e,o,s,u);return Mo(4),g?t+de(e)+i+de(o)+r+de(s)+c+de(u)+h:fe}function yt(n,t,e,i,o,r,s,c){const u=z(),h=Ae(),p=n+22,g=h.firstCreatePass?
|
|
774
774
|
/**
|
|
775
775
|
* @license
|
|
776
776
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -778,56 +778,56 @@ function $t(n,t,e,i){const o=z();return Pn(o,gs(),t)&&(Ae(),Ei(pt(),o,n,t,e,i)),
|
|
|
778
778
|
* Use of this source code is governed by an MIT-style license that can be
|
|
779
779
|
* found in the LICENSE file at https://angular.io/license
|
|
780
780
|
*/
|
|
781
|
-
function qE(n,t,e,i,o,r,s,c,u){const h=t.consts,p=Rs(t,n,4,s||null,wi(h,c));U(t,e,p,wi(h,u)),jc(t,p);const g=p.tViews=
|
|
781
|
+
function qE(n,t,e,i,o,r,s,c,u){const h=t.consts,p=Rs(t,n,4,s||null,wi(h,c));U(t,e,p,wi(h,u)),jc(t,p);const g=p.tViews=hh(2,p,i,o,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,h);return null!==t.queries&&(t.queries.template(t,p),g.queries=t.queries.embeddedTView(p)),p}(p,h,u,t,e,i,o,r,s):h.data[p];fn(g,!1);const _=u[11].createComment("");Pa(h,u,_,g),nt(_,u),zg(u,u[p]=kw(_,u,_,g)),Tc(g)&&uh(h,u,g),null!=s&&dh(u,g,c)}
|
|
782
782
|
/**
|
|
783
783
|
* @license
|
|
784
784
|
* Copyright Google LLC All Rights Reserved.
|
|
785
785
|
*
|
|
786
786
|
* Use of this source code is governed by an MIT-style license that can be
|
|
787
787
|
* found in the LICENSE file at https://angular.io/license
|
|
788
|
-
*/function
|
|
788
|
+
*/function _h(n){return hs(function lb(){return he.lFrame.contextLView}(),22+n)}
|
|
789
789
|
/**
|
|
790
790
|
* @license
|
|
791
791
|
* Copyright Google LLC All Rights Reserved.
|
|
792
792
|
*
|
|
793
793
|
* Use of this source code is governed by an MIT-style license that can be
|
|
794
794
|
* found in the LICENSE file at https://angular.io/license
|
|
795
|
-
*/function ze(n,t,e){const i=z();return Pn(i,gs(),t)&&D(Ae(),pt(),i,n,t,i[11],e,!1),ze}function
|
|
795
|
+
*/function ze(n,t,e){const i=z();return Pn(i,gs(),t)&&D(Ae(),pt(),i,n,t,i[11],e,!1),ze}function _y(n,t,e,i,o){const s=o?"class":"style";py(n,e,t.inputs[s],s,i)}
|
|
796
796
|
/**
|
|
797
797
|
* @license
|
|
798
798
|
* Copyright Google LLC All Rights Reserved.
|
|
799
799
|
*
|
|
800
800
|
* Use of this source code is governed by an MIT-style license that can be
|
|
801
801
|
* found in the LICENSE file at https://angular.io/license
|
|
802
|
-
*/function Me(n,t,e,i){const o=z(),r=Ae(),s=22+n,c=o[11],u=o[s]=Br(c,t,function ai(){return he.lFrame.currentNamespace}()),h=r.firstCreatePass?function eL(n,t,e,i,o,r,s){const c=t.consts,h=Rs(t,n,2,o,wi(c,r));return U(t,e,h,wi(c,s)),null!==h.attrs&&
|
|
802
|
+
*/function Me(n,t,e,i){const o=z(),r=Ae(),s=22+n,c=o[11],u=o[s]=Br(c,t,function ai(){return he.lFrame.currentNamespace}()),h=r.firstCreatePass?function eL(n,t,e,i,o,r,s){const c=t.consts,h=Rs(t,n,2,o,wi(c,r));return U(t,e,h,wi(c,s)),null!==h.attrs&&Bg(h,h.attrs,!1),null!==h.mergedAttrs&&Bg(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(s,r,o,0,t,e,i):r.data[s];fn(h,!0);const p=h.mergedAttrs;null!==p&&Fc(c,u,p);const g=h.classes;null!==g&&Nd(c,u,g);const _=h.styles;return null!==_&&Ld(c,u,_),64!=(64&h.flags)&&Pa(r,o,u,h),0===function sb(){return he.lFrame.elementDepthCount}()&&nt(u,o),function ab(){he.lFrame.elementDepthCount++}(),Tc(h)&&(uh(r,o,h),jg(r,h,o)),null!==i&&dh(o,h),Me}function Te(){let n=St();fs()?Ru():(n=n.parent,fn(n,!1));const t=n;!function cb(){he.lFrame.elementDepthCount--}();const e=Ae();return e.firstCreatePass&&(jc(e,n),us(n)&&e.queries.elementEnd(n)),null!=t.classesWithoutHost&&function mb(n){return 0!=(16&n.flags)}(t)&&_y(e,t,z(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function _b(n){return 0!=(32&n.flags)}
|
|
803
803
|
/**
|
|
804
804
|
* @license
|
|
805
805
|
* Copyright Google LLC All Rights Reserved.
|
|
806
806
|
*
|
|
807
807
|
* Use of this source code is governed by an MIT-style license that can be
|
|
808
808
|
* found in the LICENSE file at https://angular.io/license
|
|
809
|
-
*/(t)&&
|
|
809
|
+
*/(t)&&_y(e,t,z(),t.stylesWithoutHost,!1),Te}function hi(n,t,e,i){return Me(n,t,e,i),Te(),hi
|
|
810
810
|
/**
|
|
811
811
|
* @license
|
|
812
812
|
* Copyright Google LLC All Rights Reserved.
|
|
813
813
|
*
|
|
814
814
|
* Use of this source code is governed by an MIT-style license that can be
|
|
815
815
|
* found in the LICENSE file at https://angular.io/license
|
|
816
|
-
*/}function Fs(n,t,e){const i=z(),o=Ae(),r=n+22,s=o.firstCreatePass?function tL(n,t,e,i,o){const r=t.consts,s=wi(r,i),c=Rs(t,n,8,"ng-container",s);return null!==s&&
|
|
816
|
+
*/}function Fs(n,t,e){const i=z(),o=Ae(),r=n+22,s=o.firstCreatePass?function tL(n,t,e,i,o){const r=t.consts,s=wi(r,i),c=Rs(t,n,8,"ng-container",s);return null!==s&&Bg(c,s,!0),U(t,e,c,wi(r,o)),null!==t.queries&&t.queries.elementStart(t,c),c}(r,o,i,t,e):o.data[r];fn(s,!0);const c=i[r]=i[11].createComment("");return Pa(o,i,c,s),nt(c,i),Tc(s)&&(uh(o,i,s),jg(o,s,i)),null!=e&&dh(i,s),Fs}function Bs(){let n=St();const t=Ae();return fs()?Ru():(n=n.parent,fn(n,!1)),t.firstCreatePass&&(jc(t,n),us(n)&&t.queries.elementEnd(n)),Bs}function bh(){return z()}
|
|
817
817
|
/**
|
|
818
818
|
* @license
|
|
819
819
|
* Copyright Google LLC All Rights Reserved.
|
|
820
820
|
*
|
|
821
821
|
* Use of this source code is governed by an MIT-style license that can be
|
|
822
822
|
* found in the LICENSE file at https://angular.io/license
|
|
823
|
-
*/function Yg(n){return!!n&&"function"==typeof n.then}function
|
|
823
|
+
*/function Yg(n){return!!n&&"function"==typeof n.then}function Gw(n){return!!n&&"function"==typeof n.subscribe}const Ww=Gw;
|
|
824
824
|
/**
|
|
825
825
|
* @license
|
|
826
826
|
* Copyright Google LLC All Rights Reserved.
|
|
827
827
|
*
|
|
828
828
|
* Use of this source code is governed by an MIT-style license that can be
|
|
829
829
|
* found in the LICENSE file at https://angular.io/license
|
|
830
|
-
*/function Dt(n,t,e,i){const o=z(),r=Ae(),s=St();return function
|
|
830
|
+
*/function Dt(n,t,e,i){const o=z(),r=Ae(),s=St();return function Qw(n,t,e,i,o,r,s,c){const u=Tc(i),p=n.firstCreatePass&&Lw(n),g=t[8],_=Ew(t);let y=!0;if(3&i.type||c){const E=Xe(i,t),O=c?c(E):E,V=_.length,L=c?Le=>c(k(Le[i.index])):i.index;let Y=null;if(!c&&u&&(Y=function nL(n,t,e,i){const o=n.cleanup;if(null!=o)for(let r=0;r<o.length-1;r+=2){const s=o[r];if(s===e&&o[r+1]===i){const c=t[7],u=o[r+2];return c.length>u?c[u]:null}"string"==typeof s&&(r+=2)}return null}(n,t,o,i.index)),null!==Y)(Y.__ngLastListenerFn__||Y).__ngNextListenerFn__=r,Y.__ngLastListenerFn__=r,y=!1;else{r=$w(i,t,g,r,!1);const Le=e.listen(O,o,r);_.push(r,Le),p&&p.push(o,L,V,V+1)}}else r=$w(i,t,g,r,!1);const M=i.outputs;let x;if(y&&null!==M&&(x=M[o])){const E=x.length;if(E)for(let O=0;O<E;O+=2){const Ze=t[x[O]][x[O+1]].subscribe(r),jt=_.length;_.push(r,Ze),p&&p.push(o,i.index,jt,-(jt+1))}}}(r,o,o[11],s,n,t,0,i),Dt}function Zw(n,t,e,i){try{return!1!==e(i)}catch(o){return Aw(n,o),!1}}function $w(n,t,e,i,o){return function r(s){if(s===Function)return i;dy(2&n.flags?vt(n.index,t):t);let u=Zw(t,0,i,s),h=r.__ngNextListenerFn__;for(;h;)u=Zw(t,0,h,s)&&u,h=h.__ngNextListenerFn__;return o&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}
|
|
831
831
|
/**
|
|
832
832
|
* @license
|
|
833
833
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -841,21 +841,21 @@ function qE(n,t,e,i,o,r,s,c,u){const h=t.consts,p=Rs(t,n,4,s||null,wi(h,c));U(t,
|
|
|
841
841
|
*
|
|
842
842
|
* Use of this source code is governed by an MIT-style license that can be
|
|
843
843
|
* found in the LICENSE file at https://angular.io/license
|
|
844
|
-
*/function
|
|
844
|
+
*/function At(n=1){return function hb(n){return(he.lFrame.contextLView=function pb(n,t){for(;n>0;)t=t[15],n--;return t}(n,he.lFrame.contextLView))[8]}(n)}
|
|
845
845
|
/**
|
|
846
846
|
* @license
|
|
847
847
|
* Copyright Google LLC All Rights Reserved.
|
|
848
848
|
*
|
|
849
849
|
* Use of this source code is governed by an MIT-style license that can be
|
|
850
850
|
* found in the LICENSE file at https://angular.io/license
|
|
851
|
-
*/function iL(n,t){let e=null;const i=function rt(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(n);for(let o=0;o<t.length;o++){const r=t[o];if("*"!==r){if(null===i?
|
|
851
|
+
*/function iL(n,t){let e=null;const i=function rt(n){const t=n.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(n);for(let o=0;o<t.length;o++){const r=t[o];if("*"!==r){if(null===i?ag(n,r,!0):Sl(i,r))return o}else e=o}return e}function pi(n){const t=z()[16][6];if(!t.projection){const i=t.projection=Pr(n?n.length:1,null),o=i.slice();let r=t.child;for(;null!==r;){const s=n?iL(r,n):0;null!==s&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r),r=r.next}}}function Et(n,t=0,e){const i=z(),o=Ae(),r=Rs(o,22+n,16,null,e||null);null===r.projection&&(r.projection=t),Ru(),64!=(64&r.flags)&&function li(n,t,e){kf(t[11],0,t,e,Mf(n,e,t),xd(e.parent||t[6],e,t))}(o,i,r)}function rD(n,t,e,i,o){const r=n[e+1],s=null===t;let c=i?ki(r):Lo(r),u=!1;for(;0!==c&&(!1===u||s);){const p=n[c+1];sL(n[c],t)&&(u=!0,n[c+1]=i?th(p):Xd(p)),c=i?ki(p):Lo(p)}u&&(n[e+1]=i?Xd(r):th(r))}function sL(n,t){return null===n||null==t||(Array.isArray(n)?n[1]:n)===t||!(!Array.isArray(n)||"string"!=typeof t)&&jr(n,t)>=0}
|
|
852
852
|
/**
|
|
853
853
|
* @license
|
|
854
854
|
* Copyright Google LLC All Rights Reserved.
|
|
855
855
|
*
|
|
856
856
|
* Use of this source code is governed by an MIT-style license that can be
|
|
857
857
|
* found in the LICENSE file at https://angular.io/license
|
|
858
|
-
*/const cn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function
|
|
858
|
+
*/const cn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function sD(n){return n.substring(cn.key,cn.keyEnd)}function aD(n,t){const e=cn.textEnd;return e===t?-1:(t=cn.keyEnd=function uL(n,t,e){for(;t<e&&n.charCodeAt(t)>32;)t++;return t}(n,cn.key=t,e),Yl(n,t,e))}function Yl(n,t,e){for(;t<e&&n.charCodeAt(t)<=32;)t++;return t}
|
|
859
859
|
/**
|
|
860
860
|
* @license
|
|
861
861
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -863,14 +863,14 @@ function qE(n,t,e,i,o,r,s,c,u){const h=t.consts,p=Rs(t,n,4,s||null,wi(h,c));U(t,
|
|
|
863
863
|
* Use of this source code is governed by an MIT-style license that can be
|
|
864
864
|
* found in the LICENSE file at https://angular.io/license
|
|
865
865
|
*/
|
|
866
|
-
function Vs(n,t,e){return Ao(n,t,e,!1),Vs}function ke(n,t){return Ao(n,t,null,!0),ke}function ur(n,t){for(let e=function cL(n){return function
|
|
866
|
+
function Vs(n,t,e){return Ao(n,t,e,!1),Vs}function ke(n,t){return Ao(n,t,null,!0),ke}function ur(n,t){for(let e=function cL(n){return function lD(n){cn.key=0,cn.keyEnd=0,cn.value=0,cn.valueEnd=0,cn.textEnd=n.length}(n),aD(n,Yl(n,0,cn.textEnd))}(t);e>=0;e=aD(t,e))Ln(n,sD(t),!0)}function Ao(n,t,e,i){const o=z(),r=Ae(),s=Mo(2);r.firstUpdatePass&&pD(r,n,s,i),t!==fe&&Pn(o,s,t)&&gD(r,r.data[Mn()],o,o[11],n,o[s+1]=function ML(n,t){return null==n||("string"==typeof t?n+=t:"object"==typeof n&&(n=ct(nr(n)))),n}(t,e),i,s)}function Oo(n,t,e,i){const o=Ae(),r=Mo(2);o.firstUpdatePass&&pD(o,null,r,i);const s=z();if(e!==fe&&Pn(s,r,e)){const c=o.data[Mn()];if(_D(c,i)&&!hD(o,r)){let u=i?c.classesWithoutHost:c.stylesWithoutHost;null!==u&&(e=wu(u,e||"")),_y(o,c,s,e,i)}else!function yL(n,t,e,i,o,r,s,c){o===fe&&(o=Je);let u=0,h=0,p=0<o.length?o[0]:null,g=0<r.length?r[0]:null;for(;null!==p||null!==g;){const _=u<o.length?o[u+1]:void 0,y=h<r.length?r[h+1]:void 0;let x,M=null;p===g?(u+=2,h+=2,_!==y&&(M=g,x=y)):null===g||null!==p&&p<g?(u+=2,M=p):(h+=2,M=g,x=y),null!==M&&gD(n,t,e,i,M,x,s,c),p=u<o.length?o[u]:null,g=h<r.length?r[h]:null}}(o,c,s,s[11],s[r+1],s[r+1]=function vL(n,t,e){if(null==e||""===e)return Je;const i=[],o=nr(e);if(Array.isArray(o))for(let r=0;r<o.length;r++)n(i,o[r],!0);else if("object"==typeof o)for(const r in o)o.hasOwnProperty(r)&&n(i,r,o[r]);else"string"==typeof o&&t(i,o);return i}(n,t,e),i,r)}}function hD(n,t){return t>=n.expandoStartIndex}function pD(n,t,e,i){const o=n.data;if(null===o[e+1]){const r=o[Mn()],s=hD(n,e);_D(r,i)&&null===t&&!s&&(t=!1),t=function gL(n,t,e,i){const o=Bu(n);let r=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(e=vh(e=yy(null,n,t,e,i),t.attrs,i),r=null);else{const s=t.directiveStylingLast;if(-1===s||n[s]!==o)if(e=yy(o,n,t,e,i),null===r){let u=function mL(n,t,e){const i=e?t.classBindings:t.styleBindings;if(0!==Lo(i))return n[ki(i)]}(n,t,i);void 0!==u&&Array.isArray(u)&&(u=yy(null,n,t,u[1],i),u=vh(u,t.attrs,i),function _L(n,t,e,i){n[ki(e?t.classBindings:t.styleBindings)]=i}(n,t,i,u))}else r=function bL(n,t,e){let i;const o=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<o;r++)i=vh(i,n[r].hostAttrs,e);return vh(i,t.attrs,e)}(n,t,i)}return void 0!==r&&(i?t.residualClasses=r:t.residualStyles=r),e}(o,r,t,i),function oL(n,t,e,i,o,r){let s=r?t.classBindings:t.styleBindings,c=ki(s),u=Lo(s);n[i]=e;let p,h=!1;if(Array.isArray(e)){const g=e;p=g[1],(null===p||jr(g,p)>0)&&(h=!0)}else p=e;if(o)if(0!==u){const _=ki(n[c+1]);n[i+1]=Tl(_,c),0!==_&&(n[_+1]=eh(n[_+1],i)),n[c+1]=function ey(n,t){return 131071&n|t<<17}(n[c+1],i)}else n[i+1]=Tl(c,0),0!==c&&(n[c+1]=eh(n[c+1],i)),c=i;else n[i+1]=Tl(u,0),0===c?c=i:n[u+1]=eh(n[u+1],i),u=i;h&&(n[i+1]=Xd(n[i+1])),rD(n,p,i,!0),rD(n,p,i,!1),function rL(n,t,e,i,o){const r=o?n.residualClasses:n.residualStyles;null!=r&&"string"==typeof t&&jr(r,t)>=0&&(e[i+1]=th(e[i+1]))}(t,p,n,i,r),s=Tl(c,u),r?t.classBindings=s:t.styleBindings=s}(o,r,t,e,s,i)}}function yy(n,t,e,i,o){let r=null;const s=e.directiveEnd;let c=e.directiveStylingLast;for(-1===c?c=e.directiveStart:c++;c<s&&(r=t[c],i=vh(i,r.hostAttrs,o),r!==n);)c++;return null!==n&&(e.directiveStylingLast=c),i}function vh(n,t,e){const i=e?1:2;let o=-1;if(null!==t)for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?o=s:o===i&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),Ln(n,s,!!e||t[++r]))}return void 0===n?null:n}function gD(n,t,e,i,o,r,s,c){if(!(3&t.type))return;const u=n.data,h=u[c+1];Gg(function wg(n){return 1==(1&n)}(h)?mD(u,t,e,o,Lo(h),s):void 0)||(Gg(r)||function Cg(n){return 2==(2&n)}(h)&&(r=mD(u,null,e,o,c,s)),function Yb(n,t,e,i,o){if(t)o?n.addClass(e,i):n.removeClass(e,i);else{let r=-1===i.indexOf("-")?void 0:Dn.DashCase;null==o?n.removeStyle(e,i,r):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=Dn.Important),n.setStyle(e,i,o,r))}}(i,s,Ve(Mn(),e),o,r))}function mD(n,t,e,i,o,r){const s=null===t;let c;for(;o>0;){const u=n[o],h=Array.isArray(u),p=h?u[1]:u,g=null===p;let _=e[o+1];_===fe&&(_=g?Je:void 0);let y=g?Ju(_,i):p===i?_:void 0;if(h&&!Gg(y)&&(y=Ju(u,i)),Gg(y)&&(c=y,s))return c;const M=n[o+1];o=s?ki(M):Lo(M)}if(null!==t){let u=r?t.residualClasses:t.residualStyles;null!=u&&(c=Ju(u,i))}return c}function Gg(n){return void 0!==n}function _D(n,t){return 0!=(n.flags&(t?16:32))}
|
|
867
867
|
/**
|
|
868
868
|
* @license
|
|
869
869
|
* Copyright Google LLC All Rights Reserved.
|
|
870
870
|
*
|
|
871
871
|
* Use of this source code is governed by an MIT-style license that can be
|
|
872
872
|
* found in the LICENSE file at https://angular.io/license
|
|
873
|
-
*/function fi(n,t=""){const e=z(),i=Ae(),o=n+22,r=i.firstCreatePass?Rs(i,o,1,t,null):i.data[o],s=e[o]=function
|
|
873
|
+
*/function fi(n,t=""){const e=z(),i=Ae(),o=n+22,r=i.firstCreatePass?Rs(i,o,1,t,null):i.data[o],s=e[o]=function yd(n,t){return n.createText(t)}(e[11],t);Pa(i,e,s,r),fn(r,!1)}
|
|
874
874
|
/**
|
|
875
875
|
* @license
|
|
876
876
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -885,7 +885,7 @@ function Vs(n,t,e){return Ao(n,t,e,!1),Vs}function ke(n,t){return Ao(n,t,null,!0
|
|
|
885
885
|
* Use of this source code is governed by an MIT-style license that can be
|
|
886
886
|
* found in the LICENSE file at https://angular.io/license
|
|
887
887
|
*/
|
|
888
|
-
function yh(n,t,e){const i=z();return Pn(i,gs(),t)&&D(Ae(),pt(),i,n,t,i[11],e,!0),yh}function Mh(n,t,e){const i=z();if(Pn(i,gs(),t)){const r=Ae(),s=pt();D(r,s,i,n,t,function
|
|
888
|
+
function yh(n,t,e){const i=z();return Pn(i,gs(),t)&&D(Ae(),pt(),i,n,t,i[11],e,!0),yh}function Mh(n,t,e){const i=z();if(Pn(i,gs(),t)){const r=Ae(),s=pt();D(r,s,i,n,t,function Nw(n,t,e){return(null===n||ii(n))&&(e=function K(n){for(;Array.isArray(n);){if("object"==typeof n[1])return n;n=n[0]}return null}(e[t.index])),e[11]}(Bu(r.data),s,i),e,!0)}return Mh}
|
|
889
889
|
/**
|
|
890
890
|
* @license
|
|
891
891
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -914,7 +914,7 @@ function yh(n,t,e){const i=z();return Pn(i,gs(),t)&&D(Ae(),pt(),i,n,t,i[11],e,!0
|
|
|
914
914
|
* Use of this source code is governed by an MIT-style license that can be
|
|
915
915
|
* found in the LICENSE file at https://angular.io/license
|
|
916
916
|
*/
|
|
917
|
-
let
|
|
917
|
+
let zD=Ql;function wy(n,t,e,i,o){if(n=ce(n),Array.isArray(n))for(let r=0;r<n.length;r++)wy(n[r],t,e,i,o);else{const r=Ae(),s=z();let c=Qi(n)?n:ce(n.provide),u=Jf(n);const h=St(),p=1048575&h.providerIndexes,g=h.directiveStart,_=h.providerIndexes>>20;if(Qi(n)||!n.multi){const y=new ya(u,o,I),M=xy(c,t,o?p:p+_,g);-1===M?(Hc(Ca(h,s),r,c),Dy(r,n,t.length),t.push(c),h.directiveStart++,h.directiveEnd++,o&&(h.providerIndexes+=1048576),e.push(y),s.push(y)):(e[M]=y,s[M]=y)}else{const y=xy(c,t,p+_,g),M=xy(c,t,p,p+_),x=y>=0&&e[y],E=M>=0&&e[M];if(o&&!E||!o&&!x){Hc(Ca(h,s),r,c);const O=function RN(n,t,e,i,o){const r=new ya(n,e,I);return r.multi=[],r.index=t,r.componentProviders=0,lx(r,o,i&&!e),r}(o?jN:PN,e.length,o,i,u);!o&&E&&(e[M].providerFactory=O),Dy(r,n,t.length,0),t.push(c),h.directiveStart++,h.directiveEnd++,o&&(h.providerIndexes+=1048576),e.push(O),s.push(O)}else Dy(r,n,y>-1?y:M,lx(e[o?M:y],u,!o&&i));!o&&i&&E&&e[M].componentProviders++}}}function Dy(n,t,e,i){const o=Qi(t),r=function yl(n){return!!n.useClass}(t);if(o||r){const u=(r?ce(t.useClass):t).prototype.ngOnDestroy;if(u){const h=n.destroyHooks||(n.destroyHooks=[]);if(!o&&t.multi){const p=h.indexOf(e);-1===p?h.push(e,[i,u]):h[p+1].push(i,u)}else h.push(e,u)}}}function lx(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function xy(n,t,e,i){for(let o=e;o<i;o++)if(t[o]===n)return o;return-1}function PN(n,t,e,i){return Sy(this.multi,[])}function jN(n,t,e,i){const o=this.multi;let r;if(this.providerFactory){const s=this.providerFactory.componentProviders,c=vs(e,e[1],this.providerFactory.index,i);r=c.slice(0,s),Sy(o,r);for(let u=s;u<c.length;u++)r.push(c[u])}else r=[],Sy(o,r);return r}function Sy(n,t){for(let e=0;e<n.length;e++)t.push((0,n[e])());return t}function be(n,t=[]){return e=>{e.providersResolver=(i,o)=>
|
|
918
918
|
/**
|
|
919
919
|
* @license
|
|
920
920
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -929,14 +929,14 @@ let RD=Ql;function Dy(n,t,e,i,o){if(n=ce(n),Array.isArray(n))for(let r=0;r<n.len
|
|
|
929
929
|
* Use of this source code is governed by an MIT-style license that can be
|
|
930
930
|
* found in the LICENSE file at https://angular.io/license
|
|
931
931
|
*/
|
|
932
|
-
function ON(n,t,e){const i=Ae();if(i.firstCreatePass){const o=ii(n);
|
|
932
|
+
function ON(n,t,e){const i=Ae();if(i.firstCreatePass){const o=ii(n);wy(e,i.data,i.blueprint,o,!0),wy(t,i.data,i.blueprint,o,!1)}}(i,o?o(n):n,t)}}
|
|
933
933
|
/**
|
|
934
934
|
* @license
|
|
935
935
|
* Copyright Google LLC All Rights Reserved.
|
|
936
936
|
*
|
|
937
937
|
* Use of this source code is governed by an MIT-style license that can be
|
|
938
938
|
* found in the LICENSE file at https://angular.io/license
|
|
939
|
-
*/class Zl{}class
|
|
939
|
+
*/class Zl{}class ux extends Zl{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new fy(this);const i=function Hn(n,t){const e=n[yp]||null;if(!e&&!0===t)throw new Error(`Type ${ct(n)} does not have '\u0275mod' property.`);return e}
|
|
940
940
|
/**
|
|
941
941
|
* @license
|
|
942
942
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -950,14 +950,14 @@ function ON(n,t,e){const i=Ae();if(i.firstCreatePass){const o=ii(n);Dy(e,i.data,
|
|
|
950
950
|
*
|
|
951
951
|
* Use of this source code is governed by an MIT-style license that can be
|
|
952
952
|
* found in the LICENSE file at https://angular.io/license
|
|
953
|
-
*/(i.bootstrap),this._r3Injector=
|
|
953
|
+
*/(i.bootstrap),this._r3Injector=mg(t,e,[{provide:Zl,useValue:this},{provide:at,useValue:this.componentFactoryResolver}],ct(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Iy extends class zN{}
|
|
954
954
|
/**
|
|
955
955
|
* @license
|
|
956
956
|
* Copyright Google LLC All Rights Reserved.
|
|
957
957
|
*
|
|
958
958
|
* Use of this source code is governed by an MIT-style license that can be
|
|
959
959
|
* found in the LICENSE file at https://angular.io/license
|
|
960
|
-
*/{constructor(t){super(),this.moduleType=t}create(t){return new
|
|
960
|
+
*/{constructor(t){super(),this.moduleType=t}create(t){return new ux(this.moduleType,t)}}function Ih(n,t){const e=n[t];return e===fe?void 0:e}
|
|
961
961
|
/**
|
|
962
962
|
* @license
|
|
963
963
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -965,7 +965,7 @@ function ON(n,t,e){const i=Ae();if(i.firstCreatePass){const o=ii(n);Dy(e,i.data,
|
|
|
965
965
|
* Use of this source code is governed by an MIT-style license that can be
|
|
966
966
|
* found in the LICENSE file at https://angular.io/license
|
|
967
967
|
*/
|
|
968
|
-
function
|
|
968
|
+
function Th(n,t){const e=Ae();let i;const o=n+22;e.firstCreatePass?(i=function aA(n,t){if(t)for(let e=t.length-1;e>=0;e--){const i=t[e];if(n===i.name)return i}}(t,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(o,i.onDestroy)):i=e.data[o];const r=i.factory||(i.factory=Wo(i.type)),s=Vn(I);try{const c=Vc(!1),u=r();return Vc(c),function XE(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}(e,z(),o,u),u}finally{Vn(s)}}function ky(n,t,e){const i=n+22,o=z(),r=hs(o,i);return kh(o,i)?function bx(n,t,e,i,o,r){const s=t+e;return Pn(n,s,o)?ar(n,s+1,r?i.call(r,o):i(o)):Ih(n,s+1)}(o,sn(),t,r.transform,e,r):r.transform(e)}function Ey(n,t,e,i){const o=n+22,r=z(),s=hs(r,o);return kh(r,o)?function vx(n,t,e,i,o,r,s){const c=t+e;return Qa(n,c,o,r)?ar(n,c+2,s?i.call(s,o,r):i(o,r)):Ih(n,c+2)}(r,sn(),t,s.transform,e,i,s):s.transform(e,i)}function kh(n,t){return n[1].data[t].pure}
|
|
969
969
|
/**
|
|
970
970
|
* @license
|
|
971
971
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -979,42 +979,42 @@ function $l(n,t){const e=Ae();let i;const o=n+22;e.firstCreatePass?(i=function a
|
|
|
979
979
|
*
|
|
980
980
|
* Use of this source code is governed by an MIT-style license that can be
|
|
981
981
|
* found in the LICENSE file at https://angular.io/license
|
|
982
|
-
*/function hA(){return this._results[Wa()]()}class Ny{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Wa(),i=Ny.prototype;i[e]||(i[e]=hA)}get changes(){return this._changes||(this._changes=new ge)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,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,e){const i=this;i.dirty=!1;const o=Yn(t);(this._changesDetected=!function
|
|
982
|
+
*/function hA(){return this._results[Wa()]()}class Ny{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Wa(),i=Ny.prototype;i[e]||(i[e]=hA)}get changes(){return this._changes||(this._changes=new ge)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,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,e){const i=this;i.dirty=!1;const o=Yn(t);(this._changesDetected=!function Cb(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i<n.length;i++){let o=n[i],r=t[i];if(e&&(o=e(o),r=e(r)),r!==o)return!1}return!0}(i._results,o,e))&&(i._results=o,i.length=o.length,i.last=o[this.length-1],i.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}
|
|
983
983
|
/**
|
|
984
984
|
* @license
|
|
985
985
|
* Copyright Google LLC All Rights Reserved.
|
|
986
986
|
*
|
|
987
987
|
* Use of this source code is governed by an MIT-style license that can be
|
|
988
988
|
* found in the LICENSE file at https://angular.io/license
|
|
989
|
-
*/let ln=(()=>{class n{}return n.__NG_ELEMENT_ID__=gA,n})();const pA=ln,fA=class extends pA{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tViews,o=Al(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,e||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(i)),
|
|
989
|
+
*/let ln=(()=>{class n{}return n.__NG_ELEMENT_ID__=gA,n})();const pA=ln,fA=class extends pA{constructor(t,e,i){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(t,e){const i=this._declarationTContainer.tViews,o=Al(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,e||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(i)),lh(i,o,t),new ph(o)}};function gA(){return Jg(St(),z())}function Jg(n,t){return 4&n.type?new fA(t,n,Qn(n,t)):null}
|
|
990
990
|
/**
|
|
991
991
|
* @license
|
|
992
992
|
* Copyright Google LLC All Rights Reserved.
|
|
993
993
|
*
|
|
994
994
|
* Use of this source code is governed by an MIT-style license that can be
|
|
995
995
|
* found in the LICENSE file at https://angular.io/license
|
|
996
|
-
*/let Tn=(()=>{class n{}return n.__NG_ELEMENT_ID__=mA,n})();function mA(){return
|
|
996
|
+
*/let Tn=(()=>{class n{}return n.__NG_ELEMENT_ID__=mA,n})();function mA(){return xx(St(),z())}const _A=Tn,wx=class extends _A{constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return Qn(this._hostTNode,this._hostLView)}get injector(){return new Lr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Er(this._hostTNode,this._hostLView);if(Ko(t)){const e=gn(t,this._hostLView),i=bs(t);return new Lr(e[1].data[i+8],e)}return new Lr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Dx(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const s=t.createEmbeddedView(e||{},r);return this.insert(s,o),s}createComponent(t,e,i,o,r){const s=t&&!function Ms(n){return"function"==typeof n}
|
|
997
997
|
/**
|
|
998
998
|
* @license
|
|
999
999
|
* Copyright Google LLC All Rights Reserved.
|
|
1000
1000
|
*
|
|
1001
1001
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1002
1002
|
* found in the LICENSE file at https://angular.io/license
|
|
1003
|
-
*/(t);let c;if(s)c=e;else{const g=e||{};c=g.index,i=g.injector,o=g.projectableNodes,r=g.environmentInjector||g.ngModuleRef}const u=s?t:new
|
|
1003
|
+
*/(t);let c;if(s)c=e;else{const g=e||{};c=g.index,i=g.injector,o=g.projectableNodes,r=g.environmentInjector||g.ngModuleRef}const u=s?t:new fh(X(t)),h=i||this.parentInjector;if(!r&&null==u.ngModule){const _=(s?h:this.parentInjector).get(Es,null);_&&(r=_)}const p=u.create(h,o,void 0,r);return this.insert(p.hostView,c),p}insert(t,e){const i=t._lView,o=i[1];if(function ps(n){return ni(n[3])}(i)){const p=this.indexOf(t);if(-1!==p)this.detach(p);else{const g=i[3],_=new wx(g,g[6],g[3]);_.detach(_.indexOf(t))}}const r=this._adjustIndex(e),s=this._lContainer;!function yf(n,t,e,i){const o=10+i,r=e.length;i>0&&(e[o-1][4]=t),i<r-10?(t[4]=e[o],Qc(e,10+i,t)):(e.push(t),t[4]=null),t[3]=e;const s=t[17];null!==s&&e!==s&&function Wi(n,t){const e=n[9];t[16]!==t[3][3][16]&&(n[2]=!0),null===e?n[9]=[t]:e.push(t)}(s,t);const c=t[19];null!==c&&c.insertView(n),t[2]|=64}(o,i,s,r);const c=Td(r,s),u=i[11],h=dl(u,s[7]);return null!==h&&function bf(n,t,e,i,o,r){i[0]=o,i[6]=t,ja(n,i,e,1,o,r)}(o,s[6],u,i,h,c),t.attachToViewContainerRef(),Qc(Ay(s),r,t),t}move(t,e){return this.insert(t,e)}indexOf(t){const e=Dx(this._lContainer);return null!==e?e.indexOf(t):-1}remove(t){const e=this._adjustIndex(t,-1),i=Cd(this._lContainer,e);i&&(Zc(Ay(this._lContainer),e),wd(i[1],i))}detach(t){const e=this._adjustIndex(t,-1),i=Cd(this._lContainer,e);return i&&null!=Zc(Ay(this._lContainer),e)?new ph(i):null}_adjustIndex(t,e=0){return t??this.length+e}};function Dx(n){return n[8]}function Ay(n){return n[8]||(n[8]=[])}function xx(n,t){let e;const i=t[n.index];if(ni(i))e=i;else{let o;if(8&n.type)o=k(i);else{const r=t[11];o=r.createComment("");const s=Xe(n,t);Vr(r,dl(r,s),o,function xf(n,t){return n.nextSibling(t)}(r,s),!1)}t[n.index]=e=kw(i,t,o,n),zg(t,e)}return new wx(e,n,t)}
|
|
1004
1004
|
/**
|
|
1005
1005
|
* @license
|
|
1006
1006
|
* Copyright Google LLC All Rights Reserved.
|
|
1007
1007
|
*
|
|
1008
1008
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1009
1009
|
* found in the LICENSE file at https://angular.io/license
|
|
1010
|
-
*/class Oy{constructor(t){this.queryList=t,this.matches=null}clone(){return new Oy(this.queryList)}setDirty(){this.queryList.setDirty()}}class Py{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const i=null!==t.contentQueries?t.contentQueries[0]:e.length,o=[];for(let r=0;r<i;r++){const s=e.getByIndex(r);o.push(this.queries[s.indexInDeclarationView].clone())}return new Py(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==
|
|
1010
|
+
*/class Oy{constructor(t){this.queryList=t,this.matches=null}clone(){return new Oy(this.queryList)}setDirty(){this.queryList.setDirty()}}class Py{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const i=null!==t.contentQueries?t.contentQueries[0]:e.length,o=[];for(let r=0;r<i;r++){const s=e.getByIndex(r);o.push(this.queries[s.indexInDeclarationView].clone())}return new Py(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==Ex(t,e).matches&&this.queries[e].setDirty()}}class Sx{constructor(t,e,i=null){this.predicate=t,this.flags=e,this.read=i}}class jy{constructor(t=[]){this.queries=t}elementStart(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].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 i=0;i<this.length;i++){const o=null!==e?e.length:0,r=this.getByIndex(i).embeddedTView(t,o);r&&(r.indexInDeclarationView=i,null!==e?e.push(r):e=[r])}return null!==e?new jy(e):null}template(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Ry{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 Ry(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==e;)i=i.parent;return e===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const r=i[o];this.matchTNodeWithReadOption(t,e,yA(e,r)),this.matchTNodeWithReadOption(t,e,Yc(e,t,r,!1,!1))}else i===ln?4&e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Yc(e,t,i,!1,!1))}matchTNodeWithReadOption(t,e,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===De||o===Tn||o===ln&&4&e.type)this.addMatch(e.index,-2);else{const r=Yc(e,t,o,!1,!1);null!==r&&this.addMatch(e.index,r)}else this.addMatch(e.index,i)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function yA(n,t){const e=n.localNames;if(null!==e)for(let i=0;i<e.length;i+=2)if(e[i]===t)return e[i+1];return null}function CA(n,t,e,i){return-1===e?function MA(n,t){return 11&n.type?Qn(n,t):4&n.type?Jg(n,t):null}(t,n):-2===e?function wA(n,t,e){return e===De?Qn(t,n):e===ln?Jg(t,n):e===Tn?xx(t,n):void 0}(n,t,i):vs(n,n[1],e,t)}function Ix(n,t,e,i){const o=t[19].queries[i];if(null===o.matches){const r=n.data,s=e.matches,c=[];for(let u=0;u<s.length;u+=2){const h=s[u];c.push(h<0?null:CA(t,r[h],s[u+1],e.metadata.read))}o.matches=c}return o.matches}function zy(n,t,e,i){const o=n.queries.getByIndex(e),r=o.matches;if(null!==r){const s=Ix(n,t,o,e);for(let c=0;c<r.length;c+=2){const u=r[c];if(u>0)i.push(s[c/2]);else{const h=r[c+1],p=t[-u];for(let g=10;g<p.length;g++){const _=p[g];_[17]===_[3]&&zy(_[1],_,h,i)}if(null!==p[9]){const g=p[9];for(let _=0;_<g.length;_++){const y=g[_];zy(y[1],y,h,i)}}}}}return i}function Ye(n){const t=z(),e=Ae(),i=Oc();xr(i+1);const o=Ex(e,i);if(n.dirty&&function Ec(n){return 4==(4&n[2])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)n.reset([]);else{const r=o.crossesNgTemplate?zy(e,t,i,[]):Ix(e,t,o,i);n.reset(r,xv),n.notifyOnChanges()}return!0}return!1}function Ki(n,t,e){const i=Ae();i.firstCreatePass&&(kx(i,new Sx(n,t,e),-1),2==(2&t)&&(i.staticViewQueries=!0)),Tx(i,z(),t)}function Lt(n,t,e,i){const o=Ae();if(o.firstCreatePass){const r=St();kx(o,new Sx(t,e,i),r.index),function xA(n,t){const e=n.contentQueries||(n.contentQueries=[]);t!==(e.length?e[e.length-1]:-1)&&e.push(n.queries.length-1,t)}(o,n),2==(2&e)&&(o.staticContentQueries=!0)}Tx(o,z(),e)}function Ge(){return function DA(n,t){return n[19].queries[t].queryList}(z(),Oc())}function Tx(n,t,e){const i=new Ny(4==(4&e));d(n,t,i,i.destroy),null===t[19]&&(t[19]=new Py),t[19].queries.push(new Oy(i))}function kx(n,t,e){null===n.queries&&(n.queries=new jy),n.queries.track(new Ry(t,e))}function Ex(n,t){return n.queries.getByIndex(t)}
|
|
1011
1011
|
/**
|
|
1012
1012
|
* @license
|
|
1013
1013
|
* Copyright Google LLC All Rights Reserved.
|
|
1014
1014
|
*
|
|
1015
1015
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1016
1016
|
* found in the LICENSE file at https://angular.io/license
|
|
1017
|
-
*/function
|
|
1017
|
+
*/function Fy(n,t){return Jg(n,t)}
|
|
1018
1018
|
/**
|
|
1019
1019
|
* @license
|
|
1020
1020
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1050,21 +1050,21 @@ function $l(n,t){const e=Ae();let i;const o=n+22;e.firstCreatePass?(i=function a
|
|
|
1050
1050
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1051
1051
|
* found in the LICENSE file at https://angular.io/license
|
|
1052
1052
|
*/
|
|
1053
|
-
function
|
|
1053
|
+
function Xg(...n){}
|
|
1054
1054
|
/**
|
|
1055
1055
|
* @license
|
|
1056
1056
|
* Copyright Google LLC All Rights Reserved.
|
|
1057
1057
|
*
|
|
1058
1058
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1059
1059
|
* found in the LICENSE file at https://angular.io/license
|
|
1060
|
-
*/const $x=new G("Application Initializer");let
|
|
1060
|
+
*/const $x=new G("Application Initializer");let em=(()=>{class n{constructor(e){this.appInits=e,this.resolve=Xg,this.reject=Xg,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const r=this.appInits[o]();if(Yg(r))e.push(r);else if(Ww(r)){const s=new Promise((c,u)=>{r.subscribe({complete:c,error:u})});e.push(s)}}Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),0===e.length&&i(),this.initialized=!0}}return n.\u0275fac=function(e){return new(e||n)(P($x,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();
|
|
1061
1061
|
/**
|
|
1062
1062
|
* @license
|
|
1063
1063
|
* Copyright Google LLC All Rights Reserved.
|
|
1064
1064
|
*
|
|
1065
1065
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1066
1066
|
* found in the LICENSE file at https://angular.io/license
|
|
1067
|
-
*/const
|
|
1067
|
+
*/const Lh=new G("AppId",{providedIn:"root",factory:function Kx(){return`${Yy()}${Yy()}${Yy()}`}});function Yy(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Jx=new G("Platform Initializer"),tm=new G("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),GA=new G("appBootstrapListener"),Gy=new G("AnimationModuleType"),dr=new G("LocaleId",{providedIn:"root",factory:()=>So(dr,se.Optional|se.SkipSelf)||
|
|
1068
1068
|
/**
|
|
1069
1069
|
* @license
|
|
1070
1070
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1079,7 +1079,7 @@ function WA(){return typeof $localize<"u"&&$localize.locale||Ql}()}),JA=(()=>Pro
|
|
|
1079
1079
|
*
|
|
1080
1080
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1081
1081
|
* found in the LICENSE file at https://angular.io/license
|
|
1082
|
-
*/function
|
|
1082
|
+
*/function Wy(n){typeof Zone>"u"?JA.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}
|
|
1083
1083
|
/**
|
|
1084
1084
|
* @license
|
|
1085
1085
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1094,14 +1094,14 @@ function WA(){return typeof $localize<"u"&&$localize.locale||Ql}()}),JA=(()=>Pro
|
|
|
1094
1094
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1095
1095
|
* found in the LICENSE file at https://angular.io/license
|
|
1096
1096
|
*/
|
|
1097
|
-
class We{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ge(!1),this.onMicrotaskEmpty=new ge(!1),this.onStable=new ge(!1),this.onError=new ge(!1),typeof Zone>"u")throw new B(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const r=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new r("Angular"))}Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&e,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function qA(){let n=ut.requestAnimationFrame,t=ut.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function tO(n){const t=()=>{!function eO(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(ut,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,
|
|
1097
|
+
class We{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ge(!1),this.onMicrotaskEmpty=new ge(!1),this.onStable=new ge(!1),this.onError=new ge(!1),typeof Zone>"u")throw new B(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const r=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new r("Angular"))}Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&e,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function qA(){let n=ut.requestAnimationFrame,t=ut.cancelAnimationFrame;if(typeof Zone<"u"&&n&&t){const e=n[Zone.__symbol__("OriginalDelegate")];e&&(n=e);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function tO(n){const t=()=>{!function eO(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(ut,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,Zy(n),n.isCheckStableRunning=!0,Qy(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),Zy(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,o,r,s,c)=>{try{return eS(n),e.invokeTask(o,r,s,c)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||n.shouldCoalesceRunChangeDetection)&&t(),tS(n)}},onInvoke:(e,i,o,r,s,c,u)=>{try{return eS(n),e.invoke(o,r,s,c,u)}finally{n.shouldCoalesceRunChangeDetection&&t(),tS(n)}},onHasTask:(e,i,o,r)=>{e.hasTask(o,r),i===o&&("microTask"==r.change?(n._hasPendingMicrotasks=r.microTask,Zy(n),Qy(n)):"macroTask"==r.change&&(n.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,i,o,r)=>(e.handleError(o,r),n.runOutsideAngular(()=>n.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!We.isInAngularZone())throw new B(909,!1)}static assertNotInAngularZone(){if(We.isInAngularZone())throw new B(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,o){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,t,XA,Xg,Xg);try{return r.runTask(s,e,i)}finally{r.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}}const XA={};function Qy(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function Zy(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function eS(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function tS(n){n._nesting--,Qy(n)}class nO{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ge,this.onMicrotaskEmpty=new ge,this.onStable=new ge,this.onError=new ge}run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,o){return t.apply(e,i)}}
|
|
1098
1098
|
/**
|
|
1099
1099
|
* @license
|
|
1100
1100
|
* Copyright Google LLC All Rights Reserved.
|
|
1101
1101
|
*
|
|
1102
1102
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1103
1103
|
* found in the LICENSE file at https://angular.io/license
|
|
1104
|
-
*/const nS=new G(""),
|
|
1104
|
+
*/const nS=new G(""),nm=new G("");let Jy,$y=(()=>{class n{constructor(e,i,o){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Jy||(function iO(n){Jy=n}(o),o.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{We.assertNotInAngularZone(),Wy(()=>{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())Wy(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,o){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==r),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:o})}whenStable(e,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,o){return[]}}return n.\u0275fac=function(e){return new(e||n)(P(We),P(Ky),P(nm))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),Ky=(()=>{class n{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return Jy?.findTestabilityInTree(this,e,i)??null}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})(),Hs=null;const iS=new G("AllowMultipleToken"),qy=new G("PlatformDestroyListeners");function rS(n,t,e=[]){const i=`Platform: ${t}`,o=new G(i);return(r=[])=>{let s=Xy();if(!s||s.injector.get(iS,!1)){const c=[...e,...r,{provide:o,useValue:!0}];n?n(c):function sO(n){if(Hs&&!Hs.get(iS,!1))throw new B(400,!1);Hs=n;const t=n.get(aS);(function oS(n){const t=n.get(Jx,null);t&&t.forEach(e=>e())})(n)}(function sS(n=[],t){return Sn.create({name:t,providers:[{provide:Ud,useValue:"platform"},{provide:qy,useValue:new Set([()=>Hs=null])},...n]})}(c,i))}return function cO(n){const t=Xy();if(!t)throw new B(401,!1);return t}()}}function Xy(){return Hs?.get(aS)??null}let aS=(()=>{class n{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const o=function lS(n,t){let e;return e="noop"===n?new nO:("zone.js"===n?void 0:n)||new We(t),e}(i?.ngZone,function cS(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(i)),r=[{provide:We,useValue:o}];return o.run(()=>{const s=Sn.create({providers:r,parent:this.injector,name:e.moduleType.name}),c=e.create(s),u=c.injector.get(Os,null);if(!u)throw new B(402,!1);return o.runOutsideAngular(()=>{const h=o.onError.subscribe({next:p=>{u.handleError(p)}});c.onDestroy(()=>{im(this._modules,c),h.unsubscribe()})}),function uS(n,t,e){try{const i=e();return Yg(i)?i.catch(o=>{throw t.runOutsideAngular(()=>n.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>n.handleError(i)),i}}(u,o,()=>{const h=c.injector.get(em);return h.runInitializers(),h.donePromise.then(()=>(function FD(n){Bn(n,"Expected localeId to be defined"),"string"==typeof n&&(zD=n.toLowerCase().replace(/_/g,"-"))}(c.injector.get(dr,Ql)||Ql),this._moduleDoBootstrap(c),c))})})}bootstrapModule(e,i=[]){const o=dS({},i);return function oO(n,t,e){const i=new Iy(e);return Promise.resolve(i)}(0,0,e).then(r=>this.bootstrapModuleFactory(r,o))}_moduleDoBootstrap(e){const i=e.injector.get(Ka);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!e.instance.ngDoBootstrap)throw new B(403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new B(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(qy,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(e){return new(e||n)(P(Sn))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function dS(n,t){return Array.isArray(t)?t.reduce(dS,n):{...n,...t}}let Ka=(()=>{class n{constructor(e,i,o){this._zone=e,this._injector=i,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const r=new Be(c=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{c.next(this._stable),c.complete()})}),s=new Be(c=>{let u;this._zone.runOutsideAngular(()=>{u=this._zone.onStable.subscribe(()=>{We.assertNotInAngularZone(),Wy(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,c.next(!0))})})});const h=this._zone.onUnstable.subscribe(()=>{We.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{c.next(!1)}))});return()=>{u.unsubscribe(),h.unsubscribe()}});this.isStable=Bi(r,s.pipe(function z_(){return n=>vr()(function Mu(n,t){return function(i){let o;if(o="function"==typeof n?n:function(){return n},"function"==typeof t)return i.lift(new Cu(o,t));const r=Object.create(i,bu);return r.source=i,r.subjectFactory=o,r}}(R_)(n))}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const o=e instanceof qf;if(!this._injector.get(em).done)throw!o&&function pa(n){const t=X(n)||we(n)||yn(n);return null!==t&&t.standalone}(e),new B(405,false);let s;s=o?e:this._injector.get(at).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const c=function rO(n){return n.isBoundToModule}(s)?void 0:this._injector.get(Zl),h=s.create(Sn.NULL,[],i||s.selector,c),p=h.location.nativeElement,g=h.injector.get(nS,null);return g?.registerApplication(p),h.onDestroy(()=>{this.detachView(h.hostView),im(this.components,h),g?.unregisterApplication(p)}),this._loadComponent(h),h}tick(){if(this._runningTick)throw new B(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;im(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(GA,[]).concat(this._bootstrapListeners).forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>im(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new B(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(e){return new(e||n)(P(We),P(Es),P(Os))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function im(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}
|
|
1105
1105
|
/**
|
|
1106
1106
|
* @license
|
|
1107
1107
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1109,7 +1109,7 @@ class We{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetecti
|
|
|
1109
1109
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1110
1110
|
* found in the LICENSE file at https://angular.io/license
|
|
1111
1111
|
*/
|
|
1112
|
-
let
|
|
1112
|
+
let Jl=(()=>{class n{}return n.__NG_ELEMENT_ID__=dO,n})();function dO(n){return function hO(n,t,e){if(go(n)&&!e){const i=vt(n.index,t);return new ph(i,i)}return 47&n.type?new ph(t[16],t):null}
|
|
1113
1113
|
/**
|
|
1114
1114
|
* @license
|
|
1115
1115
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1124,14 +1124,14 @@ let ql=(()=>{class n{}return n.__NG_ELEMENT_ID__=dO,n})();function dO(n){return
|
|
|
1124
1124
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1125
1125
|
* found in the LICENSE file at https://angular.io/license
|
|
1126
1126
|
*/
|
|
1127
|
-
class bS{constructor(){}supports(t){return
|
|
1127
|
+
class bS{constructor(){}supports(t){return gh(t)}create(t){return new bO(t)}}const _O=(n,t)=>t;class bO{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||_O}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){const s=!i||e&&e.currentIndex<yS(i,o,r)?e:i,c=yS(s,o,r),u=s.currentIndex;if(s===i)o--,i=i._nextRemoved;else if(e=e._next,null==s.previousIndex)o++;else{r||(r=[]);const h=c-o,p=u-o;if(h!=p){for(let _=0;_<h;_++){const y=_<r.length?r[_]:r[_]=0,M=y+_;p<=M&&M<h&&(r[_]=y+1)}r[s.previousIndex]=p-h}}c!==u&&t(s,c,u)}}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=[]),!gh(t))throw new B(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,r,s,e=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let c=0;c<this.length;c++)r=t[c],s=this._trackByFn(c,r),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,r,s,c)),Object.is(e.item,r)||this._addIdentityChange(e,r)):(e=this._mismatch(e,r,s,c),i=!0),e=e._next}else o=0,function $E(n,t){if(Array.isArray(n))for(let e=0;e<n.length;e++)t(n[e]);else{const e=n[Wa()]();let i;for(;!(i=e.next()).done;)t(i.value)}}(t,c=>{s=this._trackByFn(o,c),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,c,s,o)),Object.is(e.item,c)||this._addIdentityChange(e,c)):(e=this._mismatch(e,c,s,o),i=!0),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,o){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,o)):t=this._addAfter(new vO(e,i),r,o),t}_verifyReinsertion(t,e,i,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?t=this._reinsertAfter(r,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,r=t._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){const o=null===e?this._itHead:e._next;return t._next=o,t._prev=e,null===o?this._itTail=t:o._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new vS),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,i=t._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._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 vS),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 vO{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 yO{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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const e=t._prevDup,i=t._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class vS{constructor(){this.map=new Map}put(t){const e=t.trackById;let i=this.map.get(e);i||(i=new yO,this.map.set(e,i)),i.add(t)}get(t,e){const o=this.map.get(t);return o?o.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 yS(n,t,e){const i=n.previousIndex;if(null===i)return i;let o=0;return e&&i<e.length&&(o=e[i]),i+t+o
|
|
1128
1128
|
/**
|
|
1129
1129
|
* @license
|
|
1130
1130
|
* Copyright Google LLC All Rights Reserved.
|
|
1131
1131
|
*
|
|
1132
1132
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1133
1133
|
* found in the LICENSE file at https://angular.io/license
|
|
1134
|
-
*/}class MS{constructor(){}supports(t){return t instanceof Map||
|
|
1134
|
+
*/}class MS{constructor(){}supports(t){return t instanceof Map||my(t)}create(){return new MO}}class MO{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||my(t)))throw new B(900,!1)}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,(i,o)=>{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const i=t._prev;return e._next=t,e._prev=i,t._prev=e,i&&(i._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 o=this._records.get(t);this._maybeAddToChanges(o,e);const r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}const i=new CO(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i}_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){Object.is(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(i=>e(t[i],i))}}class CO{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}}
|
|
1135
1135
|
/**
|
|
1136
1136
|
* @license
|
|
1137
1137
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1146,7 +1146,7 @@ class bS{constructor(){}supports(t){return mh(t)}create(t){return new bO(t)}}con
|
|
|
1146
1146
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1147
1147
|
* found in the LICENSE file at https://angular.io/license
|
|
1148
1148
|
*/
|
|
1149
|
-
function wS(){return new
|
|
1149
|
+
function wS(){return new Nh([new MS])}let Nh=(()=>{class n{constructor(e){this.factories=e}static create(e,i){if(i){const o=i.factories.slice();e=e.concat(o)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||wS()),deps:[[n,new ws,new Ta]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(i)return i;throw new B(901,!1)}}
|
|
1150
1150
|
/**
|
|
1151
1151
|
* @license
|
|
1152
1152
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1217,7 +1217,7 @@ let SO=(()=>{class n{constructor(e){}}return n.\u0275fac=function(e){return new(
|
|
|
1217
1217
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1218
1218
|
* found in the LICENSE file at https://angular.io/license
|
|
1219
1219
|
*/
|
|
1220
|
-
let
|
|
1220
|
+
let sm=null;function hr(){return sm}
|
|
1221
1221
|
/**
|
|
1222
1222
|
* @license
|
|
1223
1223
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1253,7 +1253,7 @@ const st=new G("DocumentToken");
|
|
|
1253
1253
|
*
|
|
1254
1254
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1255
1255
|
* found in the LICENSE file at https://angular.io/license
|
|
1256
|
-
*/let
|
|
1256
|
+
*/let s0=(()=>{class n{historyGo(e){throw new Error("Not implemented")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:function(){return So(AO)},providedIn:"root"}),n})();const NO=new G("appBaseHref");let AO=(()=>{class n extends s0{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??So(st).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return IS(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+qa(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${i}${o}`:i}pushState(e,i,o,r){const s=this.prepareExternalUrl(o+qa(r));this._platformLocation.pushState(e,i,s)}replaceState(e,i,o,r){const s=this.prepareExternalUrl(o+qa(r));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return n.\u0275fac=function(e){return new(e||n)(P(DS),P(NO,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),kS=(()=>{class n{constructor(e){this._subject=new ge,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._baseHref=TS(ES(i)),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+qa(i))}normalize(e){return n.stripTrailingSlash(function PO(n,t){return n&&t.startsWith(n)?t.substring(n.length):t}(this._baseHref,ES(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",o=null){this._locationStrategy.pushState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+qa(i)),o)}replaceState(e,i="",o=null){this._locationStrategy.replaceState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+qa(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(o=>o(e,i))}subscribe(e,i,o){return this._subject.subscribe({next:e,error:i,complete:o})}}return n.normalizeQueryParams=qa,n.joinWithSlash=IS,n.stripTrailingSlash=TS,n.\u0275fac=function(e){return new(e||n)(P(s0))},n.\u0275prov=$({token:n,factory:function(){return function OO(){return new kS(P(s0))}()},providedIn:"root"}),n})();
|
|
1257
1257
|
/**
|
|
1258
1258
|
* @license
|
|
1259
1259
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1289,7 +1289,7 @@ function FS(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.
|
|
|
1289
1289
|
*
|
|
1290
1290
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1291
1291
|
* found in the LICENSE file at https://angular.io/license
|
|
1292
|
-
*/let
|
|
1292
|
+
*/let mm=(()=>{class n{constructor(e,i,o,r){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=o,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(gh(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ct(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return n.\u0275fac=function(e){return new(e||n)(I(Wr),I(Nh),I(De),I(Ti))},n.\u0275dir=H({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),n})();
|
|
1293
1293
|
/**
|
|
1294
1294
|
* @license
|
|
1295
1295
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1304,7 +1304,7 @@ function FS(n,t){t=encodeURIComponent(t);for(const e of n.split(";")){const i=e.
|
|
|
1304
1304
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1305
1305
|
* found in the LICENSE file at https://angular.io/license
|
|
1306
1306
|
*/
|
|
1307
|
-
let
|
|
1307
|
+
let ql=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new MP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){YS("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){YS("ngIfElse",e),this._elseTemplateRef=e,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(e,i){return!0}}return n.\u0275fac=function(e){return new(e||n)(I(Tn),I(ln))},n.\u0275dir=H({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class MP{constructor(){this.$implicit=null,this.ngIf=null}}function YS(n,t){if(t&&!t.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${ct(t)}'.`)}
|
|
1308
1308
|
/**
|
|
1309
1309
|
* @license
|
|
1310
1310
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1319,7 +1319,7 @@ let Xl=(()=>{class n{constructor(e,i){this._viewContainer=e,this._context=new MP
|
|
|
1319
1319
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1320
1320
|
* found in the LICENSE file at https://angular.io/license
|
|
1321
1321
|
*/
|
|
1322
|
-
class IP{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})}dispose(t){t.unsubscribe()}}class TP{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}}const kP=new TP,EP=new IP;let WS=(()=>{class n{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(Yg(e))return kP;if(
|
|
1322
|
+
class IP{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})}dispose(t){t.unsubscribe()}}class TP{createSubscription(t,e){return t.then(e,i=>{throw i})}dispose(t){}}const kP=new TP,EP=new IP;let WS=(()=>{class n{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(Yg(e))return kP;if(Gw(e))return EP;
|
|
1323
1323
|
/**
|
|
1324
1324
|
* @license
|
|
1325
1325
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1327,7 +1327,7 @@ class IP{createSubscription(t,e){return t.subscribe({next:e,error:i=>{throw i}})
|
|
|
1327
1327
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1328
1328
|
* found in the LICENSE file at https://angular.io/license
|
|
1329
1329
|
*/
|
|
1330
|
-
throw function Ro(n,t){return new B(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(I(
|
|
1330
|
+
throw function Ro(n,t){return new B(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return n.\u0275fac=function(e){return new(e||n)(I(Jl,16))},n.\u0275pipe=tn({name:"async",type:n,pure:!1,standalone:!0}),n})(),Zr=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({}),n})();
|
|
1331
1331
|
/**
|
|
1332
1332
|
* @license
|
|
1333
1333
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1365,7 +1365,7 @@ class KS{}
|
|
|
1365
1365
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1366
1366
|
* found in the LICENSE file at https://angular.io/license
|
|
1367
1367
|
*/
|
|
1368
|
-
class
|
|
1368
|
+
class C0 extends
|
|
1369
1369
|
/**
|
|
1370
1370
|
* @license
|
|
1371
1371
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1406,35 +1406,35 @@ class M0 extends
|
|
|
1406
1406
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1407
1407
|
* found in the LICENSE file at https://angular.io/license
|
|
1408
1408
|
*/
|
|
1409
|
-
class Dj extends class kO{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function TO(n){
|
|
1409
|
+
class Dj extends class kO{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function TO(n){sm||(sm=n)}(new C0)}onAndCancel(t,e,i){return t.addEventListener(e,i,!1),()=>{t.removeEventListener(e,i,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}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}getBaseHref(t){const e=function xj(){return jh=jh||document.querySelector("base"),jh?jh.getAttribute("href"):null}();return null==e?null:function Sj(n){vm=vm||document.createElement("a"),vm.setAttribute("href",n);const t=vm.pathname;return"/"===t.charAt(0)?t:`/${t}`}
|
|
1410
1410
|
/**
|
|
1411
1411
|
* @license
|
|
1412
1412
|
* Copyright Google LLC All Rights Reserved.
|
|
1413
1413
|
*
|
|
1414
1414
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1415
1415
|
* found in the LICENSE file at https://angular.io/license
|
|
1416
|
-
*/(e)}resetBaseElement(){
|
|
1416
|
+
*/(e)}resetBaseElement(){jh=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return FS(document.cookie,t)}}let vm,jh=null;const tI=new G("TRANSITION_ID"),Tj=[{provide:$x,useFactory:function Ij(n,t,e){return()=>{e.get(em).donePromise.then(()=>{const i=hr(),o=t.querySelectorAll(`style[ng-transition="${n}"]`);for(let r=0;r<o.length;r++)i.remove(o[r])})}},deps:[tI,st,Sn],multi:!0}];let Ej=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();
|
|
1417
1417
|
/**
|
|
1418
1418
|
* @license
|
|
1419
1419
|
* Copyright Google LLC All Rights Reserved.
|
|
1420
1420
|
*
|
|
1421
1421
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1422
1422
|
* found in the LICENSE file at https://angular.io/license
|
|
1423
|
-
*/const
|
|
1423
|
+
*/const ym=new G("EventManagerPlugins");let Mm=(()=>{class n{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>o.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}addGlobalEventListener(e,i,o){return this._findPluginFor(i).addGlobalEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const o=this._plugins;for(let r=0;r<o.length;r++){const s=o[r];if(s.supports(e))return this._eventNameToPlugin.set(e,s),s}throw new Error(`No event manager plugin found for event ${e}`)}}return n.\u0275fac=function(e){return new(e||n)(P(ym),P(We))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();class nI{constructor(t){this._doc=t}addGlobalEventListener(t,e,i){const o=hr().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${e}`);return this.addEventListener(o,e,i)}}
|
|
1424
1424
|
/**
|
|
1425
1425
|
* @license
|
|
1426
1426
|
* Copyright Google LLC All Rights Reserved.
|
|
1427
1427
|
*
|
|
1428
1428
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1429
1429
|
* found in the LICENSE file at https://angular.io/license
|
|
1430
|
-
*/let iI=(()=>{class n{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),i.add(o))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),
|
|
1430
|
+
*/let iI=(()=>{class n{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),i.add(o))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),Rh=(()=>{class n extends iI{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,o){e.forEach(r=>{const s=this._doc.createElement("style");s.textContent=r,o.push(i.appendChild(s))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(oI),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,o)=>{this._addStylesToHost(e,o,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(oI))}}return n.\u0275fac=function(e){return new(e||n)(P(st))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();function oI(n){hr().remove(n)}
|
|
1431
1431
|
/**
|
|
1432
1432
|
* @license
|
|
1433
1433
|
* Copyright Google LLC All Rights Reserved.
|
|
1434
1434
|
*
|
|
1435
1435
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1436
1436
|
* found in the LICENSE file at https://angular.io/license
|
|
1437
|
-
*/const
|
|
1437
|
+
*/const w0={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},D0=/%COMP%/g;function Cm(n,t,e){for(let i=0;i<t.length;i++){let o=t[i];Array.isArray(o)?Cm(n,o,e):(o=o.replace(D0,n),e.push(o))}return e}function aI(n){return t=>{if("__ngUnwrap__"===t)return n;!1===n(t)&&(t.preventDefault(),t.returnValue=!1)}}let wm=(()=>{class n{constructor(e,i,o){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new x0(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case dn.Emulated:{let o=this.rendererByCompId.get(i.id);return o||(o=new jj(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,o)),o.applyToHost(e),o}case 1:case dn.ShadowDom:return new Rj(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const o=Cm(i.id,i.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(e){return new(e||n)(P(Mm),P(Rh),P(Lh))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();class x0{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?document.createElementNS(w0[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){(lI(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(lI(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,o){if(o){e=o+":"+e;const r=w0[o];r?t.setAttributeNS(r,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){const o=w0[i];o?t.removeAttributeNS(o,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,o){o&(Dn.DashCase|Dn.Important)?t.style.setProperty(e,i,o&Dn.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&Dn.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t[e]=i}setValue(t,e){t.nodeValue=e}listen(t,e,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,aI(i)):this.eventManager.addEventListener(t,e,aI(i))}}function lI(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class jj extends x0{constructor(t,e,i,o){super(t),this.component=i;const r=Cm(o+"-"+i.id,i.styles,[]);e.addStyles(r),this.contentAttr=function Aj(n){return"_ngcontent-%COMP%".replace(D0,n)}(o+"-"+i.id),this.hostAttr=function Oj(n){return"_nghost-%COMP%".replace(D0,n)}(o+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}class Rj extends x0{constructor(t,e,i,o){super(t),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=Cm(o.id,o.styles,[]);for(let s=0;s<r.length;s++){const c=document.createElement("style");c.textContent=r[s],this.shadowRoot.appendChild(c)}}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,i){return super.insertBefore(this.nodeOrShadowRoot(t),e,i)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}
|
|
1438
1438
|
/**
|
|
1439
1439
|
* @license
|
|
1440
1440
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1455,7 +1455,7 @@ class Dj extends class kO{}{constructor(){super(...arguments),this.supportsDOMEv
|
|
|
1455
1455
|
*
|
|
1456
1456
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1457
1457
|
* found in the LICENSE file at https://angular.io/license
|
|
1458
|
-
*/const hI=[{provide:
|
|
1458
|
+
*/const hI=[{provide:tm,useValue:ZS},{provide:Jx,useValue:function Hj(){C0.makeCurrent()},multi:!0},{provide:st,useFactory:function Yj(){return function Qb(n){Pd=n}(document),document},deps:[]}],Gj=rS(xO,"browser",hI),pI=new G(""),fI=[{provide:nm,useClass:
|
|
1459
1459
|
/**
|
|
1460
1460
|
* @license
|
|
1461
1461
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1463,14 +1463,14 @@ class Dj extends class kO{}{constructor(){super(...arguments),this.supportsDOMEv
|
|
|
1463
1463
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1464
1464
|
* found in the LICENSE file at https://angular.io/license
|
|
1465
1465
|
*/
|
|
1466
|
-
class kj{addToWindow(t){ut.getAngularTestability=(i,o=!0)=>{const r=t.findTestabilityInTree(i,o);if(null==r)throw new Error("Could not find testability for element.");return r},ut.getAllAngularTestabilities=()=>t.getAllTestabilities(),ut.getAllAngularRootElements=()=>t.getAllRootElements(),ut.frameworkStabilizers||(ut.frameworkStabilizers=[]),ut.frameworkStabilizers.push(i=>{const o=ut.getAllAngularTestabilities();let r=o.length,s=!1;const c=function(u){s=s||u,r--,0==r&&i(s)};o.forEach(function(u){u.whenStable(c)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?hr().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:nS,useClass
|
|
1466
|
+
class kj{addToWindow(t){ut.getAngularTestability=(i,o=!0)=>{const r=t.findTestabilityInTree(i,o);if(null==r)throw new Error("Could not find testability for element.");return r},ut.getAllAngularTestabilities=()=>t.getAllTestabilities(),ut.getAllAngularRootElements=()=>t.getAllRootElements(),ut.frameworkStabilizers||(ut.frameworkStabilizers=[]),ut.frameworkStabilizers.push(i=>{const o=ut.getAllAngularTestabilities();let r=o.length,s=!1;const c=function(u){s=s||u,r--,0==r&&i(s)};o.forEach(function(u){u.whenStable(c)})})}findTestabilityInTree(t,e,i){return null==e?null:t.getTestability(e)??(i?hr().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null)}},deps:[]},{provide:nS,useClass:$y,deps:[We,Ky,nm]},{provide:$y,useClass:$y,deps:[We,Ky,nm]}],gI=[{provide:Ud,useValue:"root"},{provide:Os,useFactory:function Uj(){return new Os},deps:[]},{provide:ym,useClass:zj,multi:!0,deps:[st,We,tm]},{provide:ym,useClass:Vj,multi:!0,deps:[st]},{provide:wm,useClass:wm,deps:[Mm,Rh,Lh]},{provide:Ns,useExisting:wm},{provide:iI,useExisting:Rh},{provide:Rh,useClass:Rh,deps:[st]},{provide:Mm,useClass:Mm,deps:[ym,We]},{provide:KS,useClass:Ej,deps:[]},[]];let mI=(()=>{class n{constructor(e){}static withServerTransition(e){return{ngModule:n,providers:[{provide:Lh,useValue:e.appId},{provide:tI,useExisting:Lh},Tj]}}}return n.\u0275fac=function(e){return new(e||n)(P(pI,12))},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({providers:[...gI,...fI],imports:[Zr,SO]}),n})();
|
|
1467
1467
|
/**
|
|
1468
1468
|
* @license
|
|
1469
1469
|
* Copyright Google LLC All Rights Reserved.
|
|
1470
1470
|
*
|
|
1471
1471
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1472
1472
|
* found in the LICENSE file at https://angular.io/license
|
|
1473
|
-
*/function
|
|
1473
|
+
*/function Dm(n,t){return new Be(e=>{const i=n.length;if(0===i)return void e.complete();const o=new Array(i);let r=0,s=0;for(let c=0;c<i;c++){const u=lo(n[c]);let h=!1;e.add(u.subscribe({next:p=>{h||(h=!0,s++),o[c]=p},error:p=>e.error(p),complete:()=>{r++,(r===i||!h)&&(s===i&&e.next(t?t.reduce((p,g,_)=>(p[g]=o[_],p),{}):o),e.complete())}}))}})}
|
|
1474
1474
|
/**
|
|
1475
1475
|
* @license Angular v14.3.0
|
|
1476
1476
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
@@ -1482,21 +1482,21 @@ class kj{addToWindow(t){ut.getAngularTestability=(i,o=!0)=>{const r=t.findTestab
|
|
|
1482
1482
|
*
|
|
1483
1483
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1484
1484
|
* found in the LICENSE file at https://angular.io/license
|
|
1485
|
-
*/typeof window<"u"&&window;let vI=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(I(Ti),I(De))},n.\u0275dir=H({type:n}),n})(),Xa=(()=>{class n extends vI{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=tt(n)))(i||n)}}(),n.\u0275dir=H({type:n,features:[te]}),n})();const zo=new G("NgValueAccessor"),i4={provide:zo,useExisting:$e(()=>
|
|
1485
|
+
*/typeof window<"u"&&window;let vI=(()=>{class n{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(I(Ti),I(De))},n.\u0275dir=H({type:n}),n})(),Xa=(()=>{class n extends vI{}return n.\u0275fac=function(){let t;return function(i){return(t||(t=tt(n)))(i||n)}}(),n.\u0275dir=H({type:n,features:[te]}),n})();const zo=new G("NgValueAccessor"),i4={provide:zo,useExisting:$e(()=>xm),multi:!0},r4=new G("CompositionEventMode");
|
|
1486
1486
|
/**
|
|
1487
1487
|
* @license
|
|
1488
1488
|
* Copyright Google LLC All Rights Reserved.
|
|
1489
1489
|
*
|
|
1490
1490
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1491
1491
|
* found in the LICENSE file at https://angular.io/license
|
|
1492
|
-
*/let
|
|
1492
|
+
*/let xm=(()=>{class n extends vI{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function o4(){const n=hr()?hr().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(I(Ti),I(De),I(r4,8))},n.\u0275dir=H({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&Dt("input",function(r){return i._handleInput(r.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(r){return i._compositionEnd(r.target.value)})},features:[be([i4]),te]}),n})();
|
|
1493
1493
|
/**
|
|
1494
1494
|
* @license
|
|
1495
1495
|
* Copyright Google LLC All Rights Reserved.
|
|
1496
1496
|
*
|
|
1497
1497
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1498
1498
|
* found in the LICENSE file at https://angular.io/license
|
|
1499
|
-
*/function Ys(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function MI(n){return null!=n&&"number"==typeof n.length}const _n=new G("NgValidators"),Gs=new G("NgAsyncValidators"),a4=/^(?=.{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 CI{static min(t){return function wI(n){return t=>{if(Ys(t.value)||Ys(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}}(t)}static max(t){return function DI(n){return t=>{if(Ys(t.value)||Ys(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return function xI(n){return Ys(n.value)?{required:!0}:null}(t)}static requiredTrue(t){return function SI(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function II(n){return Ys(n.value)||a4.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function TI(n){return t=>Ys(t.value)||!MI(t.value)?null:t.value.length<n?{minlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function kI(n){return t=>MI(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function EI(n){if(!n)return
|
|
1499
|
+
*/function Ys(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function MI(n){return null!=n&&"number"==typeof n.length}const _n=new G("NgValidators"),Gs=new G("NgAsyncValidators"),a4=/^(?=.{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 CI{static min(t){return function wI(n){return t=>{if(Ys(t.value)||Ys(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}}(t)}static max(t){return function DI(n){return t=>{if(Ys(t.value)||Ys(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return function xI(n){return Ys(n.value)?{required:!0}:null}(t)}static requiredTrue(t){return function SI(n){return!0===n.value?null:{required:!0}}(t)}static email(t){return function II(n){return Ys(n.value)||a4.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function TI(n){return t=>Ys(t.value)||!MI(t.value)?null:t.value.length<n?{minlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function kI(n){return t=>MI(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function EI(n){if(!n)return Sm;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(Ys(i.value))return null;const o=i.value;return t.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}(t)}static nullValidator(t){return null}static compose(t){return jI(t)}static composeAsync(t){return RI(t)}}function Sm(n){return null}function LI(n){return null!=n}function NI(n){return Yg(n)?lo(n):n}function AI(n){let t={};return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function OI(n,t){return t.map(e=>e(n))}function PI(n){return n.map(t=>function c4(n){return!n.validate}(t)?t:e=>t.validate(e))}function jI(n){if(!n)return null;const t=n.filter(LI);return 0==t.length?null:function(e){return AI(OI(e,t))}}function T0(n){return null!=n?jI(PI(n)):null}function RI(n){if(!n)return null;const t=n.filter(LI);return 0==t.length?null:function(e){
|
|
1500
1500
|
/**
|
|
1501
1501
|
* @license
|
|
1502
1502
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1518,14 +1518,14 @@ class kj{addToWindow(t){ut.getAngularTestability=(i,o=!0)=>{const r=t.findTestab
|
|
|
1518
1518
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1519
1519
|
* found in the LICENSE file at https://angular.io/license
|
|
1520
1520
|
*/
|
|
1521
|
-
return function t4(...n){if(1===n.length){const t=n[0];if(en(t))return
|
|
1521
|
+
return function t4(...n){if(1===n.length){const t=n[0];if(en(t))return Dm(t,null);if(hu(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return Dm(e.map(i=>t[i]),e)}}if("function"==typeof n[n.length-1]){const t=n.pop();return Dm(n=1===n.length&&en(n[0])?n[0]:n,null).pipe(vn(e=>t(...e)))}return Dm(n,null)}(OI(e,t).map(NI)).pipe(vn(AI))}}function k0(n){return null!=n?RI(PI(n)):null}function zI(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function FI(n){return n._rawValidators}function BI(n){return n._rawAsyncValidators}function E0(n){return n?Array.isArray(n)?n:[n]:[]}function Im(n,t){return Array.isArray(n)?n.includes(t):n===t}function VI(n,t){const e=E0(t);return E0(n).forEach(o=>{Im(e,o)||e.push(o)}),e}function HI(n,t){return E0(t).filter(e=>!Im(n,e))}
|
|
1522
1522
|
/**
|
|
1523
1523
|
* @license
|
|
1524
1524
|
* Copyright Google LLC All Rights Reserved.
|
|
1525
1525
|
*
|
|
1526
1526
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1527
1527
|
* found in the LICENSE file at https://angular.io/license
|
|
1528
|
-
*/class UI{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=
|
|
1528
|
+
*/class UI{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=T0(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=k0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){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}}
|
|
1529
1529
|
/**
|
|
1530
1530
|
* @license
|
|
1531
1531
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1561,14 +1561,14 @@ return function t4(...n){if(1===n.length){const t=n[0];if(en(t))return xm(t,null
|
|
|
1561
1561
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1562
1562
|
* found in the LICENSE file at https://angular.io/license
|
|
1563
1563
|
*/
|
|
1564
|
-
const
|
|
1564
|
+
const zh="VALID",km="INVALID",Xl="PENDING",Fh="DISABLED";function O0(n){return(Em(n)?n.validators:n)||null}function QI(n){return Array.isArray(n)?T0(n):n||null}function P0(n,t){return(Em(t)?t.asyncValidators:n)||null}function ZI(n){return Array.isArray(n)?k0(n):n||null}function Em(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}class JI{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=QI(this._rawValidators),this._composedAsyncValidatorFn=ZI(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===zh}get invalid(){return this.status===km}get pending(){return this.status==Xl}get disabled(){return this.status===Fh}get enabled(){return this.status!==Fh}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._rawValidators=t,this._composedValidatorFn=QI(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=ZI(t)}addValidators(t){this.setValidators(VI(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(VI(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(HI(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(HI(t,this._rawAsyncValidators))}hasValidator(t){return Im(this._rawValidators,t)}hasAsyncValidator(t){return Im(this._rawAsyncValidators,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(e=>{e.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(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Xl,!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=Fh,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=zh,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===zh||this.status===Xl)&&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()?Fh:zh}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Xl,this._hasOwnPendingAsyncValidator=!0;const e=NI(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(t,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new ge,this.statusChanges=new ge}_calculateStatus(){return this._allControlsDisabled()?Fh:this.errors?km:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Xl)?Xl:this._anyControlsHaveStatus(km)?km:zh}_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)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Em(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}}
|
|
1565
1565
|
/**
|
|
1566
1566
|
* @license
|
|
1567
1567
|
* Copyright Google LLC All Rights Reserved.
|
|
1568
1568
|
*
|
|
1569
1569
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1570
1570
|
* found in the LICENSE file at https://angular.io/license
|
|
1571
|
-
*/class
|
|
1571
|
+
*/class j0 extends JI{constructor(t,e,i){super(O0(e),P0(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){(function KI(n,t,e){n._forEachChild((i,o)=>{if(void 0===e[o])throw new B(1002,"")})})(this,0,t),Object.keys(t).forEach(i=>{(function $I(n,t,e){const i=n.controls;if(!(t?Object.keys(i):i).length)throw new B(1e3,"");if(!i[e])throw new B(1001,"")})(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(i=>{const o=this.controls[i];o&&o.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,o)=>{i.reset(t[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,o)=>((i.enabled||this.disabled)&&(e[o]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((o,r)=>{i=e(i,o,r)}),i}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}function Bh(n,t){R0(n,t),t.valueAccessor.writeValue(n.value),n.disabled&&t.valueAccessor.setDisabledState?.(!0),function b4(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&qI(n,t)})}(n,t),function y4(n,t){const e=(i,o)=>{t.valueAccessor.writeValue(i),o&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function v4(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&qI(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function _4(n,t){if(t.valueAccessor.setDisabledState){const e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function Nm(n,t,e=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),Om(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Am(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function R0(n,t){const e=FI(n);null!==t.validator?n.setValidators(zI(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const i=BI(n);null!==t.asyncValidator?n.setAsyncValidators(zI(i,t.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const o=()=>n.updateValueAndValidity();Am(t._rawValidators,o),Am(t._rawAsyncValidators,o)}function Om(n,t){let e=!1;if(null!==n){if(null!==t.validator){const o=FI(n);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==t.validator);r.length!==o.length&&(e=!0,n.setValidators(r))}}if(null!==t.asyncValidator){const o=BI(n);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==t.asyncValidator);r.length!==o.length&&(e=!0,n.setAsyncValidators(r))}}}const i=()=>{};return Am(t._rawValidators,i),Am(t._rawAsyncValidators,i),e}function qI(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function XI(n,t){R0(n,t)}function z0(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function tT(n,t){n._syncPendingControls(),t.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function F0(n,t){if(!t)return null;let e,i,o;return Array.isArray(t),t.forEach(r=>{r.constructor===xm?e=r:function w4(n){return Object.getPrototypeOf(n.constructor)===Xa}(r)?i=r:o=r}),o||i||e||null}
|
|
1572
1572
|
/**
|
|
1573
1573
|
* @license
|
|
1574
1574
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1576,7 +1576,7 @@ const Rh="VALID",Em="INVALID",eu="PENDING",zh="DISABLED";function A0(n){return(L
|
|
|
1576
1576
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1577
1577
|
* found in the LICENSE file at https://angular.io/license
|
|
1578
1578
|
*/
|
|
1579
|
-
const x4={provide:qn,useExisting:$e(()=>
|
|
1579
|
+
const x4={provide:qn,useExisting:$e(()=>Pm)},Vh=(()=>Promise.resolve())();let Pm=(()=>{class n extends qn{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new ge,this.form=new j0({},T0(e),k0(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Vh.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Bh(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Vh.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Vh.then(()=>{const i=this._findContainer(e.path),o=new j0({});XI(o,e),i.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Vh.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Vh.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,tT(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(I(_n,10),I(Gs,10))},n.\u0275dir=H({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&Dt("submit",function(r){return i.onSubmit(r)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[be([x4]),te]}),n})();
|
|
1580
1580
|
/**
|
|
1581
1581
|
* @license
|
|
1582
1582
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1590,14 +1590,14 @@ const x4={provide:qn,useExisting:$e(()=>jm)},Bh=(()=>Promise.resolve())();let jm
|
|
|
1590
1590
|
*
|
|
1591
1591
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1592
1592
|
* found in the LICENSE file at https://angular.io/license
|
|
1593
|
-
*/function iT(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const
|
|
1593
|
+
*/function iT(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const B0=class extends JI{constructor(t=null,e,i){super(O0(e),P0(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Em(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=iT(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){nT(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){nT(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){iT(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}},T4={provide:$r,useExisting:$e(()=>V0)},sT=(()=>Promise.resolve())();
|
|
1594
1594
|
/**
|
|
1595
1595
|
* @license
|
|
1596
1596
|
* Copyright Google LLC All Rights Reserved.
|
|
1597
1597
|
*
|
|
1598
1598
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1599
1599
|
* found in the LICENSE file at https://angular.io/license
|
|
1600
|
-
*/let
|
|
1600
|
+
*/let V0=(()=>{class n extends $r{constructor(e,i,o,r,s){super(),this._changeDetectorRef=s,this.control=new B0,this._registered=!1,this.update=new ge,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=F0(0,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),z0(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Bh(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){sT.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,o=0!==i&&function r0(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}
|
|
1601
1601
|
/**
|
|
1602
1602
|
* @license
|
|
1603
1603
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1612,7 +1612,7 @@ const x4={provide:qn,useExisting:$e(()=>jm)},Bh=(()=>Promise.resolve())();let jm
|
|
|
1612
1612
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1613
1613
|
* found in the LICENSE file at https://angular.io/license
|
|
1614
1614
|
*/
|
|
1615
|
-
function
|
|
1615
|
+
function Lm(n,t){return[...t.path,n]}(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(I(qn,9),I(_n,10),I(Gs,10),I(zo,10),I(Jl,8))},n.\u0275dir=H({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[be([T4]),te,rn]}),n})(),cT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({}),n})();
|
|
1616
1616
|
/**
|
|
1617
1617
|
* @license
|
|
1618
1618
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1627,14 +1627,14 @@ function Nm(n,t){return[...t.path,n]}(e,this._parent):[e]}}return n.\u0275fac=fu
|
|
|
1627
1627
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1628
1628
|
* found in the LICENSE file at https://angular.io/license
|
|
1629
1629
|
*/
|
|
1630
|
-
const
|
|
1630
|
+
const H0=new G("NgModelWithFormControlWarning"),O4={provide:$r,useExisting:$e(()=>U0)};let U0=(()=>{class n extends $r{constructor(e,i,o,r){super(),this._ngModelWarningConfig=r,this.update=new ge,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=F0(0,o)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const i=e.form.previousValue;i&&Nm(i,this,!1),Bh(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})}z0(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Nm(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(I(_n,10),I(Gs,10),I(zo,10),I(H0,8))},n.\u0275dir=H({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[be([O4]),te,rn]}),n})();
|
|
1631
1631
|
/**
|
|
1632
1632
|
* @license
|
|
1633
1633
|
* Copyright Google LLC All Rights Reserved.
|
|
1634
1634
|
*
|
|
1635
1635
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1636
1636
|
* found in the LICENSE file at https://angular.io/license
|
|
1637
|
-
*/const P4={provide:qn,useExisting:$e(()=>
|
|
1637
|
+
*/const P4={provide:qn,useExisting:$e(()=>jm)};let jm=(()=>{class n extends qn{constructor(e,i){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ge,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Om(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Bh(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Nm(e.control||null,e,!1),function D4(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,tT(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,o=this.form.get(e.path);i!==o&&(Nm(i||null,e),(n=>n instanceof B0)(o)&&(Bh(o,e),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);XI(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function M4(n,t){return Om(n,t)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){R0(this.form,this),this._oldForm&&Om(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(I(_n,10),I(Gs,10))},n.\u0275dir=H({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&Dt("submit",function(r){return i.onSubmit(r)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[be([P4]),te,rn]}),n})(),DT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[cT]}),n})(),xT=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[DT]}),n})(),ST=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:H0,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[DT]}),n})();
|
|
1638
1638
|
/**
|
|
1639
1639
|
* @license
|
|
1640
1640
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1663,7 +1663,7 @@ const V0=new G("NgModelWithFormControlWarning"),O4={provide:$r,useExisting:$e(()
|
|
|
1663
1663
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1664
1664
|
* found in the LICENSE file at https://angular.io/license
|
|
1665
1665
|
*/
|
|
1666
|
-
class IT extends ie{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 ao;return this._value}next(t){super.next(this._value=t)}}function tc(...n){let t=n[n.length-1];return mr(t)?(n.pop(),
|
|
1666
|
+
class IT extends ie{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 ao;return this._value}next(t){super.next(this._value=t)}}function tc(...n){let t=n[n.length-1];return mr(t)?(n.pop(),fu(n,t)):gu(n)}class t2{constructor(t){this.selector=t}call(t,e){return e.subscribe(new n2(t,this.selector,this.caught))}}class n2 extends rs{constructor(t,e,i){super(t),this.selector=e,this.caught=i}error(t){if(!this.isStopped){let e;try{e=this.selector(t,this.caught)}catch(r){return void super.error(r)}this._unsubscribeAndRecycle();const i=new ca(this);this.add(i);const o=uo(e,i);o!==i&&this.add(o)}}}function Ws(){}function eu(n,t,e){return function(o){return o.lift(new o2(n,t,e))}}class o2{constructor(t,e,i){this.nextOrObserver=t,this.error=e,this.complete=i}call(t,e){return e.subscribe(new r2(t,this.nextOrObserver,this.error,this.complete))}}class r2 extends gt{constructor(t,e,i,o){super(t),this._tapNext=Ws,this._tapError=Ws,this._tapComplete=Ws,this._tapError=i||Ws,this._tapComplete=o||Ws,ro(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||Ws,this._tapError=e.error||Ws,this._tapComplete=e.complete||Ws)}_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(e){return void this.destination.error(e)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}function Qs(n,t){return function(i){return i.lift(new a2(n,t))}}class a2{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new c2(t,this.predicate,this.thisArg))}}class c2 extends gt{constructor(t,e,i){super(t),this.predicate=e,this.thisArg=i,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(t)}}
|
|
1667
1667
|
/**
|
|
1668
1668
|
* @license Angular v14.3.0
|
|
1669
1669
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
@@ -1690,7 +1690,7 @@ class IT extends ie{constructor(t){super(),this._value=t}get value(){return this
|
|
|
1690
1690
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1691
1691
|
* found in the LICENSE file at https://angular.io/license
|
|
1692
1692
|
*/
|
|
1693
|
-
class l2{encodeKey(t){return ET(t)}encodeValue(t){return ET(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const d2=/%(\d[a-f0-9])/gi,h2={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ET(n){return encodeURIComponent(n).replace(d2,(t,e)=>h2[e]??t)}function
|
|
1693
|
+
class l2{encodeKey(t){return ET(t)}encodeValue(t){return ET(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const d2=/%(\d[a-f0-9])/gi,h2={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ET(n){return encodeURIComponent(n).replace(d2,(t,e)=>h2[e]??t)}function Rm(n){return`${n}`}class Zs{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new l2,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function u2(n,t){const e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(o=>{const r=o.indexOf("="),[s,c]=-1==r?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,r)),t.decodeValue(o.slice(r+1))],u=e.get(s)||[];u.push(c),e.set(s,u)}),e}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const i=t.fromObject[e],o=Array.isArray(i)?i.map(Rm):[Rm(i)];this.map.set(e,o)})):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"})}appendAll(t){const e=[];return Object.keys(t).forEach(i=>{const o=t[i];Array.isArray(o)?o.forEach(r=>{e.push({param:i,value:r,op:"a"})}):e.push({param:i,value:o,op:"a"})}),this.clone(e)}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(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new Zs({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(Rm(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let i=this.map.get(t.param)||[];const o=i.indexOf(Rm(t.value));-1!==o&&i.splice(o,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}
|
|
1694
1694
|
/**
|
|
1695
1695
|
* @license
|
|
1696
1696
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1704,21 +1704,21 @@ class l2{encodeKey(t){return ET(t)}encodeValue(t){return ET(t)}decodeKey(t){retu
|
|
|
1704
1704
|
*
|
|
1705
1705
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1706
1706
|
* found in the LICENSE file at https://angular.io/license
|
|
1707
|
-
*/function LT(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function NT(n){return typeof Blob<"u"&&n instanceof Blob}function AT(n){return typeof FormData<"u"&&n instanceof FormData}class
|
|
1707
|
+
*/function LT(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function NT(n){return typeof Blob<"u"&&n instanceof Blob}function AT(n){return typeof FormData<"u"&&n instanceof FormData}class Hh{constructor(t,e,i,o){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function f2(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new Kr),this.context||(this.context=new p2),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const c=e.indexOf("?");this.urlWithParams=e+(-1===c?"?":c<e.length-1?"&":"")+s}}else this.params=new Zs,this.urlWithParams=e}serializeBody(){return null===this.body?null:LT(this.body)||NT(this.body)||AT(this.body)||function g2(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Zs?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||AT(this.body)?null:NT(this.body)?this.body.type||null:LT(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Zs?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){const e=t.method||this.method,i=t.url||this.url,o=t.responseType||this.responseType,r=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,c=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let u=t.headers||this.headers,h=t.params||this.params;const p=t.context??this.context;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce((g,_)=>g.set(_,t.setHeaders[_]),u)),t.setParams&&(h=Object.keys(t.setParams).reduce((g,_)=>g.set(_,t.setParams[_]),h)),new Hh(e,i,r,{params:h,headers:u,context:p,reportProgress:c,responseType:o,withCredentials:s})}}
|
|
1708
1708
|
/**
|
|
1709
1709
|
* @license
|
|
1710
1710
|
* Copyright Google LLC All Rights Reserved.
|
|
1711
1711
|
*
|
|
1712
1712
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1713
1713
|
* found in the LICENSE file at https://angular.io/license
|
|
1714
|
-
*/var qt=(()=>((qt=qt||{})[qt.Sent=0]="Sent",qt[qt.UploadProgress=1]="UploadProgress",qt[qt.ResponseHeader=2]="ResponseHeader",qt[qt.DownloadProgress=3]="DownloadProgress",qt[qt.Response=4]="Response",qt[qt.User=5]="User",qt))();class
|
|
1714
|
+
*/var qt=(()=>((qt=qt||{})[qt.Sent=0]="Sent",qt[qt.UploadProgress=1]="UploadProgress",qt[qt.ResponseHeader=2]="ResponseHeader",qt[qt.DownloadProgress=3]="DownloadProgress",qt[qt.Response=4]="Response",qt[qt.User=5]="User",qt))();class $0{constructor(t,e=200,i="OK"){this.headers=t.headers||new Kr,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class K0 extends $0{constructor(t={}){super(t),this.type=qt.ResponseHeader}clone(t={}){return new K0({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 zm extends $0{constructor(t={}){super(t),this.type=qt.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new zm({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 OT extends $0{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}}
|
|
1715
1715
|
/**
|
|
1716
1716
|
* @license
|
|
1717
1717
|
* Copyright Google LLC All Rights Reserved.
|
|
1718
1718
|
*
|
|
1719
1719
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1720
1720
|
* found in the LICENSE file at https://angular.io/license
|
|
1721
|
-
*/function
|
|
1721
|
+
*/function J0(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let q0=(()=>{class n{constructor(e){this.handler=e}request(e,i,o={}){let r;if(e instanceof Hh)r=e;else{let u,h;u=o.headers instanceof Kr?o.headers:new Kr(o.headers),o.params&&(h=o.params instanceof Zs?o.params:new Zs({fromObject:o.params})),r=new Hh(e,i,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:h,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=tc(r).pipe(function s2(n,t){return zn(n,t,1)}(u=>this.handler.handle(u)));if(e instanceof Hh||"events"===o.observe)return s;const c=s.pipe(Qs(u=>u instanceof zm));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return c.pipe(vn(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(vn(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(vn(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return c.pipe(vn(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Zs).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,J0(o,i))}post(e,i,o={}){return this.request("POST",e,J0(o,i))}put(e,i,o={}){return this.request("PUT",e,J0(o,i))}}return n.\u0275fac=function(e){return new(e||n)(P(TT))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();
|
|
1722
1722
|
/**
|
|
1723
1723
|
* @license
|
|
1724
1724
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1740,14 +1740,14 @@ class l2{encodeKey(t){return ET(t)}encodeValue(t){return ET(t)}decodeKey(t){retu
|
|
|
1740
1740
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1741
1741
|
* found in the LICENSE file at https://angular.io/license
|
|
1742
1742
|
*/
|
|
1743
|
-
const _2=/^\)\]\}',?\n/;let RT=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Be(i=>{const o=this.xhrFactory.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((y,M)=>o.setRequestHeader(y,M.join(","))),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const y=e.detectContentTypeHeader();null!==y&&o.setRequestHeader("Content-Type",y)}if(e.responseType){const y=e.responseType.toLowerCase();o.responseType="json"!==y?y:"text"}const r=e.serializeBody();let s=null;const c=()=>{if(null!==s)return s;const y=o.statusText||"OK",M=new Kr(o.getAllResponseHeaders()),x=function b2(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(o)||e.url;return s=new
|
|
1743
|
+
const _2=/^\)\]\}',?\n/;let RT=(()=>{class n{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Be(i=>{const o=this.xhrFactory.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((y,M)=>o.setRequestHeader(y,M.join(","))),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const y=e.detectContentTypeHeader();null!==y&&o.setRequestHeader("Content-Type",y)}if(e.responseType){const y=e.responseType.toLowerCase();o.responseType="json"!==y?y:"text"}const r=e.serializeBody();let s=null;const c=()=>{if(null!==s)return s;const y=o.statusText||"OK",M=new Kr(o.getAllResponseHeaders()),x=function b2(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(o)||e.url;return s=new K0({headers:M,status:o.status,statusText:y,url:x}),s},u=()=>{let{headers:y,status:M,statusText:x,url:E}=c(),O=null;204!==M&&(O=typeof o.response>"u"?o.responseText:o.response),0===M&&(M=O?200:0);let V=M>=200&&M<300;if("json"===e.responseType&&"string"==typeof O){const L=O;O=O.replace(_2,"");try{O=""!==O?JSON.parse(O):null}catch(Y){O=L,V&&(V=!1,O={error:Y,text:O})}}V?(i.next(new zm({body:O,headers:y,status:M,statusText:x,url:E||void 0})),i.complete()):i.error(new OT({error:O,headers:y,status:M,statusText:x,url:E||void 0}))},h=y=>{const{url:M}=c(),x=new OT({error:y,status:o.status||0,statusText:o.statusText||"Unknown Error",url:M||void 0});i.error(x)};let p=!1;const g=y=>{p||(i.next(c()),p=!0);let M={type:qt.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(M.total=y.total),"text"===e.responseType&&!!o.responseText&&(M.partialText=o.responseText),i.next(M)},_=y=>{let M={type:qt.UploadProgress,loaded:y.loaded};y.lengthComputable&&(M.total=y.total),i.next(M)};return o.addEventListener("load",u),o.addEventListener("error",h),o.addEventListener("timeout",h),o.addEventListener("abort",h),e.reportProgress&&(o.addEventListener("progress",g),null!==r&&o.upload&&o.upload.addEventListener("progress",_)),o.send(r),i.next({type:qt.Sent}),()=>{o.removeEventListener("error",h),o.removeEventListener("abort",h),o.removeEventListener("load",u),o.removeEventListener("timeout",h),e.reportProgress&&(o.removeEventListener("progress",g),null!==r&&o.upload&&o.upload.removeEventListener("progress",_)),o.readyState!==o.DONE&&o.abort()}})}}return n.\u0275fac=function(e){return new(e||n)(P(KS))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();
|
|
1744
1744
|
/**
|
|
1745
1745
|
* @license
|
|
1746
1746
|
* Copyright Google LLC All Rights Reserved.
|
|
1747
1747
|
*
|
|
1748
1748
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1749
1749
|
* found in the LICENSE file at https://angular.io/license
|
|
1750
|
-
*/const
|
|
1750
|
+
*/const X0=new G("XSRF_COOKIE_NAME"),eM=new G("XSRF_HEADER_NAME");class zT{}let v2=(()=>{class n{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=FS(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return n.\u0275fac=function(e){return new(e||n)(P(st),P(tm),P(X0))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),tM=(()=>{class n{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const o=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||o.startsWith("http://")||o.startsWith("https://"))return i.handle(e);const r=this.tokenService.getToken();return null!==r&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,r)})),i.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(P(zT),P(eM))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),y2=(()=>{class n{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(jT,[]);this.chain=i.reduceRight((o,r)=>new PT(o,r),this.backend)}return this.chain.handle(e)}}return n.\u0275fac=function(e){return new(e||n)(P(kT),P(Sn))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),M2=(()=>{class n{static disable(){return{ngModule:n,providers:[{provide:tM,useClass:m2}]}}static withOptions(e={}){return{ngModule:n,providers:[e.cookieName?{provide:X0,useValue:e.cookieName}:[],e.headerName?{provide:eM,useValue:e.headerName}:[]]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({providers:[tM,{provide:jT,useExisting:tM,multi:!0},{provide:zT,useClass:v2},{provide:X0,useValue:"XSRF-TOKEN"},{provide:eM,useValue:"X-XSRF-TOKEN"}]}),n})(),C2=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({providers:[q0,{provide:TT,useClass:y2},RT,{provide:kT,useExisting:RT}],imports:[M2.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),n})(),w2=(()=>{class n{constructor(e){this.http=e,this.$loadError=new IT(!1),this.$profile=this.http.get("/api/profile").pipe(function e2(n){return function(e){const i=new t2(n),o=e.lift(i);return i.caught=o}}(()=>tc({user:"",email:"",local:"",timezone:""}))),this.loadMetadata()}loadMetadata(){this.$loadError.next(!1),this.$metadata=this.http.get("https://hcatdocs.blob.core.windows.net/json/docs-apps.json").pipe(eu({next:e=>{const i=[];for(var o=0;o<e.applicationGroups.length;o++){const s=e.applicationGroups[o],c={name:s.name,subgroups:[]};i.push(c);for(var r=0;r<s.applications.length;r++){const u=s.applications[r],h=u.subGroup?u.subGroup:"";let p=c.subgroups.find(g=>g.name===h);p||(p={name:u.subGroup??"",applications:[]},c.subgroups.push(p)),p.applications.push(u)}}this.menu=i},error:()=>{this.$loadError.next(!0)}}))}}return n.\u0275fac=function(e){return new(e||n)(P(q0))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();
|
|
1751
1751
|
/**
|
|
1752
1752
|
* @license
|
|
1753
1753
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1768,7 +1768,7 @@ class FT{}
|
|
|
1768
1768
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1769
1769
|
* found in the LICENSE file at https://angular.io/license
|
|
1770
1770
|
*/
|
|
1771
|
-
const Jr="*";function Li(n,t){return{type:7,name:n,definitions:t,options:{}}}function Pe(n,t=null){return{type:4,styles:t,timings:n}}function BT(n,t=null){return{type:2,steps:n,options:t}}function me(n){return{type:6,styles:n,offset:null}}function
|
|
1771
|
+
const Jr="*";function Li(n,t){return{type:7,name:n,definitions:t,options:{}}}function Pe(n,t=null){return{type:4,styles:t,timings:n}}function BT(n,t=null){return{type:2,steps:n,options:t}}function me(n){return{type:6,styles:n,offset:null}}function Pt(n,t,e){return{type:0,name:n,styles:t,options:e}}function Fm(n){return{type:5,steps:n}}function Qe(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}
|
|
1772
1772
|
/**
|
|
1773
1773
|
* @license
|
|
1774
1774
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1783,7 +1783,7 @@ function VT(n){Promise.resolve().then(n)}
|
|
|
1783
1783
|
*
|
|
1784
1784
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1785
1785
|
* found in the LICENSE file at https://angular.io/license
|
|
1786
|
-
*/class
|
|
1786
|
+
*/class Uh{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){VT(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}
|
|
1787
1787
|
/**
|
|
1788
1788
|
* @license
|
|
1789
1789
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1819,7 +1819,7 @@ function VT(n){Promise.resolve().then(n)}
|
|
|
1819
1819
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1820
1820
|
* found in the LICENSE file at https://angular.io/license
|
|
1821
1821
|
*/
|
|
1822
|
-
class I2 extends je{constructor(t,e){super()}schedule(t,e=0){return this}}class
|
|
1822
|
+
class I2 extends je{constructor(t,e){super()}schedule(t,e=0){return this}}class Bm extends I2{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 i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,i=0){return setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let o,i=!1;try{this.work(t)}catch(r){i=!0,o=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),o}_unsubscribe(){const t=this.id,e=this.scheduler,i=e.actions,o=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==o&&i.splice(o,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let UT=(()=>{class n{constructor(e,i=n.now){this.SchedulerAction=e,this.now=i}schedule(e,i=0,o){return new this.SchedulerAction(this,e).schedule(o,i)}}return n.now=()=>Date.now(),n})();class Fo extends UT{constructor(t,e=UT.now){super(t,()=>Fo.delegate&&Fo.delegate!==this?Fo.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,i){return Fo.delegate&&Fo.delegate!==this?Fo.delegate.schedule(t,e,i):super.schedule(t,e,i)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let i;this.active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}const iM=new class k2 extends Fo{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,o=-1,r=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++o<r&&(t=e.shift()));if(this.active=!1,i){for(;++o<r&&(t=e.shift());)t.unsubscribe();throw i}}}(class T2 extends Bm{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}});let E2=1;const L2=Promise.resolve(),Vm={};function YT(n){return n in Vm&&(delete Vm[n],!0)}const GT={setImmediate(n){const t=E2++;return Vm[t]=!0,L2.then(()=>YT(t)&&n()),t},clearImmediate(n){YT(n)}},j2=(new class A2 extends Fo{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,o=-1,r=e.length;t=t||e.shift();do{if(i=t.execute(t.state,t.delay))break}while(++o<r&&(t=e.shift()));if(this.active=!1,i){for(;++o<r&&(t=e.shift());)t.unsubscribe();throw i}}}(class N2 extends Bm{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,i=0){return null!==i&&i>0?super.requestAsyncId(t,e,i):(t.actions.push(this),t.scheduled||(t.scheduled=GT.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(t,e,i);0===t.actions.length&&(GT.clearImmediate(e),t.scheduled=void 0)}}),new class P2 extends Fo{}(class O2 extends Bm{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(t,e,i):t.flush(this)}})),R2=new Be(n=>n.complete());function QT(n){return n?function z2(n){return new Be(t=>n.schedule(()=>t.complete()))}(n):R2}function B2({error:n,subscriber:t}){t.error(n)}class Xi{constructor(t,e,i){this.kind=t,this.value=e,this.error=i,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,i){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(t,e,i){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,i)}toObservable(){switch(this.kind){case"N":return tc(this.value);case"E":return function F2(n,t){return new Be(t?e=>t.schedule(B2,0,{error:n,subscriber:e}):e=>e.error(n))}(this.error);case"C":return QT()}throw new Error("unexpected notification kind value")}static createNext(t){return typeof t<"u"?new Xi("N",t):Xi.undefinedValueNotification}static createError(t){return new Xi("E",void 0,t)}static createComplete(){return Xi.completeNotification}}Xi.completeNotification=new Xi("C"),Xi.undefinedValueNotification=new Xi("N",void 0);class Hm extends gt{constructor(t,e,i=0){super(t),this.scheduler=e,this.delay=i}static dispatch(t){const{notification:e,destination:i}=t;e.observe(i),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(Hm.dispatch,this.delay,new H2(t,this.destination)))}_next(t){this.scheduleMessage(Xi.createNext(t))}_error(t){this.scheduleMessage(Xi.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(Xi.createComplete()),this.unsubscribe()}}class H2{constructor(t,e){this.notification=t,this.destination=e}}class ZT extends ie{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new U2(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,r=i.length;let s;if(this.closed)throw new ao;if(this.isStopped||this.hasError?s=je.EMPTY:(this.observers.push(t),s=new cp(this,t)),o&&t.add(t=new Hm(t,o)),e)for(let c=0;c<r&&!t.closed;c++)t.next(i[c]);else for(let c=0;c<r&&!t.closed;c++)t.next(i[c].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),s}_getNow(){return(this.scheduler||j2).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,i=this._windowTime,o=this._events,r=o.length;let s=0;for(;s<r&&!(t-o[s].time<i);)s++;return r>e&&(s=Math.max(s,r-e)),s>0&&o.splice(0,s),o}}class U2{constructor(t,e){this.time=t,this.value=e}}function Um(n,t,e,i){return ro(e)&&(i=e,e=void 0),i?Um(n,t,e).pipe(vn(o=>en(o)?i(...o):i(o))):new Be(o=>{$T(n,t,function r(s){o.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},o,e)})}function $T(n,t,e,i,o){let r;if(function W2(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const s=n;n.addEventListener(t,e,o),r=()=>s.removeEventListener(t,e,o)}else if(function G2(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const s=n;n.on(t,e),r=()=>s.off(t,e)}else if(function Y2(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const s=n;n.addListener(t,e),r=()=>s.removeListener(t,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let s=0,c=n.length;s<c;s++)$T(n[s],t,e,i,o)}i.add(r)}function ft(n){return t=>t.lift(new Q2(n))}class Q2{constructor(t){this.notifier=t}call(t,e){const i=new Z2(t),o=uo(this.notifier,new ca(i));return o&&!i.seenValue?(i.add(o),e.subscribe(i)):i}}class Z2 extends rs{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}const $2=(()=>{function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n})();function $s(n){return t=>0===n?QT():t.lift(new K2(n))}class K2{constructor(t){if(this.total=t,this.total<0)throw new $2}call(t,e){return e.subscribe(new J2(t,this.total))}}class J2 extends gt{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,i=++this.count;i<=e&&(this.destination.next(t),i===e&&(this.destination.complete(),this.unsubscribe()))}}const Yh=new Fo(Bm);class q2{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new X2(t,this.dueTime,this.scheduler))}}class X2 extends gt{constructor(t,e,i){super(t),this.dueTime=e,this.scheduler=i,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(eR,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 eR(n){n.debouncedNext()}function oM(...n){return function tR(){return ss(1)}()(tc(...n))}function Ym(...n){const t=n[n.length-1];return mr(t)?(n.pop(),e=>oM(n,e,t)):e=>oM(n,e)}class nR{constructor(t){this.total=t}call(t,e){return e.subscribe(new iR(t,this.total))}}class iR extends gt{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}
|
|
1823
1823
|
/**
|
|
1824
1824
|
* @license
|
|
1825
1825
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1841,7 +1841,7 @@ class I2 extends je{constructor(t,e){super()}schedule(t,e=0){return this}}class
|
|
|
1841
1841
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1842
1842
|
* found in the LICENSE file at https://angular.io/license
|
|
1843
1843
|
*/
|
|
1844
|
-
function
|
|
1844
|
+
function Gm(n){return Array.isArray(n)?n:[n]}
|
|
1845
1845
|
/**
|
|
1846
1846
|
* @license
|
|
1847
1847
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1862,7 +1862,7 @@ function Wm(n){return Array.isArray(n)?n:[n]}
|
|
|
1862
1862
|
*
|
|
1863
1863
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1864
1864
|
* found in the LICENSE file at https://angular.io/license
|
|
1865
|
-
*/class aR{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new cR(t,this.durationSelector))}}class cR extends rs{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:o}=this;e=o(t)}catch(o){return this.destination.error(o)}const i=uo(e,new ca(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=void 0,i.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function
|
|
1865
|
+
*/class aR{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new cR(t,this.durationSelector))}}class cR extends rs{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:o}=this;e=o(t)}catch(o){return this.destination.error(o)}const i=uo(e,new ca(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=void 0,i.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function rM(n){return!en(n)&&n-parseFloat(n)+1>=0}function uR(n){const{index:t,period:e,subscriber:i}=n;if(i.next(t),!i.closed){if(-1===e)return i.complete();n.index=t+1,this.schedule(n,e)}}function qT(n,t=Yh){
|
|
1866
1866
|
/**
|
|
1867
1867
|
* @license
|
|
1868
1868
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1877,28 +1877,28 @@ function Wm(n){return Array.isArray(n)?n:[n]}
|
|
|
1877
1877
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1878
1878
|
* found in the LICENSE file at https://angular.io/license
|
|
1879
1879
|
*/
|
|
1880
|
-
return function sR(n){return function(e){return e.lift(new aR(n))}}(()=>function lR(n=0,t,e){let i=-1;return
|
|
1880
|
+
return function sR(n){return function(e){return e.lift(new aR(n))}}(()=>function lR(n=0,t,e){let i=-1;return rM(t)?i=Number(t)<1?1:Number(t):mr(t)&&(e=t),mr(e)||(e=Yh),new Be(o=>{const r=rM(n)?n:+n-e.now();return e.schedule(uR,r,{index:0,period:i,subscriber:o})})}(n,t))}
|
|
1881
1881
|
/**
|
|
1882
1882
|
* @license
|
|
1883
1883
|
* Copyright Google LLC All Rights Reserved.
|
|
1884
1884
|
*
|
|
1885
1885
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1886
1886
|
* found in the LICENSE file at https://angular.io/license
|
|
1887
|
-
*/let
|
|
1887
|
+
*/let sM;try{sM=typeof Intl<"u"&&Intl.v8BreakIterator}catch{sM=!1}let Gh,nc,aM,qr=(()=>{class n{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function KP(n){return n===ZS}(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&&!sM)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(e){return new(e||n)(P(tm))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();
|
|
1888
1888
|
/**
|
|
1889
1889
|
* @license
|
|
1890
1890
|
* Copyright Google LLC All Rights Reserved.
|
|
1891
1891
|
*
|
|
1892
1892
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1893
1893
|
* found in the LICENSE file at https://angular.io/license
|
|
1894
|
-
*/function
|
|
1894
|
+
*/function Wh(n){return function dR(){if(null==Gh&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Gh=!0}))}finally{Gh=Gh||!1}return Gh}()?n:!!n.capture}
|
|
1895
1895
|
/**
|
|
1896
1896
|
* @license
|
|
1897
1897
|
* Copyright Google LLC All Rights Reserved.
|
|
1898
1898
|
*
|
|
1899
1899
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1900
1900
|
* found in the LICENSE file at https://angular.io/license
|
|
1901
|
-
*/function hR(){if(null==nc){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return nc=!1,nc;if("scrollBehavior"in document.documentElement.style)nc=!0;else{const n=Element.prototype.scrollTo;nc=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return nc}function e1(n){if(function pR(){if(null==
|
|
1901
|
+
*/function hR(){if(null==nc){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return nc=!1,nc;if("scrollBehavior"in document.documentElement.style)nc=!0;else{const n=Element.prototype.scrollTo;nc=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return nc}function e1(n){if(function pR(){if(null==aM){const n=typeof document<"u"?document.head:null;aM=!(!n||!n.createShadowRoot&&!n.attachShadow)}return aM}()){const t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function nu(n){return n.composedPath?n.composedPath()[0]:n.target}
|
|
1902
1902
|
/**
|
|
1903
1903
|
* @license
|
|
1904
1904
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1933,7 +1933,7 @@ return function sR(n){return function(e){return e.lift(new aR(n))}}(()=>function
|
|
|
1933
1933
|
*
|
|
1934
1934
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1935
1935
|
* found in the LICENSE file at https://angular.io/license
|
|
1936
|
-
*/}),mR=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let
|
|
1936
|
+
*/}),mR=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Qm=(()=>{class n{constructor(e){if(this.value="ltr",this.change=new ge,e){const o=e.documentElement?e.documentElement.dir:null;this.value=function _R(n){const t=n?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?mR.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((e.body?e.body.dir:null)||o||"ltr")}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(e){return new(e||n)(P(fR,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Qh=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({}),n})(),vR=(()=>{class n{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new ie,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Be(i=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe(qT(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):tc()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Qs(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&i.push(r)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=_i(i),r=e.getElementRef().nativeElement;do{if(o==r)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Um(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(e){return new(e||n)(P(We),P(qr),P(st,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Zm=(()=>{class n{constructor(e,i,o){this._platform=e,this._change=new ie,this._changeListener=r=>{this._change.next(r)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){const r=this._getWindow();r.addEventListener("resize",this._changeListener),r.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,left:-r.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(qT(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(e){return new(e||n)(P(qr),P(We),P(st,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),cM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({}),n})(),n1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[Qh,cM,Qh,cM]}),n})();
|
|
1937
1937
|
/**
|
|
1938
1938
|
* @license
|
|
1939
1939
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -1948,7 +1948,7 @@ return function sR(n){return function(e){return e.lift(new aR(n))}}(()=>function
|
|
|
1948
1948
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1949
1949
|
* found in the LICENSE file at https://angular.io/license
|
|
1950
1950
|
*/
|
|
1951
|
-
class
|
|
1951
|
+
class lM{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class MR extends lM{constructor(t,e,i,o){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=o}}class o1 extends lM{constructor(t,e,i,o){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=o}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class CR extends lM{constructor(t){super(),this.element=t instanceof De?t.nativeElement:t}}
|
|
1952
1952
|
/**
|
|
1953
1953
|
* @license
|
|
1954
1954
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2014,21 +2014,21 @@ const r1=hR();class SR{constructor(t,e){this._viewportRuler=t,this._previousHTML
|
|
|
2014
2014
|
*
|
|
2015
2015
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2016
2016
|
* found in the LICENSE file at https://angular.io/license
|
|
2017
|
-
*/function
|
|
2017
|
+
*/function uM(n,t){return t.some(e=>n.bottom<e.top||n.top>e.bottom||n.right<e.left||n.left>e.right)}function a1(n,t){return t.some(e=>n.top<e.top||n.bottom>e.bottom||n.left<e.left||n.right>e.right)}
|
|
2018
2018
|
/**
|
|
2019
2019
|
* @license
|
|
2020
2020
|
* Copyright Google LLC All Rights Reserved.
|
|
2021
2021
|
*
|
|
2022
2022
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2023
2023
|
* found in the LICENSE file at https://angular.io/license
|
|
2024
|
-
*/class TR{constructor(t,e,i,o){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=o,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:o}=this._viewportRuler.getViewportSize();
|
|
2024
|
+
*/class TR{constructor(t,e,i,o){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=o,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:o}=this._viewportRuler.getViewportSize();uM(e,[{width:i,height:o,bottom:o,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}
|
|
2025
2025
|
/**
|
|
2026
2026
|
* @license
|
|
2027
2027
|
* Copyright Google LLC All Rights Reserved.
|
|
2028
2028
|
*
|
|
2029
2029
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2030
2030
|
* found in the LICENSE file at https://angular.io/license
|
|
2031
|
-
*/let kR=(()=>{class n{constructor(e,i,o,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new s1,this.close=s=>new IR(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new SR(this._viewportRuler,this._document),this.reposition=s=>new TR(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=r}}return n.\u0275fac=function(e){return new(e||n)(P(vR),P(
|
|
2031
|
+
*/let kR=(()=>{class n{constructor(e,i,o,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new s1,this.close=s=>new IR(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new SR(this._viewportRuler,this._document),this.reposition=s=>new TR(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=r}}return n.\u0275fac=function(e){return new(e||n)(P(vR),P(Zm),P(We),P(st))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();
|
|
2032
2032
|
/**
|
|
2033
2033
|
* @license
|
|
2034
2034
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2057,7 +2057,7 @@ const r1=hR();class SR{constructor(t,e){this._viewportRuler=t,this._previousHTML
|
|
|
2057
2057
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2058
2058
|
* found in the LICENSE file at https://angular.io/license
|
|
2059
2059
|
*/
|
|
2060
|
-
let l1=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(P(st))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),NR=(()=>{class n extends l1{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{const r=this._attachedOverlays;for(let s=r.length-1;s>-1;s--)if(r[s]._keydownEvents.observers.length>0){const c=r[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(o)):c.next(o);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(P(st),P(We,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),AR=(()=>{class n extends l1{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=
|
|
2060
|
+
let l1=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(e){return new(e||n)(P(st))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),NR=(()=>{class n extends l1{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{const r=this._attachedOverlays;for(let s=r.length-1;s>-1;s--)if(r[s]._keydownEvents.observers.length>0){const c=r[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(o)):c.next(o);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(e){return new(e||n)(P(st),P(We,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),AR=(()=>{class n extends l1{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=nu(r)},this._clickListener=r=>{const s=nu(r),c="click"===r.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const u=this._attachedOverlays.slice();for(let h=u.length-1;h>-1;h--){const p=u[h];if(p._outsidePointerEvents.observers.length<1||!p.hasAttached())continue;if(p.overlayElement.contains(s)||p.overlayElement.contains(c))break;const g=p._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>g.next(r)):g.next(r)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return n.\u0275fac=function(e){return new(e||n)(P(st),P(qr),P(We,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),u1=(()=>{class n{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||t1()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r<o.length;r++)o[r].remove()}const i=this._document.createElement("div");i.classList.add(e),t1()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}}return n.\u0275fac=function(e){return new(e||n)(P(st),P(qr))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();
|
|
2061
2061
|
/**
|
|
2062
2062
|
* @license
|
|
2063
2063
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2072,14 +2072,14 @@ let l1=(()=>{class n{constructor(e){this._attachedOverlays=[],this._document=e}n
|
|
|
2072
2072
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2073
2073
|
* found in the LICENSE file at https://angular.io/license
|
|
2074
2074
|
*/
|
|
2075
|
-
class OR{constructor(t,e,i,o,r,s,c,u,h,p=!1){this._portalOutlet=t,this._host=e,this._pane=i,this._config=o,this._ngZone=r,this._keyboardDispatcher=s,this._document=c,this._location=u,this._outsideClickDispatcher=h,this._animationsDisabled=p,this._backdropElement=null,this._backdropClick=new ie,this._attachments=new ie,this._detachments=new ie,this._locationChanges=je.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._backdropTransitionendHandler=g=>{this._disposeBackdrop(g.target)},this._keydownEvents=new ie,this._outsidePointerEvents=new ie,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe($s(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Xt(this._config.width),t.height=Xt(this._config.height),t.minWidth=Xt(this._config.minWidth),t.minHeight=Xt(this._config.minHeight),t.maxWidth=Xt(this._config.maxWidth),t.maxHeight=Xt(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const o=
|
|
2075
|
+
class OR{constructor(t,e,i,o,r,s,c,u,h,p=!1){this._portalOutlet=t,this._host=e,this._pane=i,this._config=o,this._ngZone=r,this._keyboardDispatcher=s,this._document=c,this._location=u,this._outsideClickDispatcher=h,this._animationsDisabled=p,this._backdropElement=null,this._backdropClick=new ie,this._attachments=new ie,this._detachments=new ie,this._locationChanges=je.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._backdropTransitionendHandler=g=>{this._disposeBackdrop(g.target)},this._keydownEvents=new ie,this._outsidePointerEvents=new ie,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe($s(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Xt(this._config.width),t.height=Xt(this._config.height),t.minWidth=Xt(this._config.minWidth),t.minHeight=Xt(this._config.minHeight),t.maxWidth=Xt(this._config.maxWidth),t.maxHeight=Xt(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,e,i){const o=Gm(e||[]).filter(r=>!!r);o.length&&(i?t.classList.add(...o):t.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(ft(Bi(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}
|
|
2076
2076
|
/**
|
|
2077
2077
|
* @license
|
|
2078
2078
|
* Copyright Google LLC All Rights Reserved.
|
|
2079
2079
|
*
|
|
2080
2080
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2081
2081
|
* found in the LICENSE file at https://angular.io/license
|
|
2082
|
-
*/const d1="cdk-overlay-connected-position-bounding-box",PR=/([A-Za-z%]+)$/;class jR{constructor(t,e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new ie,this._resizeSubscription=je.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(d1),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,o=this._containerRect,r=[];let s;for(let c of this._preferredPositions){let u=this._getOriginPoint(t,o,c),h=this._getOverlayPoint(u,e,c),p=this._getOverlayFit(h,e,i,c);if(p.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,u);this._canFitWithFlexibleDimensions(p,h,i)?r.push({position:c,origin:u,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(u,c)}):(!s||s.overlayFit.visibleArea<p.visibleArea)&&(s={overlayFit:p,overlayPoint:h,originPoint:u,position:c,overlayRect:e})}if(r.length){let c=null,u=-1;for(const h of r){const p=h.boundingBoxRect.width*h.boundingBoxRect.height*(h.position.weight||1);p>u&&(u=p,c=h)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ic(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(d1),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let o,r;if("center"==i.originX)o=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,c=this._isRtl()?t.left:t.right;o="start"==i.originX?s:c}return e.left<0&&(o-=e.left),r="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(t,e,i){let o,r;return o="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+o,y:t.y+r}}_getOverlayFit(t,e,i,o){const r=p1(e);let{x:s,y:c}=t,u=this._getOffset(o,"x"),h=this._getOffset(o,"y");u&&(s+=u),h&&(c+=h);let _=0-c,y=c+r.height-i.height,M=this._subtractOverflows(r.width,0-s,s+r.width-i.width),x=this._subtractOverflows(r.height,_,y),E=M*x;return{visibleArea:E,isCompletelyWithinViewport:r.width*r.height===E,fitsInViewportVertically:x===r.height,fitsInViewportHorizontally:M==r.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const o=i.bottom-e.y,r=i.right-e.x,s=h1(this._overlayRef.getConfig().minHeight),c=h1(this._overlayRef.getConfig().minWidth),h=t.fitsInViewportHorizontally||null!=c&&c<=r;return(t.fitsInViewportVertically||null!=s&&s<=o)&&h}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const o=p1(e),r=this._viewportRect,s=Math.max(t.x+o.width-r.width,0),c=Math.max(t.y+o.height-r.height,0),u=Math.max(r.top-i.top-t.y,0),h=Math.max(r.left-i.left-t.x,0);let p=0,g=0;return p=o.width<=r.width?h||-s:t.x<this._viewportMargin?r.left-i.left-t.x:0,g=o.height<=r.height?u||-c:t.y<this._viewportMargin?r.top-i.top-t.y:0,this._previousPushAmount={x:p,y:g},{x:t.x+p,y:t.y+g}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const i=this._getScrollVisibility(),o=new LR(t,i);this._positionChanges.next(o)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,o=t.overlayY;i="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let r=0;r<e.length;r++)e[r].style.transformOrigin=`${i} ${o}`}_calculateBoundingBoxRect(t,e){const i=this._viewportRect,o=this._isRtl();let r,s,c,p,g,_;if("top"===e.overlayY)s=t.y,r=i.height-s+this._viewportMargin;else if("bottom"===e.overlayY)c=i.height-t.y+2*this._viewportMargin,r=i.height-c+this._viewportMargin;else{const y=Math.min(i.bottom-t.y+i.top,t.y),M=this._lastBoundingBoxSize.height;r=2*y,s=t.y-y,r>M&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-M/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)_=i.width-t.x+this._viewportMargin,p=t.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)g=t.x,p=i.right-t.x;else{const y=Math.min(i.right-t.x+i.left,t.x),M=this._lastBoundingBoxSize.width;p=2*y,g=t.x-y,p>M&&!this._isInitialRender&&!this._growAfterOpen&&(g=t.x-M/2)}return{top:s,left:g,bottom:c,right:_,width:p,height:r}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=Xt(i.height),o.top=Xt(i.top),o.bottom=Xt(i.bottom),o.width=Xt(i.width),o.left=Xt(i.left),o.right=Xt(i.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=Xt(r)),s&&(o.maxWidth=Xt(s))}this._lastBoundingBoxSize=i,ic(this._boundingBox.style,o)}_resetBoundingBoxStyles(){ic(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ic(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const p=this._viewportRuler.getViewportScrollPosition();ic(i,this._getExactOverlayY(e,t,p)),ic(i,this._getExactOverlayX(e,t,p))}else i.position="static";let c="",u=this._getOffset(e,"x"),h=this._getOffset(e,"y");u&&(c+=`translateX(${u}px) `),h&&(c+=`translateY(${h}px)`),i.transform=c.trim(),s.maxHeight&&(o?i.maxHeight=Xt(s.maxHeight):r&&(i.maxHeight="")),s.maxWidth&&(o?i.maxWidth=Xt(s.maxWidth):r&&(i.maxWidth="")),ic(this._pane.style,i)}_getExactOverlayY(t,e,i){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"bottom"===t.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=Xt(r.y),o}_getExactOverlayX(t,e,i){let s,o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=Xt(r.x),o}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:a1(t,i),isOriginOutsideView:lM(t,i),isOverlayClipped:a1(e,i),isOverlayOutsideView:lM(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,o)=>i-Math.max(o,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?t.offsetX??this._offsetX:t.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Wm(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof De)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function ic(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function h1(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(PR);return e&&"px"!==e?null:parseFloat(t)}return n||null}function p1(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const f1="cdk-global-overlay-wrapper";
|
|
2082
|
+
*/const d1="cdk-overlay-connected-position-bounding-box",PR=/([A-Za-z%]+)$/;class jR{constructor(t,e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new ie,this._resizeSubscription=je.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(d1),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,e=this._overlayRect,i=this._viewportRect,o=this._containerRect,r=[];let s;for(let c of this._preferredPositions){let u=this._getOriginPoint(t,o,c),h=this._getOverlayPoint(u,e,c),p=this._getOverlayFit(h,e,i,c);if(p.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(c,u);this._canFitWithFlexibleDimensions(p,h,i)?r.push({position:c,origin:u,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(u,c)}):(!s||s.overlayFit.visibleArea<p.visibleArea)&&(s={overlayFit:p,overlayPoint:h,originPoint:u,position:c,overlayRect:e})}if(r.length){let c=null,u=-1;for(const h of r){const p=h.boundingBoxRect.width*h.boundingBoxRect.height*(h.position.weight||1);p>u&&(u=p,c=h)}return this._isPushed=!1,void this._applyPosition(c.position,c.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ic(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(d1),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let o,r;if("center"==i.originX)o=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,c=this._isRtl()?t.left:t.right;o="start"==i.originX?s:c}return e.left<0&&(o-=e.left),r="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(t,e,i){let o,r;return o="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:t.x+o,y:t.y+r}}_getOverlayFit(t,e,i,o){const r=p1(e);let{x:s,y:c}=t,u=this._getOffset(o,"x"),h=this._getOffset(o,"y");u&&(s+=u),h&&(c+=h);let _=0-c,y=c+r.height-i.height,M=this._subtractOverflows(r.width,0-s,s+r.width-i.width),x=this._subtractOverflows(r.height,_,y),E=M*x;return{visibleArea:E,isCompletelyWithinViewport:r.width*r.height===E,fitsInViewportVertically:x===r.height,fitsInViewportHorizontally:M==r.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){const o=i.bottom-e.y,r=i.right-e.x,s=h1(this._overlayRef.getConfig().minHeight),c=h1(this._overlayRef.getConfig().minWidth),h=t.fitsInViewportHorizontally||null!=c&&c<=r;return(t.fitsInViewportVertically||null!=s&&s<=o)&&h}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const o=p1(e),r=this._viewportRect,s=Math.max(t.x+o.width-r.width,0),c=Math.max(t.y+o.height-r.height,0),u=Math.max(r.top-i.top-t.y,0),h=Math.max(r.left-i.left-t.x,0);let p=0,g=0;return p=o.width<=r.width?h||-s:t.x<this._viewportMargin?r.left-i.left-t.x:0,g=o.height<=r.height?u||-c:t.y<this._viewportMargin?r.top-i.top-t.y:0,this._previousPushAmount={x:p,y:g},{x:t.x+p,y:t.y+g}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const i=this._getScrollVisibility(),o=new LR(t,i);this._positionChanges.next(o)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,o=t.overlayY;i="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let r=0;r<e.length;r++)e[r].style.transformOrigin=`${i} ${o}`}_calculateBoundingBoxRect(t,e){const i=this._viewportRect,o=this._isRtl();let r,s,c,p,g,_;if("top"===e.overlayY)s=t.y,r=i.height-s+this._viewportMargin;else if("bottom"===e.overlayY)c=i.height-t.y+2*this._viewportMargin,r=i.height-c+this._viewportMargin;else{const y=Math.min(i.bottom-t.y+i.top,t.y),M=this._lastBoundingBoxSize.height;r=2*y,s=t.y-y,r>M&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-M/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)_=i.width-t.x+this._viewportMargin,p=t.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)g=t.x,p=i.right-t.x;else{const y=Math.min(i.right-t.x+i.left,t.x),M=this._lastBoundingBoxSize.width;p=2*y,g=t.x-y,p>M&&!this._isInitialRender&&!this._growAfterOpen&&(g=t.x-M/2)}return{top:s,left:g,bottom:c,right:_,width:p,height:r}}_setBoundingBoxStyles(t,e){const i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=Xt(i.height),o.top=Xt(i.top),o.bottom=Xt(i.bottom),o.width=Xt(i.width),o.left=Xt(i.left),o.right=Xt(i.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=Xt(r)),s&&(o.maxWidth=Xt(s))}this._lastBoundingBoxSize=i,ic(this._boundingBox.style,o)}_resetBoundingBoxStyles(){ic(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ic(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const i={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const p=this._viewportRuler.getViewportScrollPosition();ic(i,this._getExactOverlayY(e,t,p)),ic(i,this._getExactOverlayX(e,t,p))}else i.position="static";let c="",u=this._getOffset(e,"x"),h=this._getOffset(e,"y");u&&(c+=`translateX(${u}px) `),h&&(c+=`translateY(${h}px)`),i.transform=c.trim(),s.maxHeight&&(o?i.maxHeight=Xt(s.maxHeight):r&&(i.maxHeight="")),s.maxWidth&&(o?i.maxWidth=Xt(s.maxWidth):r&&(i.maxWidth="")),ic(this._pane.style,i)}_getExactOverlayY(t,e,i){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"bottom"===t.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=Xt(r.y),o}_getExactOverlayX(t,e,i){let s,o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=Xt(r.x),o}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:a1(t,i),isOriginOutsideView:uM(t,i),isOverlayClipped:a1(e,i),isOverlayOutsideView:uM(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,o)=>i-Math.max(o,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?t.offsetX??this._offsetX:t.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Gm(t).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof De)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}}function ic(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function h1(n){if("number"!=typeof n&&null!=n){const[t,e]=n.split(PR);return e&&"px"!==e?null:parseFloat(t)}return n||null}function p1(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const f1="cdk-global-overlay-wrapper";
|
|
2083
2083
|
/**
|
|
2084
2084
|
* @license
|
|
2085
2085
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2093,21 +2093,21 @@ class OR{constructor(t,e,i,o,r,s,c,u,h,p=!1){this._portalOutlet=t,this._host=e,t
|
|
|
2093
2093
|
*
|
|
2094
2094
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2095
2095
|
* found in the LICENSE file at https://angular.io/license
|
|
2096
|
-
*/let zR=(()=>{class n{constructor(e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new RR}flexibleConnectedTo(e){return new jR(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(P(
|
|
2096
|
+
*/let zR=(()=>{class n{constructor(e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new RR}flexibleConnectedTo(e){return new jR(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(e){return new(e||n)(P(Zm),P(st),P(qr),P(u1))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),FR=0,$m=(()=>{class n{constructor(e,i,o,r,s,c,u,h,p,g,_,y){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=s,this._injector=c,this._ngZone=u,this._document=h,this._directionality=p,this._location=g,this._outsideClickDispatcher=_,this._animationsModuleType=y}create(e){const i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),s=new c1(e);return s.direction=s.direction||this._directionality.value,new OR(r,i,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+FR++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Ka)),new DR(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(e){return new(e||n)(P(kR),P(u1),P(at),P(zR),P(NR),P(Sn),P(We),P(st),P(Qm),P(kS),P(AR),P(Gy,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();
|
|
2097
2097
|
/**
|
|
2098
2098
|
* @license
|
|
2099
2099
|
* Copyright Google LLC All Rights Reserved.
|
|
2100
2100
|
*
|
|
2101
2101
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2102
2102
|
* found in the LICENSE file at https://angular.io/license
|
|
2103
|
-
*/const HR={provide:new G("cdk-connected-overlay-scroll-strategy"),deps:[
|
|
2103
|
+
*/const HR={provide:new G("cdk-connected-overlay-scroll-strategy"),deps:[$m],useFactory:function VR(n){return()=>n.scrollStrategies.reposition()}};
|
|
2104
2104
|
/**
|
|
2105
2105
|
* @license
|
|
2106
2106
|
* Copyright Google LLC All Rights Reserved.
|
|
2107
2107
|
*
|
|
2108
2108
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2109
2109
|
* found in the LICENSE file at https://angular.io/license
|
|
2110
|
-
*/let UR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({providers:[
|
|
2110
|
+
*/let UR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({providers:[$m,HR],imports:[Qh,xR,n1,n1]}),n})(),$R=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),KR=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({providers:[$R]}),n})();
|
|
2111
2111
|
/**
|
|
2112
2112
|
* @license
|
|
2113
2113
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2136,7 +2136,7 @@ class OR{constructor(t,e,i,o,r,s,c,u,h,p=!1){this._portalOutlet=t,this._host=e,t
|
|
|
2136
2136
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2137
2137
|
* found in the LICENSE file at https://angular.io/license
|
|
2138
2138
|
*/
|
|
2139
|
-
class JR extends gt{notifyNext(t,e,i,o,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class qR extends gt{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,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()}}function XR(n,t,e,i,o=new qR(n,e,i)){if(!o.closed)return t instanceof Be?t.subscribe(o):
|
|
2139
|
+
class JR extends gt{notifyNext(t,e,i,o,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class qR extends gt{constructor(t,e,i){super(),this.parent=t,this.outerValue=e,this.outerIndex=i,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()}}function XR(n,t,e,i,o=new qR(n,e,i)){if(!o.closed)return t instanceof Be?t.subscribe(o):pu(t)(o)}const g1={};class t3{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new n3(t,this.resultSelector))}}class n3 extends JR{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(g1),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 i=0;i<e;i++)this.add(XR(this,t[i],void 0,i))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,i){const o=this.values,s=this.toRespond?o[i]===g1?--this.toRespond:this.toRespond:0;o[i]=e,0===s&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}
|
|
2140
2140
|
/**
|
|
2141
2141
|
* @license
|
|
2142
2142
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2151,14 +2151,14 @@ class JR extends gt{notifyNext(t,e,i,o,r){this.destination.next(e)}notifyError(t
|
|
|
2151
2151
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2152
2152
|
* found in the LICENSE file at https://angular.io/license
|
|
2153
2153
|
*/
|
|
2154
|
-
const m1=new Set;let
|
|
2154
|
+
const m1=new Set;let iu,o3=(()=>{class n{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):s3}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function r3(n){if(!m1.has(n))try{iu||(iu=document.createElement("style"),iu.setAttribute("type","text/css"),document.head.appendChild(iu)),iu.sheet&&(iu.sheet.insertRule(`@media ${n} {body{ }}`,0),m1.add(n))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return n.\u0275fac=function(e){return new(e||n)(P(qr))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function s3(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}
|
|
2155
2155
|
/**
|
|
2156
2156
|
* @license
|
|
2157
2157
|
* Copyright Google LLC All Rights Reserved.
|
|
2158
2158
|
*
|
|
2159
2159
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2160
2160
|
* found in the LICENSE file at https://angular.io/license
|
|
2161
|
-
*/let a3=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new ie}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return _1(
|
|
2161
|
+
*/let a3=(()=>{class n{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new ie}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return _1(Gm(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let r=function e3(...n){let t,e;return mr(n[n.length-1])&&(e=n.pop()),"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&en(n[0])&&(n=n[0]),gu(n,e).lift(new t3(t))}(_1(Gm(e)).map(s=>this._registerQuery(s).observable));return r=oM(r.pipe($s(1)),r.pipe(function JT(n){return t=>t.lift(new nR(n))}(1),function KT(n,t=Yh){return e=>e.lift(new q2(n,t))}(0))),r.pipe(vn(s=>{const c={matches:!1,breakpoints:{}};return s.forEach(({matches:u,query:h})=>{c.matches=c.matches||u,c.breakpoints[h]=u}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),r={observable:new Be(s=>{const c=u=>this._zone.run(()=>s.next(u));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(Ym(i),vn(({matches:s})=>({query:e,matches:s})),ft(this._destroySubject)),mql:i};return this._queries.set(e,r),r}}return n.\u0275fac=function(e){return new(e||n)(P(o3),P(We))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function _1(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}
|
|
2162
2162
|
/**
|
|
2163
2163
|
* @license
|
|
2164
2164
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2223,42 +2223,42 @@ class C3 extends class M3{constructor(t,e,i,o,r=!1){this._element=t,this._checke
|
|
|
2223
2223
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2224
2224
|
* found in the LICENSE file at https://angular.io/license
|
|
2225
2225
|
*/
|
|
2226
|
-
const w1="cdk-high-contrast-black-on-white",D1="cdk-high-contrast-white-on-black",
|
|
2226
|
+
const w1="cdk-high-contrast-black-on-white",D1="cdk-high-contrast-white-on-black",dM="cdk-high-contrast-active";let k3=(()=>{class n{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=So(a3).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(dM,w1,D1),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(dM,w1):2===i&&e.add(dM,D1)}}}return n.\u0275fac=function(e){return new(e||n)(P(qr),P(st))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),E3=(()=>{class n{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(e){return new(e||n)(P(k3))},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[KR]}),n})();
|
|
2227
2227
|
/**
|
|
2228
2228
|
* @license
|
|
2229
2229
|
* Copyright Google LLC All Rights Reserved.
|
|
2230
2230
|
*
|
|
2231
2231
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2232
2232
|
* found in the LICENSE file at https://angular.io/license
|
|
2233
|
-
*/function N3(n){const{subscriber:t,counter:e,period:i}=n;t.next(e),this.schedule({subscriber:t,counter:e+1,period:i},i)}function
|
|
2233
|
+
*/function N3(n){const{subscriber:t,counter:e,period:i}=n;t.next(e),this.schedule({subscriber:t,counter:e+1,period:i},i)}function hM(n,t){return"function"==typeof t?e=>e.pipe(hM((i,o)=>lo(n(i,o)).pipe(vn((r,s)=>t(i,r,o,s))))):e=>e.lift(new A3(n))}class A3{constructor(t){this.project=t}call(t,e){return e.subscribe(new O3(t,this.project))}}class O3 extends rs{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(o){return void this.destination.error(o)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const i=new ca(this),o=this.destination;o.add(i),this.innerSubscription=uo(t,i),this.innerSubscription!==i&&o.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;(!t||t.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}
|
|
2234
2234
|
/**
|
|
2235
2235
|
* @license
|
|
2236
2236
|
* Copyright Google LLC All Rights Reserved.
|
|
2237
2237
|
*
|
|
2238
2238
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2239
2239
|
* found in the LICENSE file at https://angular.io/license
|
|
2240
|
-
*/function
|
|
2240
|
+
*/function pM(n,t,e){for(let i in t)if(t.hasOwnProperty(i)){const o=t[i];o?n.setProperty(i,o,e?.has(i)?"important":""):n.removeProperty(i)}return n}function ou(n,t){const e=t?"":"none";pM(n.style,{"touch-action":t?"":"none","-webkit-user-drag":t?"":"none","-webkit-tap-highlight-color":t?"":"transparent","user-select":e,"-ms-user-select":e,"-webkit-user-select":e,"-moz-user-select":e})}function x1(n,t,e){pM(n.style,{position:t?"":"fixed",top:t?"":"0",opacity:t?"":"0",left:t?"":"-999em"},e)}function Km(n,t){return t&&"none"!=t?n+" "+t:n}
|
|
2241
2241
|
/**
|
|
2242
2242
|
* @license
|
|
2243
2243
|
* Copyright Google LLC All Rights Reserved.
|
|
2244
2244
|
*
|
|
2245
2245
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2246
2246
|
* found in the LICENSE file at https://angular.io/license
|
|
2247
|
-
*/function S1(n){const t=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*t}function
|
|
2247
|
+
*/function S1(n){const t=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*t}function fM(n,t){return n.getPropertyValue(t).split(",").map(i=>i.trim())}
|
|
2248
2248
|
/**
|
|
2249
2249
|
* @license
|
|
2250
2250
|
* Copyright Google LLC All Rights Reserved.
|
|
2251
2251
|
*
|
|
2252
2252
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2253
2253
|
* found in the LICENSE file at https://angular.io/license
|
|
2254
|
-
*/function
|
|
2254
|
+
*/function gM(n){const t=n.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height,x:t.x,y:t.y}}function mM(n,t,e){const{top:i,bottom:o,left:r,right:s}=n;return e>=i&&e<=o&&t>=r&&t<=s}function Zh(n,t,e){n.top+=t,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function I1(n,t,e,i){const{top:o,right:r,bottom:s,left:c,width:u,height:h}=n,p=u*t,g=h*t;return i>o-g&&i<s+g&&e>c-p&&e<r+p}
|
|
2255
2255
|
/**
|
|
2256
2256
|
* @license
|
|
2257
2257
|
* Copyright Google LLC All Rights Reserved.
|
|
2258
2258
|
*
|
|
2259
2259
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2260
2260
|
* found in the LICENSE file at https://angular.io/license
|
|
2261
|
-
*/class T1{constructor(t){this._document=t,this.positions=new Map}clear(){this.positions.clear()}cache(t){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),t.forEach(e=>{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:
|
|
2261
|
+
*/class T1{constructor(t){this._document=t,this.positions=new Map}clear(){this.positions.clear()}cache(t){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),t.forEach(e=>{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:gM(e)})})}handleScroll(t){const e=nu(t),i=this.positions.get(e);if(!i)return null;const o=i.scrollPosition;let r,s;if(e===this._document){const h=this.getViewportScrollPosition();r=h.top,s=h.left}else r=e.scrollTop,s=e.scrollLeft;const c=o.top-r,u=o.left-s;return this.positions.forEach((h,p)=>{h.clientRect&&e!==p&&e.contains(p)&&Zh(h.clientRect,c,u)}),o.top=r,o.left=s,{top:c,left:u}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}
|
|
2262
2262
|
/**
|
|
2263
2263
|
* @license
|
|
2264
2264
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2272,7 +2272,7 @@ const w1="cdk-high-contrast-black-on-white",D1="cdk-high-contrast-white-on-black
|
|
|
2272
2272
|
*
|
|
2273
2273
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2274
2274
|
* found in the LICENSE file at https://angular.io/license
|
|
2275
|
-
*/const A1=
|
|
2275
|
+
*/const A1=Wh({passive:!0}),Jm=Wh({passive:!1}),_M=new Set(["position"]);class z3{constructor(t,e,i,o,r,s){this._config=e,this._document=i,this._ngZone=o,this._viewportRuler=r,this._dragDropRegistry=s,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new ie,this._pointerMoveSubscription=je.EMPTY,this._pointerUpSubscription=je.EMPTY,this._scrollSubscription=je.EMPTY,this._resizeSubscription=je.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new ie,this.started=new ie,this.released=new ie,this.ended=new ie,this.entered=new ie,this.exited=new ie,this.dropped=new ie,this.moved=this._moveEvents,this._pointerDown=c=>{if(this.beforeStarted.next(),this._handles.length){const u=this._getTargetHandle(c);u&&!this._disabledHandles.has(u)&&!this.disabled&&this._initializeDragSequence(u,c)}else this.disabled||this._initializeDragSequence(this._rootElement,c)},this._pointerMove=c=>{const u=this._getPointerPositionOnPage(c);if(!this._hasStartedDragging){if(Math.abs(u.x-this._pickupPositionOnPage.x)+Math.abs(u.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const y=Date.now()>=this._dragStartTime+this._getDragStartDelay(c),M=this._dropContainer;if(!y)return void this._endDragSequence(c);(!M||!M.isDragging()&&!M.isReceiving())&&(c.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(c)))}return}c.preventDefault();const h=this._getConstrainedPointerPosition(u);if(this._hasMoved=!0,this._lastKnownPointerPosition=u,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,u);else{const p=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,g=this._activeTransform;g.x=h.x-p.x+this._passiveTransform.x,g.y=h.y-p.y+this._passiveTransform.y,this._applyRootElementTransform(g.x,g.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:c,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=c=>{this._endDragSequence(c)},this._nativeDragStart=c=>{if(this._handles.length){const u=this._getTargetHandle(c);u&&!this._disabledHandles.has(u)&&!this.disabled&&c.preventDefault()}else this.disabled||c.preventDefault()},this.withRootElement(t).withParent(e.parentDragRef||null),this._parentPositions=new T1(i),s.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=mi(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(i=>ou(i,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(i=>_i(i)),this._handles.forEach(i=>ou(i,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i)}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=_i(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,Jm),e.addEventListener("touchstart",this._pointerDown,A1),e.addEventListener("dragstart",this._nativeDragStart,Jm)}),this._initialTransform=void 0,this._rootElement=e),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?_i(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(t){return this._parentDragRef=t,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),ou(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),ou(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}withPreviewContainer(t){return this._previewContainer=t,this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:t}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const e=this._getPointerPositionOnPage(t);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:t})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(t){$h(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const i=this._rootElement,o=i.parentNode,r=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment(""),c=this._getShadowRoot();o.insertBefore(s,i),this._initialTransform=i.style.transform||"",this._preview=this._createPreviewElement(),x1(i,!1,_M),this._document.body.appendChild(o.replaceChild(r,i)),this._getPreviewInsertionPoint(o,c).appendChild(this._preview),this.started.next({source:this,event:t}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this,event:t}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){this._parentDragRef&&e.stopPropagation();const i=this.isDragging(),o=$h(e),r=!o&&0!==e.button,s=this._rootElement,c=nu(e),u=!o&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),h=o?function I3(n){const t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}
|
|
2276
2276
|
/**
|
|
2277
2277
|
* @license
|
|
2278
2278
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2287,21 +2287,21 @@ const w1="cdk-high-contrast-black-on-white",D1="cdk-high-contrast-white-on-black
|
|
|
2287
2287
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2288
2288
|
* found in the LICENSE file at https://angular.io/license
|
|
2289
2289
|
*/
|
|
2290
|
-
function S3(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(e);if(c&&c.draggable&&"mousedown"===e.type&&e.preventDefault(),i||r||u||h)return;if(this._handles.length){const _=s.style;this._rootElementTapHighlight=_.webkitTapHighlightColor||"",_.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(_=>this._updateOnScroll(_)),this._boundaryElement&&(this._boundaryRect=
|
|
2290
|
+
function S3(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(e);if(c&&c.draggable&&"mousedown"===e.type&&e.preventDefault(),i||r||u||h)return;if(this._handles.length){const _=s.style;this._rootElementTapHighlight=_.webkitTapHighlightColor||"",_.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(_=>this._updateOnScroll(_)),this._boundaryElement&&(this._boundaryRect=gM(this._boundaryElement));const p=this._previewTemplate;this._pickupPositionInElement=p&&p.template&&!p.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,t,e);const g=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:g.x,y:g.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){x1(this._rootElement,!0,_M),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),o=this._getPointerPositionOnPage(t),r=this._getDragDistance(o),s=e._isOverContainer(o.x,o.y);this.ended.next({source:this,distance:r,dropPoint:o,event:t}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:r,dropPoint:o,event:t}),e.drop(this,i,this._initialIndex,this._initialContainer,s,r,o,t),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:o}){let r=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!r&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(r=this._initialContainer),r&&r!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=r,this._dropContainer.enter(this,t,e,r===this._initialContainer&&r.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:r,currentIndex:r.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(i,o),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(t,e):this._applyPreviewTransform(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let o;if(i&&t){const r=t.matchSize?this._initialClientRect:null,s=t.viewContainer.createEmbeddedView(i,t.context);s.detectChanges(),o=P1(s,this._document),this._previewRef=s,t.matchSize?j1(o,r):o.style.transform=qm(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else o=k1(this._rootElement),j1(o,this._initialClientRect),this._initialTransform&&(o.style.transform=this._initialTransform);return pM(o.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},_M),ou(o,!1),o.classList.add("cdk-drag-preview"),o.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(r=>o.classList.add(r)):o.classList.add(e)),o}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(t.left,t.top);const e=function P3(n){const t=getComputedStyle(n),e=fM(t,"transition-property"),i=e.find(c=>"transform"===c||"all"===c);if(!i)return 0;const o=e.indexOf(i),r=fM(t,"transition-duration"),s=fM(t,"transition-delay");return S1(r[o])+S1(s[o])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{const o=s=>{(!s||nu(s)===this._preview&&"transform"===s.propertyName)&&(this._preview?.removeEventListener("transitionend",o),i(),clearTimeout(r))},r=setTimeout(o,1.5*e);this._preview.addEventListener("transitionend",o)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=P1(this._placeholderRef,this._document)):i=k1(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e,i){const o=e===this._rootElement?null:e,r=o?o.getBoundingClientRect():t,s=$h(i)?i.targetTouches[0]:i,c=this._getViewportScrollPosition();return{x:r.left-t.left+(s.pageX-r.left-c.left),y:r.top-t.top+(s.pageY-r.top-c.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=$h(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,o=i.pageX-e.left,r=i.pageY-e.top;if(this._ownerSVGElement){const s=this._ownerSVGElement.getScreenCTM();if(s){const c=this._ownerSVGElement.createSVGPoint();return c.x=o,c.y=r,c.matrixTransform(s.inverse())}}return{x:o,y:r}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:o}=this.constrainPosition?this.constrainPosition(t,this,this._initialClientRect,this._pickupPositionInElement):t;if("x"===this.lockAxis||"x"===e?o=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===e)&&(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:r,y:s}=this._pickupPositionInElement,c=this._boundaryRect,{width:u,height:h}=this._getPreviewRect(),p=c.top+s,g=c.bottom-(h-s);i=O1(i,c.left+r,c.right-(u-r)),o=O1(o,p,g)}return{x:i,y:o}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,o=this._pointerDirectionDelta,r=this._pointerPositionAtLastDirectionChange,s=Math.abs(e-r.x),c=Math.abs(i-r.y);return s>this._config.pointerDirectionChangeThreshold&&(o.x=e>r.x?1:-1,r.x=e),c>this._config.pointerDirectionChangeThreshold&&(o.y=i>r.y?1:-1,r.y=i),o}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,ou(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,Jm),t.removeEventListener("touchstart",this._pointerDown,A1),t.removeEventListener("dragstart",this._nativeDragStart,Jm)}_applyRootElementTransform(t,e){const i=qm(t,e),o=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=o.transform&&"none"!=o.transform?o.transform:""),o.transform=Km(i,this._initialTransform)}_applyPreviewTransform(t,e){const i=this._previewTemplate?.template?void 0:this._initialTransform,o=qm(t,e);this._preview.style.transform=Km(o,i)}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._rootElement.getBoundingClientRect(),o=this._boundaryElement.getBoundingClientRect();if(0===o.width&&0===o.height||0===i.width&&0===i.height)return;const r=o.left-i.left,s=i.right-o.right,c=o.top-i.top,u=i.bottom-o.bottom;o.width>i.width?(r>0&&(t+=r),s>0&&(t-=s)):t=0,o.height>i.height?(c>0&&(e+=c),u>0&&(e-=u)):e=0,(t!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:$h(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=nu(t);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&Zh(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=e1(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(t,e){const i=this._previewContainer||"global";if("parent"===i)return t;if("global"===i){const o=this._document;return e||o.fullscreenElement||o.webkitFullscreenElement||o.mozFullScreenElement||o.msFullscreenElement||o.body}return _i(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(t){return this._handles.find(e=>t.target&&(t.target===e||e.contains(t.target)))}}function qm(n,t){return`translate3d(${Math.round(n)}px, ${Math.round(t)}px, 0)`}function O1(n,t,e){return Math.max(t,Math.min(e,n))}function $h(n){return"t"===n.type[0]}function P1(n,t){const e=n.rootNodes;if(1===e.length&&e[0].nodeType===t.ELEMENT_NODE)return e[0];const i=t.createElement("div");return e.forEach(o=>i.appendChild(o)),i}function j1(n,t){n.style.width=`${t.width}px`,n.style.height=`${t.height}px`,n.style.transform=qm(t.left,t.top)
|
|
2291
2291
|
/**
|
|
2292
2292
|
* @license
|
|
2293
2293
|
* Copyright Google LLC All Rights Reserved.
|
|
2294
2294
|
*
|
|
2295
2295
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2296
2296
|
* found in the LICENSE file at https://angular.io/license
|
|
2297
|
-
*/}function
|
|
2297
|
+
*/}function Kh(n,t){return Math.max(0,Math.min(t,n))}
|
|
2298
2298
|
/**
|
|
2299
2299
|
* @license
|
|
2300
2300
|
* Copyright Google LLC All Rights Reserved.
|
|
2301
2301
|
*
|
|
2302
2302
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2303
2303
|
* found in the LICENSE file at https://angular.io/license
|
|
2304
|
-
*/class B3{constructor(t,e){this._element=t,this._dragDropRegistry=e,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(t){this.withItems(t)}sort(t,e,i,o){const r=this._itemPositions,s=this._getItemIndexFromPointerPosition(t,e,i,o);if(-1===s&&r.length>0)return null;const c="horizontal"===this.orientation,u=r.findIndex(E=>E.drag===t),h=r[s],g=h.clientRect,_=u>s?1:-1,y=this._getItemOffsetPx(r[u].clientRect,g,_),M=this._getSiblingOffsetPx(u,r,_),x=r.slice();return function F3(n,t,e){const i
|
|
2304
|
+
*/class B3{constructor(t,e){this._element=t,this._dragDropRegistry=e,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(t){this.withItems(t)}sort(t,e,i,o){const r=this._itemPositions,s=this._getItemIndexFromPointerPosition(t,e,i,o);if(-1===s&&r.length>0)return null;const c="horizontal"===this.orientation,u=r.findIndex(E=>E.drag===t),h=r[s],g=h.clientRect,_=u>s?1:-1,y=this._getItemOffsetPx(r[u].clientRect,g,_),M=this._getSiblingOffsetPx(u,r,_),x=r.slice();return function F3(n,t,e){const i=Kh(t,n.length-1),o=Kh(e,n.length-1);if(i===o)return;const r=n[i],s=o<i?-1:1;for(let c=i;c!==o;c+=s)n[c]=n[c+s];n[o]=r}(r,u,s),r.forEach((E,O)=>{if(x[O]===E)return;const V=E.drag===t,L=V?y:M,Y=V?t.getPlaceholderElement():E.drag.getRootElement();E.offset+=L,c?(Y.style.transform=Km(`translate3d(${Math.round(E.offset)}px, 0, 0)`,E.initialTransform),Zh(E.clientRect,0,L)):(Y.style.transform=Km(`translate3d(0, ${Math.round(E.offset)}px, 0)`,E.initialTransform),Zh(E.clientRect,L,0))}),this._previousSwap.overlaps=mM(g,e,i),this._previousSwap.drag=h.drag,this._previousSwap.delta=c?o.x:o.y,{previousIndex:u,currentIndex:s}}enter(t,e,i,o){const r=null==o||o<0?this._getItemIndexFromPointerPosition(t,e,i):o,s=this._activeDraggables,c=s.indexOf(t),u=t.getPlaceholderElement();let h=s[r];if(h===t&&(h=s[r+1]),!h&&(null==r||-1===r||r<s.length-1)&&this._shouldEnterAsFirstChild(e,i)&&(h=s[0]),c>-1&&s.splice(c,1),h&&!this._dragDropRegistry.isDragging(h)){const p=h.getRootElement();p.parentElement.insertBefore(u,p),s.splice(r,0,t)}else _i(this._element).appendChild(u),s.push(t);u.style.transform="",this._cacheItemPositions()}withItems(t){this._activeDraggables=t.slice(),this._cacheItemPositions()}withSortPredicate(t){this._sortPredicate=t}reset(){this._activeDraggables.forEach(t=>{const e=t.getRootElement();if(e){const i=this._itemPositions.find(o=>o.drag===t)?.initialTransform;e.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(t){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===t)}updateOnScroll(t,e){this._itemPositions.forEach(({clientRect:i})=>{Zh(i,t,e)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}_cacheItemPositions(){const t="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(e=>{const i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:gM(i)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_getItemOffsetPx(t,e,i){const o="horizontal"===this.orientation;let r=o?e.left-t.left:e.top-t.top;return-1===i&&(r+=o?e.width-t.width:e.height-t.height),r}_getSiblingOffsetPx(t,e,i){const o="horizontal"===this.orientation,r=e[t].clientRect,s=e[t+-1*i];let c=r[o?"width":"height"]*i;if(s){const u=o?"left":"top",h=o?"right":"bottom";-1===i?c-=s.clientRect[u]-r[h]:c+=r[u]-s.clientRect[h]}return c}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,o="horizontal"===this.orientation;if(i[0].drag!==this._activeDraggables[0]){const s=i[i.length-1].clientRect;return o?t>=s.right:e>=s.bottom}{const s=i[0].clientRect;return o?t<=s.left:e<=s.top}}_getItemIndexFromPointerPosition(t,e,i,o){const r="horizontal"===this.orientation,s=this._itemPositions.findIndex(({drag:c,clientRect:u})=>{if(c===t)return!1;if(o){const h=r?o.x:o.y;if(c===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return r?e>=Math.floor(u.left)&&e<Math.floor(u.right):i>=Math.floor(u.top)&&i<Math.floor(u.bottom)});return-1!==s&&this._sortPredicate(s,t)?s:-1}}
|
|
2305
2305
|
/**
|
|
2306
2306
|
* @license
|
|
2307
2307
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2323,28 +2323,28 @@ function S3(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(e);if(c&&c.dr
|
|
|
2323
2323
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2324
2324
|
* found in the LICENSE file at https://angular.io/license
|
|
2325
2325
|
*/
|
|
2326
|
-
function L3(n=0,t=
|
|
2326
|
+
function L3(n=0,t=Yh){return(!rM(n)||n<0)&&(n=0),(!t||"function"!=typeof t.schedule)&&(t=Yh),new Be(e=>(e.add(t.schedule(N3,n,{subscriber:e,counter:0,period:n})),e))}(0,iM).pipe(ft(this._stopScrollTimers)).subscribe(()=>{const s=this._scrollNode,c=this.autoScrollStep;1===this._verticalScrollDirection?s.scrollBy(0,-c):2===this._verticalScrollDirection&&s.scrollBy(0,c),1===this._horizontalScrollDirection?s.scrollBy(-c,0):2===this._horizontalScrollDirection&&s.scrollBy(c,0)})},this.element=_i(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new T1(i),this._sortStrategy=new B3(this.element,e),this._sortStrategy.withSortPredicate((s,c)=>this.sortPredicate(s,c,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(t,e,i,o){this._draggingStarted(),null==o&&this.sortingDisabled&&(o=this._draggables.indexOf(t)),this._sortStrategy.enter(t,e,i,o),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,o,r,s,c,u={}){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:o,isPointerOverContainer:r,distance:s,dropPoint:c,event:u})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(e.filter(o=>o.isDragging()).every(o=>-1===t.indexOf(o))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(t){return this._sortStrategy.direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._sortStrategy.orientation=t,this}withScrollableParents(t){const e=_i(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?this._sortStrategy.getItemIndex(t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,o){if(this.sortingDisabled||!this._clientRect||!I1(this._clientRect,.05,e,i))return;const r=this._sortStrategy.sort(t,e,i,o);r&&this.sorted.next({previousIndex:r.previousIndex,currentIndex:r.currentIndex,container:this,item:t})}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,o=0,r=0;if(this._parentPositions.positions.forEach((s,c)=>{c===this._document||!s.clientRect||i||I1(s.clientRect,.05,t,e)&&([o,r]=function H3(n,t,e,i){const o=F1(t,i),r=B1(t,e);let s=0,c=0;if(o){const u=n.scrollTop;1===o?u>0&&(s=1):n.scrollHeight-u>n.clientHeight&&(s=2)}if(r){const u=n.scrollLeft;1===r?u>0&&(c=1):n.scrollWidth-u>n.clientWidth&&(c=2)}return[s,c]}
|
|
2327
2327
|
/**
|
|
2328
2328
|
* @license
|
|
2329
2329
|
* Copyright Google LLC All Rights Reserved.
|
|
2330
2330
|
*
|
|
2331
2331
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2332
2332
|
* found in the LICENSE file at https://angular.io/license
|
|
2333
|
-
*/(c,s.clientRect,t,e),(o||r)&&(i=c))}),!o&&!r){const{width:s,height:c}=this._viewportRuler.getViewportSize(),u={width:s,height:c,top:0,right:s,bottom:c,left:0};o=F1(u,e),r=B1(u,t),i=window}i&&(o!==this._verticalScrollDirection||r!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=o,this._horizontalScrollDirection=r,this._scrollNode=i,(o||r)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=_i(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=_i(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_reset(){this._isDragging=!1;const t=_i(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(t,e){return null!=this._clientRect&&
|
|
2333
|
+
*/(c,s.clientRect,t,e),(o||r)&&(i=c))}),!o&&!r){const{width:s,height:c}=this._viewportRuler.getViewportSize(),u={width:s,height:c,top:0,right:s,bottom:c,left:0};o=F1(u,e),r=B1(u,t),i=window}i&&(o!==this._verticalScrollDirection||r!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=o,this._horizontalScrollDirection=r,this._scrollNode=i,(o||r)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const t=_i(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const t=_i(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_reset(){this._isDragging=!1;const t=_i(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(t,e){return null!=this._clientRect&&mM(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,i){return this._siblings.find(o=>o._canReceive(t,e,i))}_canReceive(t,e,i){if(!this._clientRect||!mM(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const o=this._getShadowRoot().elementFromPoint(e,i);if(!o)return!1;const r=_i(this.element);return o===r||r.contains(o)}_startReceiving(t,e){const i=this._activeSiblings;!i.has(t)&&e.every(o=>this.enterPredicate(o,this)||this._draggables.indexOf(o)>-1)&&(i.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=e1(_i(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const t=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,t))}}function F1(n,t){const{top:e,bottom:i,height:o}=n,r=.05*o;return t>=e-r&&t<=e+r?1:t>=i-r&&t<=i+r?2:0}function B1(n,t){const{left:e,right:i,width:o}=n,r=.05*o;return t>=e-r&&t<=e+r?1:t>=i-r&&t<=i+r?2:0}const Xm=Wh({passive:!1,capture:!0});let U3=(()=>{class n{constructor(e,i){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=o=>o.isDragging(),this.pointerMove=new ie,this.pointerUp=new ie,this.scroll=new ie,this._preventDefaultWhileDragging=o=>{this._activeDragInstances.length>0&&o.preventDefault()},this._persistentTouchmoveListener=o=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&o.preventDefault(),this.pointerMove.next(o))},this._document=i}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Xm)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Xm)}startDragging(e,i){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const o=i.type.startsWith("touch");this._globalListeners.set(o?"touchend":"mouseup",{handler:r=>this.pointerUp.next(r),options:!0}).set("scroll",{handler:r=>this.scroll.next(r),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Xm}),o||this._globalListeners.set("mousemove",{handler:r=>this.pointerMove.next(r),options:Xm}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((r,s)=>{this._document.addEventListener(s,r.handler,r.options)})})}}stopDragging(e){const i=this._activeDragInstances.indexOf(e);i>-1&&(this._activeDragInstances.splice(i,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const i=[this.scroll];return e&&e!==this._document&&i.push(new Be(o=>this._ngZone.runOutsideAngular(()=>{const s=c=>{this._activeDragInstances.length&&o.next(c)};return e.addEventListener("scroll",s,!0),()=>{e.removeEventListener("scroll",s,!0)}}))),Bi(...i)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,i)=>{this._document.removeEventListener(i,e.handler,e.options)}),this._globalListeners.clear()}}return n.\u0275fac=function(e){return new(e||n)(P(We),P(st))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();
|
|
2334
2334
|
/**
|
|
2335
2335
|
* @license
|
|
2336
2336
|
* Copyright Google LLC All Rights Reserved.
|
|
2337
2337
|
*
|
|
2338
2338
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2339
2339
|
* found in the LICENSE file at https://angular.io/license
|
|
2340
|
-
*/const Y3={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let V1=(()=>{class n{constructor(e,i,o,r){this._document=e,this._ngZone=i,this._viewportRuler=o,this._dragDropRegistry=r}createDrag(e,i=Y3){return new z3(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new V3(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(P(st),P(We),P(
|
|
2340
|
+
*/const Y3={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let V1=(()=>{class n{constructor(e,i,o,r){this._document=e,this._ngZone=i,this._viewportRuler=o,this._dragDropRegistry=r}createDrag(e,i=Y3){return new z3(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new V3(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return n.\u0275fac=function(e){return new(e||n)(P(st),P(We),P(Zm),P(U3))},n.\u0275prov=$({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();
|
|
2341
2341
|
/**
|
|
2342
2342
|
* @license
|
|
2343
2343
|
* Copyright Google LLC All Rights Reserved.
|
|
2344
2344
|
*
|
|
2345
2345
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2346
2346
|
* found in the LICENSE file at https://angular.io/license
|
|
2347
|
-
*/const
|
|
2347
|
+
*/const bM=new G("CDK_DRAG_PARENT"),G3=new G("CDK_DRAG_CONFIG"),W3=new G("CdkDropList"),vM=new G("CdkDragHandle");
|
|
2348
2348
|
/**
|
|
2349
2349
|
* @license
|
|
2350
2350
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2358,21 +2358,21 @@ function L3(n=0,t=Uh){return(!oM(n)||n<0)&&(n=0),(!t||"function"!=typeof t.sched
|
|
|
2358
2358
|
*
|
|
2359
2359
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2360
2360
|
* found in the LICENSE file at https://angular.io/license
|
|
2361
|
-
*/let Q3=(()=>{class n{constructor(e,i){this.element=e,this._stateChanges=new ie,this._disabled=!1,this._parentDrag=i}get disabled(){return this._disabled}set disabled(e){this._disabled=mi(e),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(I(De),I(
|
|
2361
|
+
*/let Q3=(()=>{class n{constructor(e,i){this.element=e,this._stateChanges=new ie,this._disabled=!1,this._parentDrag=i}get disabled(){return this._disabled}set disabled(e){this._disabled=mi(e),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}return n.\u0275fac=function(e){return new(e||n)(I(De),I(bM,12))},n.\u0275dir=H({type:n,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},features:[be([{provide:vM,useExisting:n}])]}),n})();
|
|
2362
2362
|
/**
|
|
2363
2363
|
* @license
|
|
2364
2364
|
* Copyright Google LLC All Rights Reserved.
|
|
2365
2365
|
*
|
|
2366
2366
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2367
2367
|
* found in the LICENSE file at https://angular.io/license
|
|
2368
|
-
*/const Z3=new G("CdkDragPlaceholder"),$3=new G("CdkDragPreview");let J3=(()=>{class n{constructor(e,i,o,r,s,c,u,h,p,g,_){this.element=e,this.dropContainer=i,this._ngZone=r,this._viewContainerRef=s,this._dir=u,this._changeDetectorRef=p,this._selfHandle=g,this._parentDrag=_,this._destroyed=new ie,this.started=new ge,this.released=new ge,this.ended=new ge,this.entered=new ge,this.exited=new ge,this.dropped=new ge,this.moved=new Be(y=>{const M=this._dragRef.moved.pipe(vn(x=>({source:this,pointerPosition:x.pointerPosition,event:x.event,delta:x.delta,distance:x.distance}))).subscribe(y);return()=>{M.unsubscribe()}}),this._dragRef=h.createDrag(e,{dragStartThreshold:c&&null!=c.dragStartThreshold?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&null!=c.pointerDirectionChangeThreshold?c.pointerDirectionChangeThreshold:5,zIndex:c?.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),c&&this._assignDefaults(c),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=mi(e),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe($s(1),ft(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const i=e.rootElementSelector,o=e.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),o&&!o.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=n._dragInstances.indexOf(this);e>-1&&n._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const e=this.element.nativeElement;let i=e;this.rootElementSelector&&(i=void 0!==e.closest?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||e)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):_i(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const i=this._dir,o=this.dragStartDelay,r=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,s=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof o&&o?o:function oR(n,t=0){return function rR(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}(o),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(s).withPreviewContainer(this.previewContainer||"global"),i&&e.withDirection(i.value)}}),e.beforeStarted.pipe($s(1)).subscribe(()=>{if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let i=this.element.nativeElement.parentElement;for(;i;){if(i.classList.contains("cdk-drag")){e.withParent(n._dragInstances.find(o=>o.element.nativeElement===i)?._dragRef||null);break}i=i.parentElement}})}_handleEvents(e){e.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),e.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(e){const{lockAxis:i,dragStartDelay:o,constrainPosition:r,previewClass:s,boundaryElement:c,draggingDisabled:u,rootElementSelector:h,previewContainer:p}=e;this.disabled=u??!1,this.dragStartDelay=o||0,i&&(this.lockAxis=i),r&&(this.constrainPosition=r),s&&(this.previewClass=s),c&&(this.boundaryElement=c),h&&(this.rootElementSelector=h),p&&(this.previewContainer=p)}_setupHandlesListener(){this._handles.changes.pipe(
|
|
2368
|
+
*/const Z3=new G("CdkDragPlaceholder"),$3=new G("CdkDragPreview");let J3=(()=>{class n{constructor(e,i,o,r,s,c,u,h,p,g,_){this.element=e,this.dropContainer=i,this._ngZone=r,this._viewContainerRef=s,this._dir=u,this._changeDetectorRef=p,this._selfHandle=g,this._parentDrag=_,this._destroyed=new ie,this.started=new ge,this.released=new ge,this.ended=new ge,this.entered=new ge,this.exited=new ge,this.dropped=new ge,this.moved=new Be(y=>{const M=this._dragRef.moved.pipe(vn(x=>({source:this,pointerPosition:x.pointerPosition,event:x.event,delta:x.delta,distance:x.distance}))).subscribe(y);return()=>{M.unsubscribe()}}),this._dragRef=h.createDrag(e,{dragStartThreshold:c&&null!=c.dragStartThreshold?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&null!=c.pointerDirectionChangeThreshold?c.pointerDirectionChangeThreshold:5,zIndex:c?.zIndex}),this._dragRef.data=this,n._dragInstances.push(this),c&&this._assignDefaults(c),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=mi(e),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe($s(1),ft(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const i=e.rootElementSelector,o=e.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),o&&!o.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=n._dragInstances.indexOf(this);e>-1&&n._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const e=this.element.nativeElement;let i=e;this.rootElementSelector&&(i=void 0!==e.closest?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||e)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):_i(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const i=this._dir,o=this.dragStartDelay,r=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,s=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof o&&o?o:function oR(n,t=0){return function rR(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):t}(o),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(s).withPreviewContainer(this.previewContainer||"global"),i&&e.withDirection(i.value)}}),e.beforeStarted.pipe($s(1)).subscribe(()=>{if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let i=this.element.nativeElement.parentElement;for(;i;){if(i.classList.contains("cdk-drag")){e.withParent(n._dragInstances.find(o=>o.element.nativeElement===i)?._dragRef||null);break}i=i.parentElement}})}_handleEvents(e){e.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),e.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(i=>{this.entered.emit({container:i.container.data,item:this,currentIndex:i.currentIndex})}),e.exited.subscribe(i=>{this.exited.emit({container:i.container.data,item:this})}),e.dropped.subscribe(i=>{this.dropped.emit({previousIndex:i.previousIndex,currentIndex:i.currentIndex,previousContainer:i.previousContainer.data,container:i.container.data,isPointerOverContainer:i.isPointerOverContainer,item:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event})})}_assignDefaults(e){const{lockAxis:i,dragStartDelay:o,constrainPosition:r,previewClass:s,boundaryElement:c,draggingDisabled:u,rootElementSelector:h,previewContainer:p}=e;this.disabled=u??!1,this.dragStartDelay=o||0,i&&(this.lockAxis=i),r&&(this.constrainPosition=r),s&&(this.previewClass=s),c&&(this.boundaryElement=c),h&&(this.rootElementSelector=h),p&&(this.previewContainer=p)}_setupHandlesListener(){this._handles.changes.pipe(Ym(this._handles),eu(e=>{const i=e.filter(o=>o._parentDrag===this).map(o=>o.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),hM(e=>Bi(...e.map(i=>i._stateChanges.pipe(Ym(i))))),ft(this._destroyed)).subscribe(e=>{const i=this._dragRef,o=e.element.nativeElement;e.disabled?i.disableHandle(o):i.enableHandle(o)})}}return n._dragInstances=[],n.\u0275fac=function(e){return new(e||n)(I(De),I(W3,12),I(st),I(We),I(Tn),I(G3,8),I(Qm,8),I(V1),I(Jl),I(vM,10),I(bM,12))},n.\u0275dir=H({type:n,selectors:[["","cdkDrag",""]],contentQueries:function(e,i,o){if(1&e&&(Lt(o,$3,5),Lt(o,Z3,5),Lt(o,vM,5)),2&e){let r;Ye(r=Ge())&&(i._previewTemplate=r.first),Ye(r=Ge())&&(i._placeholderTemplate=r.first),Ye(r=Ge())&&(i._handles=r)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,i){2&e&&ke("cdk-drag-disabled",i.disabled)("cdk-drag-dragging",i._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[be([{provide:bM,useExisting:n}]),rn]}),n})(),q3=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({providers:[V1],imports:[cM]}),n})();
|
|
2369
2369
|
/**
|
|
2370
2370
|
* @license
|
|
2371
2371
|
* Copyright Google LLC All Rights Reserved.
|
|
2372
2372
|
*
|
|
2373
2373
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2374
2374
|
* found in the LICENSE file at https://angular.io/license
|
|
2375
|
-
*/hu(489);const Ks=["*"],X1=["focusTrapElement"];function Cz(n,t){if(1&n&&hi(0,"div"),2&n){const e=zt(2);Wg("hc-pop-arrow ",e._yAlignClass," ",e._xAlignClass,"")}}function wz(n,t){if(1&n){const e=bh();Me(0,"div",0,1),Dt("click",function(){return _o(e),bo(zt()._popContainerClicked())})("@transformPopover.done",function(o){return _o(e),bo(zt()._onAnimationDone(o))}),Et(2),wt(3,Cz,1,4,"div",2),Te()}if(2&n){const e=zt();Wg("",e._yAlignClass," ",e._xAlignClass,""),Vs("max-width",e.maxWidth),ke("hc-pop-container-basic",!e.disableStyle),ze("ngClass",e._classList)("@transformPopover",e._getAnimation()),xe(3),ze("ngIf",e.showArrow)}}function Dz(n,t){1&n&&hi(0,"div",4)}function xz(n,t){if(1&n){const e=bh();Me(0,"div",1),Dt("@transformPopover.done",function(o){return _o(e),bo(zt()._onAnimationDone(o))}),Me(1,"div",2),fi(2),Te(),wt(3,Dz,1,0,"div",3),Te()}if(2&n){const e=zt();Wg("",e._yAlignClass," ",e._xAlignClass,""),Vs("max-width",e.maxWidth),ke("hc-pop-container-basic",!e.disableStyle),ze("ngClass",e._classList)("@transformPopover",e._getAnimation()),xe(2),Gl(" ",e.tooltipContent," "),xe(1),ze("ngIf",e.showArrow)}}const kz=["hc-button",""];function Nz(n,t){1&n&&(Me(0,"span",7),fi(1,"\xa0*"),Te())}function Az(n,t){if(1&n&&(Me(0,"span",5)(1,"label",5),Et(2,1),wt(3,Nz,2,0,"span",6),Te()()),2&n){const e=zt();ke("hc-form-field-label-wrapper-tight",e.tight&&!e._mobileInput),ze("ngClass",e.inline?"hc-form-field-label-wrapper-inline":"hc-form-field-label-wrapper"),xe(1),ke("hc-form-field-label-tight",e.tight),ze("ngClass",e.inline?"hc-form-field-label-inline":"hc-form-field-label"),$t("for",e._control._componentId),xe(2),ze("ngIf",e._control._isRequired&&!e._control._isDisabled)}}function Oz(n,t){1&n&&(Me(0,"div",12),Et(1,3),Te())}function Pz(n,t){1&n&&(Me(0,"div",13),Et(1,4),Te())}function jz(n,t){if(1&n&&(Me(0,"div"),wt(1,Oz,2,0,"div",8),Me(2,"div",9,10),Et(4,2),Te(),wt(5,Pz,2,0,"div",11),Te()),2&n){const e=zt();ke("hc-form-field-flex",!e.inline)("hc-form-field-flex-inline",e.inline)("hc-form-field-invalid",e._shouldShowErrorMessages())("hc-form-field-flex-focused",e._hasFocusedInput),xe(1),ze("ngIf",e._prefixChildren.length),xe(1),ke("hc-form-field-infix-tight",e.tight&&!e._mobileInput)("hc-form-field-infix-mobile",e._mobileInput),xe(3),ze("ngIf",e._suffixChildren.length)}}function Rz(n,t){if(1&n&&(Me(0,"div"),Et(1,5),Te()),2&n){const e=zt();ke("hc-form-field-non-input",!e.inline)("hc-form-field-non-input-inline",e.inline)("hc-form-field-non-input-inline-tight",e.inline&&e.tight)("hc-form-field-invalid",e._shouldShowErrorMessages())}}function zz(n,t){if(1&n&&(Me(0,"hc-error"),fi(1),Te()),2&n){const e=zt(2);xe(1),Za(e._control._errorMessage)}}function Fz(n,t){if(1&n&&(Me(0,"div",14),wt(1,zz,2,1,"hc-error",15),Et(2,6),Te()),2&n){const e=zt();xe(1),ze("ngIf",e._control._errorMessage&&e._control._errorMessage.length)}}const Bz=[[["hc-label-ext"]],[["hc-label"]],[["","hcInput",""]],[["","hcPrefix",""]],[["","hcSuffix",""]],"*",[["hc-error"]]],Vz=["hc-label-ext","hc-label","[hcInput]","[hcPrefix]","[hcSuffix]","*","hc-error"];function bF(n,t){1&n&&(Me(0,"div",3),function Yu(){he.lFrame.currentNamespace="svg"}(),Me(1,"svg",4),hi(2,"path",5)(3,"path",6),Te()())}function Ni(n){if(null==n)return!1;if("boolean"==typeof n)return n;if("false"===n.toLowerCase())return!1;if("true"===n.toLowerCase()||""===n)return!0;throw Error(String(n)+" is not a boolean value")}document.createElement("p"),new G("IAppSwitcherService"),new G("IAppSwitcherConfig");let K5=(()=>{class n{constructor(e,i){this.elementRef=e,this._fontIcon="",this._fontSet="",this._previousFontIcon="",this._previousFontSet="",this._hostClass=!0,i||e.nativeElement.setAttribute("aria-hidden","true")}get fontIcon(){return this._fontIcon}set fontIcon(e){this._fontIcon=this._cleanupFontValue(e)}get fontSet(){return this._fontSet}set fontSet(e){this._fontSet=this._cleanupFontValue(e)}ngOnChanges(){this._updateFontIcon()}_updateFontIcon(){const e=this.elementRef.nativeElement;this._previousFontIcon!==this._fontIcon&&(this._previousFontIcon&&e.classList.remove(this._previousFontIcon),this._fontIcon&&(e.classList.add(this._fontIcon),this._previousFontIcon=this._fontIcon)),this._previousFontSet!==this._fontSet&&(this._previousFontSet&&e.classList.remove(this._previousFontSet),this._fontSet&&(e.classList.add(this._fontSet),this._previousFontSet=this._fontSet))}_cleanupFontValue(e){return(e||"").trim().split(" ")[0]}}return n.\u0275fac=function(e){return new(e||n)(I(De),function Nr(n){return function Bp(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let o=0;for(;o<i;){const r=e[o];if(Op(r))break;if(0===r)o+=2;else if("number"==typeof r)for(o++;o<i&&"string"==typeof e[o];)o++;else{if(r===t)return e[o+1];o+=2}}}return null}(St(),n)}("aria-hidden"))},n.\u0275cmp=mt({type:n,selectors:[["hc-icon"]],hostVars:2,hostBindings:function(e,i){2&e&&ke("hc-icon",i._hostClass)},inputs:{fontIcon:"fontIcon",fontSet:"fontSet"},features:[rn],ngContentSelectors:Ks,decls:1,vars:0,template:function(e,i){1&e&&(pi(),Et(0))},styles:["[icon-sm],.hc-icon-sm{font-size:14px!important;height:14px!important;width:14px!important}[icon-md],.hc-icon-md{font-size:20px!important;height:20px!important;width:20px!important}[icon-lg],.hc-icon-lg{font-size:36px!important;height:36px!important;width:36px!important}.hc-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;font-size:20px;height:20px;text-align:center;width:20px}\n"],encapsulation:2}),n})();const ck=Li("transformPopover",[Qe(":enter",[me({opacity:0}),Pe("{{openTransition}}",me({opacity:1}))]),Qe(":leave",[Pe("{{closeTransition}}",me({opacity:0}))])]);var Gt=(()=>(function(n){n[n.OPEN=0]="OPEN",n[n.CLOSE=1]="CLOSE",n[n.TOGGLE=2]="TOGGLE",n[n.REPOSITION=3]="REPOSITION",n[n.UPDATE_CONFIG=4]="UPDATE_CONFIG",n[n.REALIGN=5]="REALIGN"}(Gt||(Gt={})),Gt))();class eo{constructor(t,e){this.action=t,this.value=e}}let J5=(()=>{class n{constructor(){this.store=new ie}dispatch(e){this.store.next(e)}events(){return this.store.asObservable()}dispose(){this.store.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();const lk=["noop","block","reposition","close"],uk=["click","mousedown","rightclick","hover","none"],dk=["before","start","center","end","after","mouse"],hk=["above","start","center","end","below","mouse"];function h_(n,t,e){return`Invalid ${n}: '${t}'. Valid options are ${e.map(i=>`'${i}'`).join(", ")}.`}let LM=(()=>{class n{constructor(e){this.ref=e,this._hostClass=!0,this._itemEnter=new ge}focus(){this.ref.nativeElement.focus(),this._itemEnter.emit()}blur(){this.ref.nativeElement.blur()}}return n.\u0275fac=function(e){return new(e||n)(I(De))},n.\u0275dir=H({type:n,selectors:[["","hcMenuItem",""],["","hcButtonItem",""]],hostVars:2,hostBindings:function(e,i){1&e&&Dt("mouseenter",function(){return i.focus()})("touchend",function(){return i.blur()})("touchcancel",function(){return i.blur()})("mouseleave",function(){return i.blur()}),2&e&&ke("hc-menu-item",i._hostClass)},outputs:{_itemEnter:"_itemEnter"}}),n})();const pk="100ms linear",fk="0ms linear";let NM=(()=>{class n{constructor(e,i,o){this._elementRef=e,this._focusTrapFactory=i,this._document=o,this.disableStyle=!1,this.showArrow=!0,this._horizontalAlign="center",this._verticalAlign="below",this._forceAlignment=!1,this._lockAlignment=!1,this._maxWidth="none",this._autoFocus=!1,this._autoFocusOverride=!1,this._restoreFocus=!0,this._restoreFocusOverride=!0,this._scrollStrategy="reposition",this._hasBackdrop=!0,this._interactiveClose=!0,this._openTransition=pk,this._closeTransition=pk,this.shouldAnimate=!0,this.backdropClass="",this.autoCloseOnContentClick=!1,this.opened=new ge,this.closed=new ge,this.afterOpen=new ge,this.afterClose=new ge,this.backdropClicked=new ge,this.overlayKeydown=new ge,this._offsetPos=[0,0],this._classList={},this._yAlignClass="",this._xAlignClass="",this._open=!1,this._subMenuOpen=!1,this._parentClose=new ie,this._parentCloseBlock=!1}get horizontalAlign(){return this._horizontalAlign}set horizontalAlign(e){this._validateHorizontalAlign(e),this._horizontalAlign!==e&&(this._horizontalAlign=e,this._dispatchConfigNotification(new eo(Gt.REPOSITION)))}get xAlign(){return this.horizontalAlign}set xAlign(e){this.horizontalAlign=e}get verticalAlign(){return this._verticalAlign}set verticalAlign(e){this._validateVerticalAlign(e),this._verticalAlign!==e&&(this._verticalAlign=e,this._dispatchConfigNotification(new eo(Gt.REPOSITION)))}get yAlign(){return this.verticalAlign}set yAlign(e){this.verticalAlign=e}get forceAlignment(){return this._forceAlignment}set forceAlignment(e){const i=mi(e);this._forceAlignment!==i&&(this._forceAlignment=i,this._dispatchConfigNotification(new eo(Gt.REPOSITION)))}get lockAlignment(){return this._lockAlignment}set lockAlignment(e){const i=mi(e);this._lockAlignment!==i&&(this._lockAlignment=mi(e),this._dispatchConfigNotification(new eo(Gt.REPOSITION)))}get maxWidth(){return this._maxWidth}set maxWidth(e){this._maxWidth=e}get autoFocus(){return this._autoFocus&&this._autoFocusOverride}set autoFocus(e){this._autoFocus=mi(e)}get restoreFocus(){return this._restoreFocus&&this._restoreFocusOverride}set restoreFocus(e){this._restoreFocus=mi(e)}get scrollStrategy(){return this._scrollStrategy}set scrollStrategy(e){this._validateScrollStrategy(e),this._scrollStrategy!==e&&(this._scrollStrategy=e,this._dispatchConfigNotification(new eo(Gt.UPDATE_CONFIG)))}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=mi(e),this._dispatchConfigNotification(new eo(Gt.UPDATE_CONFIG))}get interactiveClose(){return this._interactiveClose}set interactiveClose(e){this._interactiveClose=mi(e),this._dispatchConfigNotification(new eo(Gt.UPDATE_CONFIG))}get openTransition(){return this._openTransition}set openTransition(e){e&&(this._openTransition=e)}get closeTransition(){return this._closeTransition}set closeTransition(e){e&&(this._closeTransition=e)}get parent(){return this._parentMenu}set parent(e){this._parentMenu&&this._parentClose.unsubscribe(),this._parentMenu=e,this._parentMenu&&(this._parentClose=this._parentMenu.closed.subscribe(()=>{this.isOpen()&&this.close()}))}ngOnInit(){this._setAlignmentClasses()}ngOnDestroy(){this._notifications&&this._notifications.dispose(),this._parentMenu&&this._parentClose.unsubscribe()}_popContainerClicked(){this.autoCloseOnContentClick&&this.close()}open(e={}){const i=new eo(Gt.OPEN,e);this._dispatchActionNotification(i)}close(e){const i=new eo(Gt.CLOSE,e);this._dispatchActionNotification(i),this.parent&&!this._parentCloseBlock&&this.parent.close()}toggle(){this.parent&&(this.parent._subMenuOpen=!this.isOpen());const e=new eo(Gt.TOGGLE);this._dispatchActionNotification(e)}realign(){const e=new eo(Gt.REALIGN);this._dispatchActionNotification(e)}isOpen(){return this._open}_getAnimation(){return{value:"visible",params:{openTransition:this.shouldAnimate?this.openTransition:fk,closeTransition:this.shouldAnimate?this.closeTransition:fk}}}_onAnimationDone(e){"visible"===e.toState?(this._trapFocus(),this.afterOpen.emit()):"void"===e.toState&&(this._restoreFocusAndDestroyTrap(),this.afterClose.emit())}_setAlignmentClasses(e=this.horizontalAlign,i=this.verticalAlign){this._setAlignmentClassesForAnimation(e,i),this._setAlignmentClassesForArrow()}_setAlignmentClassesForAnimation(e=this.horizontalAlign,i=this.verticalAlign){this._classList["hc-pop-before"]="before"===e||"end"===e,this._classList["hc-pop-after"]="after"===e||"start"===e,this._classList["hc-pop-above"]="above"===i||"end"===i,this._classList["hc-pop-below"]="below"===i||"start"===i,this._classList["hc-pop-center"]="center"===e||"center"===i}_setAlignmentClassesForArrow(e=this.horizontalAlign,i=this.verticalAlign){this._classList["hc-pop-show-arrow"]=this.showArrow&&("start"===e||"center"===e||"end"===e)&&("above"===i||"below"===i)||("start"===i||"center"===i||"end"===i)&&("before"===e||"after"===e),this._yAlignClass=this._classList["hc-pop-show-arrow"]?`hc-pop-arrow-y-${i}`:"",this._xAlignClass=this._classList["hc-pop-show-arrow"]?`hc-pop-arrow-x-${e}`:""}_keyFocus(e){const i=this._menuItems.toArray();e||i.reverse();let o=!1;for(let r=0;r<i.length;r++){if(o&&!i[r].ref.nativeElement.classList.contains("hc-divider")&&!i[r].ref.nativeElement.disabled)return void i[r].focus();i[r].ref.nativeElement===document.activeElement&&(o=!0)}for(let r=0;r<i.length;r++)if(!i[r].ref.nativeElement.classList.contains("hc-divider")&&!i[r].ref.nativeElement.disabled)return void i[r].focus()}_restoreFocusAndDestroyTrap(){const e=this._previouslyFocusedElement;e&&"focus"in e&&this.restoreFocus&&this._previouslyFocusedElement&&this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null,this._focusTrap&&(this._focusTrap.destroy(),this._focusTrap=void 0)}_savePreviouslyFocusedElement(){this._document&&(this._previouslyFocusedElement=this._document.activeElement)}_trapFocus(){!this._focusTrapElement||(!this._focusTrap&&this._focusTrapElement&&(this._focusTrap=this._focusTrapFactory.create(this._focusTrapElement.nativeElement)),this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady())}_dispatchConfigNotification(e){this._notifications&&this._notifications.dispatch(e)}_dispatchActionNotification(e){if(!this._notifications)throw function X5(){return Error("HcPopover is not anchored to any HcPopoverAnchorDirective.")}();this._notifications.dispatch(e)}_validateHorizontalAlign(e){if(-1===dk.indexOf(e))throw function eB(n){return Error(h_("horizontalAlign/xAlign",n,dk))}(e)}_validateVerticalAlign(e){if(-1===hk.indexOf(e))throw function tB(n){return Error(h_("verticalAlign/yAlign",n,hk))}(e)}_validateScrollStrategy(e){if(-1===lk.indexOf(e))throw function iB(n){return Error(h_("scrollStrategy",n,lk))}(e)}}return n.\u0275fac=function(e){return new(e||n)(I(De),I(C1),I(st,8))},n.\u0275cmp=mt({type:n,selectors:[["hc-pop"]],contentQueries:function(e,i,o){if(1&e&&Lt(o,LM,5),2&e){let r;Ye(r=Ge())&&(i._menuItems=r)}},viewQuery:function(e,i){if(1&e&&(Ki(ln,5),Ki(X1,5)),2&e){let o;Ye(o=Ge())&&(i._templateRef=o.first),Ye(o=Ge())&&(i._focusTrapElement=o.first)}},inputs:{disableStyle:"disableStyle",showArrow:"showArrow",horizontalAlign:"horizontalAlign",xAlign:"xAlign",verticalAlign:"verticalAlign",yAlign:"yAlign",forceAlignment:"forceAlignment",lockAlignment:"lockAlignment",maxWidth:"maxWidth",autoFocus:"autoFocus",restoreFocus:"restoreFocus",scrollStrategy:"scrollStrategy",hasBackdrop:"hasBackdrop",interactiveClose:"interactiveClose",openTransition:"openTransition",closeTransition:"closeTransition",parent:"parent",shouldAnimate:"shouldAnimate",backdropClass:"backdropClass",autoCloseOnContentClick:"autoCloseOnContentClick"},outputs:{opened:"opened",closed:"closed",afterOpen:"afterOpen",afterClose:"afterClose",backdropClicked:"backdropClicked",overlayKeydown:"overlayKeydown"},ngContentSelectors:Ks,decls:1,vars:0,consts:[[1,"hc-pop-container",3,"ngClass","click"],["focusTrapElement",""],[3,"class",4,"ngIf"]],template:function(e,i){1&e&&(pi(),wt(0,wz,4,11,"ng-template"))},dependencies:[_m,Xl],styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:2100}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:2100}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:2100;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:2100;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.hc-pop-before.hc-pop-above{transform-origin:right bottom}[dir=rtl] .hc-pop-before.hc-pop-above{transform-origin:left bottom}.hc-pop-before.hc-pop-center{transform-origin:right center}[dir=rtl] .hc-pop-before.hc-pop-center{transform-origin:left center}.hc-pop-before.hc-pop-below{transform-origin:right top}[dir=rtl] .hc-pop-before.hc-pop-below{transform-origin:left top}.hc-pop-center.hc-pop-above{transform-origin:center bottom}.hc-pop-center.hc-pop-below{transform-origin:center top}.hc-pop-after.hc-pop-above{transform-origin:left bottom}[dir=rtl] .hc-pop-after.hc-pop-above{transform-origin:right bottom}.hc-pop-after.hc-pop-center{transform-origin:left center}[dir=rtl] .hc-pop-after.hc-pop-center{transform-origin:right center}.hc-pop-after.hc-pop-below{transform-origin:left top}[dir=rtl] .hc-pop-after.hc-pop-below{transform-origin:right top}.hc-pop-container-basic{background-color:#fff;border:1px solid #cccccc;border-radius:4px;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;color:#333;padding:12px}.hc-pop-show-arrow .hc-pop-arrow{background-color:#fff;border-style:solid;border-width:1px;display:block;height:10px;position:absolute;transform:rotate(45deg);width:10px}.hc-pop-arrow-x-start .hc-pop-arrow{left:5px}.hc-pop-arrow-x-center .hc-pop-arrow{left:calc(50% - 6px)}.hc-pop-arrow-x-end .hc-pop-arrow{left:calc(100% - 15px)}.hc-pop-arrow-y-start .hc-pop-arrow{top:5px}.hc-pop-arrow-y-center .hc-pop-arrow{top:calc(50% - 6px)}.hc-pop-arrow-y-end .hc-pop-arrow{top:calc(100% - 15px)}.hc-pop-arrow-y-above .hc-pop-arrow{border-color:transparent #cccccc #cccccc transparent;bottom:-6px}.hc-pop-arrow-y-below .hc-pop-arrow{border-color:#cccccc transparent transparent #cccccc;top:-6px}.hc-pop-arrow-x-before .hc-pop-arrow{border-color:#cccccc #cccccc transparent transparent;right:-6px}.hc-pop-arrow-x-after .hc-pop-arrow{border-color:transparent transparent #cccccc #cccccc;left:-6px}.hc-pop-arrow-y-above.hc-pop-show-arrow,.hc-pop-arrow-y-below.hc-pop-show-arrow{margin:6px 0;position:relative}.hc-pop-arrow-x-before.hc-pop-show-arrow,.hc-pop-arrow-x-after.hc-pop-show-arrow{margin:0 6px;position:relative}\n"],encapsulation:2,data:{animation:[ck]}}),n})(),oB=(()=>{class n extends NM{constructor(){super(...arguments),this.tooltipContent=""}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=tt(n)))(i||n)}}(),n.\u0275cmp=mt({type:n,selectors:[["hc-tooltip"]],inputs:{tooltipContent:"tooltipContent"},features:[te],decls:2,vars:0,consts:[["_templateRef",""],[1,"hc-pop-container",",","hc-tooltip-container",3,"ngClass"],[1,"hc-tooltip"],["class","hc-pop-arrow hc-pop-arrow-y-above hc-pop-arrow-x-center",4,"ngIf"],[1,"hc-pop-arrow","hc-pop-arrow-y-above","hc-pop-arrow-x-center"]],template:function(e,i){1&e&&wt(0,xz,4,12,"ng-template",null,0,Ex)},dependencies:[_m,Xl],styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:2100}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:2100}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:2100;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:2100;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.hc-pop-before.hc-pop-above{transform-origin:right bottom}[dir=rtl] .hc-pop-before.hc-pop-above{transform-origin:left bottom}.hc-pop-before.hc-pop-center{transform-origin:right center}[dir=rtl] .hc-pop-before.hc-pop-center{transform-origin:left center}.hc-pop-before.hc-pop-below{transform-origin:right top}[dir=rtl] .hc-pop-before.hc-pop-below{transform-origin:left top}.hc-pop-center.hc-pop-above{transform-origin:center bottom}.hc-pop-center.hc-pop-below{transform-origin:center top}.hc-pop-after.hc-pop-above{transform-origin:left bottom}[dir=rtl] .hc-pop-after.hc-pop-above{transform-origin:right bottom}.hc-pop-after.hc-pop-center{transform-origin:left center}[dir=rtl] .hc-pop-after.hc-pop-center{transform-origin:right center}.hc-pop-after.hc-pop-below{transform-origin:left top}[dir=rtl] .hc-pop-after.hc-pop-below{transform-origin:right top}.hc-pop-container-basic{background-color:#fff;border:1px solid #cccccc;border-radius:4px;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;color:#333;padding:12px}.hc-pop-show-arrow .hc-pop-arrow{background-color:#fff;border-style:solid;border-width:1px;display:block;height:10px;position:absolute;transform:rotate(45deg);width:10px}.hc-pop-arrow-x-start .hc-pop-arrow{left:5px}.hc-pop-arrow-x-center .hc-pop-arrow{left:calc(50% - 6px)}.hc-pop-arrow-x-end .hc-pop-arrow{left:calc(100% - 15px)}.hc-pop-arrow-y-start .hc-pop-arrow{top:5px}.hc-pop-arrow-y-center .hc-pop-arrow{top:calc(50% - 6px)}.hc-pop-arrow-y-end .hc-pop-arrow{top:calc(100% - 15px)}.hc-pop-arrow-y-above .hc-pop-arrow{border-color:transparent #cccccc #cccccc transparent;bottom:-6px}.hc-pop-arrow-y-below .hc-pop-arrow{border-color:#cccccc transparent transparent #cccccc;top:-6px}.hc-pop-arrow-x-before .hc-pop-arrow{border-color:#cccccc #cccccc transparent transparent;right:-6px}.hc-pop-arrow-x-after .hc-pop-arrow{border-color:transparent transparent #cccccc #cccccc;left:-6px}.hc-pop-arrow-y-above.hc-pop-show-arrow,.hc-pop-arrow-y-below.hc-pop-show-arrow{margin:6px 0;position:relative}.hc-pop-arrow-x-before.hc-pop-show-arrow,.hc-pop-arrow-x-after.hc-pop-show-arrow{margin:0 6px;position:relative}\n",".hc-pop-container .hc-tooltip{background-color:#333;border-radius:4px;padding:7px;margin:-1px;color:#fff}.hc-pop-container .hc-tooltip+.hc-pop-arrow{background-color:#333!important;border-color:transparent!important}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:2100}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:2100}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:2100;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:2100;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.hc-tooltip-container{line-height:14px}.hc-tooltip-container .hc-tooltip{margin-right:0;margin-left:0}.hc-tooltip-container .hc-pop-arrow{bottom:-6px}\n"],encapsulation:2,data:{animation:[ck]}}),n})(),gk=(()=>{class n{constructor(e,i,o,r){this._overlay=e,this._renderer=i,this._ngZone=o,this._dir=r,this.popoverOpened=new ie,this.popoverClosed=new ie,this._popoverOpen=!1,this._onDestroy=new ie,this._fixedPos=[]}ngOnDestroy(){this._destroyPopover(),this._notificationsSubscription&&this._notificationsSubscription.unsubscribe(),this._positionChangeSubscription&&this._positionChangeSubscription.unsubscribe(),this._onDestroy.next(),this._onDestroy.complete(),this.popoverOpened.complete(),this.popoverClosed.complete()}anchor(e,i,o){this._destroyPopover(),this._popover=e,this._viewContainerRef=i,this._anchor=o,this._popover._notifications=this._notifications=this._anchor._notifications=new J5,this._subscribeToNotifications()}isPopoverOpen(){return this._popoverOpen}togglePopover(){return this._popoverOpen?this.closePopover():this.openPopover()}openPopover(e={}){this._popoverOpen||(this._applyOpenOptions(e),this._popover._componentOverlay=this._createOverlay(),this._subscribeToBackdrop(),this._subscribeToEscape(),this._subscribeToDetachments(),this._saveOpenedState(),this._popover._savePreviouslyFocusedElement())}closePopover(e,i=!1){this._unlistener&&this._unlistener(),this._popover._componentOverlay&&(this._saveClosedState(e,i),this._popover._componentOverlay.detach(),this._popover._restoreFocusAndDestroyTrap())}realignPopoverToAnchor(){this._popover._componentOverlay&&this._popover._componentOverlay.getConfig().positionStrategy.reapplyLastPosition()}getAnchorElement(){return this._anchor._elementRef}_applyOpenOptions(e){this._popover._restoreFocusOverride=!1!==e.restoreFocus,this._popover._autoFocusOverride=!1!==e.autoFocus,(e.x||e.y)&&(this._destroyPopoverOnceClosed(),this._fixedPos[0]=e.x?e.x:0,this._fixedPos[1]=e.y?e.y:0)}_createOverlay(){if(this._overlayRef)("mouse"===this._popover.horizontalAlign||"mouse"===this._popover.verticalAlign&&!this._fixedPos.length)&&this._overlayRef.updatePositionStrategy(this._getPositionStrategy(this._popover.horizontalAlign,this._popover.verticalAlign,this._popover.forceAlignment,this._popover.lockAlignment,this._anchor._elementRef));else{this._portal=new o1(this._popover._templateRef,this._viewContainerRef);const i=this._getOverlayConfig({horizontalAlign:this._popover.horizontalAlign,verticalAlign:this._popover.verticalAlign,hasBackdrop:this._popover.hasBackdrop,backdropClass:this._popover.backdropClass,scrollStrategy:this._popover.scrollStrategy,forceAlignment:this._popover.forceAlignment,lockAlignment:this._popover.lockAlignment},this._anchor);this._fixedPos.length||this._subscribeToPositionChanges(i.positionStrategy),this._overlayRef=this._overlay.create(i)}return this._overlayRef.attach(this._portal),this._overlayRef}_destroyPopover(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}_destroyPopoverOnceClosed(){this.isPopoverOpen()&&this._overlayRef?this._overlayRef.detachments().pipe($s(1),ft(this._onDestroy)).subscribe(()=>this._destroyPopover()):this._destroyPopover()}_subscribeToNotifications(){this._notificationsSubscription&&this._notificationsSubscription.unsubscribe(),this._notificationsSubscription=this._notifications.events().subscribe(e=>{switch(e.action){case Gt.OPEN:this.openPopover(e.value);break;case Gt.CLOSE:this.closePopover(e.value);break;case Gt.TOGGLE:this.togglePopover();break;case Gt.REPOSITION:case Gt.UPDATE_CONFIG:this._destroyPopoverOnceClosed();break;case Gt.REALIGN:this.realignPopoverToAnchor()}})}_subscribeToBackdrop(){!this._overlayRef||(this._overlayRef.backdropClick().pipe(tu(()=>this._popover.backdropClicked.emit()),Qs(()=>this._popover.interactiveClose),ft(this.popoverClosed),ft(this._onDestroy)).subscribe(()=>this.closePopover()),this._overlayRef.backdropElement&&this._popover.interactiveClose&&(this._unlistener=this._renderer.listen(this._overlayRef.backdropElement,"contextmenu",e=>{e.preventDefault(),this._popover.backdropClicked.emit(),this.closePopover()})))}_subscribeToEscape(){!this._overlayRef||this._overlayRef.keydownEvents().pipe(tu(e=>this._popover.overlayKeydown.emit(e)),Qs(e=>"Escape"===e.key),Qs(()=>this._popover.interactiveClose),ft(this.popoverClosed),ft(this._onDestroy)).subscribe(()=>this.closePopover())}_subscribeToDetachments(){!this._overlayRef||this._overlayRef.detachments().pipe(ft(this._onDestroy)).subscribe(()=>this._saveClosedState())}_saveOpenedState(){this._popoverOpen||(this._popover._open=this._popoverOpen=!0,this._popover.parent&&(this._popover.parent._subMenuOpen=!0),this.popoverOpened.next(),typeof this._context>"u"?this._popover.opened.emit():this._popover.opened.emit(this._context))}_saveClosedState(e,i=!1){this._popoverOpen&&(this._popover._open=this._popoverOpen=!1,this._popover.parent&&(this._popover.parent._subMenuOpen=i),this.popoverClosed.next(e),this._popover.closed.emit(e))}_getDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_getOverlayConfig(e,i){return new c1({positionStrategy:this._fixedPos.length?this._getFixedPositionStrategy():this._getPositionStrategy(e.horizontalAlign,e.verticalAlign,e.forceAlignment,e.lockAlignment,i._elementRef),hasBackdrop:"hover"!==i.trigger&&e.hasBackdrop,backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._getScrollStrategyInstance(e.scrollStrategy),direction:this._getDirection(),panelClass:"hover"!==i.trigger||i._hasSubmenu?"":"overlay-pointer-events"})}_subscribeToPositionChanges(e){this._positionChangeSubscription&&this._positionChangeSubscription.unsubscribe(),this._positionChangeSubscription=e.positionChanges.pipe(ft(this._onDestroy)).subscribe(i=>{this._ngZone.run(()=>{this._popover._setAlignmentClassesForAnimation(function aB(n){return"start"===n?"after":"end"===n?"before":"center"}(i.connectionPair.overlayX),function cB(n){return"top"===n?"below":"bottom"===n?"above":"center"}(i.connectionPair.overlayY)),this._popover._setAlignmentClassesForArrow(function rB(n,t){return n===t?n:"start"===n?"after":"end"===n?"before":"center"}(i.connectionPair.overlayX,i.connectionPair.originX),function sB(n,t){return n!==t||"top"!==n&&"bottom"!==n?"top"===n?"below":"bottom"===n?"above":"center":"top"===n?"start":"end"}(i.connectionPair.overlayY,i.connectionPair.originY))})})}_getScrollStrategyInstance(e){switch(e){case"block":return this._overlay.scrollStrategies.block();case"reposition":return this._overlay.scrollStrategies.reposition();case"close":return this._overlay.scrollStrategies.close();default:return this._overlay.scrollStrategies.noop()}}_getPositionStrategy(e,i,o,r,s){const u=[mk(e,i,this._popover._offsetPos)],h=this._overlay.position().flexibleConnectedTo(s).withPush(!1).withViewportMargin(0).withLockedPosition(r);if(!o){const p=this._getFallbacks(e,i);u.push(...p)}return h.withPositions(u)}_getFixedPositionStrategy(){return this._overlay.position().global().left(this._fixedPos[0]+"px").top(this._fixedPos[1]+"px")}_getFallbacks(e,i){const c="above"!==i&&"below"!==i?["above","start","center","end","below","mouse"]:["above","below"],u=[];return _k(e,"before"!==e&&"after"!==e?["before","start","center","end","after","mouse"]:["before","after"]).forEach(h=>{_k(i,c).forEach(p=>{u.push(mk(h,p,this._popover._offsetPos))})}),u.slice(1,u.length)}}return n.\u0275fac=function(e){return new(e||n)(P(Km),P(Ti),P(We),P(Zm,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();function mk(n,t,e){const{originX:i,overlayX:o}=function lB(n){switch(n){case"before":return{originX:"start",overlayX:"end"};case"start":case"mouse":return{originX:"start",overlayX:"start"};case"end":return{originX:"end",overlayX:"end"};case"after":return{originX:"end",overlayX:"start"};default:return{originX:"center",overlayX:"center"}}}(n),{originY:r,overlayY:s}=function uB(n){switch(n){case"above":return{originY:"top",overlayY:"bottom"};case"start":case"mouse":return{originY:"top",overlayY:"top"};case"end":return{originY:"bottom",overlayY:"bottom"};case"below":return{originY:"bottom",overlayY:"top"};default:return{originY:"center",overlayY:"center"}}}(t);return new ER({originX:i,originY:r},{overlayX:o,overlayY:s},e[0],e[1])}function _k(n,t){const e=t.indexOf(n),i=[n],o=t.slice(0,e),r=t.slice(e+1,t.length).reverse();for(;o.length&&r.length;){const s=r.pop();s&&i.push(s);const c=o.pop();c&&i.push(c)}for(;r.length;){const s=r.pop();s&&i.push(s)}for(;o.length;){const s=o.pop();s&&i.push(s)}return i}let bk=(()=>{class n{constructor(){this.notifiers=[],this.handleKeydown=e=>{this.notifiers.filter(i=>i.isOpen).forEach(i=>i.onKeyDown(e)),"ArrowRight"===e.key&&this.notifiers.filter(i=>document.activeElement===i.nativeElement&&i.hasSubmenu()).forEach(i=>i.onKeyDown(e))},window.addEventListener("keydown",this.handleKeydown)}ngOnDestroy(){window.removeEventListener("keydown",this.handleKeydown)}registerNotifier(e){this.notifiers.push(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),vk=(()=>{class n{constructor(e,i,o,r,s){this._elementRef=e,this._viewContainerRef=i,this._anchoring=o,this._accessibility=r,this._componentFactoryResolver=s,this._trigger="click",this._popoverDelay=0,this._maxWidth="none",this._hasSubmenu=!1,this.popoverOpened=new ge,this.popoverClosed=new ge,this._onDestroy=new ie}get attachedPopover(){return this._attachedPopover}set attachedPopover(e){this._validateAttachedPopover(e),this._attachedPopover=e,this._anchoring.anchor(this.attachedPopover,this._viewContainerRef,this)}get tooltipText(){return this._tooltipText}set tooltipText(e){this._tooltipText=e;const i=this._componentFactoryResolver.resolveComponentFactory(oB),o=this._viewContainerRef.createComponent(i).instance;o.tooltipContent=e,o.disableStyle=!0,o.verticalAlign="above",o.scrollStrategy="close",o.restoreFocus=!1,o.maxWidth=this._maxWidth,this.attachedPopover=o,this.trigger="hover",this.popoverDelay=300}get trigger(){return this._trigger}set trigger(e){this._validateTrigger(e),this._trigger!==e&&(this._trigger=e),this._dispatchConfigNotification(new eo(Gt.UPDATE_CONFIG))}get popoverDelay(){return this._popoverDelay}set popoverDelay(e){this._popoverDelay=Number(e)}get maxWidth(){return this._attachedPopover.maxWidth}set maxWidth(e){this._maxWidth=e,this.attachedPopover&&(this._attachedPopover.maxWidth=e)}get restoreFocus(){return this._attachedPopover.restoreFocus&&this._attachedPopover._restoreFocusOverride}set restoreFocus(e){this.attachedPopover&&(this._attachedPopover.restoreFocus=Ni(e))}get context(){return this._anchoring._context}set context(e){this._anchoring._context=e}get horizontalAlign(){return this._attachedPopover.horizontalAlign}set horizontalAlign(e){this.attachedPopover&&(this.attachedPopover.horizontalAlign=e)}get verticalAlign(){return this._attachedPopover.verticalAlign}set verticalAlign(e){this.attachedPopover&&(this.attachedPopover.verticalAlign=e)}ngOnInit(){Bi(this._anchoring.popoverOpened.pipe(tu(()=>this.popoverOpened.emit())),this._anchoring.popoverClosed.pipe(tu(o=>this.popoverClosed.emit(o)))).pipe(ft(this._onDestroy)).subscribe()}ngAfterContentInit(){this._setupKeyboardEvents()}ngOnDestroy(){clearTimeout(this.hoverInterval),this._onDestroy.next(),this._onDestroy.complete()}_showOrHideOnClick(e){this._hasSubmenu&&e&&(e.stopPropagation(),e.preventDefault()),"click"===this.trigger&&(this._attachedPopover._offsetPos[0]="mouse"===this._attachedPopover.horizontalAlign?e.offsetX:0,this._attachedPopover._offsetPos[1]="mouse"===this._attachedPopover.verticalAlign?e.offsetY:0,this.togglePopover())}_showOrHideOnEnter(e){const i=e.target;i&&"BUTTON"===i.tagName||"Enter"!==e.key&&" "!==e.key||"click"!==this.trigger||this.togglePopover()}_showOrHideOnMouseOver(e){"mousedown"===this.trigger&&(this._attachedPopover._offsetPos[0]="mouse"===this._attachedPopover.horizontalAlign?e.offsetX:0,this._attachedPopover._offsetPos[1]="mouse"===this._attachedPopover.verticalAlign?e.offsetY:0,this.togglePopover())}_showOrHideRightClick(e){return"rightclick"!==this.trigger||(this._attachedPopover._offsetPos[0]="mouse"===this._attachedPopover.horizontalAlign?e.offsetX:0,this._attachedPopover._offsetPos[1]="mouse"===this._attachedPopover.verticalAlign?e.offsetY:0,this.togglePopover(),!1)}_showOnHover(e){"hover"===this.trigger&&(this._attachedPopover._offsetPos[0]="mouse"===this._attachedPopover.horizontalAlign?e.offsetX:0,this._attachedPopover._offsetPos[1]="mouse"===this._attachedPopover.verticalAlign?e.offsetY:0,this.hoverInterval=window.setTimeout(()=>{this._hasSubmenu?this.openPopover():this.togglePopover()},this.popoverDelay))}_hideOnLeave(){"hover"===this.trigger&&(this._hasSubmenu||this.closePopover())}_keyEvent(e){this.attachedPopover.isOpen()&&this.attachedPopover._menuItems.length>0&&!this.attachedPopover._subMenuOpen&&("ArrowUp"===e.key||"Tab"===e.key&&e.shiftKey?(e.stopPropagation(),e.preventDefault(),this.attachedPopover._keyFocus(!1)):"ArrowDown"===e.key||"Tab"===e.key&&!e.shiftKey?(e.stopPropagation(),e.preventDefault(),this.attachedPopover._keyFocus(!0)):this.attachedPopover.parent&&this.attachedPopover.parent.isOpen()&&"ArrowLeft"===e.key&&(e.stopPropagation(),e.preventDefault(),this.closePopover())),this._hasSubmenu&&this._elementRef.nativeElement===document.activeElement&&"ArrowRight"===e.key&&(e.stopPropagation(),e.preventDefault(),this.openPopover(),this.attachedPopover._keyFocus(!0))}isPopoverOpen(){return this._anchoring.isPopoverOpen()}togglePopover(){this._anchoring.togglePopover()}openPopover(e={}){this._anchoring.openPopover(e)}closePopover(e,i=!1){clearTimeout(this.hoverInterval),this._anchoring.closePopover(e,i)}realignPopover(){this._anchoring.realignPopoverToAnchor()}getElement(){return this._elementRef}_validateAttachedPopover(e){if(!(e&&e instanceof NM))throw function q5(){return Error("HcPopoverAnchorDirective must be provided an HcPopover component instance.")}()}_validateTrigger(e){if(-1===uk.indexOf(e))throw function nB(n){return Error(h_("trigger",n,uk))}(e)}_dispatchConfigNotification(e){this._notifications&&this._notifications.dispatch(e)}_setupKeyboardEvents(){const e={isOpen:!1,nativeElement:this._elementRef.nativeElement,hasSubmenu:()=>this._hasSubmenu,onKeyDown:i=>this._keyEvent(i)};this.popoverClosed.asObservable().subscribe(()=>e.isOpen=!1),this.popoverOpened.asObservable().subscribe(()=>e.isOpen=!0),this._accessibility.registerNotifier(e)}}return n.\u0275fac=function(e){return new(e||n)(I(De),I(Tn),I(gk),I(bk),I(at))},n.\u0275dir=H({type:n,selectors:[["","hcPop",""],["","hcTooltip",""]],hostVars:2,hostBindings:function(e,i){1&e&&Dt("click",function(r){return i._showOrHideOnClick(r)})("keydown",function(r){return i._showOrHideOnEnter(r)})("touchstart",function(r){return i._showOrHideOnMouseOver(r)})("mousedown",function(r){return i._showOrHideOnMouseOver(r)})("contextmenu",function(r){return i._showOrHideRightClick(r)})("mouseenter",function(r){return i._showOnHover(r)})("touchend",function(){return i._hideOnLeave()})("touchcancel",function(){return i._hideOnLeave()})("mouseleave",function(){return i._hideOnLeave()}),2&e&&ke("hc-menu-item-submenu",i._hasSubmenu)},inputs:{attachedPopover:["hcPop","attachedPopover"],tooltipText:["hcTooltip","tooltipText"],trigger:"trigger",popoverDelay:"popoverDelay",maxWidth:"maxWidth",restoreFocus:"restoreFocus",context:"context",horizontalAlign:"horizontalAlign",verticalAlign:"verticalAlign"},outputs:{popoverOpened:"popoverOpened",popoverClosed:"popoverClosed"},exportAs:["hcPopAnchor"],features:[be([gk])]}),n})(),dB=(()=>{class n{constructor(){this._hostClass=!0,this.unsubscribe$=new ie}ngAfterContentInit(){this.updateSubMenus(),this._menuItems.changes.pipe(ft(this.unsubscribe$)).subscribe(()=>this.updateSubMenus())}updateSubMenus(){this._subMenus.forEach(e=>{e._hasSubmenu=!0,e.trigger="hover"}),this._menuItems.forEach(e=>{e._itemEnter.pipe(ft(this.unsubscribe$)).subscribe(()=>{this._subMenus.forEach(i=>{if(i._elementRef.nativeElement!==e.ref.nativeElement&&i.attachedPopover.isOpen()){i.attachedPopover._parentCloseBlock=!0,i.attachedPopover._restoreFocusOverride=!1,i.closePopover({},!0),i.attachedPopover._restoreFocusOverride=!0;const o=i.attachedPopover.afterClose.subscribe(()=>{i.attachedPopover._parentCloseBlock=!1,o.unsubscribe()})}})})})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=H({type:n,selectors:[["","hcMenu",""]],contentQueries:function(e,i,o){if(1&e&&(Lt(o,vk,4),Lt(o,LM,4)),2&e){let r;Ye(r=Ge())&&(i._subMenus=r),Ye(r=Ge())&&(i._menuItems=r)}},hostVars:2,hostBindings:function(e,i){2&e&&ke("hc-menu-panel",i._hostClass)}}),n})(),hB=(()=>{class n{constructor(){this._hostClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=H({type:n,selectors:[["","hcMenuText",""]],hostVars:2,hostBindings:function(e,i){2&e&&ke("hc-menu-text",i._hostClass)}}),n})(),pB=(()=>{class n{constructor(){this._hostClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=H({type:n,selectors:[["","hcDivider",""]],hostVars:2,hostBindings:function(e,i){2&e&&ke("hc-divider",i._hostClass)}}),n})(),AM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({providers:[bk],imports:[Zr,UR,E3,Wh,Wh]}),n})(),gB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[Zr]}),n})();class oc{transform(t,e=2,i=1e6){if(null===t)return t;(e<0||!Number.isInteger(e))&&(e=2),(i<1e3||!Number.isInteger(i))&&(i=1e3);const o=Math.abs(t);let r="",s="";const c=t<0;if(o>=i)for(const u of oc.powers){let h=o/u.value;if(h=this.roundValue(h,e),h>=1){s=h.toString(),r=u.key;break}}else s=this.roundValue(o,e).toLocaleString();return(c?"-":"")+s+r}roundValue(t,e=2){const i=Math.pow(10,e);return Math.round(t*i)/i}}oc.powers=[{key:"Q",value:Math.pow(10,15)},{key:"T",value:Math.pow(10,12)},{key:"B",value:Math.pow(10,9)},{key:"M",value:Math.pow(10,6)},{key:"K",value:1e3}],oc.\u0275fac=function(t){return new(t||oc)},oc.\u0275pipe=tn({name:"abbreviateNumber",type:oc,pure:!0});let yk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({}),n})();const Mk=["primary","primary-alt","destructive","neutral","secondary","minimal","link","link-inline"],mB=["blue","green","purple","red","orange","ruby-red","deep-red","red-orange","magenta","pink","light-pink","azure","teal","dark-green","brown","purple-gray","yellow","yellow-orange","tan"],_B=["sm","md","lg"],yB=["hc-icon-button","hc-button"];let MB=(()=>{class n{constructor(e,i){this.elementRef=e,this.renderer=i,this._disabled=!1,this.buttonStyle="primary",this.size="md";for(const o of yB)e.nativeElement.hasAttribute(o)&&i.addClass(e.nativeElement,o)}get buttonStyle(){return this._style}set buttonStyle(e){(function bB(n,t){if(Mk.indexOf(n)<0&&mB.indexOf(n)<0)throw Error("Unsupported buttonStyle attribute value on "+t+": "+n)})(e,"ButtonComponent"),Mk.indexOf(e)<0&&(e="button-"+e),this.setHostClass(this._style,e),this._style=e}get size(){return this._size}set size(e){(function vB(n,t){if(_B.indexOf(n)<0)throw Error("Unsupported size attribute value on "+t+": "+n)})(e,"ButtonComponent"),this.setHostClass(this._size,e),this._size=e}get disabled(){return this._disabled}set disabled(e){this._disabled=Ni(e)}get _disabledAttr(){return this.disabled?"disabled":null}focus(){this.elementRef.nativeElement.focus()}setHostClass(e,i){e!==i&&(e&&this.renderer.removeClass(this.elementRef.nativeElement,this._hcClassify(e)),this.renderer.addClass(this.elementRef.nativeElement,this._hcClassify(i)))}_hcClassify(e){return`hc-${e}`}}return n.\u0275fac=function(e){return new(e||n)(I(De),I(Ti))},n.\u0275cmp=mt({type:n,selectors:[["button","hc-button",""],["button","hc-icon-button",""]],hostVars:1,hostBindings:function(e,i){2&e&&$t("disabled",i._disabledAttr)},inputs:{buttonStyle:"buttonStyle",size:"size",disabled:"disabled"},attrs:kz,ngContentSelectors:Ks,decls:1,vars:0,template:function(e,i){1&e&&(pi(),Et(0))},styles:['.hc-button{display:inline-flex;align-items:center;justify-content:center;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;user-select:none;background-image:none;border:none;border-radius:5px;font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif}.hc-button[disabled]{cursor:not-allowed}.hc-button:focus{outline:none;border-bottom:none;box-shadow:0 0 0 2px #00aeff66}.hc-button:active{background-image:none;outline:none}.hc-button::-moz-focus-inner{border:0}.hc-button.hc-primary{color:#fff;background-color:#00a859}.hc-button.hc-primary:focus{background-color:#008647;box-shadow:0 0 0 3px #00a85966}.hc-button.hc-primary:hover{background-color:#009750;color:#fff}.hc-button.hc-primary:active{background-color:#008647;color:#fff}.hc-button.hc-primary[disabled],.hc-button.hc-primary[disabled]:hover,.hc-button.hc-primary[disabled]:focus,.hc-button.hc-primary[disabled]:active{background-color:#00a859;opacity:.35}.hc-button.hc-primary-alt{color:#fff;background-color:#6e53a3}.hc-button.hc-primary-alt:focus{background-color:#584282;box-shadow:0 0 0 3px #6e53a366}.hc-button.hc-primary-alt:hover{background-color:#634b93;color:#fff}.hc-button.hc-primary-alt:active{background-color:#584282;color:#fff}.hc-button.hc-primary-alt[disabled],.hc-button.hc-primary-alt[disabled]:hover,.hc-button.hc-primary-alt[disabled]:focus,.hc-button.hc-primary-alt[disabled]:active{background-color:#6e53a3;opacity:.35}.hc-button.hc-destructive{color:#fff;background-color:#f13c45}.hc-button.hc-destructive:focus{background-color:#c13037;box-shadow:0 0 0 3px #f13c4566}.hc-button.hc-destructive:hover{background-color:#d9363e;color:#fff}.hc-button.hc-destructive:active{background-color:#c13037;color:#fff}.hc-button.hc-destructive[disabled],.hc-button.hc-destructive[disabled]:hover,.hc-button.hc-destructive[disabled]:focus,.hc-button.hc-destructive[disabled]:active{background-color:#f13c45;opacity:.35}.hc-button.hc-neutral{color:#fff;background-color:#6d6e70}.hc-button.hc-neutral:focus{background-color:#57585a;box-shadow:0 0 0 3px #6d6e7066}.hc-button.hc-neutral:hover{background-color:#626365;color:#fff}.hc-button.hc-neutral:active{background-color:#57585a;color:#fff}.hc-button.hc-neutral[disabled],.hc-button.hc-neutral[disabled]:hover,.hc-button.hc-neutral[disabled]:focus,.hc-button.hc-neutral[disabled]:active{background-color:#6d6e70;opacity:.35}.hc-button.hc-secondary{color:#fff;background-color:#f1f1f1;color:#515353;border:1.5px solid #cccccc;height:36px;line-height:33px;padding-right:19px}.hc-button.hc-secondary:focus{background-color:#d9d9d9;box-shadow:0 0 0 3px #f1f1f166}.hc-button.hc-secondary:hover{background-color:#e5e5e5;color:#fff}.hc-button.hc-secondary:active{background-color:#d9d9d9;color:#fff}.hc-button.hc-secondary[disabled],.hc-button.hc-secondary[disabled]:hover,.hc-button.hc-secondary[disabled]:focus,.hc-button.hc-secondary[disabled]:active{background-color:#f1f1f1;opacity:.35}.hc-button.hc-secondary:hover{color:#333}.hc-button.hc-secondary:focus{box-shadow:0 0 0 2px #00aeff66}.hc-button.hc-secondary[disabled]:hover{color:#515353}.hc-button.hc-minimal{background-color:transparent;color:#6d6e70}.hc-button.hc-minimal:hover{color:#333;background-color:#e0e0e0}.hc-button.hc-minimal:active{background-color:#d3d3d3}.hc-button.hc-minimal[disabled],.hc-button.hc-minimal[disabled]:hover,.hc-button.hc-minimal[disabled]:focus,.hc-button.hc-minimal[disabled]:active{background-color:transparent;color:#ccc}.hc-button.hc-sm{padding:3px 12px;height:26px;min-width:auto;font-size:1rem;line-height:14px}.hc-button.hc-md{padding:0 20px;height:35px;min-width:150px;font-size:1.0714285714rem;line-height:15px}.hc-button.hc-lg{padding:0 30px;height:40px;min-width:200px;font-size:1.2142857143rem;line-height:17px}.hc-button.hc-link,.hc-button.hc-link-inline{background-color:transparent;color:#00aeff;font-weight:600}.hc-button.hc-link .label,.hc-button.hc-link-inline .label{color:#6d6e70;font-weight:400;margin-right:10px}.hc-button.hc-link .value,.hc-button.hc-link-inline .value{color:#333;font-weight:400;margin-right:10px}.hc-button.hc-link:hover,.hc-button.hc-link-inline:hover{color:#33beff}.hc-button.hc-link:active,.hc-button.hc-link-inline:active{color:#008bcc}.hc-button.hc-link[disabled],.hc-button.hc-link[disabled]:hover,.hc-button.hc-link[disabled]:focus,.hc-button.hc-link[disabled]:active,.hc-button.hc-link-inline[disabled],.hc-button.hc-link-inline[disabled]:hover,.hc-button.hc-link-inline[disabled]:focus,.hc-button.hc-link-inline[disabled]:active{opacity:.35;color:#00aeff}.hc-button.hc-link[disabled] .label,.hc-button.hc-link[disabled] .value,.hc-button.hc-link[disabled]:hover .label,.hc-button.hc-link[disabled]:hover .value,.hc-button.hc-link[disabled]:focus .label,.hc-button.hc-link[disabled]:focus .value,.hc-button.hc-link[disabled]:active .label,.hc-button.hc-link[disabled]:active .value,.hc-button.hc-link-inline[disabled] .label,.hc-button.hc-link-inline[disabled] .value,.hc-button.hc-link-inline[disabled]:hover .label,.hc-button.hc-link-inline[disabled]:hover .value,.hc-button.hc-link-inline[disabled]:focus .label,.hc-button.hc-link-inline[disabled]:focus .value,.hc-button.hc-link-inline[disabled]:active .label,.hc-button.hc-link-inline[disabled]:active .value{color:#333}.hc-button.hc-link-inline{padding:0;height:auto;width:auto;min-width:0;font-size:inherit;line-height:inherit;text-align:inherit;white-space:inherit;vertical-align:inherit;font-family:inherit;border:none}.hc-button.hc-link-inline:focus{outline:none;border-radius:0;box-shadow:0 2px #00aeff}.hc-button.hc-button-blue{color:#fff;background-color:#00aeff}.hc-button.hc-button-blue:focus{background-color:#008bcc;box-shadow:0 0 0 3px #00aeff66}.hc-button.hc-button-blue:hover{background-color:#009de6;color:#fff}.hc-button.hc-button-blue:active{background-color:#008bcc;color:#fff}.hc-button.hc-button-blue[disabled],.hc-button.hc-button-blue[disabled]:hover,.hc-button.hc-button-blue[disabled]:focus,.hc-button.hc-button-blue[disabled]:active{background-color:#00aeff;opacity:.35}.hc-button.hc-button-green{color:#fff;background-color:#00a859}.hc-button.hc-button-green:focus{background-color:#008647;box-shadow:0 0 0 3px #00a85966}.hc-button.hc-button-green:hover{background-color:#009750;color:#fff}.hc-button.hc-button-green:active{background-color:#008647;color:#fff}.hc-button.hc-button-green[disabled],.hc-button.hc-button-green[disabled]:hover,.hc-button.hc-button-green[disabled]:focus,.hc-button.hc-button-green[disabled]:active{background-color:#00a859;opacity:.35}.hc-button.hc-button-purple{color:#fff;background-color:#6e53a3}.hc-button.hc-button-purple:focus{background-color:#584282;box-shadow:0 0 0 3px #6e53a366}.hc-button.hc-button-purple:hover{background-color:#634b93;color:#fff}.hc-button.hc-button-purple:active{background-color:#584282;color:#fff}.hc-button.hc-button-purple[disabled],.hc-button.hc-button-purple[disabled]:hover,.hc-button.hc-button-purple[disabled]:focus,.hc-button.hc-button-purple[disabled]:active{background-color:#6e53a3;opacity:.35}.hc-button.hc-button-red{color:#fff;background-color:#f13c45}.hc-button.hc-button-red:focus{background-color:#c13037;box-shadow:0 0 0 3px #f13c4566}.hc-button.hc-button-red:hover{background-color:#d9363e;color:#fff}.hc-button.hc-button-red:active{background-color:#c13037;color:#fff}.hc-button.hc-button-red[disabled],.hc-button.hc-button-red[disabled]:hover,.hc-button.hc-button-red[disabled]:focus,.hc-button.hc-button-red[disabled]:active{background-color:#f13c45;opacity:.35}.hc-button.hc-button-orange{color:#fff;background-color:#f8961d}.hc-button.hc-button-orange:focus{background-color:#c67817;box-shadow:0 0 0 3px #f8961d66}.hc-button.hc-button-orange:hover{background-color:#df871a;color:#fff}.hc-button.hc-button-orange:active{background-color:#c67817;color:#fff}.hc-button.hc-button-orange[disabled],.hc-button.hc-button-orange[disabled]:hover,.hc-button.hc-button-orange[disabled]:focus,.hc-button.hc-button-orange[disabled]:active{background-color:#f8961d;opacity:.35}.hc-button.hc-button-ruby-red{color:#fff;background-color:#951c1e}.hc-button.hc-button-ruby-red:focus{background-color:#771618;box-shadow:0 0 0 3px #951c1e66}.hc-button.hc-button-ruby-red:hover{background-color:#86191b;color:#fff}.hc-button.hc-button-ruby-red:active{background-color:#771618;color:#fff}.hc-button.hc-button-ruby-red[disabled],.hc-button.hc-button-ruby-red[disabled]:hover,.hc-button.hc-button-ruby-red[disabled]:focus,.hc-button.hc-button-ruby-red[disabled]:active{background-color:#951c1e;opacity:.35}.hc-button.hc-button-deep-red{color:#fff;background-color:#cc2027}.hc-button.hc-button-deep-red:focus{background-color:#a31a1f;box-shadow:0 0 0 3px #cc202766}.hc-button.hc-button-deep-red:hover{background-color:#b81d23;color:#fff}.hc-button.hc-button-deep-red:active{background-color:#a31a1f;color:#fff}.hc-button.hc-button-deep-red[disabled],.hc-button.hc-button-deep-red[disabled]:hover,.hc-button.hc-button-deep-red[disabled]:focus,.hc-button.hc-button-deep-red[disabled]:active{background-color:#cc2027;opacity:.35}.hc-button.hc-button-red-orange{color:#fff;background-color:#f05323}.hc-button.hc-button-red-orange:focus{background-color:#c0421c;box-shadow:0 0 0 3px #f0532366}.hc-button.hc-button-red-orange:hover{background-color:#d84b20;color:#fff}.hc-button.hc-button-red-orange:active{background-color:#c0421c;color:#fff}.hc-button.hc-button-red-orange[disabled],.hc-button.hc-button-red-orange[disabled]:hover,.hc-button.hc-button-red-orange[disabled]:focus,.hc-button.hc-button-red-orange[disabled]:active{background-color:#f05323;opacity:.35}.hc-button.hc-button-magenta{color:#fff;background-color:#a94c9d}.hc-button.hc-button-magenta:focus{background-color:#873d7e;box-shadow:0 0 0 3px #a94c9d66}.hc-button.hc-button-magenta:hover{background-color:#98448d;color:#fff}.hc-button.hc-button-magenta:active{background-color:#873d7e;color:#fff}.hc-button.hc-button-magenta[disabled],.hc-button.hc-button-magenta[disabled]:hover,.hc-button.hc-button-magenta[disabled]:focus,.hc-button.hc-button-magenta[disabled]:active{background-color:#a94c9d;opacity:.35}.hc-button.hc-button-pink{color:#fff;background-color:#ef4767}.hc-button.hc-button-pink:focus{background-color:#bf3952;box-shadow:0 0 0 3px #ef476766}.hc-button.hc-button-pink:hover{background-color:#d7405d;color:#fff}.hc-button.hc-button-pink:active{background-color:#bf3952;color:#fff}.hc-button.hc-button-pink[disabled],.hc-button.hc-button-pink[disabled]:hover,.hc-button.hc-button-pink[disabled]:focus,.hc-button.hc-button-pink[disabled]:active{background-color:#ef4767;opacity:.35}.hc-button.hc-button-light-pink{color:#fff;background-color:#f8c8db}.hc-button.hc-button-light-pink:focus{background-color:#c6a0af;box-shadow:0 0 0 3px #f8c8db66}.hc-button.hc-button-light-pink:hover{background-color:#dfb4c5;color:#fff}.hc-button.hc-button-light-pink:active{background-color:#c6a0af;color:#fff}.hc-button.hc-button-light-pink[disabled],.hc-button.hc-button-light-pink[disabled]:hover,.hc-button.hc-button-light-pink[disabled]:focus,.hc-button.hc-button-light-pink[disabled]:active{background-color:#f8c8db;opacity:.35}.hc-button.hc-button-azure{color:#fff;background-color:#007bff}.hc-button.hc-button-azure:focus{background-color:#0062cc;box-shadow:0 0 0 3px #007bff66}.hc-button.hc-button-azure:hover{background-color:#006fe6;color:#fff}.hc-button.hc-button-azure:active{background-color:#0062cc;color:#fff}.hc-button.hc-button-azure[disabled],.hc-button.hc-button-azure[disabled]:hover,.hc-button.hc-button-azure[disabled]:focus,.hc-button.hc-button-azure[disabled]:active{background-color:#007bff;opacity:.35}.hc-button.hc-button-teal{color:#fff;background-color:#00acac}.hc-button.hc-button-teal:focus{background-color:#008a8a;box-shadow:0 0 0 3px #00acac66}.hc-button.hc-button-teal:hover{background-color:#009b9b;color:#fff}.hc-button.hc-button-teal:active{background-color:#008a8a;color:#fff}.hc-button.hc-button-teal[disabled],.hc-button.hc-button-teal[disabled]:hover,.hc-button.hc-button-teal[disabled]:focus,.hc-button.hc-button-teal[disabled]:active{background-color:#00acac;opacity:.35}.hc-button.hc-button-dark-green{color:#fff;background-color:#006c4e}.hc-button.hc-button-dark-green:focus{background-color:#00563e;box-shadow:0 0 0 3px #006c4e66}.hc-button.hc-button-dark-green:hover{background-color:#006146;color:#fff}.hc-button.hc-button-dark-green:active{background-color:#00563e;color:#fff}.hc-button.hc-button-dark-green[disabled],.hc-button.hc-button-dark-green[disabled]:hover,.hc-button.hc-button-dark-green[disabled]:focus,.hc-button.hc-button-dark-green[disabled]:active{background-color:#006c4e;opacity:.35}.hc-button.hc-button-brown{color:#fff;background-color:#553e36}.hc-button.hc-button-brown:focus{background-color:#44322b;box-shadow:0 0 0 3px #553e3666}.hc-button.hc-button-brown:hover{background-color:#4d3831;color:#fff}.hc-button.hc-button-brown:active{background-color:#44322b;color:#fff}.hc-button.hc-button-brown[disabled],.hc-button.hc-button-brown[disabled]:hover,.hc-button.hc-button-brown[disabled]:focus,.hc-button.hc-button-brown[disabled]:active{background-color:#553e36;opacity:.35}.hc-button.hc-button-purple-gray{color:#fff;background-color:#776c7f}.hc-button.hc-button-purple-gray:focus{background-color:#5f5666;box-shadow:0 0 0 3px #776c7f66}.hc-button.hc-button-purple-gray:hover{background-color:#6b6172;color:#fff}.hc-button.hc-button-purple-gray:active{background-color:#5f5666;color:#fff}.hc-button.hc-button-purple-gray[disabled],.hc-button.hc-button-purple-gray[disabled]:hover,.hc-button.hc-button-purple-gray[disabled]:focus,.hc-button.hc-button-purple-gray[disabled]:active{background-color:#776c7f;opacity:.35}.hc-button.hc-button-yellow{color:#fff;background-color:#f5ed56}.hc-button.hc-button-yellow:focus{background-color:#c4be45;box-shadow:0 0 0 3px #f5ed5666}.hc-button.hc-button-yellow:hover{background-color:#ddd54d;color:#fff}.hc-button.hc-button-yellow:active{background-color:#c4be45;color:#fff}.hc-button.hc-button-yellow[disabled],.hc-button.hc-button-yellow[disabled]:hover,.hc-button.hc-button-yellow[disabled]:focus,.hc-button.hc-button-yellow[disabled]:active{background-color:#f5ed56;opacity:.35}.hc-button.hc-button-yellow-orange{color:#fff;background-color:#e7c447}.hc-button.hc-button-yellow-orange:focus{background-color:#b99d39;box-shadow:0 0 0 3px #e7c44766}.hc-button.hc-button-yellow-orange:hover{background-color:#d0b040;color:#fff}.hc-button.hc-button-yellow-orange:active{background-color:#b99d39;color:#fff}.hc-button.hc-button-yellow-orange[disabled],.hc-button.hc-button-yellow-orange[disabled]:hover,.hc-button.hc-button-yellow-orange[disabled]:focus,.hc-button.hc-button-yellow-orange[disabled]:active{background-color:#e7c447;opacity:.35}.hc-button.hc-button-tan{color:#fff;background-color:#ebba82}.hc-button.hc-button-tan:focus{background-color:#bc9568;box-shadow:0 0 0 3px #ebba8266}.hc-button.hc-button-tan:hover{background-color:#d4a775;color:#fff}.hc-button.hc-button-tan:active{background-color:#bc9568;color:#fff}.hc-button.hc-button-tan[disabled],.hc-button.hc-button-tan[disabled]:hover,.hc-button.hc-button-tan[disabled]:focus,.hc-button.hc-button-tan[disabled]:active{background-color:#ebba82;opacity:.35}.hc-icon-button{display:inline-block;position:relative;height:35px;width:35px;line-height:35px;border-radius:5px;outline:none;border:none;margin:0;padding:0;background:transparent;text-decoration:none;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}.hc-icon-button:focus{outline:none;box-shadow:0 0 0 2px #00aeff66}.hc-icon-button::-moz-focus-inner{border:0}.hc-split-button{display:inline-flex}.hc-split-button .hc-split-button-main{margin-right:0;border-bottom-right-radius:0;border-top-right-radius:0;min-width:auto}.hc-split-button .hc-split-button-toggle:not(.hc-secondary):not(.hc-minimal){min-width:auto;padding:8px 12px;margin-left:0;border-left:1px solid rgba(0,0,0,.12);border-bottom-left-radius:0;border-top-left-radius:0}.hc-split-button .hc-split-button-toggle:not(.hc-secondary):not(.hc-minimal):after{content:"";width:12px;height:8px;margin-top:2px;display:inline-block;background-repeat:no-repeat;background-size:contain;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI4Ljk4NyIgdmlld0JveD0iMCAwIDE0IDguOTg3Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cGF0aCBpZD0iUGF0aF81IiBkYXRhLW5hbWU9IlBhdGggNSIgY2xhc3M9ImNscy0xIiBkPSJNMTUuMzQ4LTE0LjRhLjU2MS41NjEsMCwwLDAsMC0uNzkxbC0xLjQ0Mi0xLjQzM2EuNTUxLjU1MSwwLDAsMC0uNzgyLDBMOC41MTEtMTIuMDExLDMuOS0xNi42MjRhLjU1MS41NTEsMCwwLDAtLjc4MiwwTDEuNjc0LTE1LjE5MWEuNTYxLjU2MSwwLDAsMCwwLC43OTFMOC4xMi03Ljk2M2EuNTUxLjU1MSwwLDAsMCwuNzgyLDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS41MTEgMTYuNzg3KSIvPgo8L3N2Zz4K)}.hc-split-button .hc-split-button-toggle.hc-secondary{min-width:auto;padding:8px 12px;margin-left:0;border-left:0;border-bottom-left-radius:0;border-top-left-radius:0}.hc-split-button .hc-split-button-toggle.hc-secondary:after{content:"";width:12px;height:8px;margin-top:2px;display:inline-block;background-repeat:no-repeat;background-size:contain;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI4Ljk4NyIgdmlld0JveD0iMCAwIDE0IDguOTg3Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjMzMzOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cGF0aCBpZD0iUGF0aF81IiBkYXRhLW5hbWU9IlBhdGggNSIgY2xhc3M9ImNscy0xIiBkPSJNMTUuMzQ4LTE0LjRhLjU2MS41NjEsMCwwLDAsMC0uNzkxbC0xLjQ0Mi0xLjQzM2EuNTUxLjU1MSwwLDAsMC0uNzgyLDBMOC41MTEtMTIuMDExLDMuOS0xNi42MjRhLjU1MS41NTEsMCwwLDAtLjc4MiwwTDEuNjc0LTE1LjE5MWEuNTYxLjU2MSwwLDAsMCwwLC43OTFMOC4xMi03Ljk2M2EuNTUxLjU1MSwwLDAsMCwuNzgyLDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS41MTEgMTYuNzg3KSIvPgo8L3N2Zz4K)}.hc-split-button .hc-split-button-toggle.hc-minimal{min-width:auto;padding:8px 12px;margin-left:0;border-left:0;border-bottom-left-radius:0;border-top-left-radius:0;border-left:2px solid rgba(0,0,0,.12)!important}.hc-split-button .hc-split-button-toggle.hc-minimal:after{content:"";width:12px;height:8px;margin-top:2px;display:inline-block;background-repeat:no-repeat;background-size:contain;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI4Ljk4NyIgdmlld0JveD0iMCAwIDE0IDguOTg3Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjMzMzOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cGF0aCBpZD0iUGF0aF81IiBkYXRhLW5hbWU9IlBhdGggNSIgY2xhc3M9ImNscy0xIiBkPSJNMTUuMzQ4LTE0LjRhLjU2MS41NjEsMCwwLDAsMC0uNzkxbC0xLjQ0Mi0xLjQzM2EuNTUxLjU1MSwwLDAsMC0uNzgyLDBMOC41MTEtMTIuMDExLDMuOS0xNi42MjRhLjU1MS41NTEsMCwwLDAtLjc4MiwwTDEuNjc0LTE1LjE5MWEuNTYxLjU2MSwwLDAsMCwwLC43OTFMOC4xMi03Ljk2M2EuNTUxLjU1MSwwLDAsMCwuNzgyLDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS41MTEgMTYuNzg3KSIvPgo8L3N2Zz4K)}.hc-split-button .hc-split-button-toggle.hc-sm{padding:3px 7px}.hc-split-button .hc-split-button-toggle.hc-sm:after{width:10px;height:6px;margin-top:1px}.hc-split-button .hc-split-button-toggle.hc-lg{padding:0 16px}.hc-split-button .hc-split-button-toggle.hc-lg:after{width:14px;height:9px}.hc-filters-icon{width:19px;height:19px;display:block;margin-right:7px;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjU0NjEgNDcuMjUgMTkuMjgxIDIwIj4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjMDBhZWZmOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8ZyBpZD0iRmlsdGVyc19CdXR0b24iIGRhdGEtbmFtZT0iRmlsdGVycyBCdXR0b24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU0NjEgNjcuMjUpIHJvdGF0ZSgtOTApIj4KICAgIDxwYXRoIGlkPSJQYXRoXzMwNCIgZGF0YS1uYW1lPSJQYXRoIDMwNCIgY2xhc3M9ImNscy0xIiBkPSJNOS45MzksMi45OTNWLjcxOUEuNzE5LjcxOSwwLDAsMCw4LjUuNzE5djIuMzZtMCw0Ljg5MnYxMC41OWgwYS43MTkuNzE5LDAsMSwwLDEuNDM5LDBWNy45NDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC02LjA1NCkiLz4KICAgIDxwYXRoIGlkPSJQYXRoXzMwNSIgZGF0YS1uYW1lPSJQYXRoIDMwNSIgY2xhc3M9ImNscy0xIiBkPSJNNi40NzUsMTEuMDIzYTMuMjM3LDMuMjM3LDAsMCwwLTYuNDc1LDAsMy4yMzcsMy4yMzcsMCwwLDAsNi40NzUsMFptLTUuMDM2LDBhMS43ODQsMS43ODQsMCwxLDEsMS43ODQsMS43ODRBMS43OTMsMS43OTMsMCwwLDEsMS40MzksMTEuMDIzWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtNS41NTUpIi8+CiAgICA8cGF0aCBpZD0iUGF0aF8zMDYiIGRhdGEtbmFtZT0iUGF0aCAzMDYiIGNsYXNzPSJjbHMtMSIgZD0iTTU2LjkzOSwyLjk5M1YuNzE5YS43MTkuNzE5LDAsMCwwLTEuNDM5LDB2Mi4zNm0wLDQuODkydjEwLjU5aDBhLjcxOS43MTksMCwxLDAsMS40MzksMFY3Ljk0MiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM5LjUyOSkiLz4KICAgIDxwYXRoIGlkPSJQYXRoXzMwNyIgZGF0YS1uYW1lPSJQYXRoIDMwNyIgY2xhc3M9ImNscy0xIiBkPSJNNTMuNDc1LDExLjAyM2EzLjIzNywzLjIzNywwLDEsMC0zLjI1MiwzLjIyM0EzLjIxOCwzLjIxOCwwLDAsMCw1My40NzUsMTEuMDIzWm0tNS4wMzYsMGExLjc4NCwxLjc4NCwwLDEsMSwxLjc4NCwxLjc4NEExLjc5MywxLjc5MywwLDAsMSw0OC40MzksMTEuMDIzWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTMzLjQ3NSAtNS41NTUpIi8+CiAgICA8cGF0aCBpZD0iUGF0aF8zMDgiIGRhdGEtbmFtZT0iUGF0aCAzMDgiIGNsYXNzPSJjbHMtMSIgZD0iTTMyLjUsMTYuMjg4djIuMjczYS43MTkuNzE5LDAsMCwwLDEuNDM5LDBWMTYuMm0wLTQuODkyVi43MTloMGEuNzE5LjcxOSwwLDAsMC0xLjQzOSwwVjExLjMzOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIzLjE0NykiLz4KICAgIDxwYXRoIGlkPSJQYXRoXzMwOSIgZGF0YS1uYW1lPSJQYXRoIDMwOSIgY2xhc3M9ImNscy0xIiBkPSJNMjMuNSw0MC4wMjNBMy4yMzcsMy4yMzcsMCwxLDAsMjYuNzUyLDM2LjgsMy4yMTgsMy4yMTgsMCwwLDAsMjMuNSw0MC4wMjNabTUuMDM2LDBhMS43ODQsMS43ODQsMCwxLDEtMS43ODQtMS43ODRBMS43OTMsMS43OTMsMCwwLDEsMjguNTM2LDQwLjAyM1oiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNi43MzcgLTI2LjIxKSIvPgogIDwvZz4KPC9zdmc+Cg==)}\n'],encapsulation:2,changeDetection:0}),n})(),Ck=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[Zr,AM,AM]}),n})();class ep{constructor(){this._errorState=!1,this._errorMessage="",this._errors={},this._isDisabled=!1,this._isRequired=!1,this._tight=!1}}const CB={provide:_n,useExisting:$e(()=>wB),multi:!0};let wB=(()=>{class n{constructor(){this._required=!1}validate(e){return this.required?CI.requiredTrue(e):null}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&"false"!=`${e}`,this._onChange&&this._onChange()}registerOnValidatorChange(e){this._onChange=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=H({type:n,selectors:[["hc-checkbox","required","","formControlName",""],["hc-checkbox","required","","formControl",""],["hc-checkbox","required","","ngModel",""]],inputs:{required:"required"},features:[be([CB])]}),n})();
|
|
2375
|
+
*/du(489);const Ks=["*"],X1=["focusTrapElement"];function Cz(n,t){if(1&n&&hi(0,"div"),2&n){const e=At(2);Wg("hc-pop-arrow ",e._yAlignClass," ",e._xAlignClass,"")}}function wz(n,t){if(1&n){const e=bh();Me(0,"div",0,1),Dt("click",function(){return _o(e),bo(At()._popContainerClicked())})("@transformPopover.done",function(o){return _o(e),bo(At()._onAnimationDone(o))}),Et(2),yt(3,Cz,1,4,"div",2),Te()}if(2&n){const e=At();Wg("",e._yAlignClass," ",e._xAlignClass,""),Vs("max-width",e.maxWidth),ke("hc-pop-container-basic",!e.disableStyle),ze("ngClass",e._classList)("@transformPopover",e._getAnimation()),xe(3),ze("ngIf",e.showArrow)}}function Dz(n,t){1&n&&hi(0,"div",4)}function xz(n,t){if(1&n){const e=bh();Me(0,"div",1),Dt("@transformPopover.done",function(o){return _o(e),bo(At()._onAnimationDone(o))}),Me(1,"div",2),fi(2),Te(),yt(3,Dz,1,0,"div",3),Te()}if(2&n){const e=At();Wg("",e._yAlignClass," ",e._xAlignClass,""),Vs("max-width",e.maxWidth),ke("hc-pop-container-basic",!e.disableStyle),ze("ngClass",e._classList)("@transformPopover",e._getAnimation()),xe(2),Gl(" ",e.tooltipContent," "),xe(1),ze("ngIf",e.showArrow)}}const kz=["hc-button",""];function Nz(n,t){1&n&&(Me(0,"span",7),fi(1,"\xa0*"),Te())}function Az(n,t){if(1&n&&(Me(0,"span",5)(1,"label",5),Et(2,1),yt(3,Nz,2,0,"span",6),Te()()),2&n){const e=At();ke("hc-form-field-label-wrapper-tight",e.tight&&!e._mobileInput),ze("ngClass",e.inline?"hc-form-field-label-wrapper-inline":"hc-form-field-label-wrapper"),xe(1),ke("hc-form-field-label-tight",e.tight),ze("ngClass",e.inline?"hc-form-field-label-inline":"hc-form-field-label"),$t("for",e._control._componentId),xe(2),ze("ngIf",e._control._isRequired&&!e._control._isDisabled)}}function Oz(n,t){1&n&&(Me(0,"div",12),Et(1,3),Te())}function Pz(n,t){1&n&&(Me(0,"div",13),Et(1,4),Te())}function jz(n,t){if(1&n&&(Me(0,"div"),yt(1,Oz,2,0,"div",8),Me(2,"div",9,10),Et(4,2),Te(),yt(5,Pz,2,0,"div",11),Te()),2&n){const e=At();ke("hc-form-field-flex",!e.inline)("hc-form-field-flex-inline",e.inline)("hc-form-field-invalid",e._shouldShowErrorMessages())("hc-form-field-flex-focused",e._hasFocusedInput),xe(1),ze("ngIf",e._prefixChildren.length),xe(1),ke("hc-form-field-infix-tight",e.tight&&!e._mobileInput)("hc-form-field-infix-mobile",e._mobileInput),xe(3),ze("ngIf",e._suffixChildren.length)}}function Rz(n,t){if(1&n&&(Me(0,"div"),Et(1,5),Te()),2&n){const e=At();ke("hc-form-field-non-input",!e.inline)("hc-form-field-non-input-inline",e.inline)("hc-form-field-non-input-inline-tight",e.inline&&e.tight)("hc-form-field-invalid",e._shouldShowErrorMessages())}}function zz(n,t){if(1&n&&(Me(0,"hc-error"),fi(1),Te()),2&n){const e=At(2);xe(1),Za(e._control._errorMessage)}}function Fz(n,t){if(1&n&&(Me(0,"div",14),yt(1,zz,2,1,"hc-error",15),Et(2,6),Te()),2&n){const e=At();xe(1),ze("ngIf",e._control._errorMessage&&e._control._errorMessage.length)}}const Bz=[[["hc-label-ext"]],[["hc-label"]],[["","hcInput",""]],[["","hcPrefix",""]],[["","hcSuffix",""]],"*",[["hc-error"]]],Vz=["hc-label-ext","hc-label","[hcInput]","[hcPrefix]","[hcSuffix]","*","hc-error"];function bF(n,t){1&n&&(Me(0,"div",3),function Uu(){he.lFrame.currentNamespace="svg"}(),Me(1,"svg",4),hi(2,"path",5)(3,"path",6),Te()())}function Ni(n){if(null==n)return!1;if("boolean"==typeof n)return n;if("false"===n.toLowerCase())return!1;if("true"===n.toLowerCase()||""===n)return!0;throw Error(String(n)+" is not a boolean value")}document.createElement("p"),new G("IAppSwitcherService"),new G("IAppSwitcherConfig");let K5=(()=>{class n{constructor(e,i){this.elementRef=e,this._fontIcon="",this._fontSet="",this._previousFontIcon="",this._previousFontSet="",this._hostClass=!0,i||e.nativeElement.setAttribute("aria-hidden","true")}get fontIcon(){return this._fontIcon}set fontIcon(e){this._fontIcon=this._cleanupFontValue(e)}get fontSet(){return this._fontSet}set fontSet(e){this._fontSet=this._cleanupFontValue(e)}ngOnChanges(){this._updateFontIcon()}_updateFontIcon(){const e=this.elementRef.nativeElement;this._previousFontIcon!==this._fontIcon&&(this._previousFontIcon&&e.classList.remove(this._previousFontIcon),this._fontIcon&&(e.classList.add(this._fontIcon),this._previousFontIcon=this._fontIcon)),this._previousFontSet!==this._fontSet&&(this._previousFontSet&&e.classList.remove(this._previousFontSet),this._fontSet&&(e.classList.add(this._fontSet),this._previousFontSet=this._fontSet))}_cleanupFontValue(e){return(e||"").trim().split(" ")[0]}}return n.\u0275fac=function(e){return new(e||n)(I(De),function Nr(n){return function Vp(n,t){if("class"===t)return n.classes;if("style"===t)return n.styles;const e=n.attrs;if(e){const i=e.length;let o=0;for(;o<i;){const r=e[o];if(Pp(r))break;if(0===r)o+=2;else if("number"==typeof r)for(o++;o<i&&"string"==typeof e[o];)o++;else{if(r===t)return e[o+1];o+=2}}}return null}(St(),n)}("aria-hidden"))},n.\u0275cmp=mt({type:n,selectors:[["hc-icon"]],hostVars:2,hostBindings:function(e,i){2&e&&ke("hc-icon",i._hostClass)},inputs:{fontIcon:"fontIcon",fontSet:"fontSet"},features:[rn],ngContentSelectors:Ks,decls:1,vars:0,template:function(e,i){1&e&&(pi(),Et(0))},styles:["[icon-sm],.hc-icon-sm{font-size:14px!important;height:14px!important;width:14px!important}[icon-md],.hc-icon-md{font-size:20px!important;height:20px!important;width:20px!important}[icon-lg],.hc-icon-lg{font-size:36px!important;height:36px!important;width:36px!important}.hc-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;font-size:20px;height:20px;text-align:center;width:20px}\n"],encapsulation:2}),n})();const ck=Li("transformPopover",[Qe(":enter",[me({opacity:0}),Pe("{{openTransition}}",me({opacity:1}))]),Qe(":leave",[Pe("{{closeTransition}}",me({opacity:0}))])]);var Gt=(()=>(function(n){n[n.OPEN=0]="OPEN",n[n.CLOSE=1]="CLOSE",n[n.TOGGLE=2]="TOGGLE",n[n.REPOSITION=3]="REPOSITION",n[n.UPDATE_CONFIG=4]="UPDATE_CONFIG",n[n.REALIGN=5]="REALIGN"}(Gt||(Gt={})),Gt))();class eo{constructor(t,e){this.action=t,this.value=e}}let J5=(()=>{class n{constructor(){this.store=new ie}dispatch(e){this.store.next(e)}events(){return this.store.asObservable()}dispose(){this.store.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();const lk=["noop","block","reposition","close"],uk=["click","mousedown","rightclick","hover","none"],dk=["before","start","center","end","after","mouse"],hk=["above","start","center","end","below","mouse"];function d_(n,t,e){return`Invalid ${n}: '${t}'. Valid options are ${e.map(i=>`'${i}'`).join(", ")}.`}let NM=(()=>{class n{constructor(e){this.ref=e,this._hostClass=!0,this._itemEnter=new ge}focus(){this.ref.nativeElement.focus(),this._itemEnter.emit()}blur(){this.ref.nativeElement.blur()}}return n.\u0275fac=function(e){return new(e||n)(I(De))},n.\u0275dir=H({type:n,selectors:[["","hcMenuItem",""],["","hcButtonItem",""]],hostVars:2,hostBindings:function(e,i){1&e&&Dt("mouseenter",function(){return i.focus()})("touchend",function(){return i.blur()})("touchcancel",function(){return i.blur()})("mouseleave",function(){return i.blur()}),2&e&&ke("hc-menu-item",i._hostClass)},outputs:{_itemEnter:"_itemEnter"}}),n})();const pk="100ms linear",fk="0ms linear";let AM=(()=>{class n{constructor(e,i,o){this._elementRef=e,this._focusTrapFactory=i,this._document=o,this.disableStyle=!1,this.showArrow=!0,this._horizontalAlign="center",this._verticalAlign="below",this._forceAlignment=!1,this._lockAlignment=!1,this._maxWidth="none",this._autoFocus=!1,this._autoFocusOverride=!1,this._restoreFocus=!0,this._restoreFocusOverride=!0,this._scrollStrategy="reposition",this._hasBackdrop=!0,this._interactiveClose=!0,this._openTransition=pk,this._closeTransition=pk,this.shouldAnimate=!0,this.backdropClass="",this.autoCloseOnContentClick=!1,this.opened=new ge,this.closed=new ge,this.afterOpen=new ge,this.afterClose=new ge,this.backdropClicked=new ge,this.overlayKeydown=new ge,this._offsetPos=[0,0],this._classList={},this._yAlignClass="",this._xAlignClass="",this._open=!1,this._subMenuOpen=!1,this._parentClose=new ie,this._parentCloseBlock=!1}get horizontalAlign(){return this._horizontalAlign}set horizontalAlign(e){this._validateHorizontalAlign(e),this._horizontalAlign!==e&&(this._horizontalAlign=e,this._dispatchConfigNotification(new eo(Gt.REPOSITION)))}get xAlign(){return this.horizontalAlign}set xAlign(e){this.horizontalAlign=e}get verticalAlign(){return this._verticalAlign}set verticalAlign(e){this._validateVerticalAlign(e),this._verticalAlign!==e&&(this._verticalAlign=e,this._dispatchConfigNotification(new eo(Gt.REPOSITION)))}get yAlign(){return this.verticalAlign}set yAlign(e){this.verticalAlign=e}get forceAlignment(){return this._forceAlignment}set forceAlignment(e){const i=mi(e);this._forceAlignment!==i&&(this._forceAlignment=i,this._dispatchConfigNotification(new eo(Gt.REPOSITION)))}get lockAlignment(){return this._lockAlignment}set lockAlignment(e){const i=mi(e);this._lockAlignment!==i&&(this._lockAlignment=mi(e),this._dispatchConfigNotification(new eo(Gt.REPOSITION)))}get maxWidth(){return this._maxWidth}set maxWidth(e){this._maxWidth=e}get autoFocus(){return this._autoFocus&&this._autoFocusOverride}set autoFocus(e){this._autoFocus=mi(e)}get restoreFocus(){return this._restoreFocus&&this._restoreFocusOverride}set restoreFocus(e){this._restoreFocus=mi(e)}get scrollStrategy(){return this._scrollStrategy}set scrollStrategy(e){this._validateScrollStrategy(e),this._scrollStrategy!==e&&(this._scrollStrategy=e,this._dispatchConfigNotification(new eo(Gt.UPDATE_CONFIG)))}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=mi(e),this._dispatchConfigNotification(new eo(Gt.UPDATE_CONFIG))}get interactiveClose(){return this._interactiveClose}set interactiveClose(e){this._interactiveClose=mi(e),this._dispatchConfigNotification(new eo(Gt.UPDATE_CONFIG))}get openTransition(){return this._openTransition}set openTransition(e){e&&(this._openTransition=e)}get closeTransition(){return this._closeTransition}set closeTransition(e){e&&(this._closeTransition=e)}get parent(){return this._parentMenu}set parent(e){this._parentMenu&&this._parentClose.unsubscribe(),this._parentMenu=e,this._parentMenu&&(this._parentClose=this._parentMenu.closed.subscribe(()=>{this.isOpen()&&this.close()}))}ngOnInit(){this._setAlignmentClasses()}ngOnDestroy(){this._notifications&&this._notifications.dispose(),this._parentMenu&&this._parentClose.unsubscribe()}_popContainerClicked(){this.autoCloseOnContentClick&&this.close()}open(e={}){const i=new eo(Gt.OPEN,e);this._dispatchActionNotification(i)}close(e){const i=new eo(Gt.CLOSE,e);this._dispatchActionNotification(i),this.parent&&!this._parentCloseBlock&&this.parent.close()}toggle(){this.parent&&(this.parent._subMenuOpen=!this.isOpen());const e=new eo(Gt.TOGGLE);this._dispatchActionNotification(e)}realign(){const e=new eo(Gt.REALIGN);this._dispatchActionNotification(e)}isOpen(){return this._open}_getAnimation(){return{value:"visible",params:{openTransition:this.shouldAnimate?this.openTransition:fk,closeTransition:this.shouldAnimate?this.closeTransition:fk}}}_onAnimationDone(e){"visible"===e.toState?(this._trapFocus(),this.afterOpen.emit()):"void"===e.toState&&(this._restoreFocusAndDestroyTrap(),this.afterClose.emit())}_setAlignmentClasses(e=this.horizontalAlign,i=this.verticalAlign){this._setAlignmentClassesForAnimation(e,i),this._setAlignmentClassesForArrow()}_setAlignmentClassesForAnimation(e=this.horizontalAlign,i=this.verticalAlign){this._classList["hc-pop-before"]="before"===e||"end"===e,this._classList["hc-pop-after"]="after"===e||"start"===e,this._classList["hc-pop-above"]="above"===i||"end"===i,this._classList["hc-pop-below"]="below"===i||"start"===i,this._classList["hc-pop-center"]="center"===e||"center"===i}_setAlignmentClassesForArrow(e=this.horizontalAlign,i=this.verticalAlign){this._classList["hc-pop-show-arrow"]=this.showArrow&&("start"===e||"center"===e||"end"===e)&&("above"===i||"below"===i)||("start"===i||"center"===i||"end"===i)&&("before"===e||"after"===e),this._yAlignClass=this._classList["hc-pop-show-arrow"]?`hc-pop-arrow-y-${i}`:"",this._xAlignClass=this._classList["hc-pop-show-arrow"]?`hc-pop-arrow-x-${e}`:""}_keyFocus(e){const i=this._menuItems.toArray();e||i.reverse();let o=!1;for(let r=0;r<i.length;r++){if(o&&!i[r].ref.nativeElement.classList.contains("hc-divider")&&!i[r].ref.nativeElement.disabled)return void i[r].focus();i[r].ref.nativeElement===document.activeElement&&(o=!0)}for(let r=0;r<i.length;r++)if(!i[r].ref.nativeElement.classList.contains("hc-divider")&&!i[r].ref.nativeElement.disabled)return void i[r].focus()}_restoreFocusAndDestroyTrap(){const e=this._previouslyFocusedElement;e&&"focus"in e&&this.restoreFocus&&this._previouslyFocusedElement&&this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null,this._focusTrap&&(this._focusTrap.destroy(),this._focusTrap=void 0)}_savePreviouslyFocusedElement(){this._document&&(this._previouslyFocusedElement=this._document.activeElement)}_trapFocus(){!this._focusTrapElement||(!this._focusTrap&&this._focusTrapElement&&(this._focusTrap=this._focusTrapFactory.create(this._focusTrapElement.nativeElement)),this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady())}_dispatchConfigNotification(e){this._notifications&&this._notifications.dispatch(e)}_dispatchActionNotification(e){if(!this._notifications)throw function X5(){return Error("HcPopover is not anchored to any HcPopoverAnchorDirective.")}();this._notifications.dispatch(e)}_validateHorizontalAlign(e){if(-1===dk.indexOf(e))throw function eB(n){return Error(d_("horizontalAlign/xAlign",n,dk))}(e)}_validateVerticalAlign(e){if(-1===hk.indexOf(e))throw function tB(n){return Error(d_("verticalAlign/yAlign",n,hk))}(e)}_validateScrollStrategy(e){if(-1===lk.indexOf(e))throw function iB(n){return Error(d_("scrollStrategy",n,lk))}(e)}}return n.\u0275fac=function(e){return new(e||n)(I(De),I(C1),I(st,8))},n.\u0275cmp=mt({type:n,selectors:[["hc-pop"]],contentQueries:function(e,i,o){if(1&e&&Lt(o,NM,5),2&e){let r;Ye(r=Ge())&&(i._menuItems=r)}},viewQuery:function(e,i){if(1&e&&(Ki(ln,5),Ki(X1,5)),2&e){let o;Ye(o=Ge())&&(i._templateRef=o.first),Ye(o=Ge())&&(i._focusTrapElement=o.first)}},inputs:{disableStyle:"disableStyle",showArrow:"showArrow",horizontalAlign:"horizontalAlign",xAlign:"xAlign",verticalAlign:"verticalAlign",yAlign:"yAlign",forceAlignment:"forceAlignment",lockAlignment:"lockAlignment",maxWidth:"maxWidth",autoFocus:"autoFocus",restoreFocus:"restoreFocus",scrollStrategy:"scrollStrategy",hasBackdrop:"hasBackdrop",interactiveClose:"interactiveClose",openTransition:"openTransition",closeTransition:"closeTransition",parent:"parent",shouldAnimate:"shouldAnimate",backdropClass:"backdropClass",autoCloseOnContentClick:"autoCloseOnContentClick"},outputs:{opened:"opened",closed:"closed",afterOpen:"afterOpen",afterClose:"afterClose",backdropClicked:"backdropClicked",overlayKeydown:"overlayKeydown"},ngContentSelectors:Ks,decls:1,vars:0,consts:[[1,"hc-pop-container",3,"ngClass","click"],["focusTrapElement",""],[3,"class",4,"ngIf"]],template:function(e,i){1&e&&(pi(),yt(0,wz,4,11,"ng-template"))},dependencies:[mm,ql],styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:2100}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:2100}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:2100;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:2100;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.hc-pop-before.hc-pop-above{transform-origin:right bottom}[dir=rtl] .hc-pop-before.hc-pop-above{transform-origin:left bottom}.hc-pop-before.hc-pop-center{transform-origin:right center}[dir=rtl] .hc-pop-before.hc-pop-center{transform-origin:left center}.hc-pop-before.hc-pop-below{transform-origin:right top}[dir=rtl] .hc-pop-before.hc-pop-below{transform-origin:left top}.hc-pop-center.hc-pop-above{transform-origin:center bottom}.hc-pop-center.hc-pop-below{transform-origin:center top}.hc-pop-after.hc-pop-above{transform-origin:left bottom}[dir=rtl] .hc-pop-after.hc-pop-above{transform-origin:right bottom}.hc-pop-after.hc-pop-center{transform-origin:left center}[dir=rtl] .hc-pop-after.hc-pop-center{transform-origin:right center}.hc-pop-after.hc-pop-below{transform-origin:left top}[dir=rtl] .hc-pop-after.hc-pop-below{transform-origin:right top}.hc-pop-container-basic{background-color:#fff;border:1px solid #cccccc;border-radius:4px;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;color:#333;padding:12px}.hc-pop-show-arrow .hc-pop-arrow{background-color:#fff;border-style:solid;border-width:1px;display:block;height:10px;position:absolute;transform:rotate(45deg);width:10px}.hc-pop-arrow-x-start .hc-pop-arrow{left:5px}.hc-pop-arrow-x-center .hc-pop-arrow{left:calc(50% - 6px)}.hc-pop-arrow-x-end .hc-pop-arrow{left:calc(100% - 15px)}.hc-pop-arrow-y-start .hc-pop-arrow{top:5px}.hc-pop-arrow-y-center .hc-pop-arrow{top:calc(50% - 6px)}.hc-pop-arrow-y-end .hc-pop-arrow{top:calc(100% - 15px)}.hc-pop-arrow-y-above .hc-pop-arrow{border-color:transparent #cccccc #cccccc transparent;bottom:-6px}.hc-pop-arrow-y-below .hc-pop-arrow{border-color:#cccccc transparent transparent #cccccc;top:-6px}.hc-pop-arrow-x-before .hc-pop-arrow{border-color:#cccccc #cccccc transparent transparent;right:-6px}.hc-pop-arrow-x-after .hc-pop-arrow{border-color:transparent transparent #cccccc #cccccc;left:-6px}.hc-pop-arrow-y-above.hc-pop-show-arrow,.hc-pop-arrow-y-below.hc-pop-show-arrow{margin:6px 0;position:relative}.hc-pop-arrow-x-before.hc-pop-show-arrow,.hc-pop-arrow-x-after.hc-pop-show-arrow{margin:0 6px;position:relative}\n"],encapsulation:2,data:{animation:[ck]}}),n})(),oB=(()=>{class n extends AM{constructor(){super(...arguments),this.tooltipContent=""}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=tt(n)))(i||n)}}(),n.\u0275cmp=mt({type:n,selectors:[["hc-tooltip"]],inputs:{tooltipContent:"tooltipContent"},features:[te],decls:2,vars:0,consts:[["_templateRef",""],[1,"hc-pop-container",",","hc-tooltip-container",3,"ngClass"],[1,"hc-tooltip"],["class","hc-pop-arrow hc-pop-arrow-y-above hc-pop-arrow-x-center",4,"ngIf"],[1,"hc-pop-arrow","hc-pop-arrow-y-above","hc-pop-arrow-x-center"]],template:function(e,i){1&e&&yt(0,xz,4,12,"ng-template",null,0,Fy)},dependencies:[mm,ql],styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:2100}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:2100}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:2100;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:2100;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.hc-pop-before.hc-pop-above{transform-origin:right bottom}[dir=rtl] .hc-pop-before.hc-pop-above{transform-origin:left bottom}.hc-pop-before.hc-pop-center{transform-origin:right center}[dir=rtl] .hc-pop-before.hc-pop-center{transform-origin:left center}.hc-pop-before.hc-pop-below{transform-origin:right top}[dir=rtl] .hc-pop-before.hc-pop-below{transform-origin:left top}.hc-pop-center.hc-pop-above{transform-origin:center bottom}.hc-pop-center.hc-pop-below{transform-origin:center top}.hc-pop-after.hc-pop-above{transform-origin:left bottom}[dir=rtl] .hc-pop-after.hc-pop-above{transform-origin:right bottom}.hc-pop-after.hc-pop-center{transform-origin:left center}[dir=rtl] .hc-pop-after.hc-pop-center{transform-origin:right center}.hc-pop-after.hc-pop-below{transform-origin:left top}[dir=rtl] .hc-pop-after.hc-pop-below{transform-origin:right top}.hc-pop-container-basic{background-color:#fff;border:1px solid #cccccc;border-radius:4px;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;color:#333;padding:12px}.hc-pop-show-arrow .hc-pop-arrow{background-color:#fff;border-style:solid;border-width:1px;display:block;height:10px;position:absolute;transform:rotate(45deg);width:10px}.hc-pop-arrow-x-start .hc-pop-arrow{left:5px}.hc-pop-arrow-x-center .hc-pop-arrow{left:calc(50% - 6px)}.hc-pop-arrow-x-end .hc-pop-arrow{left:calc(100% - 15px)}.hc-pop-arrow-y-start .hc-pop-arrow{top:5px}.hc-pop-arrow-y-center .hc-pop-arrow{top:calc(50% - 6px)}.hc-pop-arrow-y-end .hc-pop-arrow{top:calc(100% - 15px)}.hc-pop-arrow-y-above .hc-pop-arrow{border-color:transparent #cccccc #cccccc transparent;bottom:-6px}.hc-pop-arrow-y-below .hc-pop-arrow{border-color:#cccccc transparent transparent #cccccc;top:-6px}.hc-pop-arrow-x-before .hc-pop-arrow{border-color:#cccccc #cccccc transparent transparent;right:-6px}.hc-pop-arrow-x-after .hc-pop-arrow{border-color:transparent transparent #cccccc #cccccc;left:-6px}.hc-pop-arrow-y-above.hc-pop-show-arrow,.hc-pop-arrow-y-below.hc-pop-show-arrow{margin:6px 0;position:relative}.hc-pop-arrow-x-before.hc-pop-show-arrow,.hc-pop-arrow-x-after.hc-pop-show-arrow{margin:0 6px;position:relative}\n",".hc-pop-container .hc-tooltip{background-color:#333;border-radius:4px;padding:7px;margin:-1px;color:#fff}.hc-pop-container .hc-tooltip+.hc-pop-arrow{background-color:#333!important;border-color:transparent!important}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:2100}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:2100}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:2100;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:2100;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.hc-tooltip-container{line-height:14px}.hc-tooltip-container .hc-tooltip{margin-right:0;margin-left:0}.hc-tooltip-container .hc-pop-arrow{bottom:-6px}\n"],encapsulation:2,data:{animation:[ck]}}),n})(),gk=(()=>{class n{constructor(e,i,o,r){this._overlay=e,this._renderer=i,this._ngZone=o,this._dir=r,this.popoverOpened=new ie,this.popoverClosed=new ie,this._popoverOpen=!1,this._onDestroy=new ie,this._fixedPos=[]}ngOnDestroy(){this._destroyPopover(),this._notificationsSubscription&&this._notificationsSubscription.unsubscribe(),this._positionChangeSubscription&&this._positionChangeSubscription.unsubscribe(),this._onDestroy.next(),this._onDestroy.complete(),this.popoverOpened.complete(),this.popoverClosed.complete()}anchor(e,i,o){this._destroyPopover(),this._popover=e,this._viewContainerRef=i,this._anchor=o,this._popover._notifications=this._notifications=this._anchor._notifications=new J5,this._subscribeToNotifications()}isPopoverOpen(){return this._popoverOpen}togglePopover(){return this._popoverOpen?this.closePopover():this.openPopover()}openPopover(e={}){this._popoverOpen||(this._applyOpenOptions(e),this._popover._componentOverlay=this._createOverlay(),this._subscribeToBackdrop(),this._subscribeToEscape(),this._subscribeToDetachments(),this._saveOpenedState(),this._popover._savePreviouslyFocusedElement())}closePopover(e,i=!1){this._unlistener&&this._unlistener(),this._popover._componentOverlay&&(this._saveClosedState(e,i),this._popover._componentOverlay.detach(),this._popover._restoreFocusAndDestroyTrap())}realignPopoverToAnchor(){this._popover._componentOverlay&&this._popover._componentOverlay.getConfig().positionStrategy.reapplyLastPosition()}getAnchorElement(){return this._anchor._elementRef}_applyOpenOptions(e){this._popover._restoreFocusOverride=!1!==e.restoreFocus,this._popover._autoFocusOverride=!1!==e.autoFocus,(e.x||e.y)&&(this._destroyPopoverOnceClosed(),this._fixedPos[0]=e.x?e.x:0,this._fixedPos[1]=e.y?e.y:0)}_createOverlay(){if(this._overlayRef)("mouse"===this._popover.horizontalAlign||"mouse"===this._popover.verticalAlign&&!this._fixedPos.length)&&this._overlayRef.updatePositionStrategy(this._getPositionStrategy(this._popover.horizontalAlign,this._popover.verticalAlign,this._popover.forceAlignment,this._popover.lockAlignment,this._anchor._elementRef));else{this._portal=new o1(this._popover._templateRef,this._viewContainerRef);const i=this._getOverlayConfig({horizontalAlign:this._popover.horizontalAlign,verticalAlign:this._popover.verticalAlign,hasBackdrop:this._popover.hasBackdrop,backdropClass:this._popover.backdropClass,scrollStrategy:this._popover.scrollStrategy,forceAlignment:this._popover.forceAlignment,lockAlignment:this._popover.lockAlignment},this._anchor);this._fixedPos.length||this._subscribeToPositionChanges(i.positionStrategy),this._overlayRef=this._overlay.create(i)}return this._overlayRef.attach(this._portal),this._overlayRef}_destroyPopover(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null)}_destroyPopoverOnceClosed(){this.isPopoverOpen()&&this._overlayRef?this._overlayRef.detachments().pipe($s(1),ft(this._onDestroy)).subscribe(()=>this._destroyPopover()):this._destroyPopover()}_subscribeToNotifications(){this._notificationsSubscription&&this._notificationsSubscription.unsubscribe(),this._notificationsSubscription=this._notifications.events().subscribe(e=>{switch(e.action){case Gt.OPEN:this.openPopover(e.value);break;case Gt.CLOSE:this.closePopover(e.value);break;case Gt.TOGGLE:this.togglePopover();break;case Gt.REPOSITION:case Gt.UPDATE_CONFIG:this._destroyPopoverOnceClosed();break;case Gt.REALIGN:this.realignPopoverToAnchor()}})}_subscribeToBackdrop(){!this._overlayRef||(this._overlayRef.backdropClick().pipe(eu(()=>this._popover.backdropClicked.emit()),Qs(()=>this._popover.interactiveClose),ft(this.popoverClosed),ft(this._onDestroy)).subscribe(()=>this.closePopover()),this._overlayRef.backdropElement&&this._popover.interactiveClose&&(this._unlistener=this._renderer.listen(this._overlayRef.backdropElement,"contextmenu",e=>{e.preventDefault(),this._popover.backdropClicked.emit(),this.closePopover()})))}_subscribeToEscape(){!this._overlayRef||this._overlayRef.keydownEvents().pipe(eu(e=>this._popover.overlayKeydown.emit(e)),Qs(e=>"Escape"===e.key),Qs(()=>this._popover.interactiveClose),ft(this.popoverClosed),ft(this._onDestroy)).subscribe(()=>this.closePopover())}_subscribeToDetachments(){!this._overlayRef||this._overlayRef.detachments().pipe(ft(this._onDestroy)).subscribe(()=>this._saveClosedState())}_saveOpenedState(){this._popoverOpen||(this._popover._open=this._popoverOpen=!0,this._popover.parent&&(this._popover.parent._subMenuOpen=!0),this.popoverOpened.next(),typeof this._context>"u"?this._popover.opened.emit():this._popover.opened.emit(this._context))}_saveClosedState(e,i=!1){this._popoverOpen&&(this._popover._open=this._popoverOpen=!1,this._popover.parent&&(this._popover.parent._subMenuOpen=i),this.popoverClosed.next(e),this._popover.closed.emit(e))}_getDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_getOverlayConfig(e,i){return new c1({positionStrategy:this._fixedPos.length?this._getFixedPositionStrategy():this._getPositionStrategy(e.horizontalAlign,e.verticalAlign,e.forceAlignment,e.lockAlignment,i._elementRef),hasBackdrop:"hover"!==i.trigger&&e.hasBackdrop,backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._getScrollStrategyInstance(e.scrollStrategy),direction:this._getDirection(),panelClass:"hover"!==i.trigger||i._hasSubmenu?"":"overlay-pointer-events"})}_subscribeToPositionChanges(e){this._positionChangeSubscription&&this._positionChangeSubscription.unsubscribe(),this._positionChangeSubscription=e.positionChanges.pipe(ft(this._onDestroy)).subscribe(i=>{this._ngZone.run(()=>{this._popover._setAlignmentClassesForAnimation(function aB(n){return"start"===n?"after":"end"===n?"before":"center"}(i.connectionPair.overlayX),function cB(n){return"top"===n?"below":"bottom"===n?"above":"center"}(i.connectionPair.overlayY)),this._popover._setAlignmentClassesForArrow(function rB(n,t){return n===t?n:"start"===n?"after":"end"===n?"before":"center"}(i.connectionPair.overlayX,i.connectionPair.originX),function sB(n,t){return n!==t||"top"!==n&&"bottom"!==n?"top"===n?"below":"bottom"===n?"above":"center":"top"===n?"start":"end"}(i.connectionPair.overlayY,i.connectionPair.originY))})})}_getScrollStrategyInstance(e){switch(e){case"block":return this._overlay.scrollStrategies.block();case"reposition":return this._overlay.scrollStrategies.reposition();case"close":return this._overlay.scrollStrategies.close();default:return this._overlay.scrollStrategies.noop()}}_getPositionStrategy(e,i,o,r,s){const u=[mk(e,i,this._popover._offsetPos)],h=this._overlay.position().flexibleConnectedTo(s).withPush(!1).withViewportMargin(0).withLockedPosition(r);if(!o){const p=this._getFallbacks(e,i);u.push(...p)}return h.withPositions(u)}_getFixedPositionStrategy(){return this._overlay.position().global().left(this._fixedPos[0]+"px").top(this._fixedPos[1]+"px")}_getFallbacks(e,i){const c="above"!==i&&"below"!==i?["above","start","center","end","below","mouse"]:["above","below"],u=[];return _k(e,"before"!==e&&"after"!==e?["before","start","center","end","after","mouse"]:["before","after"]).forEach(h=>{_k(i,c).forEach(p=>{u.push(mk(h,p,this._popover._offsetPos))})}),u.slice(1,u.length)}}return n.\u0275fac=function(e){return new(e||n)(P($m),P(Ti),P(We),P(Qm,8))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();function mk(n,t,e){const{originX:i,overlayX:o}=function lB(n){switch(n){case"before":return{originX:"start",overlayX:"end"};case"start":case"mouse":return{originX:"start",overlayX:"start"};case"end":return{originX:"end",overlayX:"end"};case"after":return{originX:"end",overlayX:"start"};default:return{originX:"center",overlayX:"center"}}}(n),{originY:r,overlayY:s}=function uB(n){switch(n){case"above":return{originY:"top",overlayY:"bottom"};case"start":case"mouse":return{originY:"top",overlayY:"top"};case"end":return{originY:"bottom",overlayY:"bottom"};case"below":return{originY:"bottom",overlayY:"top"};default:return{originY:"center",overlayY:"center"}}}(t);return new ER({originX:i,originY:r},{overlayX:o,overlayY:s},e[0],e[1])}function _k(n,t){const e=t.indexOf(n),i=[n],o=t.slice(0,e),r=t.slice(e+1,t.length).reverse();for(;o.length&&r.length;){const s=r.pop();s&&i.push(s);const c=o.pop();c&&i.push(c)}for(;r.length;){const s=r.pop();s&&i.push(s)}for(;o.length;){const s=o.pop();s&&i.push(s)}return i}let bk=(()=>{class n{constructor(){this.notifiers=[],this.handleKeydown=e=>{this.notifiers.filter(i=>i.isOpen).forEach(i=>i.onKeyDown(e)),"ArrowRight"===e.key&&this.notifiers.filter(i=>document.activeElement===i.nativeElement&&i.hasSubmenu()).forEach(i=>i.onKeyDown(e))},window.addEventListener("keydown",this.handleKeydown)}ngOnDestroy(){window.removeEventListener("keydown",this.handleKeydown)}registerNotifier(e){this.notifiers.push(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),vk=(()=>{class n{constructor(e,i,o,r,s){this._elementRef=e,this._viewContainerRef=i,this._anchoring=o,this._accessibility=r,this._componentFactoryResolver=s,this._trigger="click",this._popoverDelay=0,this._maxWidth="none",this._hasSubmenu=!1,this.popoverOpened=new ge,this.popoverClosed=new ge,this._onDestroy=new ie}get attachedPopover(){return this._attachedPopover}set attachedPopover(e){this._validateAttachedPopover(e),this._attachedPopover=e,this._anchoring.anchor(this.attachedPopover,this._viewContainerRef,this)}get tooltipText(){return this._tooltipText}set tooltipText(e){this._tooltipText=e;const i=this._componentFactoryResolver.resolveComponentFactory(oB),o=this._viewContainerRef.createComponent(i).instance;o.tooltipContent=e,o.disableStyle=!0,o.verticalAlign="above",o.scrollStrategy="close",o.restoreFocus=!1,o.maxWidth=this._maxWidth,this.attachedPopover=o,this.trigger="hover",this.popoverDelay=300}get trigger(){return this._trigger}set trigger(e){this._validateTrigger(e),this._trigger!==e&&(this._trigger=e),this._dispatchConfigNotification(new eo(Gt.UPDATE_CONFIG))}get popoverDelay(){return this._popoverDelay}set popoverDelay(e){this._popoverDelay=Number(e)}get maxWidth(){return this._attachedPopover.maxWidth}set maxWidth(e){this._maxWidth=e,this.attachedPopover&&(this._attachedPopover.maxWidth=e)}get restoreFocus(){return this._attachedPopover.restoreFocus&&this._attachedPopover._restoreFocusOverride}set restoreFocus(e){this.attachedPopover&&(this._attachedPopover.restoreFocus=Ni(e))}get context(){return this._anchoring._context}set context(e){this._anchoring._context=e}get horizontalAlign(){return this._attachedPopover.horizontalAlign}set horizontalAlign(e){this.attachedPopover&&(this.attachedPopover.horizontalAlign=e)}get verticalAlign(){return this._attachedPopover.verticalAlign}set verticalAlign(e){this.attachedPopover&&(this.attachedPopover.verticalAlign=e)}ngOnInit(){Bi(this._anchoring.popoverOpened.pipe(eu(()=>this.popoverOpened.emit())),this._anchoring.popoverClosed.pipe(eu(o=>this.popoverClosed.emit(o)))).pipe(ft(this._onDestroy)).subscribe()}ngAfterContentInit(){this._setupKeyboardEvents()}ngOnDestroy(){clearTimeout(this.hoverInterval),this._onDestroy.next(),this._onDestroy.complete()}_showOrHideOnClick(e){this._hasSubmenu&&e&&(e.stopPropagation(),e.preventDefault()),"click"===this.trigger&&(this._attachedPopover._offsetPos[0]="mouse"===this._attachedPopover.horizontalAlign?e.offsetX:0,this._attachedPopover._offsetPos[1]="mouse"===this._attachedPopover.verticalAlign?e.offsetY:0,this.togglePopover())}_showOrHideOnEnter(e){const i=e.target;i&&"BUTTON"===i.tagName||"Enter"!==e.key&&" "!==e.key||"click"!==this.trigger||this.togglePopover()}_showOrHideOnMouseOver(e){"mousedown"===this.trigger&&(this._attachedPopover._offsetPos[0]="mouse"===this._attachedPopover.horizontalAlign?e.offsetX:0,this._attachedPopover._offsetPos[1]="mouse"===this._attachedPopover.verticalAlign?e.offsetY:0,this.togglePopover())}_showOrHideRightClick(e){return"rightclick"!==this.trigger||(this._attachedPopover._offsetPos[0]="mouse"===this._attachedPopover.horizontalAlign?e.offsetX:0,this._attachedPopover._offsetPos[1]="mouse"===this._attachedPopover.verticalAlign?e.offsetY:0,this.togglePopover(),!1)}_showOnHover(e){"hover"===this.trigger&&(this._attachedPopover._offsetPos[0]="mouse"===this._attachedPopover.horizontalAlign?e.offsetX:0,this._attachedPopover._offsetPos[1]="mouse"===this._attachedPopover.verticalAlign?e.offsetY:0,this.hoverInterval=window.setTimeout(()=>{this._hasSubmenu?this.openPopover():this.togglePopover()},this.popoverDelay))}_hideOnLeave(){"hover"===this.trigger&&(this._hasSubmenu||this.closePopover())}_keyEvent(e){this.attachedPopover.isOpen()&&this.attachedPopover._menuItems.length>0&&!this.attachedPopover._subMenuOpen&&("ArrowUp"===e.key||"Tab"===e.key&&e.shiftKey?(e.stopPropagation(),e.preventDefault(),this.attachedPopover._keyFocus(!1)):"ArrowDown"===e.key||"Tab"===e.key&&!e.shiftKey?(e.stopPropagation(),e.preventDefault(),this.attachedPopover._keyFocus(!0)):this.attachedPopover.parent&&this.attachedPopover.parent.isOpen()&&"ArrowLeft"===e.key&&(e.stopPropagation(),e.preventDefault(),this.closePopover())),this._hasSubmenu&&this._elementRef.nativeElement===document.activeElement&&"ArrowRight"===e.key&&(e.stopPropagation(),e.preventDefault(),this.openPopover(),this.attachedPopover._keyFocus(!0))}isPopoverOpen(){return this._anchoring.isPopoverOpen()}togglePopover(){this._anchoring.togglePopover()}openPopover(e={}){this._anchoring.openPopover(e)}closePopover(e,i=!1){clearTimeout(this.hoverInterval),this._anchoring.closePopover(e,i)}realignPopover(){this._anchoring.realignPopoverToAnchor()}getElement(){return this._elementRef}_validateAttachedPopover(e){if(!(e&&e instanceof AM))throw function q5(){return Error("HcPopoverAnchorDirective must be provided an HcPopover component instance.")}()}_validateTrigger(e){if(-1===uk.indexOf(e))throw function nB(n){return Error(d_("trigger",n,uk))}(e)}_dispatchConfigNotification(e){this._notifications&&this._notifications.dispatch(e)}_setupKeyboardEvents(){const e={isOpen:!1,nativeElement:this._elementRef.nativeElement,hasSubmenu:()=>this._hasSubmenu,onKeyDown:i=>this._keyEvent(i)};this.popoverClosed.asObservable().subscribe(()=>e.isOpen=!1),this.popoverOpened.asObservable().subscribe(()=>e.isOpen=!0),this._accessibility.registerNotifier(e)}}return n.\u0275fac=function(e){return new(e||n)(I(De),I(Tn),I(gk),I(bk),I(at))},n.\u0275dir=H({type:n,selectors:[["","hcPop",""],["","hcTooltip",""]],hostVars:2,hostBindings:function(e,i){1&e&&Dt("click",function(r){return i._showOrHideOnClick(r)})("keydown",function(r){return i._showOrHideOnEnter(r)})("touchstart",function(r){return i._showOrHideOnMouseOver(r)})("mousedown",function(r){return i._showOrHideOnMouseOver(r)})("contextmenu",function(r){return i._showOrHideRightClick(r)})("mouseenter",function(r){return i._showOnHover(r)})("touchend",function(){return i._hideOnLeave()})("touchcancel",function(){return i._hideOnLeave()})("mouseleave",function(){return i._hideOnLeave()}),2&e&&ke("hc-menu-item-submenu",i._hasSubmenu)},inputs:{attachedPopover:["hcPop","attachedPopover"],tooltipText:["hcTooltip","tooltipText"],trigger:"trigger",popoverDelay:"popoverDelay",maxWidth:"maxWidth",restoreFocus:"restoreFocus",context:"context",horizontalAlign:"horizontalAlign",verticalAlign:"verticalAlign"},outputs:{popoverOpened:"popoverOpened",popoverClosed:"popoverClosed"},exportAs:["hcPopAnchor"],features:[be([gk])]}),n})(),dB=(()=>{class n{constructor(){this._hostClass=!0,this.unsubscribe$=new ie}ngAfterContentInit(){this.updateSubMenus(),this._menuItems.changes.pipe(ft(this.unsubscribe$)).subscribe(()=>this.updateSubMenus())}updateSubMenus(){this._subMenus.forEach(e=>{e._hasSubmenu=!0,e.trigger="hover"}),this._menuItems.forEach(e=>{e._itemEnter.pipe(ft(this.unsubscribe$)).subscribe(()=>{this._subMenus.forEach(i=>{if(i._elementRef.nativeElement!==e.ref.nativeElement&&i.attachedPopover.isOpen()){i.attachedPopover._parentCloseBlock=!0,i.attachedPopover._restoreFocusOverride=!1,i.closePopover({},!0),i.attachedPopover._restoreFocusOverride=!0;const o=i.attachedPopover.afterClose.subscribe(()=>{i.attachedPopover._parentCloseBlock=!1,o.unsubscribe()})}})})})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=H({type:n,selectors:[["","hcMenu",""]],contentQueries:function(e,i,o){if(1&e&&(Lt(o,vk,4),Lt(o,NM,4)),2&e){let r;Ye(r=Ge())&&(i._subMenus=r),Ye(r=Ge())&&(i._menuItems=r)}},hostVars:2,hostBindings:function(e,i){2&e&&ke("hc-menu-panel",i._hostClass)}}),n})(),hB=(()=>{class n{constructor(){this._hostClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=H({type:n,selectors:[["","hcMenuText",""]],hostVars:2,hostBindings:function(e,i){2&e&&ke("hc-menu-text",i._hostClass)}}),n})(),pB=(()=>{class n{constructor(){this._hostClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=H({type:n,selectors:[["","hcDivider",""]],hostVars:2,hostBindings:function(e,i){2&e&&ke("hc-divider",i._hostClass)}}),n})(),OM=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({providers:[bk],imports:[Zr,UR,E3,Qh,Qh]}),n})(),gB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[Zr]}),n})();class oc{transform(t,e=2,i=1e6){if(null===t)return t;(e<0||!Number.isInteger(e))&&(e=2),(i<1e3||!Number.isInteger(i))&&(i=1e3);const o=Math.abs(t);let r="",s="";const c=t<0;if(o>=i)for(const u of oc.powers){let h=o/u.value;if(h=this.roundValue(h,e),h>=1){s=h.toString(),r=u.key;break}}else s=this.roundValue(o,e).toLocaleString();return(c?"-":"")+s+r}roundValue(t,e=2){const i=Math.pow(10,e);return Math.round(t*i)/i}}oc.powers=[{key:"Q",value:Math.pow(10,15)},{key:"T",value:Math.pow(10,12)},{key:"B",value:Math.pow(10,9)},{key:"M",value:Math.pow(10,6)},{key:"K",value:1e3}],oc.\u0275fac=function(t){return new(t||oc)},oc.\u0275pipe=tn({name:"abbreviateNumber",type:oc,pure:!0});let yk=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({}),n})();const Mk=["primary","primary-alt","destructive","neutral","secondary","minimal","link","link-inline"],mB=["blue","green","purple","red","orange","ruby-red","deep-red","red-orange","magenta","pink","light-pink","azure","teal","dark-green","brown","purple-gray","yellow","yellow-orange","tan"],_B=["sm","md","lg"],yB=["hc-icon-button","hc-button"];let MB=(()=>{class n{constructor(e,i){this.elementRef=e,this.renderer=i,this._disabled=!1,this.buttonStyle="primary",this.size="md";for(const o of yB)e.nativeElement.hasAttribute(o)&&i.addClass(e.nativeElement,o)}get buttonStyle(){return this._style}set buttonStyle(e){(function bB(n,t){if(Mk.indexOf(n)<0&&mB.indexOf(n)<0)throw Error("Unsupported buttonStyle attribute value on "+t+": "+n)})(e,"ButtonComponent"),Mk.indexOf(e)<0&&(e="button-"+e),this.setHostClass(this._style,e),this._style=e}get size(){return this._size}set size(e){(function vB(n,t){if(_B.indexOf(n)<0)throw Error("Unsupported size attribute value on "+t+": "+n)})(e,"ButtonComponent"),this.setHostClass(this._size,e),this._size=e}get disabled(){return this._disabled}set disabled(e){this._disabled=Ni(e)}get _disabledAttr(){return this.disabled?"disabled":null}focus(){this.elementRef.nativeElement.focus()}setHostClass(e,i){e!==i&&(e&&this.renderer.removeClass(this.elementRef.nativeElement,this._hcClassify(e)),this.renderer.addClass(this.elementRef.nativeElement,this._hcClassify(i)))}_hcClassify(e){return`hc-${e}`}}return n.\u0275fac=function(e){return new(e||n)(I(De),I(Ti))},n.\u0275cmp=mt({type:n,selectors:[["button","hc-button",""],["button","hc-icon-button",""]],hostVars:1,hostBindings:function(e,i){2&e&&$t("disabled",i._disabledAttr)},inputs:{buttonStyle:"buttonStyle",size:"size",disabled:"disabled"},attrs:kz,ngContentSelectors:Ks,decls:1,vars:0,template:function(e,i){1&e&&(pi(),Et(0))},styles:['.hc-button{display:inline-flex;align-items:center;justify-content:center;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;user-select:none;background-image:none;border:none;border-radius:5px;font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif}.hc-button[disabled]{cursor:not-allowed}.hc-button:focus{outline:none;border-bottom:none;box-shadow:0 0 0 2px #00aeff66}.hc-button:active{background-image:none;outline:none}.hc-button::-moz-focus-inner{border:0}.hc-button.hc-primary{color:#fff;background-color:#00a859}.hc-button.hc-primary:focus{background-color:#008647;box-shadow:0 0 0 3px #00a85966}.hc-button.hc-primary:hover{background-color:#009750;color:#fff}.hc-button.hc-primary:active{background-color:#008647;color:#fff}.hc-button.hc-primary[disabled],.hc-button.hc-primary[disabled]:hover,.hc-button.hc-primary[disabled]:focus,.hc-button.hc-primary[disabled]:active{background-color:#00a859;opacity:.35}.hc-button.hc-primary-alt{color:#fff;background-color:#6e53a3}.hc-button.hc-primary-alt:focus{background-color:#584282;box-shadow:0 0 0 3px #6e53a366}.hc-button.hc-primary-alt:hover{background-color:#634b93;color:#fff}.hc-button.hc-primary-alt:active{background-color:#584282;color:#fff}.hc-button.hc-primary-alt[disabled],.hc-button.hc-primary-alt[disabled]:hover,.hc-button.hc-primary-alt[disabled]:focus,.hc-button.hc-primary-alt[disabled]:active{background-color:#6e53a3;opacity:.35}.hc-button.hc-destructive{color:#fff;background-color:#f13c45}.hc-button.hc-destructive:focus{background-color:#c13037;box-shadow:0 0 0 3px #f13c4566}.hc-button.hc-destructive:hover{background-color:#d9363e;color:#fff}.hc-button.hc-destructive:active{background-color:#c13037;color:#fff}.hc-button.hc-destructive[disabled],.hc-button.hc-destructive[disabled]:hover,.hc-button.hc-destructive[disabled]:focus,.hc-button.hc-destructive[disabled]:active{background-color:#f13c45;opacity:.35}.hc-button.hc-neutral{color:#fff;background-color:#6d6e70}.hc-button.hc-neutral:focus{background-color:#57585a;box-shadow:0 0 0 3px #6d6e7066}.hc-button.hc-neutral:hover{background-color:#626365;color:#fff}.hc-button.hc-neutral:active{background-color:#57585a;color:#fff}.hc-button.hc-neutral[disabled],.hc-button.hc-neutral[disabled]:hover,.hc-button.hc-neutral[disabled]:focus,.hc-button.hc-neutral[disabled]:active{background-color:#6d6e70;opacity:.35}.hc-button.hc-secondary{color:#fff;background-color:#f1f1f1;color:#515353;border:1.5px solid #cccccc;height:36px;line-height:33px;padding-right:19px}.hc-button.hc-secondary:focus{background-color:#d9d9d9;box-shadow:0 0 0 3px #f1f1f166}.hc-button.hc-secondary:hover{background-color:#e5e5e5;color:#fff}.hc-button.hc-secondary:active{background-color:#d9d9d9;color:#fff}.hc-button.hc-secondary[disabled],.hc-button.hc-secondary[disabled]:hover,.hc-button.hc-secondary[disabled]:focus,.hc-button.hc-secondary[disabled]:active{background-color:#f1f1f1;opacity:.35}.hc-button.hc-secondary:hover{color:#333}.hc-button.hc-secondary:focus{box-shadow:0 0 0 2px #00aeff66}.hc-button.hc-secondary[disabled]:hover{color:#515353}.hc-button.hc-minimal{background-color:transparent;color:#6d6e70}.hc-button.hc-minimal:hover{color:#333;background-color:#e0e0e0}.hc-button.hc-minimal:active{background-color:#d3d3d3}.hc-button.hc-minimal[disabled],.hc-button.hc-minimal[disabled]:hover,.hc-button.hc-minimal[disabled]:focus,.hc-button.hc-minimal[disabled]:active{background-color:transparent;color:#ccc}.hc-button.hc-sm{padding:3px 12px;height:26px;min-width:auto;font-size:1rem;line-height:14px}.hc-button.hc-md{padding:0 20px;height:35px;min-width:150px;font-size:1.0714285714rem;line-height:15px}.hc-button.hc-lg{padding:0 30px;height:40px;min-width:200px;font-size:1.2142857143rem;line-height:17px}.hc-button.hc-link,.hc-button.hc-link-inline{background-color:transparent;color:#00aeff;font-weight:600}.hc-button.hc-link .label,.hc-button.hc-link-inline .label{color:#6d6e70;font-weight:400;margin-right:10px}.hc-button.hc-link .value,.hc-button.hc-link-inline .value{color:#333;font-weight:400;margin-right:10px}.hc-button.hc-link:hover,.hc-button.hc-link-inline:hover{color:#33beff}.hc-button.hc-link:active,.hc-button.hc-link-inline:active{color:#008bcc}.hc-button.hc-link[disabled],.hc-button.hc-link[disabled]:hover,.hc-button.hc-link[disabled]:focus,.hc-button.hc-link[disabled]:active,.hc-button.hc-link-inline[disabled],.hc-button.hc-link-inline[disabled]:hover,.hc-button.hc-link-inline[disabled]:focus,.hc-button.hc-link-inline[disabled]:active{opacity:.35;color:#00aeff}.hc-button.hc-link[disabled] .label,.hc-button.hc-link[disabled] .value,.hc-button.hc-link[disabled]:hover .label,.hc-button.hc-link[disabled]:hover .value,.hc-button.hc-link[disabled]:focus .label,.hc-button.hc-link[disabled]:focus .value,.hc-button.hc-link[disabled]:active .label,.hc-button.hc-link[disabled]:active .value,.hc-button.hc-link-inline[disabled] .label,.hc-button.hc-link-inline[disabled] .value,.hc-button.hc-link-inline[disabled]:hover .label,.hc-button.hc-link-inline[disabled]:hover .value,.hc-button.hc-link-inline[disabled]:focus .label,.hc-button.hc-link-inline[disabled]:focus .value,.hc-button.hc-link-inline[disabled]:active .label,.hc-button.hc-link-inline[disabled]:active .value{color:#333}.hc-button.hc-link-inline{padding:0;height:auto;width:auto;min-width:0;font-size:inherit;line-height:inherit;text-align:inherit;white-space:inherit;vertical-align:inherit;font-family:inherit;border:none}.hc-button.hc-link-inline:focus{outline:none;border-radius:0;box-shadow:0 2px #00aeff}.hc-button.hc-button-blue{color:#fff;background-color:#00aeff}.hc-button.hc-button-blue:focus{background-color:#008bcc;box-shadow:0 0 0 3px #00aeff66}.hc-button.hc-button-blue:hover{background-color:#009de6;color:#fff}.hc-button.hc-button-blue:active{background-color:#008bcc;color:#fff}.hc-button.hc-button-blue[disabled],.hc-button.hc-button-blue[disabled]:hover,.hc-button.hc-button-blue[disabled]:focus,.hc-button.hc-button-blue[disabled]:active{background-color:#00aeff;opacity:.35}.hc-button.hc-button-green{color:#fff;background-color:#00a859}.hc-button.hc-button-green:focus{background-color:#008647;box-shadow:0 0 0 3px #00a85966}.hc-button.hc-button-green:hover{background-color:#009750;color:#fff}.hc-button.hc-button-green:active{background-color:#008647;color:#fff}.hc-button.hc-button-green[disabled],.hc-button.hc-button-green[disabled]:hover,.hc-button.hc-button-green[disabled]:focus,.hc-button.hc-button-green[disabled]:active{background-color:#00a859;opacity:.35}.hc-button.hc-button-purple{color:#fff;background-color:#6e53a3}.hc-button.hc-button-purple:focus{background-color:#584282;box-shadow:0 0 0 3px #6e53a366}.hc-button.hc-button-purple:hover{background-color:#634b93;color:#fff}.hc-button.hc-button-purple:active{background-color:#584282;color:#fff}.hc-button.hc-button-purple[disabled],.hc-button.hc-button-purple[disabled]:hover,.hc-button.hc-button-purple[disabled]:focus,.hc-button.hc-button-purple[disabled]:active{background-color:#6e53a3;opacity:.35}.hc-button.hc-button-red{color:#fff;background-color:#f13c45}.hc-button.hc-button-red:focus{background-color:#c13037;box-shadow:0 0 0 3px #f13c4566}.hc-button.hc-button-red:hover{background-color:#d9363e;color:#fff}.hc-button.hc-button-red:active{background-color:#c13037;color:#fff}.hc-button.hc-button-red[disabled],.hc-button.hc-button-red[disabled]:hover,.hc-button.hc-button-red[disabled]:focus,.hc-button.hc-button-red[disabled]:active{background-color:#f13c45;opacity:.35}.hc-button.hc-button-orange{color:#fff;background-color:#f8961d}.hc-button.hc-button-orange:focus{background-color:#c67817;box-shadow:0 0 0 3px #f8961d66}.hc-button.hc-button-orange:hover{background-color:#df871a;color:#fff}.hc-button.hc-button-orange:active{background-color:#c67817;color:#fff}.hc-button.hc-button-orange[disabled],.hc-button.hc-button-orange[disabled]:hover,.hc-button.hc-button-orange[disabled]:focus,.hc-button.hc-button-orange[disabled]:active{background-color:#f8961d;opacity:.35}.hc-button.hc-button-ruby-red{color:#fff;background-color:#951c1e}.hc-button.hc-button-ruby-red:focus{background-color:#771618;box-shadow:0 0 0 3px #951c1e66}.hc-button.hc-button-ruby-red:hover{background-color:#86191b;color:#fff}.hc-button.hc-button-ruby-red:active{background-color:#771618;color:#fff}.hc-button.hc-button-ruby-red[disabled],.hc-button.hc-button-ruby-red[disabled]:hover,.hc-button.hc-button-ruby-red[disabled]:focus,.hc-button.hc-button-ruby-red[disabled]:active{background-color:#951c1e;opacity:.35}.hc-button.hc-button-deep-red{color:#fff;background-color:#cc2027}.hc-button.hc-button-deep-red:focus{background-color:#a31a1f;box-shadow:0 0 0 3px #cc202766}.hc-button.hc-button-deep-red:hover{background-color:#b81d23;color:#fff}.hc-button.hc-button-deep-red:active{background-color:#a31a1f;color:#fff}.hc-button.hc-button-deep-red[disabled],.hc-button.hc-button-deep-red[disabled]:hover,.hc-button.hc-button-deep-red[disabled]:focus,.hc-button.hc-button-deep-red[disabled]:active{background-color:#cc2027;opacity:.35}.hc-button.hc-button-red-orange{color:#fff;background-color:#f05323}.hc-button.hc-button-red-orange:focus{background-color:#c0421c;box-shadow:0 0 0 3px #f0532366}.hc-button.hc-button-red-orange:hover{background-color:#d84b20;color:#fff}.hc-button.hc-button-red-orange:active{background-color:#c0421c;color:#fff}.hc-button.hc-button-red-orange[disabled],.hc-button.hc-button-red-orange[disabled]:hover,.hc-button.hc-button-red-orange[disabled]:focus,.hc-button.hc-button-red-orange[disabled]:active{background-color:#f05323;opacity:.35}.hc-button.hc-button-magenta{color:#fff;background-color:#a94c9d}.hc-button.hc-button-magenta:focus{background-color:#873d7e;box-shadow:0 0 0 3px #a94c9d66}.hc-button.hc-button-magenta:hover{background-color:#98448d;color:#fff}.hc-button.hc-button-magenta:active{background-color:#873d7e;color:#fff}.hc-button.hc-button-magenta[disabled],.hc-button.hc-button-magenta[disabled]:hover,.hc-button.hc-button-magenta[disabled]:focus,.hc-button.hc-button-magenta[disabled]:active{background-color:#a94c9d;opacity:.35}.hc-button.hc-button-pink{color:#fff;background-color:#ef4767}.hc-button.hc-button-pink:focus{background-color:#bf3952;box-shadow:0 0 0 3px #ef476766}.hc-button.hc-button-pink:hover{background-color:#d7405d;color:#fff}.hc-button.hc-button-pink:active{background-color:#bf3952;color:#fff}.hc-button.hc-button-pink[disabled],.hc-button.hc-button-pink[disabled]:hover,.hc-button.hc-button-pink[disabled]:focus,.hc-button.hc-button-pink[disabled]:active{background-color:#ef4767;opacity:.35}.hc-button.hc-button-light-pink{color:#fff;background-color:#f8c8db}.hc-button.hc-button-light-pink:focus{background-color:#c6a0af;box-shadow:0 0 0 3px #f8c8db66}.hc-button.hc-button-light-pink:hover{background-color:#dfb4c5;color:#fff}.hc-button.hc-button-light-pink:active{background-color:#c6a0af;color:#fff}.hc-button.hc-button-light-pink[disabled],.hc-button.hc-button-light-pink[disabled]:hover,.hc-button.hc-button-light-pink[disabled]:focus,.hc-button.hc-button-light-pink[disabled]:active{background-color:#f8c8db;opacity:.35}.hc-button.hc-button-azure{color:#fff;background-color:#007bff}.hc-button.hc-button-azure:focus{background-color:#0062cc;box-shadow:0 0 0 3px #007bff66}.hc-button.hc-button-azure:hover{background-color:#006fe6;color:#fff}.hc-button.hc-button-azure:active{background-color:#0062cc;color:#fff}.hc-button.hc-button-azure[disabled],.hc-button.hc-button-azure[disabled]:hover,.hc-button.hc-button-azure[disabled]:focus,.hc-button.hc-button-azure[disabled]:active{background-color:#007bff;opacity:.35}.hc-button.hc-button-teal{color:#fff;background-color:#00acac}.hc-button.hc-button-teal:focus{background-color:#008a8a;box-shadow:0 0 0 3px #00acac66}.hc-button.hc-button-teal:hover{background-color:#009b9b;color:#fff}.hc-button.hc-button-teal:active{background-color:#008a8a;color:#fff}.hc-button.hc-button-teal[disabled],.hc-button.hc-button-teal[disabled]:hover,.hc-button.hc-button-teal[disabled]:focus,.hc-button.hc-button-teal[disabled]:active{background-color:#00acac;opacity:.35}.hc-button.hc-button-dark-green{color:#fff;background-color:#006c4e}.hc-button.hc-button-dark-green:focus{background-color:#00563e;box-shadow:0 0 0 3px #006c4e66}.hc-button.hc-button-dark-green:hover{background-color:#006146;color:#fff}.hc-button.hc-button-dark-green:active{background-color:#00563e;color:#fff}.hc-button.hc-button-dark-green[disabled],.hc-button.hc-button-dark-green[disabled]:hover,.hc-button.hc-button-dark-green[disabled]:focus,.hc-button.hc-button-dark-green[disabled]:active{background-color:#006c4e;opacity:.35}.hc-button.hc-button-brown{color:#fff;background-color:#553e36}.hc-button.hc-button-brown:focus{background-color:#44322b;box-shadow:0 0 0 3px #553e3666}.hc-button.hc-button-brown:hover{background-color:#4d3831;color:#fff}.hc-button.hc-button-brown:active{background-color:#44322b;color:#fff}.hc-button.hc-button-brown[disabled],.hc-button.hc-button-brown[disabled]:hover,.hc-button.hc-button-brown[disabled]:focus,.hc-button.hc-button-brown[disabled]:active{background-color:#553e36;opacity:.35}.hc-button.hc-button-purple-gray{color:#fff;background-color:#776c7f}.hc-button.hc-button-purple-gray:focus{background-color:#5f5666;box-shadow:0 0 0 3px #776c7f66}.hc-button.hc-button-purple-gray:hover{background-color:#6b6172;color:#fff}.hc-button.hc-button-purple-gray:active{background-color:#5f5666;color:#fff}.hc-button.hc-button-purple-gray[disabled],.hc-button.hc-button-purple-gray[disabled]:hover,.hc-button.hc-button-purple-gray[disabled]:focus,.hc-button.hc-button-purple-gray[disabled]:active{background-color:#776c7f;opacity:.35}.hc-button.hc-button-yellow{color:#fff;background-color:#f5ed56}.hc-button.hc-button-yellow:focus{background-color:#c4be45;box-shadow:0 0 0 3px #f5ed5666}.hc-button.hc-button-yellow:hover{background-color:#ddd54d;color:#fff}.hc-button.hc-button-yellow:active{background-color:#c4be45;color:#fff}.hc-button.hc-button-yellow[disabled],.hc-button.hc-button-yellow[disabled]:hover,.hc-button.hc-button-yellow[disabled]:focus,.hc-button.hc-button-yellow[disabled]:active{background-color:#f5ed56;opacity:.35}.hc-button.hc-button-yellow-orange{color:#fff;background-color:#e7c447}.hc-button.hc-button-yellow-orange:focus{background-color:#b99d39;box-shadow:0 0 0 3px #e7c44766}.hc-button.hc-button-yellow-orange:hover{background-color:#d0b040;color:#fff}.hc-button.hc-button-yellow-orange:active{background-color:#b99d39;color:#fff}.hc-button.hc-button-yellow-orange[disabled],.hc-button.hc-button-yellow-orange[disabled]:hover,.hc-button.hc-button-yellow-orange[disabled]:focus,.hc-button.hc-button-yellow-orange[disabled]:active{background-color:#e7c447;opacity:.35}.hc-button.hc-button-tan{color:#fff;background-color:#ebba82}.hc-button.hc-button-tan:focus{background-color:#bc9568;box-shadow:0 0 0 3px #ebba8266}.hc-button.hc-button-tan:hover{background-color:#d4a775;color:#fff}.hc-button.hc-button-tan:active{background-color:#bc9568;color:#fff}.hc-button.hc-button-tan[disabled],.hc-button.hc-button-tan[disabled]:hover,.hc-button.hc-button-tan[disabled]:focus,.hc-button.hc-button-tan[disabled]:active{background-color:#ebba82;opacity:.35}.hc-icon-button{display:inline-block;position:relative;height:35px;width:35px;line-height:35px;border-radius:5px;outline:none;border:none;margin:0;padding:0;background:transparent;text-decoration:none;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}.hc-icon-button:focus{outline:none;box-shadow:0 0 0 2px #00aeff66}.hc-icon-button::-moz-focus-inner{border:0}.hc-split-button{display:inline-flex}.hc-split-button .hc-split-button-main{margin-right:0;border-bottom-right-radius:0;border-top-right-radius:0;min-width:auto}.hc-split-button .hc-split-button-toggle:not(.hc-secondary):not(.hc-minimal){min-width:auto;padding:8px 12px;margin-left:0;border-left:1px solid rgba(0,0,0,.12);border-bottom-left-radius:0;border-top-left-radius:0}.hc-split-button .hc-split-button-toggle:not(.hc-secondary):not(.hc-minimal):after{content:"";width:12px;height:8px;margin-top:2px;display:inline-block;background-repeat:no-repeat;background-size:contain;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI4Ljk4NyIgdmlld0JveD0iMCAwIDE0IDguOTg3Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cGF0aCBpZD0iUGF0aF81IiBkYXRhLW5hbWU9IlBhdGggNSIgY2xhc3M9ImNscy0xIiBkPSJNMTUuMzQ4LTE0LjRhLjU2MS41NjEsMCwwLDAsMC0uNzkxbC0xLjQ0Mi0xLjQzM2EuNTUxLjU1MSwwLDAsMC0uNzgyLDBMOC41MTEtMTIuMDExLDMuOS0xNi42MjRhLjU1MS41NTEsMCwwLDAtLjc4MiwwTDEuNjc0LTE1LjE5MWEuNTYxLjU2MSwwLDAsMCwwLC43OTFMOC4xMi03Ljk2M2EuNTUxLjU1MSwwLDAsMCwuNzgyLDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS41MTEgMTYuNzg3KSIvPgo8L3N2Zz4K)}.hc-split-button .hc-split-button-toggle.hc-secondary{min-width:auto;padding:8px 12px;margin-left:0;border-left:0;border-bottom-left-radius:0;border-top-left-radius:0}.hc-split-button .hc-split-button-toggle.hc-secondary:after{content:"";width:12px;height:8px;margin-top:2px;display:inline-block;background-repeat:no-repeat;background-size:contain;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI4Ljk4NyIgdmlld0JveD0iMCAwIDE0IDguOTg3Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjMzMzOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cGF0aCBpZD0iUGF0aF81IiBkYXRhLW5hbWU9IlBhdGggNSIgY2xhc3M9ImNscy0xIiBkPSJNMTUuMzQ4LTE0LjRhLjU2MS41NjEsMCwwLDAsMC0uNzkxbC0xLjQ0Mi0xLjQzM2EuNTUxLjU1MSwwLDAsMC0uNzgyLDBMOC41MTEtMTIuMDExLDMuOS0xNi42MjRhLjU1MS41NTEsMCwwLDAtLjc4MiwwTDEuNjc0LTE1LjE5MWEuNTYxLjU2MSwwLDAsMCwwLC43OTFMOC4xMi03Ljk2M2EuNTUxLjU1MSwwLDAsMCwuNzgyLDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS41MTEgMTYuNzg3KSIvPgo8L3N2Zz4K)}.hc-split-button .hc-split-button-toggle.hc-minimal{min-width:auto;padding:8px 12px;margin-left:0;border-left:0;border-bottom-left-radius:0;border-top-left-radius:0;border-left:2px solid rgba(0,0,0,.12)!important}.hc-split-button .hc-split-button-toggle.hc-minimal:after{content:"";width:12px;height:8px;margin-top:2px;display:inline-block;background-repeat:no-repeat;background-size:contain;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI4Ljk4NyIgdmlld0JveD0iMCAwIDE0IDguOTg3Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjMzMzOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cGF0aCBpZD0iUGF0aF81IiBkYXRhLW5hbWU9IlBhdGggNSIgY2xhc3M9ImNscy0xIiBkPSJNMTUuMzQ4LTE0LjRhLjU2MS41NjEsMCwwLDAsMC0uNzkxbC0xLjQ0Mi0xLjQzM2EuNTUxLjU1MSwwLDAsMC0uNzgyLDBMOC41MTEtMTIuMDExLDMuOS0xNi42MjRhLjU1MS41NTEsMCwwLDAtLjc4MiwwTDEuNjc0LTE1LjE5MWEuNTYxLjU2MSwwLDAsMCwwLC43OTFMOC4xMi03Ljk2M2EuNTUxLjU1MSwwLDAsMCwuNzgyLDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS41MTEgMTYuNzg3KSIvPgo8L3N2Zz4K)}.hc-split-button .hc-split-button-toggle.hc-sm{padding:3px 7px}.hc-split-button .hc-split-button-toggle.hc-sm:after{width:10px;height:6px;margin-top:1px}.hc-split-button .hc-split-button-toggle.hc-lg{padding:0 16px}.hc-split-button .hc-split-button-toggle.hc-lg:after{width:14px;height:9px}.hc-filters-icon{width:19px;height:19px;display:block;margin-right:7px;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjU0NjEgNDcuMjUgMTkuMjgxIDIwIj4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjMDBhZWZmOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8ZyBpZD0iRmlsdGVyc19CdXR0b24iIGRhdGEtbmFtZT0iRmlsdGVycyBCdXR0b24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU0NjEgNjcuMjUpIHJvdGF0ZSgtOTApIj4KICAgIDxwYXRoIGlkPSJQYXRoXzMwNCIgZGF0YS1uYW1lPSJQYXRoIDMwNCIgY2xhc3M9ImNscy0xIiBkPSJNOS45MzksMi45OTNWLjcxOUEuNzE5LjcxOSwwLDAsMCw4LjUuNzE5djIuMzZtMCw0Ljg5MnYxMC41OWgwYS43MTkuNzE5LDAsMSwwLDEuNDM5LDBWNy45NDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC02LjA1NCkiLz4KICAgIDxwYXRoIGlkPSJQYXRoXzMwNSIgZGF0YS1uYW1lPSJQYXRoIDMwNSIgY2xhc3M9ImNscy0xIiBkPSJNNi40NzUsMTEuMDIzYTMuMjM3LDMuMjM3LDAsMCwwLTYuNDc1LDAsMy4yMzcsMy4yMzcsMCwwLDAsNi40NzUsMFptLTUuMDM2LDBhMS43ODQsMS43ODQsMCwxLDEsMS43ODQsMS43ODRBMS43OTMsMS43OTMsMCwwLDEsMS40MzksMTEuMDIzWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtNS41NTUpIi8+CiAgICA8cGF0aCBpZD0iUGF0aF8zMDYiIGRhdGEtbmFtZT0iUGF0aCAzMDYiIGNsYXNzPSJjbHMtMSIgZD0iTTU2LjkzOSwyLjk5M1YuNzE5YS43MTkuNzE5LDAsMCwwLTEuNDM5LDB2Mi4zNm0wLDQuODkydjEwLjU5aDBhLjcxOS43MTksMCwxLDAsMS40MzksMFY3Ljk0MiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM5LjUyOSkiLz4KICAgIDxwYXRoIGlkPSJQYXRoXzMwNyIgZGF0YS1uYW1lPSJQYXRoIDMwNyIgY2xhc3M9ImNscy0xIiBkPSJNNTMuNDc1LDExLjAyM2EzLjIzNywzLjIzNywwLDEsMC0zLjI1MiwzLjIyM0EzLjIxOCwzLjIxOCwwLDAsMCw1My40NzUsMTEuMDIzWm0tNS4wMzYsMGExLjc4NCwxLjc4NCwwLDEsMSwxLjc4NCwxLjc4NEExLjc5MywxLjc5MywwLDAsMSw0OC40MzksMTEuMDIzWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTMzLjQ3NSAtNS41NTUpIi8+CiAgICA8cGF0aCBpZD0iUGF0aF8zMDgiIGRhdGEtbmFtZT0iUGF0aCAzMDgiIGNsYXNzPSJjbHMtMSIgZD0iTTMyLjUsMTYuMjg4djIuMjczYS43MTkuNzE5LDAsMCwwLDEuNDM5LDBWMTYuMm0wLTQuODkyVi43MTloMGEuNzE5LjcxOSwwLDAsMC0xLjQzOSwwVjExLjMzOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIzLjE0NykiLz4KICAgIDxwYXRoIGlkPSJQYXRoXzMwOSIgZGF0YS1uYW1lPSJQYXRoIDMwOSIgY2xhc3M9ImNscy0xIiBkPSJNMjMuNSw0MC4wMjNBMy4yMzcsMy4yMzcsMCwxLDAsMjYuNzUyLDM2LjgsMy4yMTgsMy4yMTgsMCwwLDAsMjMuNSw0MC4wMjNabTUuMDM2LDBhMS43ODQsMS43ODQsMCwxLDEtMS43ODQtMS43ODRBMS43OTMsMS43OTMsMCwwLDEsMjguNTM2LDQwLjAyM1oiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNi43MzcgLTI2LjIxKSIvPgogIDwvZz4KPC9zdmc+Cg==)}\n'],encapsulation:2,changeDetection:0}),n})(),Ck=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[Zr,OM,OM]}),n})();class tp{constructor(){this._errorState=!1,this._errorMessage="",this._errors={},this._isDisabled=!1,this._isRequired=!1,this._tight=!1}}const CB={provide:_n,useExisting:$e(()=>wB),multi:!0};let wB=(()=>{class n{constructor(){this._required=!1}validate(e){return this.required?CI.requiredTrue(e):null}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&"false"!=`${e}`,this._onChange&&this._onChange()}registerOnValidatorChange(e){this._onChange=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=H({type:n,selectors:[["hc-checkbox","required","","formControlName",""],["hc-checkbox","required","","formControl",""],["hc-checkbox","required","","ngModel",""]],inputs:{required:"required"},features:[be([CB])]}),n})();
|
|
2376
2376
|
/**
|
|
2377
2377
|
* @license
|
|
2378
2378
|
* Copyright Health Catalyst All Rights Reserved.
|
|
@@ -2380,7 +2380,7 @@ function L3(n=0,t=Uh){return(!oM(n)||n<0)&&(n=0),(!t||"function"!=typeof t.sched
|
|
|
2380
2380
|
* Use of this source code is governed by an Apache-2.0 license that can be
|
|
2381
2381
|
* found in the LICENSE file at https://raw.githubusercontent.com/HealthCatalyst/Fabric.Cashmere/dev/LICENSE
|
|
2382
2382
|
*/
|
|
2383
|
-
function wk(n){return Error(`Datepicker: No provider found for ${n}. You must import one of the following modules at your application root: HcNativeDateModule, MatMomentDateModule, or provide a custom implementation.`)}const xB=new G("hc-date-formats");new G("HC_DATE_LOCALE",{providedIn:"root",factory:function SB(){return So(dr)}});class IB{constructor(){this._localeChanges=new ie}get localeChanges(){return this._localeChanges}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)||this.getHours(t)-this.getHours(e)||this.getMinutes(t)-this.getMinutes(e)}sameDate(t,e){if(t&&e){const i=this.isValid(t),o=this.isValid(e);return i&&o?!this.compareDate(t,e):i===o}return t===e}clampDate(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t}}let kB=1;const EB=["button","checkbox","file","hidden","image","radio","reset"];let Dk=(()=>{class n extends ep{constructor(e,i,o,r){super(),this._elementRef=e,this._ngControl=r,this._focused=!1,this._mobile=!1,this._uniqueInputId="hc-input-"+kB++,this._unsubscribe=new ie,this._componentId=this._uniqueInputId,this._type="input",this._readonly=!1,this.focusChanged=new ge,this.inputEvent=new ge,this._hostHcInputClass=!0,this.mobileChange=new ge,this._form=i||o}get type(){return this._type}set type(e){if(EB.indexOf(e)>-1)throw function TB(n){return new Error(`hc-input doesn't support the following type: ${n}`)}(e);this._type=e,this._isTextArea()||(this._elementRef.nativeElement.type=this.type)}get id(){return this._componentId||this._uniqueInputId}set id(e){this._componentId=e||this._uniqueInputId}get readonly(){return this._readonly}set readonly(e){this._readonly=Ni(e)}get disabled(){return this._ngControl&&this._ngControl.disabled?this._ngControl.disabled:this._isDisabled}set disabled(e){this._isDisabled=Ni(e),this._focused&&(this._focused=!1)}get required(){return this._isRequired}set required(e){this._isRequired=Ni(e)}get _hostId(){return this._componentId||this._uniqueInputId}get _hostReadOnly(){return this.readonly}get _hostDisabled(){return this.disabled}get _hostRequired(){return this._isRequired}_onBlur(){this._changeFocus(!1),this._updateErrorState()}_onFocus(){this._changeFocus(!0)}get value(){return this._elementRef.nativeElement.value}set value(e){e!==this.value&&(this._elementRef.nativeElement.value=e)}_inputEvent(e){this.inputEvent.emit(e)}_changeEvent(e){this.inputEvent.emit(e)}get mobile(){return this._mobile}set mobile(e){e!==this._mobile&&(this._mobile=e,this.mobileChange.emit(this._mobile))}ngAfterViewInit(){this._ngControl&&this._ngControl.statusChanges&&this._ngControl.statusChanges.pipe(ft(this._unsubscribe)).subscribe(()=>this._updateErrorState()),this._form&&this._form.ngSubmit.pipe(ft(this._unsubscribe)).subscribe(()=>this._updateErrorState())}focus(){this._elementRef.nativeElement.focus()}_changeFocus(e){this._focused!==e&&!this.readonly&&(this._focused=e,this.focusChanged.emit(e))}_isTextArea(){return"textarea"!==this._elementRef.nativeElement.nodeName.toLowerCase()}_updateErrorState(){const i=!!(this._ngControl&&this._ngControl.invalid&&(this._ngControl.touched||this._form&&this._form.submitted));this._errorState!==i&&(this._errorState=i)}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}}return n.\u0275fac=function(e){return new(e||n)(I(De),I(jm,8),I(Rm,8),I($r,10))},n.\u0275dir=H({type:n,selectors:[["","hcInput",""]],hostVars:6,hostBindings:function(e,i){1&e&&Dt("blur",function(){return i._onBlur()})("focus",function(){return i._onFocus()})("input",function(r){return i._inputEvent(r)})("change",function(r){return i._changeEvent(r)}),2&e&&(yh("readonly",i._hostReadOnly)("disabled",i._hostDisabled)("required",i._hostRequired),$t("id",i._hostId),ke("hc-input",i._hostHcInputClass))},inputs:{type:"type",id:"id",readonly:"readonly",disabled:"disabled",required:"required",value:"value",mobile:"mobile"},outputs:{focusChanged:"focusChanged",inputEvent:"inputEvent",mobileChange:"mobileChange"},features:[be([{provide:ep,useExisting:$e(()=>n)}]),te]}),n})(),xk=(()=>{class n{constructor(){this._hostClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=mt({type:n,selectors:[["hc-error"]],hostVars:2,hostBindings:function(e,i){2&e&&ke("hc-error",i._hostClass)},ngContentSelectors:Ks,decls:1,vars:0,template:function(e,i){1&e&&(pi(),Et(0))},encapsulation:2}),n})(),Sk=(()=>{class n{constructor(){this._hostHcPrefixClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=H({type:n,selectors:[["","hcPrefix",""]],hostVars:2,hostBindings:function(e,i){2&e&&ke("hc-prefix",i._hostHcPrefixClass)}}),n})(),Ik=(()=>{class n{constructor(){this._hostHcSuffixClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=H({type:n,selectors:[["","hcSuffix",""]],hostVars:2,hostBindings:function(e,i){2&e&&ke("hc-suffix",i._hostHcSuffixClass)}}),n})(),LB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=mt({type:n,selectors:[["hc-label"]],ngContentSelectors:Ks,decls:1,vars:0,template:function(e,i){1&e&&(pi(),Et(0))},encapsulation:2}),n})(),Tk=(()=>{class n{constructor(e){this._elementRef=e,this._inline=!1,this._tight=!1,this.unsubscribe$=new ie,this._classHcFormFieldClass=!0,this._hasFocusedInput=!1,this._mobileInput=!1}get _disabledClass(){return this._inputChildren.length>0?this._inputChildren.first.disabled:this._control._isDisabled}get hasLabel(){return!!this._labelChildren.length}get hasInput(){return!!this._inputChildren.length}get inline(){return this._inline}set inline(e){this._inline=Ni(e)}get tight(){return this._tight}set tight(e){this._tight=Ni(e),this._updateTightControls()}ngAfterContentInit(){if(!this._control)throw function NB(){return new Error("HcFormField must contain a component that extends HcFormControl")}();this._updateTightControls(),this._controls.changes.pipe(ft(this.unsubscribe$)).subscribe(()=>this._updateTightControls()),this.hasInput&&(this._inputChildren.first.focusChanged.pipe(ft(this.unsubscribe$)).subscribe(e=>{this._hasFocusedInput=e}),this._mobileInput=this._inputChildren.first.mobile,this._inputChildren.first.mobileChange.pipe(ft(this.unsubscribe$)).subscribe(e=>{this._mobileInput=e}))}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}_updateTightControls(){this._controls&&this._controls.forEach(e=>{e._tight=this._tight})}getConnectedOverlayOrigin(){return this._elementRef}_shouldShowErrorMessages(){return this._control._errorState&&(this._errorChildren&&this._errorChildren.length>0||!!this._control._errorMessage&&this._control._errorMessage.length>0)}}return n.\u0275fac=function(e){return new(e||n)(I(De))},n.\u0275cmp=mt({type:n,selectors:[["hc-form-field"]],contentQueries:function(e,i,o){if(1&e&&(Lt(o,ep,5),Lt(o,ep,4),Lt(o,xk,4),Lt(o,Sk,4),Lt(o,Ik,4),Lt(o,Dk,4),Lt(o,LB,4)),2&e){let r;Ye(r=Ge())&&(i._control=r.first),Ye(r=Ge())&&(i._controls=r),Ye(r=Ge())&&(i._errorChildren=r),Ye(r=Ge())&&(i._prefixChildren=r),Ye(r=Ge())&&(i._suffixChildren=r),Ye(r=Ge())&&(i._inputChildren=r),Ye(r=Ge())&&(i._labelChildren=r)}},hostVars:4,hostBindings:function(e,i){2&e&&ke("hc-form-field",i._classHcFormFieldClass)("hc-form-field-disabled",i._disabledClass)},inputs:{inline:"inline",tight:"tight"},ngContentSelectors:Vz,decls:7,vars:12,consts:[[3,"ngClass","hc-form-field-label-wrapper-tight",4,"ngIf"],[1,"hc-form-field-content-wrapper"],[3,"hc-form-field-flex","hc-form-field-flex-inline","hc-form-field-invalid","hc-form-field-flex-focused",4,"ngIf"],[3,"hc-form-field-non-input","hc-form-field-non-input-inline","hc-form-field-non-input-inline-tight","hc-form-field-invalid",4,"ngIf"],["class","hc-form-field-error-wrapper",4,"ngIf"],[3,"ngClass"],["class","hc-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"hc-required-marker"],["class","hc-form-field-prefix",4,"ngIf"],[1,"hc-form-field-infix"],["inputs",""],["class","hc-form-field-suffix",4,"ngIf"],[1,"hc-form-field-prefix"],[1,"hc-form-field-suffix"],[1,"hc-form-field-error-wrapper"],[4,"ngIf"]],template:function(e,i){1&e&&(pi(Bz),Me(0,"div"),wt(1,Az,4,8,"span",0),Me(2,"div",1),Et(3),wt(4,jz,6,14,"div",2),wt(5,Rz,2,8,"div",3),wt(6,Fz,3,1,"div",4),Te()()),2&e&&(ke("hc-form-field-wrapper-inline",i.inline)("hc-form-field-wrapper",!i.inline)("hc-form-field-no-label",!i.hasLabel)("hc-form-field-wrapper-tight",i.tight),xe(1),ze("ngIf",i.hasLabel),xe(3),ze("ngIf",i.hasInput),xe(1),ze("ngIf",!i.hasInput),xe(1),ze("ngIf",i._shouldShowErrorMessages()))},dependencies:[_m,Xl,xk],styles:[".hc-form-field{position:relative;text-align:left;font-size:inherit;font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5;flex-direction:inherit}.hc-form-field-wrapper{position:relative;padding-bottom:1.525em;flex-direction:inherit}.hc-form-field-wrapper-inline{display:inline-flex;width:100%;padding-bottom:inherit}.hc-form-field-wrapper-tight:not(.hc-form-field-wrapper-inline){padding-bottom:10px}.hc-form-field-content-wrapper{display:flex;flex-direction:inherit;flex-wrap:wrap;width:100%}.hc-form-field-flex{display:inline-flex;align-items:center;box-sizing:border-box;width:100%;border:1px solid #c0c5cc;background:#fff}.hc-form-field-flex:hover{border:1px solid #00aeff;background-color:#f2fbff}.hc-form-field-flex.hc-form-field-flex-focused{border:1px solid #00aeff;background-color:#fff;box-shadow:0 0 3px #00aeff;outline:none}.hc-form-field-disabled .hc-form-field-flex{cursor:not-allowed;border:1px solid #e0e0e0;background-color:#f0f3f6;color:#adadad}.hc-form-field-flex-inline{display:inline-flex;align-items:center;box-sizing:border-box;border:1px solid #c0c5cc;background:#fff}.hc-form-field-flex-inline:hover{border:1px solid #00aeff;background-color:#f2fbff}.hc-form-field-flex-inline.hc-form-field-flex-focused{border:1px solid #00aeff;background-color:#fff;box-shadow:0 0 3px #00aeff;outline:none}.hc-form-field-disabled .hc-form-field-flex-inline{cursor:not-allowed;border:1px solid #e0e0e0;background-color:#f0f3f6;color:#adadad}.hc-form-field-invalid.hc-form-field-flex,.hc-form-field-invalid.hc-form-field-flex-inline{border:1px solid #cc2027}.hc-form-field-invalid.hc-form-field-flex.hc-form-field-flex-focused,.hc-form-field-invalid.hc-form-field-flex-inline.hc-form-field-flex-focused{box-shadow:0 0 3px #cc2027}.hc-form-field-non-input{display:inline-flex;flex-direction:inherit;width:100%}.hc-form-field-non-input-inline{display:inline-flex;flex:0 0 100%;min-height:35px;align-items:center}.hc-form-field-non-input-inline-tight{min-height:auto}.hc-form-field-prefix,.hc-form-field-suffix{white-space:nowrap;flex:none;position:relative}.hc-form-field-prefix .hc-icon,.hc-form-field-suffix .hc-icon{color:#a1a1a1;font-size:125%;line-height:1.305}.hc-form-field-wrapper-tight .hc-form-field-prefix .hc-icon,.hc-form-field-wrapper-tight .hc-form-field-suffix .hc-icon{line-height:1.3}.hc-form-field-disabled .hc-form-field-prefix,.hc-form-field-disabled .hc-form-field-suffix{opacity:.5}.hc-suffix:not(:first-child){margin-left:7px}.hc-prefix:not(:last-child){margin-right:7px}.hc-form-field-suffix{padding-right:7px;display:flex;align-items:center}.hc-form-field-prefix{padding-left:7px;display:flex;align-items:center}.hc-form-field-infix{display:block;position:relative;flex:auto;padding:.393em 10px}.hc-form-field-infix-tight{padding:.1965em 7px;font-size:.9285714286rem}.hc-form-field-infix-mobile{font-size:1.1428571429rem}.hc-form-field-label-wrapper{box-sizing:content-box;width:100%}.hc-form-field-label-wrapper .hc-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.hc-form-field-label-wrapper.hc-form-field-label-wrapper-tight{font-size:.9285714286rem}.hc-form-field-label-wrapper-inline{flex:1 0 auto;padding:7px 15px 0 0}.hc-form-field-label-wrapper-inline .hc-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.hc-form-field-label-wrapper-inline.hc-form-field-label-wrapper-tight{padding-top:0;line-height:1.9}.hc-form-field-label{display:block;width:100%;margin-bottom:3px;font:inherit;font-size:1rem;color:inherit}.hc-form-field-label-extension{color:#6d6e70;font-size:.8571428571rem;margin-bottom:10px}.hc-form-field-label-inline{width:100%;font:inherit;font-size:1rem;color:inherit}.hc-form-field-label-tight{font-size:.9285714286rem}.hc-form-field-error-wrapper{box-sizing:border-box;width:100%;overflow:hidden;margin-top:.5333333333em;font-size:75%}.hc-error{display:block;color:#cc2027}.hc-required-marker{color:#cc2027}\n",".hc-icon-left{margin-right:5px}.hc-icon-right{margin-left:5px}.hc-input{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;text-align:inherit}.hc-input[disabled]{cursor:not-allowed}.hc-input:-moz-ui-invalid{box-shadow:none}.hc-input::-ms-clear,.hc-input::-ms-reveal{display:none}.hc-input::placeholder{color:#c0c5cc}.hc-input:-ms-input-placeholder{color:#c0c5cc}.hc-input::-ms-input-placeholder{color:#c0c5cc}textarea.hc-input{resize:vertical;overflow:auto;padding:2px 0;margin:-2px 0}\n"],encapsulation:2}),n})();Li("transformPanel",[Ot("void",me({opacity:0,transform:"scale(1, 0.8)"})),Qe("void => enter",Pe("120ms cubic-bezier(0, 0, 0.2, 1)",me({opacity:1,transform:"scale(1, 1)"}))),Qe("* => void",Pe("100ms linear",me({opacity:0})))]),Li("fadeInCalendar",[Ot("void",me({opacity:0})),Ot("enter",me({opacity:1})),Qe("void => *",Pe("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))]);const AB={provide:zo,useExisting:$e(()=>kk),multi:!0},OB={provide:_n,useExisting:$e(()=>kk),multi:!0};class p_{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let kk=(()=>{class n{constructor(e,i,o,r){if(this._elementRef=e,this._dateAdapter=i,this._dateFormats=o,this._formField=r,this.dateChange=new ge,this.dateInput=new ge,this._valueChange=new ge,this._disabledChange=new ge,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=je.EMPTY,this._localeSubscription=je.EMPTY,this._timeDate=new Date,this._parseValidator=()=>this._lastValueValid?null:{hcDatepickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=s=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(s.value));return!this.min||!c||this._dateAdapter.compareDate(this.min,c)<=0?null:{hcDatepickerMin:{min:this.min,actual:c}}},this._maxValidator=s=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(s.value));return!this.max||!c||this._dateAdapter.compareDate(this.max,c)>=0?null:{hcDatepickerMax:{max:this.max,actual:c}}},this._filterValidator=s=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(s.value));return this._dateFilter&&c&&!this._dateFilter(c)?{hcDatepickerFilter:!0}:null},this._validator=CI.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw wk("DateAdapter");if(!this._dateFormats)throw wk("HC_DATE_FORMATS");this._localeSubscription=i.localeChanges.subscribe(()=>{this.value=this.value}),this._allowsBlankValues=!1}set hcDatepicker(e){!e||(this._datepicker=e,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(i=>{this.setDate(i)}))}set hcDatepickerFilter(e){this._dateFilter=e,this._validatorOnChange()}get value(){return this._value}set value(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e);const i=this.value;this._value=e,this._formatValue(e),e&&(this._timeDate=e),this._dateAdapter.sameDate(i,e)||this._valueChange.emit(e)}get min(){return this._min}set min(e){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get max(){return this._max}set max(e){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(e){const i=Ni(e),o=this._elementRef.nativeElement;this._disabled!==i&&(this._disabled=i,this._disabledChange.emit(i)),i&&o.blur&&o.blur()}get allowsBlankValues(){return this._allowsBlankValues}set allowsBlankValues(e){this._allowsBlankValues=Ni(e)}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}focus(){this._elementRef.nativeElement.focus()}writeValue(e){this.value=e}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}setDate(e){this.value=e,this._cvaOnChange(e),this._onTouched(),this.dateInput.emit(new p_(this,this._elementRef.nativeElement)),this.dateChange.emit(new p_(this,this._elementRef.nativeElement))}_onKeydown(e){this._datepicker&&e.altKey&&"ArrowDown"===e.key&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),e.preventDefault())}_onInput(e){"time"===(this._datepicker?this._datepicker.mode:this._mode)&&(e=this._timeDate.getDate()+"/"+(this._timeDate.getMonth()+1)+"/"+this._timeDate.getFullYear()+" "+e);let o=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);if(o&&!this._elementRef.nativeElement.value.match(/[1-9][0-9][0-9]/g)){const s=new Date;o.getFullYear()>=s.getFullYear()+30?o.setFullYear(o.getFullYear()-100):o.getFullYear()<s.getFullYear()-70&&o.setFullYear(o.getFullYear()+100)}this._lastValueValid=!(!this._allowsBlankValues||""!=e.trim())||!o||this._dateAdapter.isValid(o),o=this._getValidDateOrNull(o),this._dateAdapter.sameDate(o,this._value)||(this._value=o,this._cvaOnChange(o),this._valueChange.emit(o),this.dateInput.emit(new p_(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new p_(this,this._elementRef.nativeElement))}_onBlur(){(this.value||this._elementRef.nativeElement.value)&&this._formatValue(this.value),this._onTouched()}_formatValue(e){let i=this._dateFormats.display.dateInput,o="date",r=12;if(this._datepicker?(o=this._datepicker.mode,r=+this._datepicker.hourCycle):this._mode&&(o=this._mode,this._hourCycle&&(r=this._hourCycle)),"time"===o){const s=this._dateFormats.display.timeInput;s.hour12=12===r,i=s}else if("date-time"===o){const s=this._dateFormats.display.dateTimeInput;s.hour12=12===r,i=s}this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,i):""}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}}return n.\u0275fac=function(e){return new(e||n)(I(De),I(IB,8),I(xB,8),I(Tk,8))},n.\u0275dir=H({type:n,selectors:[["input","hcDatepicker",""]],hostVars:5,hostBindings:function(e,i){1&e&&Dt("input",function(r){return i._onInput(r.target.value)})("change",function(){return i._onChange()})("blur",function(){return i._onBlur()})("keydown",function(r){return i._onKeydown(r)}),2&e&&(yh("disabled",i.disabled),$t("aria-haspopup",!0)("aria-owns",(null==i._datepicker?null:i._datepicker.opened)&&i._datepicker.id||null)("min",i.min?i._dateAdapter.toIso8601(i.min):null)("max",i.max?i._dateAdapter.toIso8601(i.max):null))},inputs:{hcDatepicker:"hcDatepicker",hcDatepickerFilter:"hcDatepickerFilter",value:"value",min:"min",max:"max",disabled:"disabled",_mode:"_mode",_hourCycle:"_hourCycle",allowsBlankValues:"allowsBlankValues"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[be([AB,OB,{provide:ep,useExisting:$e(()=>n)}])]}),n})();!function PB(n,t){const e=Array(n);for(let i=0;i<n;i++)e[i]=t(i)}(31,n=>String(n+1)),new G("hc-datepicker-scroll-strategy");let Ek=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[Zr]}),n})(),zB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[Zr,Ek]}),n})(),FB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[Zr,xT]}),n})();class g_{close(t){}dismiss(){}}let QB=(()=>{class n{constructor(e,i,o,r){this.activeModal=e,this.el=i,this._document=o,this._focusTrapFactory=r,this._ignoreOverlayClick=!1,this._isDraggable=!1,this._isResizable=!1,this._size="auto",this._tight=!1,this._disableFullScreen=!1,this._restoreFocus=!0,this._autoFocus=!1,this._hostClass=!0}_fadeInOut(){return Ot}_overlayClick(e){let i=!0;const o=this._eventPath(e),r=o.findIndex(c=>c===this.el.nativeElement)>-1,s=o.map(c=>c.classList);for(const c of s)c&&c.contains("hc-modal-content")&&(i=!1);!this._ignoreOverlayClick&&i&&r&&this.activeModal.dismiss()}_eventPath(e){const i=e.composedPath&&e.composedPath()||e.path,o=e.target;return null!=i?i.indexOf(window)<0?i.concat(window):i:o===window?[window]:[o].concat(function r(s,c){c=c||[];const u=s.parentNode;return u?r(u,c.concat(u)):c}(o),window)}_savePreviouslyFocusedElement(){this._document&&(this._previouslyFocusedElement=this._document.activeElement)}_trapFocus(){!this._focusTrapElement||(this._savePreviouslyFocusedElement(),!this._focusTrap&&this._focusTrapElement&&(this._focusTrap=this._focusTrapFactory.create(this._focusTrapElement.nativeElement)),this._autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady())}}return n.\u0275fac=function(e){return new(e||n)(I(g_),I(De),I(st,8),I(C1))},n.\u0275cmp=mt({type:n,selectors:[["hc-modal-window"]],viewQuery:function(e,i){if(1&e&&Ki(X1,5),2&e){let o;Ye(o=Ge())&&(i._focusTrapElement=o.first)}},hostVars:3,hostBindings:function(e,i){1&e&&Dt("mousedown",function(r){return i._overlayClick(r)}),2&e&&(Mh("@fadeInOut",i._fadeInOut),ke("hc-modal-window",i._hostClass))},ngContentSelectors:Ks,decls:4,vars:8,consts:[["cdkDrag","","cdkDragBoundary",".hc-modal-window",3,"cdkDragDisabled"],["focusTrapElement",""],["class","hc-modal-drag-handle","cdkDragHandle","",4,"ngIf"],["cdkDragHandle","",1,"hc-modal-drag-handle"],["width","24px","fill","currentColor","viewBox","0 0 24 24"],["d","M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2l-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z"],["d","M0 0h24v24H0z","fill","none"]],template:function(e,i){1&e&&(pi(),Me(0,"div",0,1),wt(2,bF,4,0,"div",2),Et(3),Te()),2&e&&(function xD(n,t,e,i,o,r,s,c,u){Oo(Ln,ur,Fl(z(),n,t,e,i,o,r,s,c,u),!0)}("hc-modal ",i._disableFullScreen?"":"hc-modal-responsive"," ",i._isResizable?"hc-modal-resizable":"hc-modal-static"," hc-modal-",i._size,"\n ",i._tight?"hc-modal-tight":"",""),ze("cdkDragDisabled",!i._isDraggable),xe(2),ze("ngIf",i._isDraggable))},dependencies:[Xl,J3,Q3],styles:[".hc-modal-window{align-items:center;display:flex;justify-content:center;inset:0;position:fixed}.hc-modal{display:flex;flex-direction:column;justify-content:center;position:relative}.hc-modal-auto hc-modal{width:auto;justify-content:center}.hc-modal-sm hc-modal{width:300px;height:auto;border-radius:6px}.hc-modal-sm hc-modal .hc-modal-footer{justify-content:flex-end;flex-direction:row;position:relative}.hc-modal-sm hc-modal .hc-modal-header{justify-content:flex-start}.hc-modal-sm hc-modal .hc-modal-content{border-radius:6px}.hc-modal-sm hc-modal .hc-modal-body{margin-bottom:0}.hc-modal-md hc-modal{width:500px}.hc-modal-lg hc-modal{width:768px}.hc-modal-xl hc-modal{width:992px}.hc-modal-resizable hc-modal{resize:both;overflow:hidden;min-width:300px}.hc-modal-static hc-modal{min-height:auto!important}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm){max-height:100%;height:100%;justify-content:flex-end}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm).hc-modal-auto{width:100%;justify-content:flex-end}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm) .hc-modal-footer{flex-direction:column-reverse}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm) .hc-modal-footer .hc-button{margin-left:0;width:100%}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm) .hc-modal-content{height:calc(100% - 53px)!important;width:100vw!important;border-radius:0}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm) .hc-modal-center-component{justify-content:flex-end}}.hc-modal-tight .hc-modal-header{font-size:1.1428571429rem;min-height:45px;padding:15px}.hc-modal-tight .hc-modal-body,.hc-modal-tight .hc-modal-footer{padding:15px}\n"],encapsulation:2,data:{animation:[Li("fadeInOut",[Ot("in",me({opacity:1})),Qe("void <=> *",[me({opacity:0}),Pe("0.2s ease-in-out")])])]}}),n})(),ZB=(()=>{class n{constructor(e){this.activeModal=e,this._ignoreEscapeKey=!1,this._hostClass=!0}_fadeInOut(){return Ot}_escapeKey(){this._ignoreEscapeKey||this.activeModal.dismiss()}}return n.\u0275fac=function(e){return new(e||n)(I(g_))},n.\u0275cmp=mt({type:n,selectors:[["hc-modal-overlay"]],hostVars:3,hostBindings:function(e,i){1&e&&Dt("keyup.escape",function(){return i._escapeKey()},0,Zd),2&e&&(Mh("@fadeInOut",i._fadeInOut),ke("hc-modal-overlay",i._hostClass))},inputs:{_ignoreEscapeKey:"_ignoreEscapeKey"},decls:0,vars:0,template:function(e,i){},styles:[".hc-modal-overlay{background-color:#000;position:fixed;inset:0;opacity:.5;display:block}\n"],encapsulation:2,data:{animation:[Li("fadeInOut",[Ot("in",me({opacity:.5})),Qe("void <=> *",[me({opacity:0}),Pe("0.2s ease-in-out")])])]}}),n})();class $B{constructor(){this._result=new ie,this._modalClose=new ge}get result(){return this._result.asObservable()}close(t){this.removeModalElements(),this._result.next(t)}dismiss(){this.removeModalElements()}removeModalElements(){if(this.window){const t=this.window.location.nativeElement;t.parentNode.removeChild(t),this.window.destroy()}if(this.overlay){const t=this.overlay.location.nativeElement;t.parentNode.removeChild(t),this.overlay.destroy()}if(this.componentRef){const t=this.componentRef.location.nativeElement;t.parentNode.removeChild(t),this.componentRef.destroy()}this._removeOpenClass&&this._removeOpenClass(),this._modalClose.emit(),this.window=null,this.overlay=null,this.componentRef=null,this._removeOpenClass=null}}let KB=(()=>{class n{constructor(e,i,o,r){this._componentFactory=e,this._injector=i,this._applicationRef=o,this.allowMultiple=!1,this._zIndexBase=2e3,this._zIndexCounter=this._zIndexBase,this._modalsOpen=0,this._renderer=r.createRenderer(null,null)}open(e,i){if(!this.allowMultiple&&0!==this._modalsOpen)throw new Error("Multiple modals may not be opened at the same time\n when the allowMultiple property on ModalService is set to false.");let o=document.querySelector("body");const s={container:o,data:{},ignoreEscapeKey:!1,size:"auto",tight:!1,ignoreOverlayClick:!1,isDraggable:!1,isResizable:!1,disableFullScreen:!1,restoreFocus:!0,autoFocus:!1,...i};if(s.container&&(o=s.container),!o)throw new Error("Modal requires that a container be set in the modal options");const c=new $B,u=new g_;c.data=s.data,u.data=s.data;const h=Sn.create({providers:[{provide:g_,useValue:u}],parent:this._injector});this._renderer.addClass(o,"hc-modal-open"),c._removeOpenClass=()=>this._renderer.removeClass(o,"hc-modal-open"),this.allowMultiple&&(this._zIndexCounter=this._zIndexBase+2*this._modalsOpen);const p=this._componentFactory.resolveComponentFactory(ZB).create(h);let g;if(this._renderer.setStyle(p.location.nativeElement,"z-index",this._zIndexCounter),p.instance._ignoreEscapeKey=s.ignoreEscapeKey,this._applicationRef.attachView(p.hostView),o.appendChild(p.location.nativeElement),c.overlay=p,e instanceof ln){const y=e.createEmbeddedView(u);this._applicationRef.attachView(y),g=[y.rootNodes]}else{const y=this._componentFactory.resolveComponentFactory(e).create(h);this._renderer.addClass(y.location.nativeElement,"hc-modal-center-component"),this._applicationRef.attachView(y.hostView),c.componentRef=y,g=[[y.location.nativeElement]]}const _=this._componentFactory.resolveComponentFactory(QB).create(h,g);return this._renderer.setStyle(_.location.nativeElement,"z-index",this._zIndexCounter+1),_.instance._ignoreOverlayClick=s.ignoreOverlayClick,_.instance._isDraggable=s.isDraggable,_.instance._isResizable=s.isResizable,_.instance._size=s.size,_.instance._tight=s.tight,_.instance._disableFullScreen=s.disableFullScreen,_.instance._autoFocus=s.autoFocus,_.instance._restoreFocus=s.restoreFocus,this._applicationRef.attachView(_.hostView),o.appendChild(_.location.nativeElement),c.window=_,setTimeout(()=>{_.instance._trapFocus()}),u.close=y=>{c.close(y)},u.dismiss=()=>c.dismiss(),this._modalsOpen++,c._modalClose.subscribe(()=>{this._modalsOpen--,c._modalClose.unsubscribe(),c.window&&this._restoreFocusAndDestroyTrap(c.window.instance)}),c}_restoreFocusAndDestroyTrap(e){const i=e._previouslyFocusedElement;i&&"focus"in i&&e._restoreFocus&&i.focus(),e._focusTrap&&e._focusTrap.destroy()}}return n.\u0275fac=function(e){return new(e||n)(P(at),P(Sn),P(Ka),P(Ns))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),JB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({providers:[KB],imports:[Zr,q3]}),n})(),qB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[Zr,Ck,yk,FB,ST]}),n})();new G("ng-select-selection-model");
|
|
2383
|
+
function wk(n){return Error(`Datepicker: No provider found for ${n}. You must import one of the following modules at your application root: HcNativeDateModule, MatMomentDateModule, or provide a custom implementation.`)}const xB=new G("hc-date-formats");new G("HC_DATE_LOCALE",{providedIn:"root",factory:function SB(){return So(dr)}});class IB{constructor(){this._localeChanges=new ie}get localeChanges(){return this._localeChanges}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)||this.getHours(t)-this.getHours(e)||this.getMinutes(t)-this.getMinutes(e)}sameDate(t,e){if(t&&e){const i=this.isValid(t),o=this.isValid(e);return i&&o?!this.compareDate(t,e):i===o}return t===e}clampDate(t,e,i){return e&&this.compareDate(t,e)<0?e:i&&this.compareDate(t,i)>0?i:t}}let kB=1;const EB=["button","checkbox","file","hidden","image","radio","reset"];let Dk=(()=>{class n extends tp{constructor(e,i,o,r){super(),this._elementRef=e,this._ngControl=r,this._focused=!1,this._mobile=!1,this._uniqueInputId="hc-input-"+kB++,this._unsubscribe=new ie,this._componentId=this._uniqueInputId,this._type="input",this._readonly=!1,this.focusChanged=new ge,this.inputEvent=new ge,this._hostHcInputClass=!0,this.mobileChange=new ge,this._form=i||o}get type(){return this._type}set type(e){if(EB.indexOf(e)>-1)throw function TB(n){return new Error(`hc-input doesn't support the following type: ${n}`)}(e);this._type=e,this._isTextArea()||(this._elementRef.nativeElement.type=this.type)}get id(){return this._componentId||this._uniqueInputId}set id(e){this._componentId=e||this._uniqueInputId}get readonly(){return this._readonly}set readonly(e){this._readonly=Ni(e)}get disabled(){return this._ngControl&&this._ngControl.disabled?this._ngControl.disabled:this._isDisabled}set disabled(e){this._isDisabled=Ni(e),this._focused&&(this._focused=!1)}get required(){return this._isRequired}set required(e){this._isRequired=Ni(e)}get _hostId(){return this._componentId||this._uniqueInputId}get _hostReadOnly(){return this.readonly}get _hostDisabled(){return this.disabled}get _hostRequired(){return this._isRequired}_onBlur(){this._changeFocus(!1),this._updateErrorState()}_onFocus(){this._changeFocus(!0)}get value(){return this._elementRef.nativeElement.value}set value(e){e!==this.value&&(this._elementRef.nativeElement.value=e)}_inputEvent(e){this.inputEvent.emit(e)}_changeEvent(e){this.inputEvent.emit(e)}get mobile(){return this._mobile}set mobile(e){e!==this._mobile&&(this._mobile=e,this.mobileChange.emit(this._mobile))}ngAfterViewInit(){this._ngControl&&this._ngControl.statusChanges&&this._ngControl.statusChanges.pipe(ft(this._unsubscribe)).subscribe(()=>this._updateErrorState()),this._form&&this._form.ngSubmit.pipe(ft(this._unsubscribe)).subscribe(()=>this._updateErrorState())}focus(){this._elementRef.nativeElement.focus()}_changeFocus(e){this._focused!==e&&!this.readonly&&(this._focused=e,this.focusChanged.emit(e))}_isTextArea(){return"textarea"!==this._elementRef.nativeElement.nodeName.toLowerCase()}_updateErrorState(){const i=!!(this._ngControl&&this._ngControl.invalid&&(this._ngControl.touched||this._form&&this._form.submitted));this._errorState!==i&&(this._errorState=i)}ngOnDestroy(){this._unsubscribe.next(),this._unsubscribe.complete()}}return n.\u0275fac=function(e){return new(e||n)(I(De),I(Pm,8),I(jm,8),I($r,10))},n.\u0275dir=H({type:n,selectors:[["","hcInput",""]],hostVars:6,hostBindings:function(e,i){1&e&&Dt("blur",function(){return i._onBlur()})("focus",function(){return i._onFocus()})("input",function(r){return i._inputEvent(r)})("change",function(r){return i._changeEvent(r)}),2&e&&(yh("readonly",i._hostReadOnly)("disabled",i._hostDisabled)("required",i._hostRequired),$t("id",i._hostId),ke("hc-input",i._hostHcInputClass))},inputs:{type:"type",id:"id",readonly:"readonly",disabled:"disabled",required:"required",value:"value",mobile:"mobile"},outputs:{focusChanged:"focusChanged",inputEvent:"inputEvent",mobileChange:"mobileChange"},features:[be([{provide:tp,useExisting:$e(()=>n)}]),te]}),n})(),xk=(()=>{class n{constructor(){this._hostClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=mt({type:n,selectors:[["hc-error"]],hostVars:2,hostBindings:function(e,i){2&e&&ke("hc-error",i._hostClass)},ngContentSelectors:Ks,decls:1,vars:0,template:function(e,i){1&e&&(pi(),Et(0))},encapsulation:2}),n})(),Sk=(()=>{class n{constructor(){this._hostHcPrefixClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=H({type:n,selectors:[["","hcPrefix",""]],hostVars:2,hostBindings:function(e,i){2&e&&ke("hc-prefix",i._hostHcPrefixClass)}}),n})(),Ik=(()=>{class n{constructor(){this._hostHcSuffixClass=!0}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=H({type:n,selectors:[["","hcSuffix",""]],hostVars:2,hostBindings:function(e,i){2&e&&ke("hc-suffix",i._hostHcSuffixClass)}}),n})(),LB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=mt({type:n,selectors:[["hc-label"]],ngContentSelectors:Ks,decls:1,vars:0,template:function(e,i){1&e&&(pi(),Et(0))},encapsulation:2}),n})(),Tk=(()=>{class n{constructor(e){this._elementRef=e,this._inline=!1,this._tight=!1,this.unsubscribe$=new ie,this._classHcFormFieldClass=!0,this._hasFocusedInput=!1,this._mobileInput=!1}get _disabledClass(){return this._inputChildren.length>0?this._inputChildren.first.disabled:this._control._isDisabled}get hasLabel(){return!!this._labelChildren.length}get hasInput(){return!!this._inputChildren.length}get inline(){return this._inline}set inline(e){this._inline=Ni(e)}get tight(){return this._tight}set tight(e){this._tight=Ni(e),this._updateTightControls()}ngAfterContentInit(){if(!this._control)throw function NB(){return new Error("HcFormField must contain a component that extends HcFormControl")}();this._updateTightControls(),this._controls.changes.pipe(ft(this.unsubscribe$)).subscribe(()=>this._updateTightControls()),this.hasInput&&(this._inputChildren.first.focusChanged.pipe(ft(this.unsubscribe$)).subscribe(e=>{this._hasFocusedInput=e}),this._mobileInput=this._inputChildren.first.mobile,this._inputChildren.first.mobileChange.pipe(ft(this.unsubscribe$)).subscribe(e=>{this._mobileInput=e}))}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}_updateTightControls(){this._controls&&this._controls.forEach(e=>{e._tight=this._tight})}getConnectedOverlayOrigin(){return this._elementRef}_shouldShowErrorMessages(){return this._control._errorState&&(this._errorChildren&&this._errorChildren.length>0||!!this._control._errorMessage&&this._control._errorMessage.length>0)}}return n.\u0275fac=function(e){return new(e||n)(I(De))},n.\u0275cmp=mt({type:n,selectors:[["hc-form-field"]],contentQueries:function(e,i,o){if(1&e&&(Lt(o,tp,5),Lt(o,tp,4),Lt(o,xk,4),Lt(o,Sk,4),Lt(o,Ik,4),Lt(o,Dk,4),Lt(o,LB,4)),2&e){let r;Ye(r=Ge())&&(i._control=r.first),Ye(r=Ge())&&(i._controls=r),Ye(r=Ge())&&(i._errorChildren=r),Ye(r=Ge())&&(i._prefixChildren=r),Ye(r=Ge())&&(i._suffixChildren=r),Ye(r=Ge())&&(i._inputChildren=r),Ye(r=Ge())&&(i._labelChildren=r)}},hostVars:4,hostBindings:function(e,i){2&e&&ke("hc-form-field",i._classHcFormFieldClass)("hc-form-field-disabled",i._disabledClass)},inputs:{inline:"inline",tight:"tight"},ngContentSelectors:Vz,decls:7,vars:12,consts:[[3,"ngClass","hc-form-field-label-wrapper-tight",4,"ngIf"],[1,"hc-form-field-content-wrapper"],[3,"hc-form-field-flex","hc-form-field-flex-inline","hc-form-field-invalid","hc-form-field-flex-focused",4,"ngIf"],[3,"hc-form-field-non-input","hc-form-field-non-input-inline","hc-form-field-non-input-inline-tight","hc-form-field-invalid",4,"ngIf"],["class","hc-form-field-error-wrapper",4,"ngIf"],[3,"ngClass"],["class","hc-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"hc-required-marker"],["class","hc-form-field-prefix",4,"ngIf"],[1,"hc-form-field-infix"],["inputs",""],["class","hc-form-field-suffix",4,"ngIf"],[1,"hc-form-field-prefix"],[1,"hc-form-field-suffix"],[1,"hc-form-field-error-wrapper"],[4,"ngIf"]],template:function(e,i){1&e&&(pi(Bz),Me(0,"div"),yt(1,Az,4,8,"span",0),Me(2,"div",1),Et(3),yt(4,jz,6,14,"div",2),yt(5,Rz,2,8,"div",3),yt(6,Fz,3,1,"div",4),Te()()),2&e&&(ke("hc-form-field-wrapper-inline",i.inline)("hc-form-field-wrapper",!i.inline)("hc-form-field-no-label",!i.hasLabel)("hc-form-field-wrapper-tight",i.tight),xe(1),ze("ngIf",i.hasLabel),xe(3),ze("ngIf",i.hasInput),xe(1),ze("ngIf",!i.hasInput),xe(1),ze("ngIf",i._shouldShowErrorMessages()))},dependencies:[mm,ql,xk],styles:[".hc-form-field{position:relative;text-align:left;font-size:inherit;font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5;flex-direction:inherit}.hc-form-field-wrapper{position:relative;padding-bottom:1.525em;flex-direction:inherit}.hc-form-field-wrapper-inline{display:inline-flex;width:100%;padding-bottom:inherit}.hc-form-field-wrapper-tight:not(.hc-form-field-wrapper-inline){padding-bottom:10px}.hc-form-field-content-wrapper{display:flex;flex-direction:inherit;flex-wrap:wrap;width:100%}.hc-form-field-flex{display:inline-flex;align-items:center;box-sizing:border-box;width:100%;border:1px solid #c0c5cc;background:#fff}.hc-form-field-flex:hover{border:1px solid #00aeff;background-color:#f2fbff}.hc-form-field-flex.hc-form-field-flex-focused{border:1px solid #00aeff;background-color:#fff;box-shadow:0 0 3px #00aeff;outline:none}.hc-form-field-disabled .hc-form-field-flex{cursor:not-allowed;border:1px solid #e0e0e0;background-color:#f0f3f6;color:#adadad}.hc-form-field-flex-inline{display:inline-flex;align-items:center;box-sizing:border-box;border:1px solid #c0c5cc;background:#fff}.hc-form-field-flex-inline:hover{border:1px solid #00aeff;background-color:#f2fbff}.hc-form-field-flex-inline.hc-form-field-flex-focused{border:1px solid #00aeff;background-color:#fff;box-shadow:0 0 3px #00aeff;outline:none}.hc-form-field-disabled .hc-form-field-flex-inline{cursor:not-allowed;border:1px solid #e0e0e0;background-color:#f0f3f6;color:#adadad}.hc-form-field-invalid.hc-form-field-flex,.hc-form-field-invalid.hc-form-field-flex-inline{border:1px solid #cc2027}.hc-form-field-invalid.hc-form-field-flex.hc-form-field-flex-focused,.hc-form-field-invalid.hc-form-field-flex-inline.hc-form-field-flex-focused{box-shadow:0 0 3px #cc2027}.hc-form-field-non-input{display:inline-flex;flex-direction:inherit;width:100%}.hc-form-field-non-input-inline{display:inline-flex;flex:0 0 100%;min-height:35px;align-items:center}.hc-form-field-non-input-inline-tight{min-height:auto}.hc-form-field-prefix,.hc-form-field-suffix{white-space:nowrap;flex:none;position:relative}.hc-form-field-prefix .hc-icon,.hc-form-field-suffix .hc-icon{color:#a1a1a1;font-size:125%;line-height:1.305}.hc-form-field-wrapper-tight .hc-form-field-prefix .hc-icon,.hc-form-field-wrapper-tight .hc-form-field-suffix .hc-icon{line-height:1.3}.hc-form-field-disabled .hc-form-field-prefix,.hc-form-field-disabled .hc-form-field-suffix{opacity:.5}.hc-suffix:not(:first-child){margin-left:7px}.hc-prefix:not(:last-child){margin-right:7px}.hc-form-field-suffix{padding-right:7px;display:flex;align-items:center}.hc-form-field-prefix{padding-left:7px;display:flex;align-items:center}.hc-form-field-infix{display:block;position:relative;flex:auto;padding:.393em 10px}.hc-form-field-infix-tight{padding:.1965em 7px;font-size:.9285714286rem}.hc-form-field-infix-mobile{font-size:1.1428571429rem}.hc-form-field-label-wrapper{box-sizing:content-box;width:100%}.hc-form-field-label-wrapper .hc-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.hc-form-field-label-wrapper.hc-form-field-label-wrapper-tight{font-size:.9285714286rem}.hc-form-field-label-wrapper-inline{flex:1 0 auto;padding:7px 15px 0 0}.hc-form-field-label-wrapper-inline .hc-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.hc-form-field-label-wrapper-inline.hc-form-field-label-wrapper-tight{padding-top:0;line-height:1.9}.hc-form-field-label{display:block;width:100%;margin-bottom:3px;font:inherit;font-size:1rem;color:inherit}.hc-form-field-label-extension{color:#6d6e70;font-size:.8571428571rem;margin-bottom:10px}.hc-form-field-label-inline{width:100%;font:inherit;font-size:1rem;color:inherit}.hc-form-field-label-tight{font-size:.9285714286rem}.hc-form-field-error-wrapper{box-sizing:border-box;width:100%;overflow:hidden;margin-top:.5333333333em;font-size:75%}.hc-error{display:block;color:#cc2027}.hc-required-marker{color:#cc2027}\n",".hc-icon-left{margin-right:5px}.hc-icon-right{margin-left:5px}.hc-input{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;text-align:inherit}.hc-input[disabled]{cursor:not-allowed}.hc-input:-moz-ui-invalid{box-shadow:none}.hc-input::-ms-clear,.hc-input::-ms-reveal{display:none}.hc-input::placeholder{color:#c0c5cc}.hc-input:-ms-input-placeholder{color:#c0c5cc}.hc-input::-ms-input-placeholder{color:#c0c5cc}textarea.hc-input{resize:vertical;overflow:auto;padding:2px 0;margin:-2px 0}\n"],encapsulation:2}),n})();Li("transformPanel",[Pt("void",me({opacity:0,transform:"scale(1, 0.8)"})),Qe("void => enter",Pe("120ms cubic-bezier(0, 0, 0.2, 1)",me({opacity:1,transform:"scale(1, 1)"}))),Qe("* => void",Pe("100ms linear",me({opacity:0})))]),Li("fadeInCalendar",[Pt("void",me({opacity:0})),Pt("enter",me({opacity:1})),Qe("void => *",Pe("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))]);const AB={provide:zo,useExisting:$e(()=>kk),multi:!0},OB={provide:_n,useExisting:$e(()=>kk),multi:!0};class h_{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let kk=(()=>{class n{constructor(e,i,o,r){if(this._elementRef=e,this._dateAdapter=i,this._dateFormats=o,this._formField=r,this.dateChange=new ge,this.dateInput=new ge,this._valueChange=new ge,this._disabledChange=new ge,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=je.EMPTY,this._localeSubscription=je.EMPTY,this._timeDate=new Date,this._parseValidator=()=>this._lastValueValid?null:{hcDatepickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=s=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(s.value));return!this.min||!c||this._dateAdapter.compareDate(this.min,c)<=0?null:{hcDatepickerMin:{min:this.min,actual:c}}},this._maxValidator=s=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(s.value));return!this.max||!c||this._dateAdapter.compareDate(this.max,c)>=0?null:{hcDatepickerMax:{max:this.max,actual:c}}},this._filterValidator=s=>{const c=this._getValidDateOrNull(this._dateAdapter.deserialize(s.value));return this._dateFilter&&c&&!this._dateFilter(c)?{hcDatepickerFilter:!0}:null},this._validator=CI.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw wk("DateAdapter");if(!this._dateFormats)throw wk("HC_DATE_FORMATS");this._localeSubscription=i.localeChanges.subscribe(()=>{this.value=this.value}),this._allowsBlankValues=!1}set hcDatepicker(e){!e||(this._datepicker=e,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(i=>{this.setDate(i)}))}set hcDatepickerFilter(e){this._dateFilter=e,this._validatorOnChange()}get value(){return this._value}set value(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e);const i=this.value;this._value=e,this._formatValue(e),e&&(this._timeDate=e),this._dateAdapter.sameDate(i,e)||this._valueChange.emit(e)}get min(){return this._min}set min(e){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get max(){return this._max}set max(e){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(e){const i=Ni(e),o=this._elementRef.nativeElement;this._disabled!==i&&(this._disabled=i,this._disabledChange.emit(i)),i&&o.blur&&o.blur()}get allowsBlankValues(){return this._allowsBlankValues}set allowsBlankValues(e){this._allowsBlankValues=Ni(e)}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}focus(){this._elementRef.nativeElement.focus()}writeValue(e){this.value=e}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}setDate(e){this.value=e,this._cvaOnChange(e),this._onTouched(),this.dateInput.emit(new h_(this,this._elementRef.nativeElement)),this.dateChange.emit(new h_(this,this._elementRef.nativeElement))}_onKeydown(e){this._datepicker&&e.altKey&&"ArrowDown"===e.key&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),e.preventDefault())}_onInput(e){"time"===(this._datepicker?this._datepicker.mode:this._mode)&&(e=this._timeDate.getDate()+"/"+(this._timeDate.getMonth()+1)+"/"+this._timeDate.getFullYear()+" "+e);let o=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);if(o&&!this._elementRef.nativeElement.value.match(/[1-9][0-9][0-9]/g)){const s=new Date;o.getFullYear()>=s.getFullYear()+30?o.setFullYear(o.getFullYear()-100):o.getFullYear()<s.getFullYear()-70&&o.setFullYear(o.getFullYear()+100)}this._lastValueValid=!(!this._allowsBlankValues||""!=e.trim())||!o||this._dateAdapter.isValid(o),o=this._getValidDateOrNull(o),this._dateAdapter.sameDate(o,this._value)||(this._value=o,this._cvaOnChange(o),this._valueChange.emit(o),this.dateInput.emit(new h_(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new h_(this,this._elementRef.nativeElement))}_onBlur(){(this.value||this._elementRef.nativeElement.value)&&this._formatValue(this.value),this._onTouched()}_formatValue(e){let i=this._dateFormats.display.dateInput,o="date",r=12;if(this._datepicker?(o=this._datepicker.mode,r=+this._datepicker.hourCycle):this._mode&&(o=this._mode,this._hourCycle&&(r=this._hourCycle)),"time"===o){const s=this._dateFormats.display.timeInput;s.hour12=12===r,i=s}else if("date-time"===o){const s=this._dateFormats.display.dateTimeInput;s.hour12=12===r,i=s}this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,i):""}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}}return n.\u0275fac=function(e){return new(e||n)(I(De),I(IB,8),I(xB,8),I(Tk,8))},n.\u0275dir=H({type:n,selectors:[["input","hcDatepicker",""]],hostVars:5,hostBindings:function(e,i){1&e&&Dt("input",function(r){return i._onInput(r.target.value)})("change",function(){return i._onChange()})("blur",function(){return i._onBlur()})("keydown",function(r){return i._onKeydown(r)}),2&e&&(yh("disabled",i.disabled),$t("aria-haspopup",!0)("aria-owns",(null==i._datepicker?null:i._datepicker.opened)&&i._datepicker.id||null)("min",i.min?i._dateAdapter.toIso8601(i.min):null)("max",i.max?i._dateAdapter.toIso8601(i.max):null))},inputs:{hcDatepicker:"hcDatepicker",hcDatepickerFilter:"hcDatepickerFilter",value:"value",min:"min",max:"max",disabled:"disabled",_mode:"_mode",_hourCycle:"_hourCycle",allowsBlankValues:"allowsBlankValues"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[be([AB,OB,{provide:tp,useExisting:$e(()=>n)}])]}),n})();!function PB(n,t){const e=Array(n);for(let i=0;i<n;i++)e[i]=t(i)}(31,n=>String(n+1)),new G("hc-datepicker-scroll-strategy");let Ek=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[Zr]}),n})(),zB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[Zr,Ek]}),n})(),FB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[Zr,xT]}),n})();class f_{close(t){}dismiss(){}}let QB=(()=>{class n{constructor(e,i,o,r){this.activeModal=e,this.el=i,this._document=o,this._focusTrapFactory=r,this._ignoreOverlayClick=!1,this._isDraggable=!1,this._isResizable=!1,this._size="auto",this._tight=!1,this._disableFullScreen=!1,this._restoreFocus=!0,this._autoFocus=!1,this._hostClass=!0}_fadeInOut(){return Pt}_overlayClick(e){let i=!0;const o=this._eventPath(e),r=o.findIndex(c=>c===this.el.nativeElement)>-1,s=o.map(c=>c.classList);for(const c of s)c&&c.contains("hc-modal-content")&&(i=!1);!this._ignoreOverlayClick&&i&&r&&this.activeModal.dismiss()}_eventPath(e){const i=e.composedPath&&e.composedPath()||e.path,o=e.target;return null!=i?i.indexOf(window)<0?i.concat(window):i:o===window?[window]:[o].concat(function r(s,c){c=c||[];const u=s.parentNode;return u?r(u,c.concat(u)):c}(o),window)}_savePreviouslyFocusedElement(){this._document&&(this._previouslyFocusedElement=this._document.activeElement)}_trapFocus(){!this._focusTrapElement||(this._savePreviouslyFocusedElement(),!this._focusTrap&&this._focusTrapElement&&(this._focusTrap=this._focusTrapFactory.create(this._focusTrapElement.nativeElement)),this._autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady())}}return n.\u0275fac=function(e){return new(e||n)(I(f_),I(De),I(st,8),I(C1))},n.\u0275cmp=mt({type:n,selectors:[["hc-modal-window"]],viewQuery:function(e,i){if(1&e&&Ki(X1,5),2&e){let o;Ye(o=Ge())&&(i._focusTrapElement=o.first)}},hostVars:3,hostBindings:function(e,i){1&e&&Dt("mousedown",function(r){return i._overlayClick(r)}),2&e&&(Mh("@fadeInOut",i._fadeInOut),ke("hc-modal-window",i._hostClass))},ngContentSelectors:Ks,decls:4,vars:8,consts:[["cdkDrag","","cdkDragBoundary",".hc-modal-window",3,"cdkDragDisabled"],["focusTrapElement",""],["class","hc-modal-drag-handle","cdkDragHandle","",4,"ngIf"],["cdkDragHandle","",1,"hc-modal-drag-handle"],["width","24px","fill","currentColor","viewBox","0 0 24 24"],["d","M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2l-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z"],["d","M0 0h24v24H0z","fill","none"]],template:function(e,i){1&e&&(pi(),Me(0,"div",0,1),yt(2,bF,4,0,"div",2),Et(3),Te()),2&e&&(function SD(n,t,e,i,o,r,s,c,u){Oo(Ln,ur,Fl(z(),n,t,e,i,o,r,s,c,u),!0)}("hc-modal ",i._disableFullScreen?"":"hc-modal-responsive"," ",i._isResizable?"hc-modal-resizable":"hc-modal-static"," hc-modal-",i._size,"\n ",i._tight?"hc-modal-tight":"",""),ze("cdkDragDisabled",!i._isDraggable),xe(2),ze("ngIf",i._isDraggable))},dependencies:[ql,J3,Q3],styles:[".hc-modal-window{align-items:center;display:flex;justify-content:center;inset:0;position:fixed}.hc-modal{display:flex;flex-direction:column;justify-content:center;position:relative}.hc-modal-auto hc-modal{width:auto;justify-content:center}.hc-modal-sm hc-modal{width:300px;height:auto;border-radius:6px}.hc-modal-sm hc-modal .hc-modal-footer{justify-content:flex-end;flex-direction:row;position:relative}.hc-modal-sm hc-modal .hc-modal-header{justify-content:flex-start}.hc-modal-sm hc-modal .hc-modal-content{border-radius:6px}.hc-modal-sm hc-modal .hc-modal-body{margin-bottom:0}.hc-modal-md hc-modal{width:500px}.hc-modal-lg hc-modal{width:768px}.hc-modal-xl hc-modal{width:992px}.hc-modal-resizable hc-modal{resize:both;overflow:hidden;min-width:300px}.hc-modal-static hc-modal{min-height:auto!important}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm){max-height:100%;height:100%;justify-content:flex-end}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm).hc-modal-auto{width:100%;justify-content:flex-end}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm) .hc-modal-footer{flex-direction:column-reverse}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm) .hc-modal-footer .hc-button{margin-left:0;width:100%}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm) .hc-modal-content{height:calc(100% - 53px)!important;width:100vw!important;border-radius:0}}@media (max-width: 768px){.hc-modal-responsive:not(.hc-modal-sm) .hc-modal-center-component{justify-content:flex-end}}.hc-modal-tight .hc-modal-header{font-size:1.1428571429rem;min-height:45px;padding:15px}.hc-modal-tight .hc-modal-body,.hc-modal-tight .hc-modal-footer{padding:15px}\n"],encapsulation:2,data:{animation:[Li("fadeInOut",[Pt("in",me({opacity:1})),Qe("void <=> *",[me({opacity:0}),Pe("0.2s ease-in-out")])])]}}),n})(),ZB=(()=>{class n{constructor(e){this.activeModal=e,this._ignoreEscapeKey=!1,this._hostClass=!0}_fadeInOut(){return Pt}_escapeKey(){this._ignoreEscapeKey||this.activeModal.dismiss()}}return n.\u0275fac=function(e){return new(e||n)(I(f_))},n.\u0275cmp=mt({type:n,selectors:[["hc-modal-overlay"]],hostVars:3,hostBindings:function(e,i){1&e&&Dt("keyup.escape",function(){return i._escapeKey()},0,Qd),2&e&&(Mh("@fadeInOut",i._fadeInOut),ke("hc-modal-overlay",i._hostClass))},inputs:{_ignoreEscapeKey:"_ignoreEscapeKey"},decls:0,vars:0,template:function(e,i){},styles:[".hc-modal-overlay{background-color:#000;position:fixed;inset:0;opacity:.5;display:block}\n"],encapsulation:2,data:{animation:[Li("fadeInOut",[Pt("in",me({opacity:.5})),Qe("void <=> *",[me({opacity:0}),Pe("0.2s ease-in-out")])])]}}),n})();class $B{constructor(){this._result=new ie,this._modalClose=new ge}get result(){return this._result.asObservable()}close(t){this.removeModalElements(),this._result.next(t)}dismiss(){this.removeModalElements()}removeModalElements(){if(this.window){const t=this.window.location.nativeElement;t.parentNode.removeChild(t),this.window.destroy()}if(this.overlay){const t=this.overlay.location.nativeElement;t.parentNode.removeChild(t),this.overlay.destroy()}if(this.componentRef){const t=this.componentRef.location.nativeElement;t.parentNode.removeChild(t),this.componentRef.destroy()}this._removeOpenClass&&this._removeOpenClass(),this._modalClose.emit(),this.window=null,this.overlay=null,this.componentRef=null,this._removeOpenClass=null}}let KB=(()=>{class n{constructor(e,i,o,r){this._componentFactory=e,this._injector=i,this._applicationRef=o,this.allowMultiple=!1,this._zIndexBase=2e3,this._zIndexCounter=this._zIndexBase,this._modalsOpen=0,this._renderer=r.createRenderer(null,null)}open(e,i){if(!this.allowMultiple&&0!==this._modalsOpen)throw new Error("Multiple modals may not be opened at the same time\n when the allowMultiple property on ModalService is set to false.");let o=document.querySelector("body");const s={container:o,data:{},ignoreEscapeKey:!1,size:"auto",tight:!1,ignoreOverlayClick:!1,isDraggable:!1,isResizable:!1,disableFullScreen:!1,restoreFocus:!0,autoFocus:!1,...i};if(s.container&&(o=s.container),!o)throw new Error("Modal requires that a container be set in the modal options");const c=new $B,u=new f_;c.data=s.data,u.data=s.data;const h=Sn.create({providers:[{provide:f_,useValue:u}],parent:this._injector});this._renderer.addClass(o,"hc-modal-open"),c._removeOpenClass=()=>this._renderer.removeClass(o,"hc-modal-open"),this.allowMultiple&&(this._zIndexCounter=this._zIndexBase+2*this._modalsOpen);const p=this._componentFactory.resolveComponentFactory(ZB).create(h);let g;if(this._renderer.setStyle(p.location.nativeElement,"z-index",this._zIndexCounter),p.instance._ignoreEscapeKey=s.ignoreEscapeKey,this._applicationRef.attachView(p.hostView),o.appendChild(p.location.nativeElement),c.overlay=p,e instanceof ln){const y=e.createEmbeddedView(u);this._applicationRef.attachView(y),g=[y.rootNodes]}else{const y=this._componentFactory.resolveComponentFactory(e).create(h);this._renderer.addClass(y.location.nativeElement,"hc-modal-center-component"),this._applicationRef.attachView(y.hostView),c.componentRef=y,g=[[y.location.nativeElement]]}const _=this._componentFactory.resolveComponentFactory(QB).create(h,g);return this._renderer.setStyle(_.location.nativeElement,"z-index",this._zIndexCounter+1),_.instance._ignoreOverlayClick=s.ignoreOverlayClick,_.instance._isDraggable=s.isDraggable,_.instance._isResizable=s.isResizable,_.instance._size=s.size,_.instance._tight=s.tight,_.instance._disableFullScreen=s.disableFullScreen,_.instance._autoFocus=s.autoFocus,_.instance._restoreFocus=s.restoreFocus,this._applicationRef.attachView(_.hostView),o.appendChild(_.location.nativeElement),c.window=_,setTimeout(()=>{_.instance._trapFocus()}),u.close=y=>{c.close(y)},u.dismiss=()=>c.dismiss(),this._modalsOpen++,c._modalClose.subscribe(()=>{this._modalsOpen--,c._modalClose.unsubscribe(),c.window&&this._restoreFocusAndDestroyTrap(c.window.instance)}),c}_restoreFocusAndDestroyTrap(e){const i=e._previouslyFocusedElement;i&&"focus"in i&&e._restoreFocus&&i.focus(),e._focusTrap&&e._focusTrap.destroy()}}return n.\u0275fac=function(e){return new(e||n)(P(at),P(Sn),P(Ka),P(Ns))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),JB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({providers:[KB],imports:[Zr,q3]}),n})(),qB=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[Zr,Ck,yk,FB,ST]}),n})();new G("ng-select-selection-model");
|
|
2384
2384
|
/**
|
|
2385
2385
|
* @license
|
|
2386
2386
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2395,7 +2395,7 @@ const Js="225ms cubic-bezier(0.4,0.0,0.2,1)";
|
|
|
2395
2395
|
*
|
|
2396
2396
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2397
2397
|
* found in the LICENSE file at https://angular.io/license
|
|
2398
|
-
*/Li("indicator",[Ot("active-asc, asc",me({transform:"translateY(0px)"})),Ot("active-desc, desc",me({transform:"translateY(10px)"})),Qe("active-asc <=> active-desc",Pe(Js))]),Li("leftPointer",[Ot("active-asc, asc",me({transform:"rotate(-45deg)"})),Ot("active-desc, desc",me({transform:"rotate(45deg)"})),Qe("active-asc <=> active-desc",Pe(Js))]),Li("rightPointer",[Ot("active-asc, asc",me({transform:"rotate(45deg)"})),Ot("active-desc, desc",me({transform:"rotate(-45deg)"})),Qe("active-asc <=> active-desc",Pe(Js))]),Li("arrowOpacity",[Ot("desc-to-active, asc-to-active, active",me({opacity:1})),Ot("desc-to-hint, asc-to-hint, hint",me({opacity:.54})),Ot("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",me({opacity:0})),Qe("* => asc, * => desc, * => active, * => hint, * => void",Pe("0ms")),Qe("* <=> *",Pe(Js))]),Li("arrowPosition",[Qe("* => desc-to-hint, * => desc-to-active",Pe(Js,Bm([me({transform:"translateY(-25%)"}),me({transform:"translateY(0)"})]))),Qe("* => hint-to-desc, * => active-to-desc",Pe(Js,Bm([me({transform:"translateY(0)"}),me({transform:"translateY(25%)"})]))),Qe("* => asc-to-hint, * => asc-to-active",Pe(Js,Bm([me({transform:"translateY(25%)"}),me({transform:"translateY(0)"})]))),Qe("* => hint-to-asc, * => active-to-asc",Pe(Js,Bm([me({transform:"translateY(0)"}),me({transform:"translateY(-25%)"})]))),Ot("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",me({transform:"translateY(0)"})),Ot("hint-to-desc, active-to-desc, desc",me({transform:"translateY(-25%)"})),Ot("hint-to-asc, active-to-asc, asc",me({transform:"translateY(25%)"}))]),Li("allowChildren",[Qe("* <=> *",[function S2(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}("@*",function x2(n=null){return{type:9,options:n}}(),{optional:!0})])]);new Ta,new ws;let kV=(()=>{class n{transform(e,i){return e&&i?e.filter(o=>-1!==o.name.toLowerCase().indexOf(i)):e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=tn({name:"filterApps",type:n,pure:!0}),n})(),EV=(()=>{class n{transform(e,i){return e&&i?e.filter(o=>-1!==o.name.toLowerCase().indexOf(i)||o.applications.some(r=>-1!==r.name.toLowerCase().indexOf(i))):e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=tn({name:"filterGroups",type:n,pure:!0}),n})();const LV=["bannerSelect"];function NV(n,t){if(1&n){const e=bh();Me(0,"div",28),hi(1,"hc-icon",29),Me(2,"input",30),Dt("keyup.enter",function(){return _o(e),bo(zt(2).docsSearch())}),Te()()}if(2&n){const e=zt(2);xe(2),ze("formControl",e.navbarSearchInput)}}function AV(n,t){if(1&n&&(Me(0,"a",33)(1,"span",34),fi(2),Te()()),2&n){const e=t.$implicit;ze("href",e.url,_l),xe(2),Za(e.name)}}function OV(n,t){if(1&n&&(Fs(0),Me(1,"span",31),fi(2),Te(),wt(3,AV,3,2,"a",32),$l(4,"filterApps"),Bs()),2&n){const e=t.$implicit,i=zt(2);xe(2),Za(e.name),xe(1),ze("ngForOf",Ey(4,2,e.applications,i.filter))}}function PV(n,t){if(1&n&&(Me(0,"a",37)(1,"span",34),fi(2),Te()()),2&n){const e=t.$implicit;ze("href",e.url,_l)("target",e.openInNewTab?"_blank":"_self"),xe(2),Za(e.name)}}function jV(n,t){1&n&&hi(0,"div",38)}function RV(n,t){if(1&n&&(Fs(0),wt(1,PV,3,3,"a",35),wt(2,jV,1,0,"div",36),Bs()),2&n){const e=t.$implicit,i=t.index,o=zt(2);xe(1),ze("ngForOf",e),xe(1),ze("ngIf",i<o.learningMenuContent.length-1)}}function zV(n,t){if(1&n&&(Fs(0),Me(1,"div",39)(2,"span"),fi(3,"Logged in to Docs as:"),Te(),Me(4,"strong"),fi(5),Te()(),Bs()),2&n){const e=t.ngIf;xe(5),Za(e)}}function FV(n,t){1&n&&(Fs(0),Me(1,"div",40)(2,"em"),fi(3,"Not currently logged in"),Te()(),Bs())}function BV(n,t){if(1&n){const e=bh();Me(0,"div")(1,"div",1)(2,"div",2)(3,"a",3),hi(4,"img",4),Te(),Me(5,"div",5)(6,"div",6)(7,"ul",7)(8,"li",8),Dt("popoverOpened",function(){return _o(e),bo(zt().setAppsWidth(!1))}),fi(9," Applications "),hi(10,"hc-icon",9),Te(),Me(11,"li",10),fi(12," Learning & Support "),hi(13,"hc-icon",9),Te()()()(),Me(14,"div",11),wt(15,NV,3,1,"div",12),Me(16,"button",13),hi(17,"hc-icon",14),Te()()()(),Me(18,"hc-pop",15,16)(20,"hc-form-field")(21,"input",17,18),Dt("ngModelChange",function(o){return _o(e),bo(zt().filter=o)}),Te(),Me(23,"hc-icon",19),Dt("click",function(){return _o(e),bo(zt().filter="")}),Te(),hi(24,"hc-icon",20),Te(),Me(25,"div",21),wt(26,OV,5,5,"ng-container",22),$l(27,"filterGroups"),Te()(),Me(28,"hc-pop",23,24)(30,"div",25),wt(31,RV,3,2,"ng-container",22),Te()(),Me(32,"hc-pop",26,27),wt(34,zV,6,1,"ng-container",0),$l(35,"async"),wt(36,FV,4,0,"ng-container",0),$l(37,"async"),Te()()}if(2&n){const e=t.ngIf,i=Ug(19),o=Ug(29),r=Ug(33),s=zt();let c;xe(8),ze("hcPop",i),xe(3),ze("hcPop",o),xe(4),ze("ngIf",s.showsearch),xe(1),ze("hcPop",r),xe(2),ze("showArrow",!1),xe(3),ze("ngModel",s.filter),xe(4),Vs("width",s.appsMenuWidth),xe(1),ze("ngForOf",Ey(27,16,e.applicationGroups,s.filter)),xe(2),ze("autoCloseOnContentClick",!0)("showArrow",!1),xe(3),ze("ngForOf",s.learningMenuContent),xe(1),ze("autoCloseOnContentClick",!0)("showArrow",!1),xe(2),ze("ngIf",null==(c=Jg(35,19,s.metadataService.$profile))||null==c.user?null:c.user.trim()),xe(2),ze("ngIf",!Jg(37,21,s.metadataService.$profile))}}let VV=(()=>{class n{constructor(e,i){this.metadataService=e,this.http=i,this.appsMenuWidth="300px",this.navbarSearchInput=new F0("",{nonNullable:!0}),this.learningMenuContent=[],this.showsearch=!0,this.loadLearningMenu()}setAppsWidth(e){this.appsMenuWidth=e?this.bannerSelect.nativeElement.clientWidth+"px":"300px"}docsSearch(){""!==this.navbarSearchInput.value&&(window.location.href="https://docs.healthcatalyst.com?query="+this.navbarSearchInput.value)}loadLearningMenu(){this.learningMenuContent=[],this.http.get("https://hcatdocs.blob.core.windows.net/json/docs-config.json").subscribe({next:e=>{this.learningMenuContent=e.learningSupportMenu.sections},error:e=>{console.log(e)}})}}return n.\u0275fac=function(e){return new(e||n)(I(w2),I(J0))},n.\u0275cmp=mt({type:n,selectors:[["docs-navbar"]],viewQuery:function(e,i){if(1&e&&Ki(LV,5),2&e){let o;Ye(o=Ge())&&(i.bannerSelect=o.first)}},inputs:{showsearch:"showsearch"},decls:2,vars:3,consts:[[4,"ngIf"],[1,"docs-navbar"],[1,"docs-container"],["href","https://docs.healthcatalyst.com"],["src","https://hcatdocs.blob.core.windows.net/images/docsLogo.svg","height","32px","width","248px","alt","Docs Logo",1,"docs-navbar-logo"],[1,"docs-navbar-left"],["id","navbar"],[1,"nav","level1","navbar-nav"],["tabindex","1",1,"docs-navbar-link",3,"hcPop","popoverOpened"],["fontSet","fa","fontIcon","fa-angle-down",1,"docs-navbar-chevron"],["tabindex","2",1,"docs-navbar-link",3,"hcPop"],[1,"docs-navbar-right"],["class","docs-navbar-search-container",4,"ngIf"],["hc-button","","buttonStyle","minimal","tabindex","3",1,"docs-navbar-icon",3,"hcPop"],["fontSet","fa","fontIcon","fa-user-circle-o"],["horizontalAlign","start",3,"showArrow"],["appsMenu",""],["hcInput","","placeholder","Filter list",3,"ngModel","ngModelChange"],["searchBox",""],["hcSuffix","","fontSet","fa","fontIcon","fa-times-circle",1,"clear-search-ico",3,"click"],["hcSuffix","","fontSet","fa","fontIcon","fa-search"],["hcMenu","",1,"docs-apps-menu"],[4,"ngFor","ngForOf"],["horizontalAlign","start",3,"autoCloseOnContentClick","showArrow"],["devMenu",""],["hcMenu",""],["horizontalAlign","end",3,"autoCloseOnContentClick","showArrow"],["helpMenu",""],[1,"docs-navbar-search-container"],["hcPrefix","","fontSet","fa","fontIcon","fa-search",1,"docs-navbar-search-icon"],[1,"docs-navbar-search",3,"formControl","keyup.enter"],[1,"docs-apps-menu-section"],["hcMenuItem","",3,"href",4,"ngFor","ngForOf"],["hcMenuItem","",3,"href"],["hcMenuText",""],["hcMenuItem","",3,"href","target",4,"ngFor","ngForOf"],["hcMenuItem","","hcDivider","",4,"ngIf"],["hcMenuItem","",3,"href","target"],["hcMenuItem","","hcDivider",""],[1,"docs-user-menu-profile"],[1,"docs-user-menu-profile-empty"]],template:function(e,i){1&e&&(wt(0,BV,38,23,"div",0),$l(1,"async")),2&e&&ze("ngIf",Jg(1,1,i.metadataService.$metadata))},dependencies:[HS,Xl,MB,NM,vk,dB,LM,hB,pB,Tk,Sk,Ik,Dk,K5,Sm,GI,B0,H0,WS,kV,EV],styles:['@charset "UTF-8";.hc-icon-left[_ngcontent-%COMP%]{margin-right:5px}.hc-icon-right[_ngcontent-%COMP%]{margin-left:5px}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:2100}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:2100}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:2100;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:2100;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}.hc-menu-panel[_ngcontent-%COMP%]{position:relative;font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;display:flex;flex-direction:column;padding:5px 16px;margin:-12px;background-color:#fff;border-radius:4px}.hc-menu-panel[_ngcontent-%COMP%] .hc-divider[_ngcontent-%COMP%]{width:auto;margin:5px 0}.hc-divider.hc-menu-item[_ngcontent-%COMP%]{margin:5px -16px}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button), a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button){font-size:1rem;font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;color:#333;padding:6px 16px;margin:0 -16px;border:0;background:0 0;text-align:left;display:flex;align-items:center}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button)[disabled], a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button)[disabled]{opacity:.5}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):active, button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):hover, a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):active, a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):hover{color:#333}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):focus:not([disabled]), a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):focus:not([disabled]){background-color:#b3e7ff;color:#333;cursor:pointer;box-shadow:none;outline:none}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button).hc-menu-item-submenu, a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button).hc-menu-item-submenu{padding-right:40px}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button).hc-menu-item-submenu:after, a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button).hc-menu-item-submenu:after{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMCAzMCI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMzMzM7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5BcnRib2FyZCAxPC90aXRsZT48cGF0aCBpZD0iUGF0aF8xMjIyMSIgZGF0YS1uYW1lPSJQYXRoIDEyMjIxIiBjbGFzcz0iY2xzLTEiIGQ9Ik0xOS42NCwxNS4yOWExLDEsMCwwLDAtLjMyLS43NkwxMS44Miw3QTEuMDYsMS4wNiwwLDAsMCwxMCw3Ljc5djE1YTEuMDgsMS4wOCwwLDAsMCwxLjA3LDEuMDcsMS4wNSwxLjA1LDAsMCwwLC43NS0uMzJsNy41LTcuNUExLDEsMCwwLDAsMTkuNjQsMTUuMjlaIi8+PC9zdmc+);position:absolute;width:20px;height:20px;right:10px}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-icon[_ngcontent-%COMP%], a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-icon[_ngcontent-%COMP%]{font-size:16px;height:16px;width:16px;margin-right:14px}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-sub-text[_ngcontent-%COMP%], a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-sub-text[_ngcontent-%COMP%]{flex:1 0 auto;margin-left:15px;color:#ccc;text-align:right}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-sub-text[_ngcontent-%COMP%] hc-icon[_ngcontent-%COMP%], a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-sub-text[_ngcontent-%COMP%] hc-icon[_ngcontent-%COMP%]{margin-right:0;color:#333}.hc-elip-menu[_ngcontent-%COMP%]{transform:rotate(90deg);background-color:transparent;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNzUgMzYiPjxkZWZzPjxzdHlsZT4uYXtmaWxsOiM1MTUzNTM7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGNsYXNzPSJhIiBkPSJNMzcuNSwxMjVhMTgsMTgsMCwxLDEsMTgsMTgsMTguMDUsMTguMDUsMCwwLDEtMTgtMThaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzcuNSAtMTA3KSIvPjxwYXRoIGNsYXNzPSJhIiBkPSJNMTA3LDEyNWExOCwxOCwwLDEsMSwxOCwxOEExOC4wNSwxOC4wNSwwLDAsMSwxMDcsMTI1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM3LjUgLTEwNykiLz48cGF0aCBjbGFzcz0iYSIgZD0iTTE3Ni41LDEyNWExOCwxOCwwLDEsMSwxOCwxOEExOC4wNSwxOC4wNSwwLDAsMSwxNzYuNSwxMjVaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzcuNSAtMTA3KSIvPjwvc3ZnPg==);background-repeat:no-repeat;background-size:16px 16px;background-position:center;height:22px;width:28px;padding:0;border-radius:4px;border:2px solid transparent}.hc-elip-menu[_ngcontent-%COMP%]:hover{background-color:#00000026;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNzUgMzYiPjxkZWZzPjxzdHlsZT4uYXtmaWxsOiMzMzM7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGNsYXNzPSJhIiBkPSJNMzcuNSwxMjVhMTgsMTgsMCwxLDEsMTgsMTgsMTguMDUsMTguMDUsMCwwLDEtMTgtMThaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzcuNSAtMTA3KSIvPjxwYXRoIGNsYXNzPSJhIiBkPSJNMTA3LDEyNWExOCwxOCwwLDEsMSwxOCwxOEExOC4wNSwxOC4wNSwwLDAsMSwxMDcsMTI1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM3LjUgLTEwNykiLz48cGF0aCBjbGFzcz0iYSIgZD0iTTE3Ni41LDEyNWExOCwxOCwwLDEsMSwxOCwxOEExOC4wNSwxOC4wNSwwLDAsMSwxNzYuNSwxMjVaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzcuNSAtMTA3KSIvPjwvc3ZnPg==)}.hc-elip-menu[_ngcontent-%COMP%]:focus{outline:none;border:2px solid #00aeff}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;color:#333}h1[_ngcontent-%COMP%]{font-size:2.5714285714rem;font-weight:300;line-height:1.2;color:#333;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}h2[_ngcontent-%COMP%]{font-size:1.5714285714rem;font-weight:600;line-height:1.5;color:#333}h3[_ngcontent-%COMP%]{font-size:1.2857142857rem;font-weight:600;line-height:1.5;color:#333}h4[_ngcontent-%COMP%]{font-size:1rem;font-weight:600;line-height:1.5;color:#333}p[_ngcontent-%COMP%]{font-size:1.1428571429rem;font-weight:400;line-height:1.5;color:#333}code[_ngcontent-%COMP%]{color:#5e676f;font-family:Consolas,Menlo,Ubuntu Mono,monospace;background-color:#f0f3f6;border-radius:3px;padding:3px 7px;font-size:1rem;font-weight:400;line-height:1.4}pre[_ngcontent-%COMP%]{border:1px solid #d7dde4;padding:0;margin:16px auto;border-radius:5px;display:block;background-color:#f0f3f6;font-weight:400}pre[_ngcontent-%COMP%]::selection, pre[_ngcontent-%COMP%] *[_ngcontent-%COMP%]::selection{background-color:#009de6;color:#fff}pre[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:1rem;line-height:1.4;padding:15px 0;background-color:#f0f3f6}pre[_ngcontent-%COMP%] > code[_ngcontent-%COMP%]{overflow-x:auto;display:block;font-size:1rem;padding:15px;line-height:1.4;background-color:#f0f3f6;color:#333;border:unset;border-radius:5px}a[_ngcontent-%COMP%]{text-decoration:none;color:#00aeff}a[_ngcontent-%COMP%]:hover{color:#33beff}a[_ngcontent-%COMP%]:active{color:#008bcc}.hc-font-xsm[_ngcontent-%COMP%]{font-size:.8571428571rem}.hc-font-sm[_ngcontent-%COMP%]{font-size:1rem}.hc-font-md[_ngcontent-%COMP%]{font-size:1.1428571429rem}.hc-font-lg[_ngcontent-%COMP%]{font-size:1.2857142857rem}.hc-font-xlg[_ngcontent-%COMP%]{font-size:1.5714285714rem}.hc-font-light[_ngcontent-%COMP%]{font-weight:300}.hc-font-reg[_ngcontent-%COMP%]{font-weight:400}strong[_ngcontent-%COMP%], .hc-font-bold[_ngcontent-%COMP%]{font-weight:600}.hc-font-xbold[_ngcontent-%COMP%]{font-weight:700}.hc-text-titlecase[_ngcontent-%COMP%]{text-transform:capitalize}.hc-text-uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.hc-text-lowercase[_ngcontent-%COMP%]{text-transform:lowercase}.hc-text-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}em[_ngcontent-%COMP%], .hc-font-em[_ngcontent-%COMP%]{color:#6d6e70;font-style:italic}.hc-text-highlight[_ngcontent-%COMP%]{color:#333;background-color:#f5ed56}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;display:table}article[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:table;padding-left:20px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:before{content:"\\2022 ";display:table-cell;padding-right:10px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child{margin-top:6px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child{margin-bottom:6px!important}article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding-left:6px;margin-left:40px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:table;margin-left:0}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"\\2013 ";display:table-cell;padding-right:15px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{margin-top:6px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{margin-bottom:6px!important}article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{list-style-type:lower-alpha;padding-left:6px;margin-left:18px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"- ";display:table-cell;padding-right:15px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{margin-top:6px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{margin-bottom:6px!important}article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:lower-roman;padding-left:10px;margin-left:12px!important}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{vertical-align:top}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:14px;margin-left:15px!important;display:table}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:14px;margin-left:30px!important;padding-right:10px;padding-left:6px!important}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:14px;padding-right:6px;margin-left:0!important;display:table}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{padding-right:12px}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:14px;display:table}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{padding-right:10px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child{padding-top:6px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child{padding-bottom:6px}blockquote[_ngcontent-%COMP%]{background-color:#d7dde4;padding:10px 20px;border-left:5px solid #708090}.about-modal-content[_ngcontent-%COMP%]{padding:15px 0;color:#6d6e70;text-align:center;overflow-y:auto}.about-header[_ngcontent-%COMP%]{width:100%;padding-bottom:20px}.about-logo[_ngcontent-%COMP%]{height:50px;width:279px;margin-bottom:15px}.about-app[_ngcontent-%COMP%]{width:100%;height:55px;display:flex;justify-content:center;align-items:center;background-color:#006d9a}.about-icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:75px;height:75px;margin-right:17px}.about-name[_ngcontent-%COMP%]{text-align:left}.about-name[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:24px;width:97px;margin-left:-2px}.about-version[_ngcontent-%COMP%]{font-size:1rem;color:#fff;font-weight:300}.about-footer[_ngcontent-%COMP%]{font-size:.8571428571rem;line-height:18px;text-align:center}.about-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#00aeff;font-weight:700}.about-reference[_ngcontent-%COMP%]{display:table;text-align:center;vertical-align:middle;padding:15px 0;margin:0 auto}.about-reference[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-row;flex-flow:row;text-align:left}.about-reference[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle;padding:0 0 20px 40px}.about-reference-detail[_ngcontent-%COMP%]{font-weight:600;color:#333;font-size:1.1428571429rem;line-height:24px}.about-divider[_ngcontent-%COMP%]{border:none;height:1px;background-color:#e0e0e0;margin:0}.about-close-container[_ngcontent-%COMP%]{display:flex}.about-close[_ngcontent-%COMP%]{margin:20px auto}.hc-modal-header[_ngcontent-%COMP%]{align-items:center;border-bottom:1px solid #e0e0e0;color:#333;display:flex;font-size:1.2857142857rem;font-weight:600;min-height:55px;padding:15px 25px;justify-content:flex-start}.hc-modal-header-tight[_ngcontent-%COMP%]{font-size:1.1428571429rem;min-height:45px;padding:15px}.hc-modal-drag-handle[_ngcontent-%COMP%]{position:absolute;right:0;top:0;display:flex;justify-content:center;align-items:center;color:#ccc;cursor:move;width:74px;height:54px}@media (max-width: 768px){.hc-modal-drag-handle[_ngcontent-%COMP%]{display:none}}.hc-modal-body[_ngcontent-%COMP%]{overflow:auto;height:inherit;padding:15px 25px;margin-bottom:0}.hc-modal-body-tight[_ngcontent-%COMP%]{padding:15px}.hc-modal-close-button[_ngcontent-%COMP%]{background-color:transparent;border:0;color:#333;cursor:pointer;font-size:2rem;font-weight:700;line-height:1;opacity:.5;padding:0;text-shadow:0 1px 0 #fff;-webkit-appearance:none}.hc-modal-close-button[_ngcontent-%COMP%]:focus, .hc-modal-close-button[_ngcontent-%COMP%]:hover{color:#333;opacity:.75;text-decoration:none}.hc-modal-footer[_ngcontent-%COMP%]{align-items:center;bottom:0;display:flex;width:100%;border-top:1px solid #e0e0e0;padding:15px 25px;justify-content:flex-end;flex-direction:row;position:relative}.hc-modal-footer[_ngcontent-%COMP%] .hc-button[_ngcontent-%COMP%]{margin-left:10px;width:auto}.hc-modal-footer-tight[_ngcontent-%COMP%]{padding:15px}.hc-modal-content[_ngcontent-%COMP%]{background-color:#fff;display:flex;flex-direction:column;justify-content:flex-start;max-height:100%;border-radius:6px;height:auto}.hc-modal-open[_ngcontent-%COMP%]{overflow:hidden}.hc-modal-center-component[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;justify-content:center}.docs-navbar[_ngcontent-%COMP%]{font-family:Open Sans,sans-serif;width:100%;height:64px;display:flex;align-items:center;background-color:#052533;position:relative;z-index:100}.docs-container[_ngcontent-%COMP%]{width:95%;max-width:1200px;margin:0 auto;display:flex}.docs-navbar-logo[_ngcontent-%COMP%]{margin-top:2px}.docs-logo[_ngcontent-%COMP%]{display:flex;align-items:center}.docs-navbar-right[_ngcontent-%COMP%]{margin-left:auto;display:flex}.docs-navbar-left[_ngcontent-%COMP%]{margin-left:60px;display:flex}.docs-navbar-link[_ngcontent-%COMP%]{height:100%;padding:8px 20px;text-decoration:none;color:#fff;display:inline-flex;align-items:center;font-size:16px;font-weight:300;cursor:pointer;border-radius:5px}.docs-navbar-link[_ngcontent-%COMP%]:hover, .docs-navbar-icon[_ngcontent-%COMP%]:hover, .docs-navbar-link[_ngcontent-%COMP%]:active, .docs-navbar-icon[_ngcontent-%COMP%]:active{background-color:#052533!important}.docs-navbar-link[_ngcontent-%COMP%]:focus, .docs-navbar-icon[_ngcontent-%COMP%]:focus{outline:none;box-shadow:0 0 0 2px #0bc0ff66}.navbar-link-disabled[_ngcontent-%COMP%]{pointer-events:none}.docs-navbar-divider[_ngcontent-%COMP%]{background-color:#fff;width:1px;margin:9px 0;display:block}.docs-navbar-chevron[_ngcontent-%COMP%]{margin-left:6px}.docs-navbar-icon[_ngcontent-%COMP%]{color:#fff!important;min-width:45px!important;padding:0 15px!important;border-radius:5px;margin-right:5px}.docs-apps-menu[_ngcontent-%COMP%]{max-height:500px;overflow-y:auto;padding-bottom:15px}.docs-apps-menu-section[_ngcontent-%COMP%]{font-size:14px;line-height:1;font-weight:600;margin:15px 0 10px;padding-bottom:5px;border-bottom:1px solid #cccccc}.hc-menu-text[_ngcontent-%COMP%]{font-size:14px;line-height:1}.clear-search-ico[_ngcontent-%COMP%]{opacity:.5;cursor:pointer;margin-right:5px;position:relative;top:1px}.clear-search-ico[_ngcontent-%COMP%]:hover{opacity:1}.docs-about-name[_ngcontent-%COMP%]{line-height:1}.about-version[_ngcontent-%COMP%]{font-size:inherit}.about-reference-detail[_ngcontent-%COMP%]{font-size:inherit;line-height:1}.about-footer[_ngcontent-%COMP%]{font-size:12px}.hc-button.hc-md[_ngcontent-%COMP%]{font-size:inherit}.docs-about-name[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:150px}.docs-navbar-search-container[_ngcontent-%COMP%]{position:relative;margin-right:10px}.docs-navbar-search[_ngcontent-%COMP%]{border:1px solid white;border-radius:500px;font-size:14px;color:#333;padding:6px 15px 6px 45px;font-family:Open Sans,sans-serif}.docs-navbar-search[_ngcontent-%COMP%]:hover{border:1px solid #00aeff;background-color:#f2fbff}.docs-navbar-search[_ngcontent-%COMP%]:focus-visible{outline:none}.docs-navbar-search-icon[_ngcontent-%COMP%]{position:absolute;left:15px;top:8px;font-size:16px!important;color:#a1a1a1}.docs-user-menu-profile[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:5px}.docs-user-menu-profile[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-top:8px}.docs-user-menu-profile-empty[_ngcontent-%COMP%]{padding:5px}@media (max-width: 1100px){.docs-navbar-left[_ngcontent-%COMP%]{margin-left:3%}}@media (max-width: 1024px){.docs-navbar-left[_ngcontent-%COMP%], .docs-banner-hero[_ngcontent-%COMP%]{display:none}.docs-banner[_ngcontent-%COMP%]{height:auto}.docs-navbar-right[_ngcontent-%COMP%]{margin-right:-20px}.docs-container[_ngcontent-%COMP%]{justify-content:space-around}.docs-banner-right-container[_ngcontent-%COMP%]{margin-top:20px}.docs-banner-select[_ngcontent-%COMP%]{margin-bottom:35px}}@media (max-width: 700px){.docs-navbar-right[_ngcontent-%COMP%]{display:none}}']}),n})();
|
|
2398
|
+
*/Li("indicator",[Pt("active-asc, asc",me({transform:"translateY(0px)"})),Pt("active-desc, desc",me({transform:"translateY(10px)"})),Qe("active-asc <=> active-desc",Pe(Js))]),Li("leftPointer",[Pt("active-asc, asc",me({transform:"rotate(-45deg)"})),Pt("active-desc, desc",me({transform:"rotate(45deg)"})),Qe("active-asc <=> active-desc",Pe(Js))]),Li("rightPointer",[Pt("active-asc, asc",me({transform:"rotate(45deg)"})),Pt("active-desc, desc",me({transform:"rotate(-45deg)"})),Qe("active-asc <=> active-desc",Pe(Js))]),Li("arrowOpacity",[Pt("desc-to-active, asc-to-active, active",me({opacity:1})),Pt("desc-to-hint, asc-to-hint, hint",me({opacity:.54})),Pt("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",me({opacity:0})),Qe("* => asc, * => desc, * => active, * => hint, * => void",Pe("0ms")),Qe("* <=> *",Pe(Js))]),Li("arrowPosition",[Qe("* => desc-to-hint, * => desc-to-active",Pe(Js,Fm([me({transform:"translateY(-25%)"}),me({transform:"translateY(0)"})]))),Qe("* => hint-to-desc, * => active-to-desc",Pe(Js,Fm([me({transform:"translateY(0)"}),me({transform:"translateY(25%)"})]))),Qe("* => asc-to-hint, * => asc-to-active",Pe(Js,Fm([me({transform:"translateY(25%)"}),me({transform:"translateY(0)"})]))),Qe("* => hint-to-asc, * => active-to-asc",Pe(Js,Fm([me({transform:"translateY(0)"}),me({transform:"translateY(-25%)"})]))),Pt("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",me({transform:"translateY(0)"})),Pt("hint-to-desc, active-to-desc, desc",me({transform:"translateY(-25%)"})),Pt("hint-to-asc, active-to-asc, asc",me({transform:"translateY(25%)"}))]),Li("allowChildren",[Qe("* <=> *",[function S2(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}("@*",function x2(n=null){return{type:9,options:n}}(),{optional:!0})])]);new Ta,new ws;let kV=(()=>{class n{transform(e,i){return e&&i?e.filter(o=>-1!==o.name.toLowerCase().indexOf(i)):e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=tn({name:"filterApps",type:n,pure:!0}),n})(),EV=(()=>{class n{transform(e,i){return e&&i?e.filter(o=>-1!==o.name.toLowerCase().indexOf(i)||o.applications.some(r=>-1!==r.name.toLowerCase().indexOf(i))):e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275pipe=tn({name:"filterGroups",type:n,pure:!0}),n})();const LV=["bannerSelect"];function NV(n,t){if(1&n){const e=bh();Me(0,"div",28),hi(1,"hc-icon",29),Me(2,"input",30),Dt("keyup.enter",function(){return _o(e),bo(At(2).docsSearch())}),Te()()}if(2&n){const e=At(2);xe(2),ze("formControl",e.navbarSearchInput)}}function AV(n,t){if(1&n&&(Me(0,"a",33)(1,"span",34),fi(2),Te()()),2&n){const e=t.$implicit;ze("href",e.url,_l),xe(2),Za(e.name)}}function OV(n,t){if(1&n&&(Fs(0),Me(1,"span",31),fi(2),Te(),yt(3,AV,3,2,"a",32),Th(4,"filterApps"),Bs()),2&n){const e=t.$implicit,i=At(2);xe(2),Za(e.name),xe(1),ze("ngForOf",Ey(4,2,e.applications,i.filter))}}function PV(n,t){if(1&n&&(Me(0,"a",37)(1,"span",34),fi(2),Te()()),2&n){const e=t.$implicit;ze("href",e.url,_l)("target",e.openInNewTab?"_blank":"_self"),xe(2),Za(e.name)}}function jV(n,t){1&n&&hi(0,"div",38)}function RV(n,t){if(1&n&&(Fs(0),yt(1,PV,3,3,"a",35),yt(2,jV,1,0,"div",36),Bs()),2&n){const e=t.$implicit,i=t.index,o=At(2);xe(1),ze("ngForOf",e),xe(1),ze("ngIf",i<o.learningMenuContent.length-1)}}function zV(n,t){if(1&n&&(Fs(0),Me(1,"div",41)(2,"span"),fi(3,"Logged in to Docs as:"),Te(),Me(4,"strong"),fi(5),Te()(),Bs()),2&n){const e=At().ngIf;xe(5),Za(e.user)}}function FV(n,t){1&n&&(Me(0,"div",42)(1,"em"),fi(2,"Not currently logged in"),Te()())}function BV(n,t){if(1&n&&(Fs(0),yt(1,zV,6,1,"ng-container",39),yt(2,FV,3,0,"ng-template",null,40,Fy),Bs()),2&n){const e=t.ngIf,i=_h(3);xe(1),ze("ngIf",null==e.user?null:e.user.trim())("ngIfElse",i)}}function VV(n,t){if(1&n){const e=bh();Me(0,"div")(1,"div",1)(2,"div",2)(3,"a",3),hi(4,"img",4),Te(),Me(5,"div",5)(6,"div",6)(7,"ul",7)(8,"li",8),Dt("popoverOpened",function(){return _o(e),bo(At().setAppsWidth(!1))}),fi(9," Applications "),hi(10,"hc-icon",9),Te(),Me(11,"li",10),fi(12," Learning & Support "),hi(13,"hc-icon",9),Te()()()(),Me(14,"div",11),yt(15,NV,3,1,"div",12),Me(16,"button",13),hi(17,"hc-icon",14),Te()()()(),Me(18,"hc-pop",15,16)(20,"hc-form-field")(21,"input",17,18),Dt("ngModelChange",function(o){return _o(e),bo(At().filter=o)}),Te(),Me(23,"hc-icon",19),Dt("click",function(){return _o(e),bo(At().filter="")}),Te(),hi(24,"hc-icon",20),Te(),Me(25,"div",21),yt(26,OV,5,5,"ng-container",22),Th(27,"filterGroups"),Te()(),Me(28,"hc-pop",23,24)(30,"div",25),yt(31,RV,3,2,"ng-container",22),Te()(),Me(32,"hc-pop",26,27),yt(34,BV,4,2,"ng-container",0),Th(35,"async"),Te()()}if(2&n){const e=t.ngIf,i=_h(19),o=_h(29),r=_h(33),s=At();xe(8),ze("hcPop",i),xe(3),ze("hcPop",o),xe(4),ze("ngIf",s.showsearch),xe(1),ze("hcPop",r),xe(2),ze("showArrow",!1),xe(3),ze("ngModel",s.filter),xe(4),Vs("width",s.appsMenuWidth),xe(1),ze("ngForOf",Ey(27,15,e.applicationGroups,s.filter)),xe(2),ze("autoCloseOnContentClick",!0)("showArrow",!1),xe(3),ze("ngForOf",s.learningMenuContent),xe(1),ze("autoCloseOnContentClick",!0)("showArrow",!1),xe(2),ze("ngIf",ky(35,18,s.metadataService.$profile))}}let HV=(()=>{class n{constructor(e,i){this.metadataService=e,this.http=i,this.appsMenuWidth="300px",this.navbarSearchInput=new B0("",{nonNullable:!0}),this.learningMenuContent=[],this.showsearch=!0,this.loadLearningMenu()}setAppsWidth(e){this.appsMenuWidth=e?this.bannerSelect.nativeElement.clientWidth+"px":"300px"}docsSearch(){""!==this.navbarSearchInput.value&&(window.location.href="https://docs.healthcatalyst.com?query="+this.navbarSearchInput.value)}loadLearningMenu(){this.learningMenuContent=[],this.http.get("https://hcatdocs.blob.core.windows.net/json/docs-config.json").subscribe({next:e=>{this.learningMenuContent=e.learningSupportMenu.sections},error:e=>{console.log(e)}})}}return n.\u0275fac=function(e){return new(e||n)(I(w2),I(q0))},n.\u0275cmp=mt({type:n,selectors:[["docs-navbar"]],viewQuery:function(e,i){if(1&e&&Ki(LV,5),2&e){let o;Ye(o=Ge())&&(i.bannerSelect=o.first)}},inputs:{showsearch:"showsearch"},decls:2,vars:3,consts:[[4,"ngIf"],[1,"docs-navbar"],[1,"docs-container"],["href","https://docs.healthcatalyst.com"],["src","https://hcatdocs.blob.core.windows.net/images/docsLogo.svg","height","32px","width","248px","alt","Docs Logo",1,"docs-navbar-logo"],[1,"docs-navbar-left"],["id","navbar"],[1,"nav","level1","navbar-nav"],["tabindex","1",1,"docs-navbar-link",3,"hcPop","popoverOpened"],["fontSet","fa","fontIcon","fa-angle-down",1,"docs-navbar-chevron"],["tabindex","2",1,"docs-navbar-link",3,"hcPop"],[1,"docs-navbar-right"],["class","docs-navbar-search-container",4,"ngIf"],["hc-button","","buttonStyle","minimal","tabindex","3",1,"docs-navbar-icon",3,"hcPop"],["fontSet","fa","fontIcon","fa-user-circle-o"],["horizontalAlign","start",3,"showArrow"],["appsMenu",""],["hcInput","","placeholder","Filter list",3,"ngModel","ngModelChange"],["searchBox",""],["hcSuffix","","fontSet","fa","fontIcon","fa-times-circle",1,"clear-search-ico",3,"click"],["hcSuffix","","fontSet","fa","fontIcon","fa-search"],["hcMenu","",1,"docs-apps-menu"],[4,"ngFor","ngForOf"],["horizontalAlign","start",3,"autoCloseOnContentClick","showArrow"],["devMenu",""],["hcMenu",""],["horizontalAlign","end",3,"autoCloseOnContentClick","showArrow"],["helpMenu",""],[1,"docs-navbar-search-container"],["hcPrefix","","fontSet","fa","fontIcon","fa-search",1,"docs-navbar-search-icon"],[1,"docs-navbar-search",3,"formControl","keyup.enter"],[1,"docs-apps-menu-section"],["hcMenuItem","",3,"href",4,"ngFor","ngForOf"],["hcMenuItem","",3,"href"],["hcMenuText",""],["hcMenuItem","",3,"href","target",4,"ngFor","ngForOf"],["hcMenuItem","","hcDivider","",4,"ngIf"],["hcMenuItem","",3,"href","target"],["hcMenuItem","","hcDivider",""],[4,"ngIf","ngIfElse"],["notLoggedIn",""],[1,"docs-user-menu-profile"],[1,"docs-user-menu-profile-empty"]],template:function(e,i){1&e&&(yt(0,VV,36,20,"div",0),Th(1,"async")),2&e&&ze("ngIf",ky(1,1,i.metadataService.$metadata))},dependencies:[HS,ql,MB,AM,vk,dB,NM,hB,pB,Tk,Sk,Ik,Dk,K5,xm,GI,V0,U0,WS,kV,EV],styles:['@charset "UTF-8";.hc-icon-left[_ngcontent-%COMP%]{margin-right:5px}.hc-icon-right[_ngcontent-%COMP%]{margin-left:5px}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:2100}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:2100}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:2100;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%], .cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:2100;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}.hc-menu-panel[_ngcontent-%COMP%]{position:relative;font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;display:flex;flex-direction:column;padding:5px 16px;margin:-12px;background-color:#fff;border-radius:4px}.hc-menu-panel[_ngcontent-%COMP%] .hc-divider[_ngcontent-%COMP%]{width:auto;margin:5px 0}.hc-divider.hc-menu-item[_ngcontent-%COMP%]{margin:5px -16px}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button), a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button){font-size:1rem;font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;color:#333;padding:6px 16px;margin:0 -16px;border:0;background:0 0;text-align:left;display:flex;align-items:center}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button)[disabled], a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button)[disabled]{opacity:.5}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):active, button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):hover, a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):active, a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):hover{color:#333}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):focus:not([disabled]), a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button):focus:not([disabled]){background-color:#b3e7ff;color:#333;cursor:pointer;box-shadow:none;outline:none}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button).hc-menu-item-submenu, a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button).hc-menu-item-submenu{padding-right:40px}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button).hc-menu-item-submenu:after, a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button).hc-menu-item-submenu:after{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMCAzMCI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiMzMzM7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5BcnRib2FyZCAxPC90aXRsZT48cGF0aCBpZD0iUGF0aF8xMjIyMSIgZGF0YS1uYW1lPSJQYXRoIDEyMjIxIiBjbGFzcz0iY2xzLTEiIGQ9Ik0xOS42NCwxNS4yOWExLDEsMCwwLDAtLjMyLS43NkwxMS44Miw3QTEuMDYsMS4wNiwwLDAsMCwxMCw3Ljc5djE1YTEuMDgsMS4wOCwwLDAsMCwxLjA3LDEuMDcsMS4wNSwxLjA1LDAsMCwwLC43NS0uMzJsNy41LTcuNUExLDEsMCwwLDAsMTkuNjQsMTUuMjlaIi8+PC9zdmc+);position:absolute;width:20px;height:20px;right:10px}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-icon[_ngcontent-%COMP%], a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-icon[_ngcontent-%COMP%]{font-size:16px;height:16px;width:16px;margin-right:14px}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-sub-text[_ngcontent-%COMP%], a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-sub-text[_ngcontent-%COMP%]{flex:1 0 auto;margin-left:15px;color:#ccc;text-align:right}button.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-sub-text[_ngcontent-%COMP%] hc-icon[_ngcontent-%COMP%], a.hc-menu-item[_ngcontent-%COMP%]:not(.hc-button) .hc-menu-sub-text[_ngcontent-%COMP%] hc-icon[_ngcontent-%COMP%]{margin-right:0;color:#333}.hc-elip-menu[_ngcontent-%COMP%]{transform:rotate(90deg);background-color:transparent;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNzUgMzYiPjxkZWZzPjxzdHlsZT4uYXtmaWxsOiM1MTUzNTM7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGNsYXNzPSJhIiBkPSJNMzcuNSwxMjVhMTgsMTgsMCwxLDEsMTgsMTgsMTguMDUsMTguMDUsMCwwLDEtMTgtMThaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzcuNSAtMTA3KSIvPjxwYXRoIGNsYXNzPSJhIiBkPSJNMTA3LDEyNWExOCwxOCwwLDEsMSwxOCwxOEExOC4wNSwxOC4wNSwwLDAsMSwxMDcsMTI1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM3LjUgLTEwNykiLz48cGF0aCBjbGFzcz0iYSIgZD0iTTE3Ni41LDEyNWExOCwxOCwwLDEsMSwxOCwxOEExOC4wNSwxOC4wNSwwLDAsMSwxNzYuNSwxMjVaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzcuNSAtMTA3KSIvPjwvc3ZnPg==);background-repeat:no-repeat;background-size:16px 16px;background-position:center;height:22px;width:28px;padding:0;border-radius:4px;border:2px solid transparent}.hc-elip-menu[_ngcontent-%COMP%]:hover{background-color:#00000026;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNzUgMzYiPjxkZWZzPjxzdHlsZT4uYXtmaWxsOiMzMzM7fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGNsYXNzPSJhIiBkPSJNMzcuNSwxMjVhMTgsMTgsMCwxLDEsMTgsMTgsMTguMDUsMTguMDUsMCwwLDEtMTgtMThaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzcuNSAtMTA3KSIvPjxwYXRoIGNsYXNzPSJhIiBkPSJNMTA3LDEyNWExOCwxOCwwLDEsMSwxOCwxOEExOC4wNSwxOC4wNSwwLDAsMSwxMDcsMTI1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM3LjUgLTEwNykiLz48cGF0aCBjbGFzcz0iYSIgZD0iTTE3Ni41LDEyNWExOCwxOCwwLDEsMSwxOCwxOEExOC4wNSwxOC4wNSwwLDAsMSwxNzYuNSwxMjVaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzcuNSAtMTA3KSIvPjwvc3ZnPg==)}.hc-elip-menu[_ngcontent-%COMP%]:focus{outline:none;border:2px solid #00aeff}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{font-family:Noto Sans,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;color:#333}h1[_ngcontent-%COMP%]{font-size:2.5714285714rem;font-weight:300;line-height:1.2;color:#333;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}h2[_ngcontent-%COMP%]{font-size:1.5714285714rem;font-weight:600;line-height:1.5;color:#333}h3[_ngcontent-%COMP%]{font-size:1.2857142857rem;font-weight:600;line-height:1.5;color:#333}h4[_ngcontent-%COMP%]{font-size:1rem;font-weight:600;line-height:1.5;color:#333}p[_ngcontent-%COMP%]{font-size:1.1428571429rem;font-weight:400;line-height:1.5;color:#333}code[_ngcontent-%COMP%]{color:#5e676f;font-family:Consolas,Menlo,Ubuntu Mono,monospace;background-color:#f0f3f6;border-radius:3px;padding:3px 7px;font-size:1rem;font-weight:400;line-height:1.4}pre[_ngcontent-%COMP%]{border:1px solid #d7dde4;padding:0;margin:16px auto;border-radius:5px;display:block;background-color:#f0f3f6;font-weight:400}pre[_ngcontent-%COMP%]::selection, pre[_ngcontent-%COMP%] *[_ngcontent-%COMP%]::selection{background-color:#009de6;color:#fff}pre[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:1rem;line-height:1.4;padding:15px 0;background-color:#f0f3f6}pre[_ngcontent-%COMP%] > code[_ngcontent-%COMP%]{overflow-x:auto;display:block;font-size:1rem;padding:15px;line-height:1.4;background-color:#f0f3f6;color:#333;border:unset;border-radius:5px}a[_ngcontent-%COMP%]{text-decoration:none;color:#00aeff}a[_ngcontent-%COMP%]:hover{color:#33beff}a[_ngcontent-%COMP%]:active{color:#008bcc}.hc-font-xsm[_ngcontent-%COMP%]{font-size:.8571428571rem}.hc-font-sm[_ngcontent-%COMP%]{font-size:1rem}.hc-font-md[_ngcontent-%COMP%]{font-size:1.1428571429rem}.hc-font-lg[_ngcontent-%COMP%]{font-size:1.2857142857rem}.hc-font-xlg[_ngcontent-%COMP%]{font-size:1.5714285714rem}.hc-font-light[_ngcontent-%COMP%]{font-weight:300}.hc-font-reg[_ngcontent-%COMP%]{font-weight:400}strong[_ngcontent-%COMP%], .hc-font-bold[_ngcontent-%COMP%]{font-weight:600}.hc-font-xbold[_ngcontent-%COMP%]{font-weight:700}.hc-text-titlecase[_ngcontent-%COMP%]{text-transform:capitalize}.hc-text-uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.hc-text-lowercase[_ngcontent-%COMP%]{text-transform:lowercase}.hc-text-ellipsis[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}em[_ngcontent-%COMP%], .hc-font-em[_ngcontent-%COMP%]{color:#6d6e70;font-style:italic}.hc-text-highlight[_ngcontent-%COMP%]{color:#333;background-color:#f5ed56}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;display:table}article[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:table;padding-left:20px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:before{content:"\\2022 ";display:table-cell;padding-right:10px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child{margin-top:6px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child{margin-bottom:6px!important}article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{padding-left:6px;margin-left:40px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:table;margin-left:0}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"\\2013 ";display:table-cell;padding-right:15px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{margin-top:6px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{margin-bottom:6px!important}article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{list-style-type:lower-alpha;padding-left:6px;margin-left:18px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{content:"- ";display:table-cell;padding-right:15px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{margin-top:6px!important}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{margin-bottom:6px!important}article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:lower-roman;padding-left:10px;margin-left:12px!important}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{vertical-align:top}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:14px;margin-left:15px!important;display:table}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:14px;margin-left:30px!important;padding-right:10px;padding-left:6px!important}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:14px;padding-right:6px;margin-left:0!important;display:table}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{padding-right:12px}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:14px;display:table}article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:before{padding-right:10px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:first-child{padding-top:6px}article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child, article[_ngcontent-%COMP%] table[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child{padding-bottom:6px}blockquote[_ngcontent-%COMP%]{background-color:#d7dde4;padding:10px 20px;border-left:5px solid #708090}.about-modal-content[_ngcontent-%COMP%]{padding:15px 0;color:#6d6e70;text-align:center;overflow-y:auto}.about-header[_ngcontent-%COMP%]{width:100%;padding-bottom:20px}.about-logo[_ngcontent-%COMP%]{height:50px;width:279px;margin-bottom:15px}.about-app[_ngcontent-%COMP%]{width:100%;height:55px;display:flex;justify-content:center;align-items:center;background-color:#006d9a}.about-icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:75px;height:75px;margin-right:17px}.about-name[_ngcontent-%COMP%]{text-align:left}.about-name[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:24px;width:97px;margin-left:-2px}.about-version[_ngcontent-%COMP%]{font-size:1rem;color:#fff;font-weight:300}.about-footer[_ngcontent-%COMP%]{font-size:.8571428571rem;line-height:18px;text-align:center}.about-footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#00aeff;font-weight:700}.about-reference[_ngcontent-%COMP%]{display:table;text-align:center;vertical-align:middle;padding:15px 0;margin:0 auto}.about-reference[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-row;flex-flow:row;text-align:left}.about-reference[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle;padding:0 0 20px 40px}.about-reference-detail[_ngcontent-%COMP%]{font-weight:600;color:#333;font-size:1.1428571429rem;line-height:24px}.about-divider[_ngcontent-%COMP%]{border:none;height:1px;background-color:#e0e0e0;margin:0}.about-close-container[_ngcontent-%COMP%]{display:flex}.about-close[_ngcontent-%COMP%]{margin:20px auto}.hc-modal-header[_ngcontent-%COMP%]{align-items:center;border-bottom:1px solid #e0e0e0;color:#333;display:flex;font-size:1.2857142857rem;font-weight:600;min-height:55px;padding:15px 25px;justify-content:flex-start}.hc-modal-header-tight[_ngcontent-%COMP%]{font-size:1.1428571429rem;min-height:45px;padding:15px}.hc-modal-drag-handle[_ngcontent-%COMP%]{position:absolute;right:0;top:0;display:flex;justify-content:center;align-items:center;color:#ccc;cursor:move;width:74px;height:54px}@media (max-width: 768px){.hc-modal-drag-handle[_ngcontent-%COMP%]{display:none}}.hc-modal-body[_ngcontent-%COMP%]{overflow:auto;height:inherit;padding:15px 25px;margin-bottom:0}.hc-modal-body-tight[_ngcontent-%COMP%]{padding:15px}.hc-modal-close-button[_ngcontent-%COMP%]{background-color:transparent;border:0;color:#333;cursor:pointer;font-size:2rem;font-weight:700;line-height:1;opacity:.5;padding:0;text-shadow:0 1px 0 #fff;-webkit-appearance:none}.hc-modal-close-button[_ngcontent-%COMP%]:focus, .hc-modal-close-button[_ngcontent-%COMP%]:hover{color:#333;opacity:.75;text-decoration:none}.hc-modal-footer[_ngcontent-%COMP%]{align-items:center;bottom:0;display:flex;width:100%;border-top:1px solid #e0e0e0;padding:15px 25px;justify-content:flex-end;flex-direction:row;position:relative}.hc-modal-footer[_ngcontent-%COMP%] .hc-button[_ngcontent-%COMP%]{margin-left:10px;width:auto}.hc-modal-footer-tight[_ngcontent-%COMP%]{padding:15px}.hc-modal-content[_ngcontent-%COMP%]{background-color:#fff;display:flex;flex-direction:column;justify-content:flex-start;max-height:100%;border-radius:6px;height:auto}.hc-modal-open[_ngcontent-%COMP%]{overflow:hidden}.hc-modal-center-component[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;justify-content:center}.docs-navbar[_ngcontent-%COMP%]{font-family:Open Sans,sans-serif;width:100%;height:64px;display:flex;align-items:center;background-color:#052533;position:relative;z-index:100}.docs-container[_ngcontent-%COMP%]{width:95%;max-width:1200px;margin:0 auto;display:flex}.docs-navbar-logo[_ngcontent-%COMP%]{margin-top:2px}.docs-logo[_ngcontent-%COMP%]{display:flex;align-items:center}.docs-navbar-right[_ngcontent-%COMP%]{margin-left:auto;display:flex}.docs-navbar-left[_ngcontent-%COMP%]{margin-left:60px;display:flex}.docs-navbar-link[_ngcontent-%COMP%]{height:100%;padding:8px 20px;text-decoration:none;color:#fff;display:inline-flex;align-items:center;font-size:16px;font-weight:300;cursor:pointer;border-radius:5px}.docs-navbar-link[_ngcontent-%COMP%]:hover, .docs-navbar-icon[_ngcontent-%COMP%]:hover, .docs-navbar-link[_ngcontent-%COMP%]:active, .docs-navbar-icon[_ngcontent-%COMP%]:active{background-color:#052533!important}.docs-navbar-link[_ngcontent-%COMP%]:focus, .docs-navbar-icon[_ngcontent-%COMP%]:focus{outline:none;box-shadow:0 0 0 2px #0bc0ff66}.navbar-link-disabled[_ngcontent-%COMP%]{pointer-events:none}.docs-navbar-divider[_ngcontent-%COMP%]{background-color:#fff;width:1px;margin:9px 0;display:block}.docs-navbar-chevron[_ngcontent-%COMP%]{margin-left:6px}.docs-navbar-icon[_ngcontent-%COMP%]{color:#fff!important;min-width:45px!important;padding:0 15px!important;border-radius:5px;margin-right:5px}.docs-apps-menu[_ngcontent-%COMP%]{max-height:500px;overflow-y:auto;padding-bottom:15px}.docs-apps-menu-section[_ngcontent-%COMP%]{font-size:14px;line-height:1;font-weight:600;margin:15px 0 10px;padding-bottom:5px;border-bottom:1px solid #cccccc}.hc-menu-text[_ngcontent-%COMP%]{font-size:14px;line-height:1}.clear-search-ico[_ngcontent-%COMP%]{opacity:.5;cursor:pointer;margin-right:5px;position:relative;top:1px}.clear-search-ico[_ngcontent-%COMP%]:hover{opacity:1}.docs-about-name[_ngcontent-%COMP%]{line-height:1}.about-version[_ngcontent-%COMP%]{font-size:inherit}.about-reference-detail[_ngcontent-%COMP%]{font-size:inherit;line-height:1}.about-footer[_ngcontent-%COMP%]{font-size:12px}.hc-button.hc-md[_ngcontent-%COMP%]{font-size:inherit}.docs-about-name[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:150px}.docs-navbar-search-container[_ngcontent-%COMP%]{position:relative;margin-right:10px}.docs-navbar-search[_ngcontent-%COMP%]{border:1px solid white;border-radius:500px;font-size:14px;color:#333;padding:6px 15px 6px 45px;font-family:Open Sans,sans-serif}.docs-navbar-search[_ngcontent-%COMP%]:hover{border:1px solid #00aeff;background-color:#f2fbff}.docs-navbar-search[_ngcontent-%COMP%]:focus-visible{outline:none}.docs-navbar-search-icon[_ngcontent-%COMP%]{position:absolute;left:15px;top:8px;font-size:16px!important;color:#a1a1a1}.docs-user-menu-profile[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:5px}.docs-user-menu-profile[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-top:8px}.docs-user-menu-profile-empty[_ngcontent-%COMP%]{padding:5px}@media (max-width: 1100px){.docs-navbar-left[_ngcontent-%COMP%]{margin-left:3%}}@media (max-width: 1024px){.docs-navbar-left[_ngcontent-%COMP%], .docs-banner-hero[_ngcontent-%COMP%]{display:none}.docs-banner[_ngcontent-%COMP%]{height:auto}.docs-navbar-right[_ngcontent-%COMP%]{margin-right:-20px}.docs-container[_ngcontent-%COMP%]{justify-content:space-around}.docs-banner-right-container[_ngcontent-%COMP%]{margin-top:20px}.docs-banner-select[_ngcontent-%COMP%]{margin-bottom:35px}}@media (max-width: 700px){.docs-navbar-right[_ngcontent-%COMP%]{display:none}}']}),n})();
|
|
2399
2399
|
/**
|
|
2400
2400
|
* @license Angular v14.3.0
|
|
2401
2401
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
@@ -2407,14 +2407,14 @@ const Js="225ms cubic-bezier(0.4,0.0,0.2,1)";
|
|
|
2407
2407
|
*
|
|
2408
2408
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2409
2409
|
* found in the LICENSE file at https://angular.io/license
|
|
2410
|
-
*/const
|
|
2410
|
+
*/const g_={schedule(n,t){const e=setTimeout(n,t);return()=>clearTimeout(e)},scheduleBeforeRender(n){if(typeof window>"u")return g_.schedule(n,0);if(typeof window.requestAnimationFrame>"u")return g_.schedule(n,16);const t=window.requestAnimationFrame(n);return()=>window.cancelAnimationFrame(t)}};let BM;function JV(n,t,e){let i=e;return function YV(n){return!!n&&n.nodeType===Node.ELEMENT_NODE}(n)&&t.some((o,r)=>!("*"===o||!function WV(n,t){if(!BM){const e=Element.prototype;BM=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return n.nodeType===Node.ELEMENT_NODE&&BM.call(n,t)}(n,o)||(i=r,0))),i
|
|
2411
2411
|
/**
|
|
2412
2412
|
* @license
|
|
2413
2413
|
* Copyright Google LLC All Rights Reserved.
|
|
2414
2414
|
*
|
|
2415
2415
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2416
2416
|
* found in the LICENSE file at https://angular.io/license
|
|
2417
|
-
*/}class
|
|
2417
|
+
*/}class XV{constructor(t,e){this.componentFactory=e.get(at).resolveComponentFactory(t)}create(t){return new eH(this.componentFactory,t)}}class eH{constructor(t,e){this.componentFactory=t,this.injector=e,this.eventEmitters=new ZT(1),this.events=this.eventEmitters.pipe(hM(i=>Bi(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(We),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=g_.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){this.runInZone(()=>{null!==this.componentRef?function QV(n,t){return n===t||n!=n&&t!=t}(e,this.getInputValue(t))&&(void 0!==e||!this.unchangedInputs.has(t))||(this.recordInputChange(t,e),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=e,this.scheduleDetectChanges()):this.initialInputValues.set(t,e)})}initializeComponent(t){const e=Sn.create({providers:[],parent:this.injector}),i=
|
|
2418
2418
|
/**
|
|
2419
2419
|
* @license
|
|
2420
2420
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2422,14 +2422,14 @@ const Js="225ms cubic-bezier(0.4,0.0,0.2,1)";
|
|
|
2422
2422
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2423
2423
|
* found in the LICENSE file at https://angular.io/license
|
|
2424
2424
|
*/
|
|
2425
|
-
function
|
|
2425
|
+
function KV(n,t){const e=n.childNodes,i=t.map(()=>[]);let o=-1;t.some((r,s)=>"*"===r&&(o=s,!0));for(let r=0,s=e.length;r<s;++r){const c=e[r],u=JV(c,t,o);-1!==u&&i[u].push(c)}return i}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,t),this.viewChangeDetectorRef=this.componentRef.injector.get(Jl),this.implementsOnChanges=function GV(n){return"function"==typeof n}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Ka).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t})=>{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const e=this.componentFactory.outputs.map(({propName:i,templateName:o})=>t.instance[i].pipe(vn(s=>({name:o,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const e=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(e)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=g_.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,e){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const i=this.inputChanges[t];if(i)return void(i.currentValue=e);const o=this.unchangedInputs.has(t),r=o?void 0:this.getInputValue(t);this.inputChanges[t]=new mo(r,e,o)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}
|
|
2426
2426
|
/**
|
|
2427
2427
|
* @license
|
|
2428
2428
|
* Copyright Google LLC All Rights Reserved.
|
|
2429
2429
|
*
|
|
2430
2430
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2431
2431
|
* found in the LICENSE file at https://angular.io/license
|
|
2432
|
-
*/class
|
|
2432
|
+
*/class tH extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}
|
|
2433
2433
|
/**
|
|
2434
2434
|
* @license
|
|
2435
2435
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2444,7 +2444,7 @@ function $V(n,t){const e=n.childNodes,i=t.map(()=>[]);let o=-1;t.some((r,s)=>"*"
|
|
|
2444
2444
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2445
2445
|
* found in the LICENSE file at https://angular.io/license
|
|
2446
2446
|
*/
|
|
2447
|
-
let
|
|
2447
|
+
let iH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[Ck,Ek,zB,yk,OM,JB,gB,qB]}),n})();
|
|
2448
2448
|
/**
|
|
2449
2449
|
* @license Angular v14.3.0
|
|
2450
2450
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
@@ -2464,7 +2464,7 @@ let nH=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275m
|
|
|
2464
2464
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2465
2465
|
* found in the LICENSE file at https://angular.io/license
|
|
2466
2466
|
*/
|
|
2467
|
-
function
|
|
2467
|
+
function zH(){return typeof window<"u"&&typeof window.document<"u"}function VM(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function qs(n){switch(n.length){case 0:return new Uh;case 1:return n[0];default:return new HT(n)}}function Uk(n,t,e,i,o=new Map,r=new Map){const s=[],c=[];let u=-1,h=null;if(i.forEach(p=>{const g=p.get("offset"),_=g==u,y=_&&h||new Map;p.forEach((M,x)=>{let E=x,O=M;if("offset"!==x)switch(E=t.normalizePropertyName(E,s),O){case"!":O=o.get(x);break;case Jr:O=r.get(x);break;default:O=t.normalizeStyleValue(x,E,O,s)}y.set(E,O)}),_||c.push(y),h=y,u=g}),s.length)throw function SH(n){return new B(3502,!1)}();return c}function HM(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&UM(e,"start",n)));break;case"done":n.onDone(()=>i(e&&UM(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&UM(e,"destroy",n)))}}function UM(n,t,e){const r=YM(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,e.totalTime??n.totalTime,!!e.disabled),s=n._data;return null!=s&&(r._data=s),r}function YM(n,t,e,i,o="",r=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:o,totalTime:r,disabled:!!s}}function Ai(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function Yk(n){const t=n.indexOf(":");return[n.substring(1,t),n.slice(t+1)]}let GM=(n,t)=>!1,Gk=(n,t,e)=>[],Wk=null;function WM(n){const t=n.parentNode||n.host;return t===Wk?null:t}(VM()||typeof Element<"u")&&(zH()?(Wk=(()=>document.documentElement)(),GM=(n,t)=>{for(;t;){if(t===n)return!0;t=WM(t)}return!1}):GM=(n,t)=>n.contains(t),Gk=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));const i=n.querySelector(t);return i?[i]:[]});let rc=null,Qk=!1;const Zk=GM,$k=Gk;
|
|
2468
2468
|
/**
|
|
2469
2469
|
* @license
|
|
2470
2470
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2472,7 +2472,7 @@ function RH(){return typeof window<"u"&&typeof window.document<"u"}function BM()
|
|
|
2472
2472
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2473
2473
|
* found in the LICENSE file at https://angular.io/license
|
|
2474
2474
|
*/
|
|
2475
|
-
let Kk=(()=>{class n{validateStyleProperty(e){return function
|
|
2475
|
+
let Kk=(()=>{class n{validateStyleProperty(e){return function BH(n){rc||(rc=function VH(){return typeof document<"u"?document.body:null}()||{},Qk=!!rc.style&&"WebkitAppearance"in rc.style);let t=!0;return rc.style&&!function FH(n){return"ebkit"==n.substring(1,6)}(n)&&(t=n in rc.style,!t&&Qk&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in rc.style)),t}(e)}matchesElement(e,i){return!1}containsElement(e,i){return Zk(e,i)}getParentElement(e){return WM(e)}query(e,i,o){return $k(e,i,o)}computeStyle(e,i,o){return o||""}animate(e,i,o,r,s,c=[],u){return new Uh(o,r)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})(),QM=(()=>{class n{}
|
|
2476
2476
|
/**
|
|
2477
2477
|
* @license
|
|
2478
2478
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2480,28 +2480,28 @@ let Kk=(()=>{class n{validateStyleProperty(e){return function FH(n){rc||(rc=func
|
|
|
2480
2480
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2481
2481
|
* found in the LICENSE file at https://angular.io/license
|
|
2482
2482
|
*/
|
|
2483
|
-
return n.NOOP=new Kk,n})();const
|
|
2483
|
+
return n.NOOP=new Kk,n})();const ZM="ng-enter",m_="ng-leave",__="ng-trigger",b_=".ng-trigger",qk="ng-animating",$M=".ng-animating";function ts(n){if("number"==typeof n)return n;const t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:KM(parseFloat(t[1]),t[2])}function KM(n,t){return"s"===t?1e3*n:n}function v_(n,t,e){return n.hasOwnProperty("duration")?n:function YH(n,t,e){let o,r=0,s="";if("string"==typeof n){const c=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===c)return t.push(Hk()),{duration:0,delay:0,easing:""};o=KM(parseFloat(c[1]),c[2]);const u=c[3];null!=u&&(r=KM(parseFloat(u),c[4]));const h=c[5];h&&(s=h)}else o=n;if(!e){let c=!1,u=t.length;o<0&&(t.push(function oH(){return new B(3100,!1)}()),c=!0),r<0&&(t.push(function rH(){return new B(3101,!1)}()),c=!0),c&&t.splice(u,0,Hk())}return{duration:o,delay:r,easing:s}}(n,t,e)}function ip(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function Xk(n){const t=new Map;return Object.keys(n).forEach(e=>{t.set(e,n[e])}),t}function Xs(n,t=new Map,e){if(e)for(let[i,o]of e)t.set(i,o);for(let[i,o]of n)t.set(i,o);return t}function tE(n,t,e){return e?t+":"+e+";":""}function nE(n){let t="";for(let e=0;e<n.style.length;e++){const i=n.style.item(e);t+=tE(0,i,n.style.getPropertyValue(i))}for(const e in n.style)n.style.hasOwnProperty(e)&&!e.startsWith("_")&&(t+=tE(0,ZH(e),n.style[e]));n.setAttribute("style",t)}function pr(n,t,e){n.style&&(t.forEach((i,o)=>{const r=qM(o);e&&!e.has(o)&&e.set(o,n.style[r]),n.style[r]=i}),VM()&&nE(n))}function sc(n,t){n.style&&(t.forEach((e,i)=>{const o=qM(i);n.style[o]=""}),VM()&&nE(n))}function op(n){return Array.isArray(n)?1==n.length?n[0]:BT(n):n}const JM=new RegExp("{{\\s*(.+?)\\s*}}","g");function iE(n){let t=[];if("string"==typeof n){let e;for(;e=JM.exec(n);)t.push(e[1]);JM.lastIndex=0}return t}function rp(n,t,e){const i=n.toString(),o=i.replace(JM,(r,s)=>{let c=t[s];return null==c&&(e.push(function aH(n){return new B(3003,!1)}()),c=""),c.toString()});return o==i?n:o}function y_(n){const t=[];let e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}const QH=/-+([a-z0-9])/g;function qM(n){return n.replace(QH,(...t)=>t[1].toUpperCase())}function ZH(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Oi(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw function cH(n){return new B(3004,!1)}()}}function oE(n,t){return window.getComputedStyle(n)[t]}
|
|
2484
2484
|
/**
|
|
2485
2485
|
* @license
|
|
2486
2486
|
* Copyright Google LLC All Rights Reserved.
|
|
2487
2487
|
*
|
|
2488
2488
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2489
2489
|
* found in the LICENSE file at https://angular.io/license
|
|
2490
|
-
*/function
|
|
2490
|
+
*/function eU(n,t){const e=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function tU(n,t,e){if(":"==n[0]){const u=function nU(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return t.push(function CH(n){return new B(3016,!1)}()),"* => *"}}(n,e);if("function"==typeof u)return void t.push(u);n=u}const i=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function MH(n){return new B(3015,!1)}()),t;const o=i[1],r=i[2],s=i[3];t.push(rE(o,s));"<"==r[0]&&!("*"==o&&"*"==s)&&t.push(rE(s,o))}(i,e,t)):e.push(n),e}const D_=new Set(["true","1"]),x_=new Set(["false","0"]);function rE(n,t){const e=D_.has(n)||x_.has(n),i=D_.has(t)||x_.has(t);return(o,r)=>{let s="*"==n||n==o,c="*"==t||t==r;return!s&&e&&"boolean"==typeof o&&(s=o?D_.has(n):x_.has(n)),!c&&i&&"boolean"==typeof r&&(c=r?D_.has(t):x_.has(t)),s&&c}}
|
|
2491
2491
|
/**
|
|
2492
2492
|
* @license
|
|
2493
2493
|
* Copyright Google LLC All Rights Reserved.
|
|
2494
2494
|
*
|
|
2495
2495
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2496
2496
|
* found in the LICENSE file at https://angular.io/license
|
|
2497
|
-
*/const
|
|
2497
|
+
*/const iU=new RegExp("s*:selfs*,?","g");function XM(n,t,e,i){return new oU(n).build(t,e,i)}class oU{constructor(t){this._driver=t}build(t,e,i){const o=new aU(e);return this._resetContextStyleTimingState(o),Oi(this,op(t),o)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,o=e.depCount=0;const r=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push(function uH(){return new B(3006,!1)}()),t.definitions.forEach(c=>{if(this._resetContextStyleTimingState(e),0==c.type){const u=c,h=u.name;h.toString().split(/\s*,\s*/).forEach(p=>{u.name=p,r.push(this.visitState(u,e))}),u.name=h}else if(1==c.type){const u=this.visitTransition(c,e);i+=u.queryCount,o+=u.depCount,s.push(u)}else e.errors.push(function dH(){return new B(3007,!1)}())}),{type:7,name:t.name,states:r,transitions:s,queryCount:i,depCount:o,options:null}}visitState(t,e){const i=this.visitStyle(t.styles,e),o=t.options&&t.options.params||null;if(i.containsDynamicStyles){const r=new Set,s=o||{};i.styles.forEach(c=>{c instanceof Map&&c.forEach(u=>{iE(u).forEach(h=>{s.hasOwnProperty(h)||r.add(h)})})}),r.size&&(y_(r.values()),e.errors.push(function hH(n,t){return new B(3008,!1)}()))}return{type:0,name:t.name,style:i,options:o?{params:o}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const i=Oi(this,op(t.animation),e);return{type:1,matchers:eU(t.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:ac(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>Oi(this,i,e)),options:ac(t.options)}}visitGroup(t,e){const i=e.currentTime;let o=0;const r=t.steps.map(s=>{e.currentTime=i;const c=Oi(this,s,e);return o=Math.max(o,e.currentTime),c});return e.currentTime=o,{type:3,steps:r,options:ac(t.options)}}visitAnimate(t,e){const i=function lU(n,t){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return eC(v_(n,t).duration,0,"");const e=n;if(e.split(/\s+/).some(r=>"{"==r.charAt(0)&&"{"==r.charAt(1))){const r=eC(0,0,"");return r.dynamic=!0,r.strValue=e,r}const o=v_(e,t);return eC(o.duration,o.delay,o.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;let o,r=t.styles?t.styles:me({});if(5==r.type)o=this.visitKeyframes(r,e);else{let s=t.styles,c=!1;if(!s){c=!0;const h={};i.easing&&(h.easing=i.easing),s=me(h)}e.currentTime+=i.duration+i.delay;const u=this.visitStyle(s,e);u.isEmptyStep=c,o=u}return e.currentAnimateTimings=null,{type:4,timings:i,style:o,options:null}}visitStyle(t,e){const i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){const i=[],o=Array.isArray(t.styles)?t.styles:[t.styles];for(let c of o)"string"==typeof c?c===Jr?i.push(c):e.errors.push(new B(3002,!1)):i.push(Xk(c));let r=!1,s=null;return i.forEach(c=>{if(c instanceof Map&&(c.has("easing")&&(s=c.get("easing"),c.delete("easing")),!r))for(let u of c.values())if(u.toString().indexOf("{{")>=0){r=!0;break}}),{type:6,styles:i,easing:s,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const i=e.currentAnimateTimings;let o=e.currentTime,r=e.currentTime;i&&r>0&&(r-=i.duration+i.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((c,u)=>{const h=e.collectedStyles.get(e.currentQuerySelector),p=h.get(u);let g=!0;p&&(r!=o&&r>=p.startTime&&o<=p.endTime&&(e.errors.push(function fH(n,t,e,i,o){return new B(3010,!1)}()),g=!1),r=p.startTime),g&&h.set(u,{startTime:r,endTime:o}),e.options&&function WH(n,t,e){const i=t.params||{},o=iE(n);o.length&&o.forEach(r=>{i.hasOwnProperty(r)||e.push(function sH(n){return new B(3001,!1)}())})}(c,e.options,e.errors)})})}visitKeyframes(t,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function gH(){return new B(3011,!1)}()),i;let r=0;const s=[];let c=!1,u=!1,h=0;const p=t.steps.map(O=>{const V=this._makeStyleAst(O,e);let L=null!=V.offset?V.offset:function cU(n){if("string"==typeof n)return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}(V.styles),Y=0;return null!=L&&(r++,Y=V.offset=L),u=u||Y<0||Y>1,c=c||Y<h,h=Y,s.push(Y),V});u&&e.errors.push(function mH(){return new B(3012,!1)}()),c&&e.errors.push(function _H(){return new B(3200,!1)}());const g=t.steps.length;let _=0;r>0&&r<g?e.errors.push(function bH(){return new B(3202,!1)}()):0==r&&(_=1/(g-1));const y=g-1,M=e.currentTime,x=e.currentAnimateTimings,E=x.duration;return p.forEach((O,V)=>{const L=_>0?V==y?1:_*V:s[V],Y=L*E;e.currentTime=M+x.delay+Y,x.duration=Y,this._validateStyleAst(O,e),O.offset=L,i.styles.push(O)}),i}visitReference(t,e){return{type:8,animation:Oi(this,op(t.animation),e),options:ac(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:ac(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:ac(t.options)}}visitQuery(t,e){const i=e.currentQuerySelector,o=t.options||{};e.queryCount++,e.currentQuery=t;const[r,s]=function rU(n){const t=!!n.split(/\s*,\s*/).find(e=>":self"==e);return t&&(n=n.replace(iU,"")),n=n.replace(/@\*/g,b_).replace(/@\w+/g,e=>b_+"-"+e.slice(1)).replace(/:animating/g,$M),[n,t]}(t.selector);e.currentQuerySelector=i.length?i+" "+r:r,Ai(e.collectedStyles,e.currentQuerySelector,new Map);const c=Oi(this,op(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:r,limit:o.limit||0,optional:!!o.optional,includeSelf:s,animation:c,originalSelector:t.selector,options:ac(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(function vH(){return new B(3013,!1)}());const i="full"===t.timings?{duration:0,delay:0,easing:"full"}:v_(t.timings,e.errors,!0);return{type:12,animation:Oi(this,op(t.animation),e),timings:i,options:null}}}class aU{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=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function ac(n){return n?(n=ip(n)).params&&(n.params=function sU(n){return n?ip(n):null}(n.params)):n={},n}function eC(n,t,e){return{duration:n,delay:t,easing:e}}function tC(n,t,e,i,o,r,s=null,c=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:o,delay:r,totalTime:o+r,easing:s,subTimeline:c}}class S_{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}
|
|
2498
2498
|
/**
|
|
2499
2499
|
* @license
|
|
2500
2500
|
* Copyright Google LLC All Rights Reserved.
|
|
2501
2501
|
*
|
|
2502
2502
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2503
2503
|
* found in the LICENSE file at https://angular.io/license
|
|
2504
|
-
*/const dU=new RegExp(":enter","g"),pU=new RegExp(":leave","g");function tC(n,t,e,i,o,r=new Map,s=new Map,c,u,h=[]){return(new fU).buildKeyframes(n,t,e,i,o,r,s,c,u,h)}class fU{buildKeyframes(t,e,i,o,r,s,c,u,h,p=[]){h=h||new I_;const g=new nC(t,e,h,o,r,p,[]);g.options=u;const _=u.delay?ts(u.delay):0;g.currentTimeline.delayNextStep(_),g.currentTimeline.setStyles([s],null,g.errors,u),Oi(this,i,g);const y=g.timelines.filter(M=>M.containsAnimation());if(y.length&&c.size){let M;for(let x=y.length-1;x>=0;x--){const E=y[x];if(E.element===e){M=E;break}}M&&!M.allowOnlyTimelineStyles()&&M.setStyles([c],null,g.errors,u)}return y.length?y.map(M=>M.buildKeyframes()):[eC(e,[],[],[],0,_,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const o=e.createSubContext(t.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,o,o.options);r!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(const o of t){const r=o?.delay;if(r){const s="number"==typeof r?r:ts(op(r,o?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(t,e,i){let r=e.currentTimeline.currentTime;const s=null!=i.duration?ts(i.duration):null,c=null!=i.delay?ts(i.delay):null;return 0!==s&&t.forEach(u=>{const h=e.appendInstructionToTimeline(u,s,c);r=Math.max(r,h.duration+h.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),Oi(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let o=e;const r=t.options;if(r&&(r.params||r.delay)&&(o=e.createSubContext(r),o.transformIntoNewTimeline(),null!=r.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=T_);const s=ts(r.delay);o.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Oi(this,s,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>i&&o.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let o=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?ts(t.options.delay):0;t.steps.forEach(s=>{const c=e.createSubContext(t.options);r&&c.delayNextStep(r),Oi(this,s,c),o=Math.max(o,c.currentTimeline.currentTime),i.push(c.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(o),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return y_(e.params?op(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),o=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),o.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(i.duration),this.visitStyle(r,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,o=e.currentAnimateTimings;!o&&i.hasCurrentStyleProperties()&&i.forwardFrame();const r=o&&o.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(r):i.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,o=e.currentTimeline.duration,r=i.duration,c=e.createSubContext().currentTimeline;c.easing=i.easing,t.styles.forEach(u=>{c.forwardTime((u.offset||0)*r),c.setStyles(u.styles,u.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(o+r),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,o=t.options||{},r=o.delay?ts(o.delay):0;r&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=T_);let s=i;const c=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=c.length;let u=null;c.forEach((h,p)=>{e.currentQueryIndex=p;const g=e.createSubContext(t.options,h);r&&g.delayNextStep(r),h===e.element&&(u=g.currentTimeline),Oi(this,t.animation,g),g.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,g.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,o=e.currentTimeline,r=t.timings,s=Math.abs(r.duration),c=s*(e.currentQueryTotal-1);let u=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":u=c-u;break;case"full":u=i.currentStaggerTime}const p=e.currentTimeline;u&&p.delayNextStep(u);const g=p.currentTime;Oi(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=o.currentTime-g+(o.startTime-i.currentTimeline.startTime)}}const T_={};class nC{constructor(t,e,i,o,r,s,c,u){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=o,this._leaveClassName=r,this.errors=s,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=T_,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new k_(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let o=this.options;null!=i.duration&&(o.duration=ts(i.duration)),null!=i.delay&&(o.delay=ts(i.delay));const r=i.params;if(r){let s=o.params;s||(s=this.options.params={}),Object.keys(r).forEach(c=>{(!e||!s.hasOwnProperty(c))&&(s[c]=op(r[c],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(o=>{i[o]=e[o]})}}return t}createSubContext(t=null,e,i){const o=e||this.element,r=new nC(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=T_,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const o={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},r=new gU(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,o,t.stretchStartingKeyframe);return this.timelines.push(r),o}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,o,r,s){let c=[];if(o&&c.push(this.element),t.length>0){t=(t=t.replace(dU,"."+this._enterClassName)).replace(pU,"."+this._leaveClassName);let h=this._driver.query(this.element,t,1!=i);0!==i&&(h=i<0?h.slice(h.length+i,h.length):h.slice(0,i)),c.push(...h)}return!r&&0==c.length&&s.push(function vH(n){return new B(3014,!1)}()),c}}class k_{constructor(t,e,i,o){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=o,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new k_(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=new Map,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.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Jr),this._currentKeyframe.set(e,Jr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,o){e&&this._previousKeyframe.set("easing",e);const r=o&&o.params||{},s=function mU(n,t){const e=new Map;let i;return n.forEach(o=>{if("*"===o){i=i||t.keys();for(let r of i)e.set(r,Jr)}else Xs(o,e)}),e}(t,this._globalTimelineStyles);for(let[c,u]of s){const h=op(u,r,i);this._pendingStyles.set(c,h),this._localTimelineStyles.has(c)||this._backFill.set(c,this._globalTimelineStyles.get(c)??Jr),this._updateStyle(c,h)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(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){t._styleSummary.forEach((e,i)=>{const o=this._styleSummary.get(i);(!o||e.time>o.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((c,u)=>{const h=Xs(c,new Map,this._backFill);h.forEach((p,g)=>{"!"===p?t.add(g):p===Jr&&e.add(g)}),i||h.set("offset",u/this.duration),o.push(h)});const r=t.size?M_(t.values()):[],s=e.size?M_(e.values()):[];if(i){const c=o[0],u=new Map(c);c.set("offset",0),u.set("offset",1),o=[c,u]}return eC(this.element,o,r,s,this.duration,this.startTime,this.easing,!1)}}class gU extends k_{constructor(t,e,i,o,r,s,c=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=o,this.postStyleProps=r,this._stretchStartingKeyframe=c,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=i+e,c=e/s,u=Xs(t[0]);u.set("offset",0),r.push(u);const h=Xs(t[0]);h.set("offset",cE(c)),r.push(h);const p=t.length-1;for(let g=1;g<=p;g++){let _=Xs(t[g]);const y=_.get("offset");_.set("offset",cE((e+y*i)/s)),r.push(_)}i=s,e=0,o="",t=r}return eC(this.element,t,this.preStyleProps,this.postStyleProps,i,e,o,!0)}}function cE(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}
|
|
2504
|
+
*/const hU=new RegExp(":enter","g"),fU=new RegExp(":leave","g");function nC(n,t,e,i,o,r=new Map,s=new Map,c,u,h=[]){return(new gU).buildKeyframes(n,t,e,i,o,r,s,c,u,h)}class gU{buildKeyframes(t,e,i,o,r,s,c,u,h,p=[]){h=h||new S_;const g=new iC(t,e,h,o,r,p,[]);g.options=u;const _=u.delay?ts(u.delay):0;g.currentTimeline.delayNextStep(_),g.currentTimeline.setStyles([s],null,g.errors,u),Oi(this,i,g);const y=g.timelines.filter(M=>M.containsAnimation());if(y.length&&c.size){let M;for(let x=y.length-1;x>=0;x--){const E=y[x];if(E.element===e){M=E;break}}M&&!M.allowOnlyTimelineStyles()&&M.setStyles([c],null,g.errors,u)}return y.length?y.map(M=>M.buildKeyframes()):[tC(e,[],[],[],0,_,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const i=e.subInstructions.get(e.element);if(i){const o=e.createSubContext(t.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,o,o.options);r!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(const o of t){const r=o?.delay;if(r){const s="number"==typeof r?r:ts(rp(r,o?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(t,e,i){let r=e.currentTimeline.currentTime;const s=null!=i.duration?ts(i.duration):null,c=null!=i.delay?ts(i.delay):null;return 0!==s&&t.forEach(u=>{const h=e.appendInstructionToTimeline(u,s,c);r=Math.max(r,h.duration+h.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),Oi(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const i=e.subContextCount;let o=e;const r=t.options;if(r&&(r.params||r.delay)&&(o=e.createSubContext(r),o.transformIntoNewTimeline(),null!=r.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=I_);const s=ts(r.delay);o.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Oi(this,s,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>i&&o.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const i=[];let o=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?ts(t.options.delay):0;t.steps.forEach(s=>{const c=e.createSubContext(t.options);r&&c.delayNextStep(r),Oi(this,s,c),o=Math.max(o,c.currentTimeline.currentTime),i.push(c.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(o),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const i=t.strValue;return v_(e.params?rp(i,e.params,e.errors):i,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const i=e.currentAnimateTimings=this._visitTiming(t.timings,e),o=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),o.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(i.duration),this.visitStyle(r,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const i=e.currentTimeline,o=e.currentAnimateTimings;!o&&i.hasCurrentStyleProperties()&&i.forwardFrame();const r=o&&o.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(r):i.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const i=e.currentAnimateTimings,o=e.currentTimeline.duration,r=i.duration,c=e.createSubContext().currentTimeline;c.easing=i.easing,t.styles.forEach(u=>{c.forwardTime((u.offset||0)*r),c.setStyles(u.styles,u.easing,e.errors,e.options),c.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(c),e.transformIntoNewTimeline(o+r),e.previousNode=t}visitQuery(t,e){const i=e.currentTimeline.currentTime,o=t.options||{},r=o.delay?ts(o.delay):0;r&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=I_);let s=i;const c=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=c.length;let u=null;c.forEach((h,p)=>{e.currentQueryIndex=p;const g=e.createSubContext(t.options,h);r&&g.delayNextStep(r),h===e.element&&(u=g.currentTimeline),Oi(this,t.animation,g),g.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,g.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const i=e.parentContext,o=e.currentTimeline,r=t.timings,s=Math.abs(r.duration),c=s*(e.currentQueryTotal-1);let u=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":u=c-u;break;case"full":u=i.currentStaggerTime}const p=e.currentTimeline;u&&p.delayNextStep(u);const g=p.currentTime;Oi(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=o.currentTime-g+(o.startTime-i.currentTimeline.startTime)}}const I_={};class iC{constructor(t,e,i,o,r,s,c,u){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=o,this._leaveClassName=r,this.errors=s,this.timelines=c,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=I_,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new T_(this._driver,e,0),c.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const i=t;let o=this.options;null!=i.duration&&(o.duration=ts(i.duration)),null!=i.delay&&(o.delay=ts(i.delay));const r=i.params;if(r){let s=o.params;s||(s=this.options.params={}),Object.keys(r).forEach(c=>{(!e||!s.hasOwnProperty(c))&&(s[c]=rp(r[c],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const i=t.params={};Object.keys(e).forEach(o=>{i[o]=e[o]})}}return t}createSubContext(t=null,e,i){const o=e||this.element,r=new iC(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=I_,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){const o={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},r=new mU(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,o,t.stretchStartingKeyframe);return this.timelines.push(r),o}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,o,r,s){let c=[];if(o&&c.push(this.element),t.length>0){t=(t=t.replace(hU,"."+this._enterClassName)).replace(fU,"."+this._leaveClassName);let h=this._driver.query(this.element,t,1!=i);0!==i&&(h=i<0?h.slice(h.length+i,h.length):h.slice(0,i)),c.push(...h)}return!r&&0==c.length&&s.push(function yH(n){return new B(3014,!1)}()),c}}class T_{constructor(t,e,i,o){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=o,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new T_(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=new Map,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.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Jr),this._currentKeyframe.set(e,Jr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,o){e&&this._previousKeyframe.set("easing",e);const r=o&&o.params||{},s=function _U(n,t){const e=new Map;let i;return n.forEach(o=>{if("*"===o){i=i||t.keys();for(let r of i)e.set(r,Jr)}else Xs(o,e)}),e}(t,this._globalTimelineStyles);for(let[c,u]of s){const h=rp(u,r,i);this._pendingStyles.set(c,h),this._localTimelineStyles.has(c)||this._backFill.set(c,this._globalTimelineStyles.get(c)??Jr),this._updateStyle(c,h)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(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){t._styleSummary.forEach((e,i)=>{const o=this._styleSummary.get(i);(!o||e.time>o.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((c,u)=>{const h=Xs(c,new Map,this._backFill);h.forEach((p,g)=>{"!"===p?t.add(g):p===Jr&&e.add(g)}),i||h.set("offset",u/this.duration),o.push(h)});const r=t.size?y_(t.values()):[],s=e.size?y_(e.values()):[];if(i){const c=o[0],u=new Map(c);c.set("offset",0),u.set("offset",1),o=[c,u]}return tC(this.element,o,r,s,this.duration,this.startTime,this.easing,!1)}}class mU extends T_{constructor(t,e,i,o,r,s,c=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=o,this.postStyleProps=r,this._stretchStartingKeyframe=c,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=i+e,c=e/s,u=Xs(t[0]);u.set("offset",0),r.push(u);const h=Xs(t[0]);h.set("offset",cE(c)),r.push(h);const p=t.length-1;for(let g=1;g<=p;g++){let _=Xs(t[g]);const y=_.get("offset");_.set("offset",cE((e+y*i)/s)),r.push(_)}i=s,e=0,o="",t=r}return tC(this.element,t,this.preStyleProps,this.postStyleProps,i,e,o,!0)}}function cE(n,t=3){const e=Math.pow(10,t-1);return Math.round(n*e)/e}
|
|
2505
2505
|
/**
|
|
2506
2506
|
* @license
|
|
2507
2507
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2509,7 +2509,7 @@ return n.NOOP=new Kk,n})();const QM="ng-enter",__="ng-leave",b_="ng-trigger",v_=
|
|
|
2509
2509
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2510
2510
|
* found in the LICENSE file at https://angular.io/license
|
|
2511
2511
|
*/
|
|
2512
|
-
class
|
|
2512
|
+
class oC{}
|
|
2513
2513
|
/**
|
|
2514
2514
|
* @license
|
|
2515
2515
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2517,35 +2517,35 @@ class iC{}
|
|
|
2517
2517
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2518
2518
|
* found in the LICENSE file at https://angular.io/license
|
|
2519
2519
|
*/
|
|
2520
|
-
const
|
|
2520
|
+
const bU=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class vU extends oC{normalizePropertyName(t,e){return qM(t)}normalizeStyleValue(t,e,i,o){let r="";const s=i.toString().trim();if(bU.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)r="px";else{const c=i.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&0==c[1].length&&o.push(function lH(n,t){return new B(3005,!1)}())}return s+r}}
|
|
2521
2521
|
/**
|
|
2522
2522
|
* @license
|
|
2523
2523
|
* Copyright Google LLC All Rights Reserved.
|
|
2524
2524
|
*
|
|
2525
2525
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2526
2526
|
* found in the LICENSE file at https://angular.io/license
|
|
2527
|
-
*/function lE(n,t,e,i,o,r,s,c,u,h,p,g,_){return{type:0,element:n,triggerName:t,isRemovalTransition:o,fromState:e,fromStyles:r,toState:i,toStyles:s,timelines:c,queriedElements:u,preStyleProps:h,postStyleProps:p,totalTime:g,errors:_}}const
|
|
2527
|
+
*/function lE(n,t,e,i,o,r,s,c,u,h,p,g,_){return{type:0,element:n,triggerName:t,isRemovalTransition:o,fromState:e,fromStyles:r,toState:i,toStyles:s,timelines:c,queriedElements:u,preStyleProps:h,postStyleProps:p,totalTime:g,errors:_}}const rC={};class uE{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,o){return function yU(n,t,e,i,o){return n.some(r=>r(t,e,i,o))}(this.ast.matchers,t,e,i,o)}buildStyles(t,e,i){let o=this._stateStyles.get("*");return void 0!==t&&(o=this._stateStyles.get(t?.toString())||o),o?o.buildStyles(e,i):new Map}build(t,e,i,o,r,s,c,u,h,p){const g=[],_=this.ast.options&&this.ast.options.params||rC,M=this.buildStyles(i,c&&c.params||rC,g),x=u&&u.params||rC,E=this.buildStyles(o,x,g),O=new Set,V=new Map,L=new Map,Y="void"===o,Le={params:MU(x,_),delay:this.ast.options?.delay},Ze=p?[]:nC(t,e,this.ast.animation,r,s,M,E,Le,h,g);let jt=0;if(Ze.forEach(ji=>{jt=Math.max(ji.duration+ji.delay,jt)}),g.length)return lE(e,this._triggerName,i,o,Y,M,E,[],[],V,L,jt,g);Ze.forEach(ji=>{const Ri=ji.element,cu=Ai(V,Ri,new Set);ji.preStyleProps.forEach(Bo=>cu.add(Bo));const ns=Ai(L,Ri,new Set);ji.postStyleProps.forEach(Bo=>ns.add(Bo)),Ri!==e&&O.add(Ri)});const Pi=y_(O.values());return lE(e,this._triggerName,i,o,Y,M,E,Ze,Pi,V,L,jt)}}function MU(n,t){const e=ip(t);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(e[i]=n[i]);return e}class CU{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){const i=new Map,o=ip(this.defaultParams);return Object.keys(t).forEach(r=>{const s=t[r];null!==s&&(o[r]=s)}),this.styles.styles.forEach(r=>{"string"!=typeof r&&r.forEach((s,c)=>{s&&(s=rp(s,o,e));const u=this.normalizer.normalizePropertyName(c,e);s=this.normalizer.normalizeStyleValue(c,u,s,e),i.set(u,s)})}),i}}class DU{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(o=>{this.states.set(o.name,new CU(o.style,o.options&&o.options.params||{},i))}),dE(this.states,"true","1"),dE(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new uE(t,o,this.states))}),this.fallbackTransition=function xU(n,t,e){return new uE(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,c)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,o){return this.transitionFactories.find(s=>s.match(t,e,i,o))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}}function dE(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}
|
|
2528
2528
|
/**
|
|
2529
2529
|
* @license
|
|
2530
2530
|
* Copyright Google LLC All Rights Reserved.
|
|
2531
2531
|
*
|
|
2532
2532
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2533
2533
|
* found in the LICENSE file at https://angular.io/license
|
|
2534
|
-
*/const
|
|
2534
|
+
*/const SU=new S_;class IU{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const i=[],r=XM(this._driver,e,i,[]);if(i.length)throw function IH(n){return new B(3503,!1)}();this._animations.set(t,r)}_buildPlayer(t,e,i){const o=t.element,r=Uk(0,this._normalizer,0,t.keyframes,e,i);return this._driver.animate(o,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){const o=[],r=this._animations.get(t);let s;const c=new Map;if(r?(s=nC(this._driver,e,r,ZM,m_,new Map,new Map,i,SU,o),s.forEach(p=>{const g=Ai(c,p.element,new Map);p.postStyleProps.forEach(_=>g.set(_,null))})):(o.push(function TH(){return new B(3300,!1)}()),s=[]),o.length)throw function kH(n){return new B(3504,!1)}();c.forEach((p,g)=>{p.forEach((_,y)=>{p.set(y,this._driver.computeStyle(g,y,Jr))})});const h=qs(s.map(p=>{const g=c.get(p.element);return this._buildPlayer(p,new Map,g)}));return this._playersById.set(t,h),h.onDestroy(()=>this.destroy(t)),this.players.push(h),h}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw function EH(n){return new B(3301,!1)}();return e}listen(t,e,i,o){const r=YM(e,"","","");return HM(this._getPlayer(t),i,r,o),()=>{}}command(t,e,i,o){if("register"==i)return void this.register(t,o[0]);if("create"==i)return void this.create(t,e,o[0]||{});const r=this._getPlayer(t);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(t)}}}
|
|
2535
2535
|
/**
|
|
2536
2536
|
* @license
|
|
2537
2537
|
* Copyright Google LLC All Rights Reserved.
|
|
2538
2538
|
*
|
|
2539
2539
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2540
2540
|
* found in the LICENSE file at https://angular.io/license
|
|
2541
|
-
*/const hE="ng-animate-queued",rC="ng-animate-disabled",LU=[],pE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},NU={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},to="__ng_removed";class sC{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function jU(n){return n??null}(i?t.value:t),i){const r=np(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(o=>{null==i[o]&&(i[o]=e[o])})}}}const rp="void",aC=new sC(rp);class AU{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,no(e,this._hostClassName)}listen(t,e,i,o){if(!this._triggers.has(e))throw function EH(n,t){return new B(3302,!1)}();if(null==i||0==i.length)throw function LH(n){return new B(3303,!1)}();if(!function RU(n){return"start"==n||"done"==n}(i))throw function NH(n,t){return new B(3400,!1)}();const r=Ai(this._elementListeners,t,[]),s={name:e,phase:i,callback:o};r.push(s);const c=Ai(this._engine.statesByElement,t,new Map);return c.has(e)||(no(t,b_),no(t,b_+"-"+e),c.set(e,aC)),()=>{this._engine.afterFlush(()=>{const u=r.indexOf(s);u>=0&&r.splice(u,1),this._triggers.has(e)||c.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function AH(n){return new B(3401,!1)}();return e}trigger(t,e,i,o=!0){const r=this._getTrigger(e),s=new cC(this.id,e,t);let c=this._engine.statesByElement.get(t);c||(no(t,b_),no(t,b_+"-"+e),this._engine.statesByElement.set(t,c=new Map));let u=c.get(e);const h=new sC(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&u&&h.absorbOptions(u.options),c.set(e,h),u||(u=aC),h.value!==rp&&u.value===h.value){if(!function BU(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let o=0;o<e.length;o++){const r=e[o];if(!t.hasOwnProperty(r)||n[r]!==t[r])return!1}return!0}(u.params,h.params)){const x=[],E=r.matchStyles(u.value,u.params,x),O=r.matchStyles(h.value,h.params,x);x.length?this._engine.reportError(x):this._engine.afterFlush(()=>{sc(t,E),pr(t,O)})}return}const _=Ai(this._engine.playersByElement,t,[]);_.forEach(x=>{x.namespaceId==this.id&&x.triggerName==e&&x.queued&&x.destroy()});let y=r.matchTransition(u.value,h.value,t,h.params),M=!1;if(!y){if(!o)return;y=r.fallbackTransition,M=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:y,fromState:u,toState:h,player:s,isFallbackTransition:M}),M||(no(t,hE),s.onStart(()=>{cu(t,hE)})),s.onDone(()=>{let x=this.players.indexOf(s);x>=0&&this.players.splice(x,1);const E=this._engine.playersByElement.get(t);if(E){let O=E.indexOf(s);O>=0&&E.splice(O,1)}}),this.players.push(s),_.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(o=>o.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,v_,!0);i.forEach(o=>{if(o[to])return;const r=this._engine.fetchNamespacesByElement(o);r.size?r.forEach(s=>s.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(t,e,i,o){const r=this._engine.statesByElement.get(t),s=new Map;if(r){const c=[];if(r.forEach((u,h)=>{if(s.set(h,u.value),this._triggers.has(h)){const p=this.trigger(t,h,rp,o);p&&c.push(p)}}),c.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&qs(c).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const o=new Set;e.forEach(r=>{const s=r.name;if(o.has(s))return;o.add(s);const u=this._triggers.get(s).fallbackTransition,h=i.get(s)||aC,p=new sC(rp),g=new cC(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:u,fromState:h,toState:p,player:g,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let o=!1;if(i.totalAnimations){const r=i.players.length?i.playersByQueriedElement.get(t):[];if(r&&r.length)o=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(t),o)i.markElementAsRemoved(this.id,t,!1,e);else{const r=t[to];(!r||r===pE)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){no(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const o=i.player;if(o.destroyed)return;const r=i.element,s=this._elementListeners.get(r);s&&s.forEach(c=>{if(c.name==i.triggerName){const u=UM(r,i.triggerName,i.fromState.value,i.toState.value);u._data=t,VM(i.player,c.phase,u,c.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(i)}),this._queue=[],e.sort((i,o)=>{const r=i.transition.ast.depCount,s=o.transition.ast.depCount;return 0==r||0==s?r-s:this._engine.driver.containsElement(i.element,o.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class OU{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,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=(o,r)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new AU(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,o=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,c=this.driver.getParentElement(e);for(;c;){const u=o.get(c);if(u){const h=i.indexOf(u);i.splice(h+1,0,t),s=!0;break}c=this.driver.getParentElement(c)}s||i.unshift(t)}else i.push(t);return o.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let o=this._namespaceLookup[t];o&&o.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const o=this._namespaceList.indexOf(i);o>=0&&this._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let o of i.values())if(o.namespaceId){const r=this._fetchNamespace(o.namespaceId);r&&e.add(r)}return e}trigger(t,e,i,o){if(E_(e)){const r=this._fetchNamespace(t);if(r)return r.trigger(e,i,o),!0}return!1}insertNode(t,e,i,o){if(!E_(e))return;const r=e[to];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,i)}o&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),no(t,rC)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),cu(t,rC))}removeNode(t,e,i,o){if(E_(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,o):this.markElementAsRemoved(t,e,!1,o),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==t&&s.removeNode(e,o)}}else this._onRemovalComplete(e,o)}markElementAsRemoved(t,e,i,o,r){this.collectedLeaveElements.push(e),e[to]={namespaceId:t,setForRemoval:o,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:r}}listen(t,e,i,o,r){return E_(e)?this._fetchNamespace(t).listen(e,i,o,r):()=>{}}_buildInstruction(t,e,i,o,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,o,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,v_,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,ZM,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return qs(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[to];if(e&&e.setForRemoval){if(t[to]=pE,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(rC)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,o)=>this._balanceNamespaceList(i,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)no(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{e=this._flushAnimations(i,t)}finally{for(let o=0;o<i.length;o++)i[o]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?qs(e).onDone(()=>{i.forEach(o=>o())}):i.forEach(o=>o())}}reportError(t){throw function OH(n){return new B(3402,!1)}()}_flushAnimations(t,e){const i=new I_,o=[],r=new Map,s=[],c=new Map,u=new Map,h=new Map,p=new Set;this.disabledNodes.forEach(J=>{p.add(J);const ne=this.driver.query(J,".ng-animate-queued",!0);for(let ue=0;ue<ne.length;ue++)p.add(ne[ue])});const g=this.bodyNode,_=Array.from(this.statesByElement.keys()),y=mE(_,this.collectedEnterElements),M=new Map;let x=0;y.forEach((J,ne)=>{const ue=QM+x++;M.set(ne,ue),J.forEach(it=>no(it,ue))});const E=[],O=new Set,V=new Set;for(let J=0;J<this.collectedLeaveElements.length;J++){const ne=this.collectedLeaveElements[J],ue=ne[to];ue&&ue.setForRemoval&&(E.push(ne),O.add(ne),ue.hasAnimation?this.driver.query(ne,".ng-star-inserted",!0).forEach(it=>O.add(it)):V.add(ne))}const L=new Map,Y=mE(_,Array.from(O));Y.forEach((J,ne)=>{const ue=__+x++;L.set(ne,ue),J.forEach(it=>no(it,ue))}),t.push(()=>{y.forEach((J,ne)=>{const ue=M.get(ne);J.forEach(it=>cu(it,ue))}),Y.forEach((J,ne)=>{const ue=L.get(ne);J.forEach(it=>cu(it,ue))}),E.forEach(J=>{this.processLeaveNode(J)})});const Le=[],Ze=[];for(let J=this._namespaceList.length-1;J>=0;J--)this._namespaceList[J].drainQueuedTransitions(e).forEach(ue=>{const it=ue.player,bn=ue.element;if(Le.push(it),this.collectedEnterElements.length){const jn=bn[to];if(jn&&jn.setForMove){if(jn.previousTriggersValues&&jn.previousTriggersValues.has(ue.triggerName)){const cc=jn.previousTriggersValues.get(ue.triggerName),io=this.statesByElement.get(ue.element);if(io&&io.has(ue.triggerName)){const A_=io.get(ue.triggerName);A_.value=cc,io.set(ue.triggerName,A_)}}return void it.destroy()}}const fr=!g||!this.driver.containsElement(g,bn),zi=L.get(bn),ea=M.get(bn),jt=this._buildInstruction(ue,i,ea,zi,fr);if(jt.errors&&jt.errors.length)return void Ze.push(jt);if(fr)return it.onStart(()=>sc(bn,jt.fromStyles)),it.onDestroy(()=>pr(bn,jt.toStyles)),void o.push(it);if(ue.isFallbackTransition)return it.onStart(()=>sc(bn,jt.fromStyles)),it.onDestroy(()=>pr(bn,jt.toStyles)),void o.push(it);const xE=[];jt.timelines.forEach(jn=>{jn.stretchStartingKeyframe=!0,this.disabledNodes.has(jn.element)||xE.push(jn)}),jt.timelines=xE,i.append(bn,jt.timelines),s.push({instruction:jt,player:it,element:bn}),jt.queriedElements.forEach(jn=>Ai(c,jn,[]).push(it)),jt.preStyleProps.forEach((jn,cc)=>{if(jn.size){let io=u.get(cc);io||u.set(cc,io=new Set),jn.forEach((A_,dC)=>io.add(dC))}}),jt.postStyleProps.forEach((jn,cc)=>{let io=h.get(cc);io||h.set(cc,io=new Set),jn.forEach((A_,dC)=>io.add(dC))})});if(Ze.length){const J=[];Ze.forEach(ne=>{J.push(function PH(n,t){return new B(3505,!1)}
|
|
2541
|
+
*/const hE="ng-animate-queued",sC="ng-animate-disabled",NU=[],pE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},AU={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},to="__ng_removed";class aC{constructor(t,e=""){this.namespaceId=e;const i=t&&t.hasOwnProperty("value");if(this.value=function RU(n){return n??null}(i?t.value:t),i){const r=ip(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const i=this.options.params;Object.keys(e).forEach(o=>{null==i[o]&&(i[o]=e[o])})}}}const sp="void",cC=new aC(sp);class OU{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,no(e,this._hostClassName)}listen(t,e,i,o){if(!this._triggers.has(e))throw function LH(n,t){return new B(3302,!1)}();if(null==i||0==i.length)throw function NH(n){return new B(3303,!1)}();if(!function zU(n){return"start"==n||"done"==n}(i))throw function AH(n,t){return new B(3400,!1)}();const r=Ai(this._elementListeners,t,[]),s={name:e,phase:i,callback:o};r.push(s);const c=Ai(this._engine.statesByElement,t,new Map);return c.has(e)||(no(t,__),no(t,__+"-"+e),c.set(e,cC)),()=>{this._engine.afterFlush(()=>{const u=r.indexOf(s);u>=0&&r.splice(u,1),this._triggers.has(e)||c.delete(e)})}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw function OH(n){return new B(3401,!1)}();return e}trigger(t,e,i,o=!0){const r=this._getTrigger(e),s=new lC(this.id,e,t);let c=this._engine.statesByElement.get(t);c||(no(t,__),no(t,__+"-"+e),this._engine.statesByElement.set(t,c=new Map));let u=c.get(e);const h=new aC(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&u&&h.absorbOptions(u.options),c.set(e,h),u||(u=cC),h.value!==sp&&u.value===h.value){if(!function VU(n,t){const e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let o=0;o<e.length;o++){const r=e[o];if(!t.hasOwnProperty(r)||n[r]!==t[r])return!1}return!0}(u.params,h.params)){const x=[],E=r.matchStyles(u.value,u.params,x),O=r.matchStyles(h.value,h.params,x);x.length?this._engine.reportError(x):this._engine.afterFlush(()=>{sc(t,E),pr(t,O)})}return}const _=Ai(this._engine.playersByElement,t,[]);_.forEach(x=>{x.namespaceId==this.id&&x.triggerName==e&&x.queued&&x.destroy()});let y=r.matchTransition(u.value,h.value,t,h.params),M=!1;if(!y){if(!o)return;y=r.fallbackTransition,M=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:y,fromState:u,toState:h,player:s,isFallbackTransition:M}),M||(no(t,hE),s.onStart(()=>{au(t,hE)})),s.onDone(()=>{let x=this.players.indexOf(s);x>=0&&this.players.splice(x,1);const E=this._engine.playersByElement.get(t);if(E){let O=E.indexOf(s);O>=0&&E.splice(O,1)}}),this.players.push(s),_.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(o=>o.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const i=this._engine.driver.query(t,b_,!0);i.forEach(o=>{if(o[to])return;const r=this._engine.fetchNamespacesByElement(o);r.size?r.forEach(s=>s.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(t,e,i,o){const r=this._engine.statesByElement.get(t),s=new Map;if(r){const c=[];if(r.forEach((u,h)=>{if(s.set(h,u.value),this._triggers.has(h)){const p=this.trigger(t,h,sp,o);p&&c.push(p)}}),c.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&qs(c).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){const o=new Set;e.forEach(r=>{const s=r.name;if(o.has(s))return;o.add(s);const u=this._triggers.get(s).fallbackTransition,h=i.get(s)||cC,p=new aC(sp),g=new lC(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:u,fromState:h,toState:p,player:g,isFallbackTransition:!0})})}}removeNode(t,e){const i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let o=!1;if(i.totalAnimations){const r=i.players.length?i.playersByQueriedElement.get(t):[];if(r&&r.length)o=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(t),o)i.markElementAsRemoved(this.id,t,!1,e);else{const r=t[to];(!r||r===pE)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){no(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(i=>{const o=i.player;if(o.destroyed)return;const r=i.element,s=this._elementListeners.get(r);s&&s.forEach(c=>{if(c.name==i.triggerName){const u=YM(r,i.triggerName,i.fromState.value,i.toState.value);u._data=t,HM(i.player,c.phase,u,c.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(i)}),this._queue=[],e.sort((i,o)=>{const r=i.transition.ast.depCount,s=o.transition.ast.depCount;return 0==r||0==s?r-s:this._engine.driver.containsElement(i.element,o.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}}class PU{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,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=(o,r)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){const i=new OU(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){const i=this._namespaceList,o=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,c=this.driver.getParentElement(e);for(;c;){const u=o.get(c);if(u){const h=i.indexOf(u);i.splice(h+1,0,t),s=!0;break}c=this.driver.getParentElement(c)}s||i.unshift(t)}else i.push(t);return o.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let o=this._namespaceLookup[t];o&&o.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;const i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];const o=this._namespaceList.indexOf(i);o>=0&&this._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,i=this.statesByElement.get(t);if(i)for(let o of i.values())if(o.namespaceId){const r=this._fetchNamespace(o.namespaceId);r&&e.add(r)}return e}trigger(t,e,i,o){if(k_(e)){const r=this._fetchNamespace(t);if(r)return r.trigger(e,i,o),!0}return!1}insertNode(t,e,i,o){if(!k_(e))return;const r=e[to];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,i)}o&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),no(t,sC)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),au(t,sC))}removeNode(t,e,i,o){if(k_(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,o):this.markElementAsRemoved(t,e,!1,o),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==t&&s.removeNode(e,o)}}else this._onRemovalComplete(e,o)}markElementAsRemoved(t,e,i,o,r){this.collectedLeaveElements.push(e),e[to]={namespaceId:t,setForRemoval:o,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:r}}listen(t,e,i,o,r){return k_(e)?this._fetchNamespace(t).listen(e,i,o,r):()=>{}}_buildInstruction(t,e,i,o,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,o,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,b_,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,$M,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return qs(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[to];if(e&&e.setForRemoval){if(t[to]=pE,e.namespaceId){this.destroyInnerAnimations(t);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(sC)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,o)=>this._balanceNamespaceList(i,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)no(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{e=this._flushAnimations(i,t)}finally{for(let o=0;o<i.length;o++)i[o]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?qs(e).onDone(()=>{i.forEach(o=>o())}):i.forEach(o=>o())}}reportError(t){throw function PH(n){return new B(3402,!1)}()}_flushAnimations(t,e){const i=new S_,o=[],r=new Map,s=[],c=new Map,u=new Map,h=new Map,p=new Set;this.disabledNodes.forEach(J=>{p.add(J);const ne=this.driver.query(J,".ng-animate-queued",!0);for(let ue=0;ue<ne.length;ue++)p.add(ne[ue])});const g=this.bodyNode,_=Array.from(this.statesByElement.keys()),y=mE(_,this.collectedEnterElements),M=new Map;let x=0;y.forEach((J,ne)=>{const ue=ZM+x++;M.set(ne,ue),J.forEach(it=>no(it,ue))});const E=[],O=new Set,V=new Set;for(let J=0;J<this.collectedLeaveElements.length;J++){const ne=this.collectedLeaveElements[J],ue=ne[to];ue&&ue.setForRemoval&&(E.push(ne),O.add(ne),ue.hasAnimation?this.driver.query(ne,".ng-star-inserted",!0).forEach(it=>O.add(it)):V.add(ne))}const L=new Map,Y=mE(_,Array.from(O));Y.forEach((J,ne)=>{const ue=m_+x++;L.set(ne,ue),J.forEach(it=>no(it,ue))}),t.push(()=>{y.forEach((J,ne)=>{const ue=M.get(ne);J.forEach(it=>au(it,ue))}),Y.forEach((J,ne)=>{const ue=L.get(ne);J.forEach(it=>au(it,ue))}),E.forEach(J=>{this.processLeaveNode(J)})});const Le=[],Ze=[];for(let J=this._namespaceList.length-1;J>=0;J--)this._namespaceList[J].drainQueuedTransitions(e).forEach(ue=>{const it=ue.player,bn=ue.element;if(Le.push(it),this.collectedEnterElements.length){const jn=bn[to];if(jn&&jn.setForMove){if(jn.previousTriggersValues&&jn.previousTriggersValues.has(ue.triggerName)){const cc=jn.previousTriggersValues.get(ue.triggerName),io=this.statesByElement.get(ue.element);if(io&&io.has(ue.triggerName)){const N_=io.get(ue.triggerName);N_.value=cc,io.set(ue.triggerName,N_)}}return void it.destroy()}}const fr=!g||!this.driver.containsElement(g,bn),zi=L.get(bn),ea=M.get(bn),Rt=this._buildInstruction(ue,i,ea,zi,fr);if(Rt.errors&&Rt.errors.length)return void Ze.push(Rt);if(fr)return it.onStart(()=>sc(bn,Rt.fromStyles)),it.onDestroy(()=>pr(bn,Rt.toStyles)),void o.push(it);if(ue.isFallbackTransition)return it.onStart(()=>sc(bn,Rt.fromStyles)),it.onDestroy(()=>pr(bn,Rt.toStyles)),void o.push(it);const xE=[];Rt.timelines.forEach(jn=>{jn.stretchStartingKeyframe=!0,this.disabledNodes.has(jn.element)||xE.push(jn)}),Rt.timelines=xE,i.append(bn,Rt.timelines),s.push({instruction:Rt,player:it,element:bn}),Rt.queriedElements.forEach(jn=>Ai(c,jn,[]).push(it)),Rt.preStyleProps.forEach((jn,cc)=>{if(jn.size){let io=u.get(cc);io||u.set(cc,io=new Set),jn.forEach((N_,hC)=>io.add(hC))}}),Rt.postStyleProps.forEach((jn,cc)=>{let io=h.get(cc);io||h.set(cc,io=new Set),jn.forEach((N_,hC)=>io.add(hC))})});if(Ze.length){const J=[];Ze.forEach(ne=>{J.push(function jH(n,t){return new B(3505,!1)}
|
|
2542
2542
|
/**
|
|
2543
2543
|
* @license
|
|
2544
2544
|
* Copyright Google LLC All Rights Reserved.
|
|
2545
2545
|
*
|
|
2546
2546
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2547
2547
|
* found in the LICENSE file at https://angular.io/license
|
|
2548
|
-
*/())}),Le.forEach(ne=>ne.destroy()),this.reportError(J)}const Pt=new Map,Pi=new Map;s.forEach(J=>{const ne=J.element;i.has(ne)&&(Pi.set(ne,ne),this._beforeAnimationBuild(J.player.namespaceId,J.instruction,Pt))}),o.forEach(J=>{const ne=J.element;this._getPreviousPlayers(ne,!1,J.namespaceId,J.triggerName,null).forEach(it=>{Ai(Pt,ne,[]).push(it),it.destroy()})});const ji=E.filter(J=>bE(J,u,h)),Ri=new Map;gE(Ri,this.driver,V,h,Jr).forEach(J=>{bE(J,u,h)&&ji.push(J)});const ns=new Map;y.forEach((J,ne)=>{gE(ns,this.driver,new Set(J),u,"!")}),ji.forEach(J=>{const ne=Ri.get(J),ue=ns.get(J);Ri.set(J,new Map([...Array.from(ne?.entries()??[]),...Array.from(ue?.entries()??[])]))});const Bo=[],uu=[],du={};s.forEach(J=>{const{element:ne,player:ue,instruction:it}=J;if(i.has(ne)){if(p.has(ne))return ue.onDestroy(()=>pr(ne,it.toStyles)),ue.disabled=!0,ue.overrideTotalTime(it.totalTime),void o.push(ue);let bn=du;if(Pi.size>1){let zi=ne;const ea=[];for(;zi=zi.parentNode;){const jt=Pi.get(zi);if(jt){bn=jt;break}ea.push(zi)}ea.forEach(jt=>Pi.set(jt,bn))}const fr=this._buildAnimation(ue.namespaceId,it,Pt,r,ns,Ri);if(ue.setRealPlayer(fr),bn===du)Bo.push(ue);else{const zi=this.playersByElement.get(bn);zi&&zi.length&&(ue.parentPlayer=qs(zi)),o.push(ue)}}else sc(ne,it.fromStyles),ue.onDestroy(()=>pr(ne,it.toStyles)),uu.push(ue),p.has(ne)&&o.push(ue)}),uu.forEach(J=>{const ne=r.get(J.element);if(ne&&ne.length){const ue=qs(ne);J.setRealPlayer(ue)}}),o.forEach(J=>{J.parentPlayer?J.syncPlayerEvents(J.parentPlayer):J.destroy()});for(let J=0;J<E.length;J++){const ne=E[J],ue=ne[to];if(cu(ne,__),ue&&ue.hasAnimation)continue;let it=[];if(c.size){let fr=c.get(ne);fr&&fr.length&&it.push(...fr);let zi=this.driver.query(ne,ZM,!0);for(let ea=0;ea<zi.length;ea++){let jt=c.get(zi[ea]);jt&&jt.length&&it.push(...jt)}}const bn=it.filter(fr=>!fr.destroyed);bn.length?zU(this,ne,bn):this.processLeaveNode(ne)}return E.length=0,Bo.forEach(J=>{this.players.push(J),J.onDone(()=>{J.destroy();const ne=this.players.indexOf(J);this.players.splice(ne,1)}),J.play()}),Bo}elementContainsData(t,e){let i=!1;const o=e[to];return o&&o.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,o,r){let s=[];if(e){const c=this.playersByQueriedElement.get(t);c&&(s=c)}else{const c=this.playersByElement.get(t);if(c){const u=!r||r==rp;c.forEach(h=>{h.queued||!u&&h.triggerName!=o||s.push(h)})}}return(i||o)&&(s=s.filter(c=>!(i&&i!=c.namespaceId||o&&o!=c.triggerName))),s}_beforeAnimationBuild(t,e,i){const r=e.element,s=e.isRemovalTransition?void 0:t,c=e.isRemovalTransition?void 0:e.triggerName;for(const u of e.timelines){const h=u.element,p=h!==r,g=Ai(i,h,[]);this._getPreviousPlayers(h,p,s,c,e.toState).forEach(y=>{const M=y.getRealPlayer();M.beforeDestroy&&M.beforeDestroy(),y.destroy(),g.push(y)})}sc(r,e.fromStyles)}_buildAnimation(t,e,i,o,r,s){const c=e.triggerName,u=e.element,h=[],p=new Set,g=new Set,_=e.timelines.map(M=>{const x=M.element;p.add(x);const E=x[to];if(E&&E.removedBeforeQueried)return new Hh(M.duration,M.delay);const O=x!==u,V=function FU(n){const t=[];return _E(n,t),t}((i.get(x)||LU).map(Pt=>Pt.getRealPlayer())).filter(Pt=>!!Pt.element&&Pt.element===x),L=r.get(x),Y=s.get(x),Le=Uk(0,this._normalizer,0,M.keyframes,L,Y),Ze=this._buildPlayer(M,Le,V);if(M.subTimeline&&o&&g.add(x),O){const Pt=new cC(t,c,x);Pt.setRealPlayer(Ze),h.push(Pt)}return Ze});h.forEach(M=>{Ai(this.playersByQueriedElement,M.element,[]).push(M),M.onDone(()=>function PU(n,t,e){let i=n.get(t);if(i){if(i.length){const o=i.indexOf(e);i.splice(o,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,M.element,M))}),p.forEach(M=>no(M,qk));const y=qs(_);return y.onDestroy(()=>{p.forEach(M=>cu(M,qk)),pr(u,e.toStyles)}),g.forEach(M=>{Ai(o,M,[]).push(y)}),y}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Hh(t.duration,t.delay)}}class cC{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Hh,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(o=>VM(t,i,void 0,o))}),this._queuedCallbacks.clear(),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){Ai(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 E_(n){return n&&1===n.nodeType}function fE(n,t){const e=n.style.display;return n.style.display=t??"none",e}function gE(n,t,e,i,o){const r=[];e.forEach(u=>r.push(fE(u)));const s=[];i.forEach((u,h)=>{const p=new Map;u.forEach(g=>{const _=t.computeStyle(h,g,o);p.set(g,_),(!_||0==_.length)&&(h[to]=NU,s.push(h))}),n.set(h,p)});let c=0;return e.forEach(u=>fE(u,r[c++])),s}function mE(n,t){const e=new Map;if(n.forEach(c=>e.set(c,[])),0==t.length)return e;const o=new Set(t),r=new Map;function s(c){if(!c)return 1;let u=r.get(c);if(u)return u;const h=c.parentNode;return u=e.has(h)?h:o.has(h)?1:s(h),r.set(c,u),u}return t.forEach(c=>{const u=s(c);1!==u&&e.get(u).push(c)}),e}function no(n,t){n.classList?.add(t)}function cu(n,t){n.classList?.remove(t)}function zU(n,t,e){qs(e).onDone(()=>n.processLeaveNode(t))}function _E(n,t){for(let e=0;e<n.length;e++){const i=n[e];i instanceof HT?_E(i.players,t):t.push(i)}}function bE(n,t,e){const i=e.get(n);if(!i)return!1;let o=t.get(n);return o?i.forEach(r=>o.add(r)):t.set(n,i),e.delete(n),!0}class L_{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,r)=>{},this._transitionEngine=new OU(t,e,i),this._timelineEngine=new SU(t,e,i),this._transitionEngine.onRemovalComplete=(o,r)=>this.onRemovalComplete(o,r)}registerTrigger(t,e,i,o,r){const s=t+"-"+o;let c=this._triggerCache[s];if(!c){const u=[],p=qM(this._driver,r,u,[]);if(u.length)throw function DH(n,t){return new B(3404,!1)}();c=function CU(n,t,e){return new wU(n,t,e)}(o,p,this._normalizer),this._triggerCache[s]=c}this._transitionEngine.registerTrigger(e,o,c)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,o){this._transitionEngine.insertNode(t,e,i,o)}onRemove(t,e,i,o){this._transitionEngine.removeNode(t,e,o||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,o){if("@"==i.charAt(0)){const[r,s]=Yk(i);this._timelineEngine.command(r,e,s,o)}else this._transitionEngine.trigger(t,e,i,o)}listen(t,e,i,o,r){if("@"==i.charAt(0)){const[s,c]=Yk(i);return this._timelineEngine.listen(s,e,c,r)}return this._transitionEngine.listen(t,e,i,o,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let HU=(()=>{class n{constructor(e,i,o){this._element=e,this._startStyles=i,this._endStyles=o,this._state=0;let r=n.initialStylesByElement.get(e);r||n.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&pr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(pr(this._element,this._initialStyles),this._endStyles&&(pr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(sc(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(sc(this._element,this._endStyles),this._endStyles=null),pr(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function lC(n){let t=null;return n.forEach((e,i)=>{(function UU(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class vE{constructor(t,e,i,o){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(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]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,o)=>{"offset"!==o&&t.set(o,this._finished?i:oE(this.element,o))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class YU{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return Zk(t,e)}getParentElement(t){return GM(t)}query(t,e,i){return $k(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,o,r,s=[]){const u={duration:i,delay:o,fill:0==o?"both":"forwards"};r&&(u.easing=r);const h=new Map,p=s.filter(y=>y instanceof vE);(function ZH(n,t){return 0===n||0===t})(i,o)&&p.forEach(y=>{y.currentSnapshot.forEach((M,x)=>h.set(x,M))});let g=function YH(n){return n.length?n[0]instanceof Map?n:n.map(t=>Xk(t)):[]}(e).map(y=>Xs(y));g=function $H(n,t,e){if(e.size&&t.length){let i=t[0],o=[];if(e.forEach((r,s)=>{i.has(s)||o.push(s),i.set(s,r)}),o.length)for(let r=1;r<t.length;r++){let s=t[r];o.forEach(c=>s.set(c,oE(n,c)))}}return t}(t,g,h);const _=function VU(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=lC(t[0]),t.length>1&&(i=lC(t[t.length-1]))):t instanceof Map&&(e=lC(t)),e||i?new HU(n,e,i):null}(t,g);return new vE(t,g,u,_)}}
|
|
2548
|
+
*/())}),Le.forEach(ne=>ne.destroy()),this.reportError(J)}const jt=new Map,Pi=new Map;s.forEach(J=>{const ne=J.element;i.has(ne)&&(Pi.set(ne,ne),this._beforeAnimationBuild(J.player.namespaceId,J.instruction,jt))}),o.forEach(J=>{const ne=J.element;this._getPreviousPlayers(ne,!1,J.namespaceId,J.triggerName,null).forEach(it=>{Ai(jt,ne,[]).push(it),it.destroy()})});const ji=E.filter(J=>bE(J,u,h)),Ri=new Map;gE(Ri,this.driver,V,h,Jr).forEach(J=>{bE(J,u,h)&&ji.push(J)});const ns=new Map;y.forEach((J,ne)=>{gE(ns,this.driver,new Set(J),u,"!")}),ji.forEach(J=>{const ne=Ri.get(J),ue=ns.get(J);Ri.set(J,new Map([...Array.from(ne?.entries()??[]),...Array.from(ue?.entries()??[])]))});const Bo=[],lu=[],uu={};s.forEach(J=>{const{element:ne,player:ue,instruction:it}=J;if(i.has(ne)){if(p.has(ne))return ue.onDestroy(()=>pr(ne,it.toStyles)),ue.disabled=!0,ue.overrideTotalTime(it.totalTime),void o.push(ue);let bn=uu;if(Pi.size>1){let zi=ne;const ea=[];for(;zi=zi.parentNode;){const Rt=Pi.get(zi);if(Rt){bn=Rt;break}ea.push(zi)}ea.forEach(Rt=>Pi.set(Rt,bn))}const fr=this._buildAnimation(ue.namespaceId,it,jt,r,ns,Ri);if(ue.setRealPlayer(fr),bn===uu)Bo.push(ue);else{const zi=this.playersByElement.get(bn);zi&&zi.length&&(ue.parentPlayer=qs(zi)),o.push(ue)}}else sc(ne,it.fromStyles),ue.onDestroy(()=>pr(ne,it.toStyles)),lu.push(ue),p.has(ne)&&o.push(ue)}),lu.forEach(J=>{const ne=r.get(J.element);if(ne&&ne.length){const ue=qs(ne);J.setRealPlayer(ue)}}),o.forEach(J=>{J.parentPlayer?J.syncPlayerEvents(J.parentPlayer):J.destroy()});for(let J=0;J<E.length;J++){const ne=E[J],ue=ne[to];if(au(ne,m_),ue&&ue.hasAnimation)continue;let it=[];if(c.size){let fr=c.get(ne);fr&&fr.length&&it.push(...fr);let zi=this.driver.query(ne,$M,!0);for(let ea=0;ea<zi.length;ea++){let Rt=c.get(zi[ea]);Rt&&Rt.length&&it.push(...Rt)}}const bn=it.filter(fr=>!fr.destroyed);bn.length?FU(this,ne,bn):this.processLeaveNode(ne)}return E.length=0,Bo.forEach(J=>{this.players.push(J),J.onDone(()=>{J.destroy();const ne=this.players.indexOf(J);this.players.splice(ne,1)}),J.play()}),Bo}elementContainsData(t,e){let i=!1;const o=e[to];return o&&o.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,o,r){let s=[];if(e){const c=this.playersByQueriedElement.get(t);c&&(s=c)}else{const c=this.playersByElement.get(t);if(c){const u=!r||r==sp;c.forEach(h=>{h.queued||!u&&h.triggerName!=o||s.push(h)})}}return(i||o)&&(s=s.filter(c=>!(i&&i!=c.namespaceId||o&&o!=c.triggerName))),s}_beforeAnimationBuild(t,e,i){const r=e.element,s=e.isRemovalTransition?void 0:t,c=e.isRemovalTransition?void 0:e.triggerName;for(const u of e.timelines){const h=u.element,p=h!==r,g=Ai(i,h,[]);this._getPreviousPlayers(h,p,s,c,e.toState).forEach(y=>{const M=y.getRealPlayer();M.beforeDestroy&&M.beforeDestroy(),y.destroy(),g.push(y)})}sc(r,e.fromStyles)}_buildAnimation(t,e,i,o,r,s){const c=e.triggerName,u=e.element,h=[],p=new Set,g=new Set,_=e.timelines.map(M=>{const x=M.element;p.add(x);const E=x[to];if(E&&E.removedBeforeQueried)return new Uh(M.duration,M.delay);const O=x!==u,V=function BU(n){const t=[];return _E(n,t),t}((i.get(x)||NU).map(jt=>jt.getRealPlayer())).filter(jt=>!!jt.element&&jt.element===x),L=r.get(x),Y=s.get(x),Le=Uk(0,this._normalizer,0,M.keyframes,L,Y),Ze=this._buildPlayer(M,Le,V);if(M.subTimeline&&o&&g.add(x),O){const jt=new lC(t,c,x);jt.setRealPlayer(Ze),h.push(jt)}return Ze});h.forEach(M=>{Ai(this.playersByQueriedElement,M.element,[]).push(M),M.onDone(()=>function jU(n,t,e){let i=n.get(t);if(i){if(i.length){const o=i.indexOf(e);i.splice(o,1)}0==i.length&&n.delete(t)}return i}(this.playersByQueriedElement,M.element,M))}),p.forEach(M=>no(M,qk));const y=qs(_);return y.onDestroy(()=>{p.forEach(M=>au(M,qk)),pr(u,e.toStyles)}),g.forEach(M=>{Ai(o,M,[]).push(y)}),y}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new Uh(t.duration,t.delay)}}class lC{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new Uh,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(o=>HM(t,i,void 0,o))}),this._queuedCallbacks.clear(),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){Ai(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 k_(n){return n&&1===n.nodeType}function fE(n,t){const e=n.style.display;return n.style.display=t??"none",e}function gE(n,t,e,i,o){const r=[];e.forEach(u=>r.push(fE(u)));const s=[];i.forEach((u,h)=>{const p=new Map;u.forEach(g=>{const _=t.computeStyle(h,g,o);p.set(g,_),(!_||0==_.length)&&(h[to]=AU,s.push(h))}),n.set(h,p)});let c=0;return e.forEach(u=>fE(u,r[c++])),s}function mE(n,t){const e=new Map;if(n.forEach(c=>e.set(c,[])),0==t.length)return e;const o=new Set(t),r=new Map;function s(c){if(!c)return 1;let u=r.get(c);if(u)return u;const h=c.parentNode;return u=e.has(h)?h:o.has(h)?1:s(h),r.set(c,u),u}return t.forEach(c=>{const u=s(c);1!==u&&e.get(u).push(c)}),e}function no(n,t){n.classList?.add(t)}function au(n,t){n.classList?.remove(t)}function FU(n,t,e){qs(e).onDone(()=>n.processLeaveNode(t))}function _E(n,t){for(let e=0;e<n.length;e++){const i=n[e];i instanceof HT?_E(i.players,t):t.push(i)}}function bE(n,t,e){const i=e.get(n);if(!i)return!1;let o=t.get(n);return o?i.forEach(r=>o.add(r)):t.set(n,i),e.delete(n),!0}class E_{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,r)=>{},this._transitionEngine=new PU(t,e,i),this._timelineEngine=new IU(t,e,i),this._transitionEngine.onRemovalComplete=(o,r)=>this.onRemovalComplete(o,r)}registerTrigger(t,e,i,o,r){const s=t+"-"+o;let c=this._triggerCache[s];if(!c){const u=[],p=XM(this._driver,r,u,[]);if(u.length)throw function xH(n,t){return new B(3404,!1)}();c=function wU(n,t,e){return new DU(n,t,e)}(o,p,this._normalizer),this._triggerCache[s]=c}this._transitionEngine.registerTrigger(e,o,c)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,o){this._transitionEngine.insertNode(t,e,i,o)}onRemove(t,e,i,o){this._transitionEngine.removeNode(t,e,o||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,o){if("@"==i.charAt(0)){const[r,s]=Yk(i);this._timelineEngine.command(r,e,s,o)}else this._transitionEngine.trigger(t,e,i,o)}listen(t,e,i,o,r){if("@"==i.charAt(0)){const[s,c]=Yk(i);return this._timelineEngine.listen(s,e,c,r)}return this._transitionEngine.listen(t,e,i,o,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let UU=(()=>{class n{constructor(e,i,o){this._element=e,this._startStyles=i,this._endStyles=o,this._state=0;let r=n.initialStylesByElement.get(e);r||n.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&pr(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(pr(this._element,this._initialStyles),this._endStyles&&(pr(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(sc(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(sc(this._element,this._endStyles),this._endStyles=null),pr(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function uC(n){let t=null;return n.forEach((e,i)=>{(function YU(n){return"display"===n||"position"===n})(i)&&(t=t||new Map,t.set(i,e))}),t}class vE{constructor(t,e,i,o){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(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]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,o)=>{"offset"!==o&&t.set(o,this._finished?i:oE(this.element,o))}),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class GU{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return Zk(t,e)}getParentElement(t){return WM(t)}query(t,e,i){return $k(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,o,r,s=[]){const u={duration:i,delay:o,fill:0==o?"both":"forwards"};r&&(u.easing=r);const h=new Map,p=s.filter(y=>y instanceof vE);(function $H(n,t){return 0===n||0===t})(i,o)&&p.forEach(y=>{y.currentSnapshot.forEach((M,x)=>h.set(x,M))});let g=function GH(n){return n.length?n[0]instanceof Map?n:n.map(t=>Xk(t)):[]}(e).map(y=>Xs(y));g=function KH(n,t,e){if(e.size&&t.length){let i=t[0],o=[];if(e.forEach((r,s)=>{i.has(s)||o.push(s),i.set(s,r)}),o.length)for(let r=1;r<t.length;r++){let s=t[r];o.forEach(c=>s.set(c,oE(n,c)))}}return t}(t,g,h);const _=function HU(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=uC(t[0]),t.length>1&&(i=uC(t[t.length-1]))):t instanceof Map&&(e=uC(t)),e||i?new UU(n,e,i):null}(t,g);return new vE(t,g,u,_)}}
|
|
2549
2549
|
/**
|
|
2550
2550
|
* @license
|
|
2551
2551
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2585,28 +2585,28 @@ const _U=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight"
|
|
|
2585
2585
|
*
|
|
2586
2586
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2587
2587
|
* found in the LICENSE file at https://angular.io/license
|
|
2588
|
-
*/let
|
|
2588
|
+
*/let WU=(()=>{class n extends FT{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:dn.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(e)?BT(e):e;return yE(this._renderer,null,i,"register",[o]),new QU(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(P(Ns),P(st))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();class QU extends class D2{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new ZU(this._id,t,e||{},this._renderer)}}class ZU{constructor(t,e,i,o){this.id=t,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return yE(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"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function yE(n,t,e,i,o){return n.setProperty(t,`@@${e}:${i}`,o)}const ME="@.disabled";let $U=(()=>{class n{constructor(e,i,o){this.delegate=e,this.engine=i,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(r,s)=>{const c=s?.parentNode(r);c&&s.removeChild(c,r)}}createRenderer(e,i){const r=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let p=this._rendererCache.get(r);return p||(p=new CE("",r,this.engine,()=>this._rendererCache.delete(r)),this._rendererCache.set(r,p)),p}const s=i.id,c=i.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const u=p=>{Array.isArray(p)?p.forEach(u):this.engine.registerTrigger(s,c,e,p.name,p)};return i.data.animation.forEach(u),new KU(this,c,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,o){e>=0&&e<this._microtaskId?this._zone.run(()=>i(o)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(r=>{const[s,c]=r;s(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,o]))}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 n.\u0275fac=function(e){return new(e||n)(P(Ns),P(E_),P(We))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();class CE{constructor(t,e,i,o){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=o,this.destroyNode=this.delegate.destroyNode?r=>e.destroyNode(r):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}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,i,o=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,o)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}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,i,o){this.delegate.setAttribute(t,e,i,o)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,o){this.delegate.setStyle(t,e,i,o)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){"@"==e.charAt(0)&&e==ME?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class KU extends CE{constructor(t,e,i,o,r){super(e,i,o,r),this.factory=t,this.namespaceId=e}setProperty(t,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==ME?this.disableAnimations(t,i=void 0===i||!!i):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if("@"==e.charAt(0)){const o=function JU(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(t);let r=e.slice(1),s="";return"@"!=r.charAt(0)&&([r,s]=function qU(n){const t=n.indexOf(".");return[n.substring(0,t),n.slice(t+1)]}
|
|
2589
2589
|
/**
|
|
2590
2590
|
* @license
|
|
2591
2591
|
* Copyright Google LLC All Rights Reserved.
|
|
2592
2592
|
*
|
|
2593
2593
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2594
2594
|
* found in the LICENSE file at https://angular.io/license
|
|
2595
|
-
*/(r)),this.engine.listen(this.namespaceId,o,r,s,c=>{this.factory.scheduleListenerCallback(c._data||-1,i,c)})}return this.delegate.listen(t,e,i)}}let
|
|
2595
|
+
*/(r)),this.engine.listen(this.namespaceId,o,r,s,c=>{this.factory.scheduleListenerCallback(c._data||-1,i,c)})}return this.delegate.listen(t,e,i)}}let XU=(()=>{class n extends E_{constructor(e,i,o,r){super(e.body,i,o)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(P(st),P(QM),P(oC),P(Ka))},n.\u0275prov=$({token:n,factory:n.\u0275fac}),n})();const wE=[{provide:FT,useClass:WU},{provide:oC,useFactory:function eY(){return new vU}},{provide:E_,useClass:XU},{provide:Ns,useFactory:function tY(n,t,e){return new $U(n,t,e)},deps:[wm,E_,We]}],dC=[{provide:QM,useFactory:()=>new GU},{provide:Gy,useValue:"BrowserAnimations"},...wE],DE=[{provide:QM,useClass:Kk},{provide:Gy,useValue:"NoopAnimations"},...wE];
|
|
2596
2596
|
/**
|
|
2597
2597
|
* @license
|
|
2598
2598
|
* Copyright Google LLC All Rights Reserved.
|
|
2599
2599
|
*
|
|
2600
2600
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2601
2601
|
* found in the LICENSE file at https://angular.io/license
|
|
2602
|
-
*/let
|
|
2602
|
+
*/let nY=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?DE:dC}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({providers:dC,imports:[mI]}),n})(),iY=(()=>{class n{constructor(e){const i=function nH(n,t){const e=function $V(n,t){return t.get(at).resolveComponentFactory(n).inputs}(n,t.injector),i=t.strategyFactory||new XV(n,t.injector),o=function ZV(n){const t={};return n.forEach(({propName:e,templateName:i})=>{t[function UV(n){return n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(i)]=e}),t}(e);class r extends tH{constructor(c){super(),this.injector=c}get ngElementStrategy(){if(!this._ngElementStrategy){const c=this._ngElementStrategy=i.create(this.injector||t.injector);e.forEach(({propName:u})=>{if(!this.hasOwnProperty(u))return;const h=this[u];delete this[u],c.setInputValue(u,h)})}return this._ngElementStrategy}attributeChangedCallback(c,u,h,p){this.ngElementStrategy.setInputValue(o[c],h)}connectedCallback(){let c=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),c=!0),this.ngElementStrategy.connect(this),c||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(c=>{const u=new CustomEvent(c.name,{detail:c.value});this.dispatchEvent(u)})}}return r.observedAttributes=Object.keys(o),e.forEach(({propName:s})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(c){this.ngElementStrategy.setInputValue(s,c)},configurable:!0,enumerable:!0})}),r
|
|
2603
2603
|
/**
|
|
2604
2604
|
* @license
|
|
2605
2605
|
* Copyright Google LLC All Rights Reserved.
|
|
2606
2606
|
*
|
|
2607
2607
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2608
2608
|
* found in the LICENSE file at https://angular.io/license
|
|
2609
|
-
*/}(
|
|
2609
|
+
*/}(HV,{injector:e});customElements.define("docs-navbar",i)}ngDoBootstrap(){}}return n.\u0275fac=function(e){return new(e||n)(P(Sn))},n.\u0275mod=ot({type:n}),n.\u0275inj=Ke({imports:[mI,C2,iH,xT,ST,nY]}),n})();Gj().bootstrapModule(iY).catch(n=>console.log(n))},489:function(oo,is,du){var ro;
|
|
2610
2610
|
/**
|
|
2611
2611
|
* @license
|
|
2612
2612
|
* Lodash <https://lodash.com/>
|
|
@@ -2614,4 +2614,4 @@ const _U=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight"
|
|
|
2614
2614
|
* Released under MIT license <https://lodash.com/license>
|
|
2615
2615
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
2616
2616
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
2617
|
-
*/oo=hu.nmd(oo),function(){var w,en="Expected a function",sp="__lodash_hash_undefined__",je="__lodash_placeholder__",_r=1/0,co=9007199254740991,Rn=4294967295,R_=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],br="[object Arguments]",ra="[object Array]",sa="[object Boolean]",aa="[object Date]",pc="[object Error]",fc="[object Function]",up="[object GeneratorFunction]",Mi="[object Map]",lo="[object Number]",Ho="[object Object]",rs="[object Promise]",uo="[object RegExp]",zn="[object Set]",la="[object String]",gc="[object Symbol]",ss="[object WeakMap]",Bi="[object ArrayBuffer]",vr="[object DataView]",_u="[object Float32Array]",bu="[object Float64Array]",mc="[object Int8Array]",vu="[object Int16Array]",yu="[object Int32Array]",dp="[object Uint8Array]",Mu="[object Uint8ClampedArray]",Cu="[object Uint16Array]",wu="[object Uint32Array]",z_=/\b__p \+= '';/g,F_=/\b(__p \+=) '' \+/g,lt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_c=/&(?:amp|lt|gt|quot|#39);/g,ct=/[&<>"']/g,Du=RegExp(_c.source),B_=RegExp(ct.source),$e=/<%-([\s\S]+?)%>/g,ce=/<%([\s\S]+?)%>/g,bc=/<%=([\s\S]+?)%>/g,gC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,B=/^\w*$/,vc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,de=/[\\^$.*+?()[\]{}|]/g,qe=RegExp(de.source),xu=/^\s+/,mC=/\s/,V_=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,yc=/\{\n\/\* \[wrapped with (.+)\] \*/,Fn=/,? & /,_C=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,H_=/[()=,{}\[\]\/\s]/,bC=/\\(\\)?/g,ho=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,U_=/\w*$/,vC=/^[-+]0x[0-9a-f]+$/i,yC=/^0b[01]+$/i,MC=/^\[object .+?Constructor\]$/,Y_=/^0o[0-7]+$/i,CC=/^(?:0|[1-9]\d*)$/,G_=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Su=/($^)/,Bn=/['\n\r\u2028\u2029\\]/g,He="\\ud800-\\udfff",$="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",W_="\\u2700-\\u27bf",Ke="a-z\\xdf-\\xf6\\xf8-\\xff",pp="A-Z\\xc0-\\xd6\\xd8-\\xde",Iu="\\ufe0e\\ufe0f",ua="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",fp="["+He+"]",gp="["+ua+"]",se="["+$+"]",Cc="\\d+",Z_="["+W_+"]",Vn="["+Ke+"]",Tu="[^"+He+ua+Cc+W_+Ke+pp+"]",mp="\\ud83c[\\udffb-\\udfff]",ei="[^"+He+"]",_p="(?:\\ud83c[\\udde6-\\uddff]){2}",bp="[\\ud800-\\udbff][\\udc00-\\udfff]",dn="["+pp+"]",$_="(?:"+Vn+"|"+Tu+")",IC="(?:"+dn+"|"+Tu+")",yr="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Je="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",ha="(?:"+se+"|"+mp+")?",wc="["+Iu+"]?",as=wc+ha+"(?:\\u200d(?:"+[ei,_p,bp].join("|")+")"+wc+ha+")*",K_="(?:"+[Z_,_p,bp].join("|")+")"+as,mt="(?:"+[ei+se+"?",se,_p,bp,fp].join("|")+")",J_=RegExp("['\u2019]","g"),yp=RegExp(se,"g"),Dc=RegExp(mp+"(?="+mp+")|"+mt+as,"g"),ot=RegExp([dn+"?"+Vn+"+"+yr+"(?="+[gp,dn,"$"].join("|")+")",IC+"+"+Je+"(?="+[gp,dn+$_,"$"].join("|")+")",dn+"?"+$_+"+"+yr,dn+"+"+Je,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Cc,K_].join("|"),"g"),q_=RegExp("[\\u200d"+He+$+Iu+"]"),Mp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,H=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],tn=-1,X={};X[_u]=X[bu]=X[mc]=X[vu]=X[yu]=X[dp]=X[Mu]=X[Cu]=X[wu]=!0,X[br]=X[ra]=X[Bi]=X[sa]=X[vr]=X[aa]=X[pc]=X[fc]=X[Mi]=X[lo]=X[Ho]=X[uo]=X[zn]=X[la]=X[ss]=!1;var we={};we[br]=we[ra]=we[Bi]=we[vr]=we[sa]=we[aa]=we[_u]=we[bu]=we[mc]=we[vu]=we[yu]=we[Mi]=we[lo]=we[Ho]=we[uo]=we[zn]=we[la]=we[gc]=we[dp]=we[Mu]=we[Cu]=we[wu]=!0,we[pc]=we[fc]=we[ss]=!1;var ti={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},W=parseFloat,ve=parseInt,_t="object"==typeof global&&global&&global.Object===Object&&global,Un="object"==typeof self&&self&&self.Object===Object&&self,Mt=_t||Un||Function("return this")(),Bt=is&&!is.nodeType&&is,Ci=Bt&&oo&&!oo.nodeType&&oo,Ct=Ci&&Ci.exports===Bt,Mr=Ct&&_t.process,hn=function(){try{return Ci&&Ci.require&&Ci.require("util").types||Mr&&Mr.binding&&Mr.binding("util")}catch{}}(),ye=hn&&hn.isArrayBuffer,fa=hn&&hn.isDate,Cr=hn&&hn.isMap,xc=hn&&hn.isRegExp,Yo=hn&&hn.isSet,nn=hn&&hn.isTypedArray;function on(S,N,k){switch(k.length){case 0:return S.call(N);case 1:return S.call(N,k[0]);case 2:return S.call(N,k[0],k[1]);case 3:return S.call(N,k[0],k[1],k[2])}return S.apply(N,k)}function cs(S,N,k,K){for(var _e=-1,Ve=null==S?0:S.length;++_e<Ve;){var Xe=S[_e];N(K,Xe,k(Xe),S)}return K}function xt(S,N){for(var k=-1,K=null==S?0:S.length;++k<K&&!1!==N(S[k],k,S););return S}function ls(S,N){for(var k=null==S?0:S.length;k--&&!1!==N(S[k],k,S););return S}function Eu(S,N){for(var k=-1,K=null==S?0:S.length;++k<K;)if(!N(S[k],k,S))return!1;return!0}function Ue(S,N){for(var k=-1,K=null==S?0:S.length,_e=0,Ve=[];++k<K;){var Xe=S[k];N(Xe,k,S)&&(Ve[_e++]=Xe)}return Ve}function Sc(S,N){return!(null==S||!S.length)&&go(S,N,0)>-1}function Lu(S,N,k){for(var K=-1,_e=null==S?0:S.length;++K<_e;)if(k(N,S[K]))return!0;return!1}function dt(S,N){for(var k=-1,K=null==S?0:S.length,_e=Array(K);++k<K;)_e[k]=N(S[k],k,S);return _e}function Vi(S,N){for(var k=-1,K=N.length,_e=S.length;++k<K;)S[_e+k]=N[k];return S}function wr(S,N,k,K){var _e=-1,Ve=null==S?0:S.length;for(K&&Ve&&(k=S[++_e]);++_e<Ve;)k=N(k,S[_e],_e,S);return k}function Ic(S,N,k,K){var _e=null==S?0:S.length;for(K&&_e&&(k=S[--_e]);_e--;)k=N(k,S[_e],_e,S);return k}function fo(S,N){for(var k=-1,K=null==S?0:S.length;++k<K;)if(N(S[k],k,S))return!0;return!1}var pn=wp("length");function ni(S,N,k){var K;return k(S,function(_e,Ve,Xe){if(N(_e,Ve,Xe))return K=Ve,!1}),K}function us(S,N,k,K){for(var _e=S.length,Ve=k+(K?1:-1);K?Ve--:++Ve<_e;)if(N(S[Ve],Ve,S))return Ve;return-1}function go(S,N,k){return N==N?function ib(S,N,k){for(var K=k-1,_e=S.length;++K<_e;)if(S[K]===N)return K;return-1}(S,N,k):us(S,ii,k)}function Tc(S,N,k,K){for(var _e=k-1,Ve=S.length;++_e<Ve;)if(K(S[_e],N))return _e;return-1}function ii(S){return S!=S}function Cp(S,N){var k=null==S?0:S.length;return k?xp(S,N)/k:NaN}function wp(S){return function(N){return null==N?w:N[S]}}function Nu(S){return function(N){return null==S?w:S[N]}}function Dp(S,N,k,K,_e){return _e(S,function(Ve,Xe,ht){k=K?(K=!1,Ve):N(k,Ve,Xe,ht)}),k}function xp(S,N){for(var k,K=-1,_e=S.length;++K<_e;){var Ve=N(S[K]);Ve!==w&&(k=k===w?Ve:k+Ve)}return k}function Sp(S,N){for(var k=-1,K=Array(S);++k<S;)K[k]=N(k);return K}function eb(S){return S&&S.slice(0,Lp(S)+1).replace(xu,"")}function oi(S){return function(N){return S(N)}}function Ip(S,N){return dt(N,function(k){return S[k]})}function kc(S,N){return S.has(N)}function tb(S,N){for(var k=-1,K=S.length;++k<K&&go(N,S[k],0)>-1;);return k}function nb(S,N){for(var k=S.length;k--&&go(N,S[k],0)>-1;);return k}function EC(S,N){for(var k=S.length,K=0;k--;)S[k]===N&&++K;return K}var LC=Nu({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),NC=Nu({"&":"&","<":"<",">":">",'"':""","'":"'"});function AC(S){return"\\"+ti[S]}function Go(S){return q_.test(S)}function kp(S){var N=-1,k=Array(S.size);return S.forEach(function(K,_e){k[++N]=[_e,K]}),k}function Wo(S,N){return function(k){return S(N(k))}}function mo(S,N){for(var k=-1,K=S.length,_e=0,Ve=[];++k<K;){var Xe=S[k];(Xe===N||Xe===je)&&(S[k]=je,Ve[_e++]=k)}return Ve}function rn(S){var N=-1,k=Array(S.size);return S.forEach(function(K){k[++N]=K}),k}function Dr(S){return Go(S)?function rb(S){for(var N=Dc.lastIndex=0;Dc.test(S);)++N;return N}(S):pn(S)}function ri(S){return Go(S)?function si(S){return S.match(Dc)||[]}(S):function X_(S){return S.split("")}(S)}function Lp(S){for(var N=S.length;N--&&mC.test(S.charAt(N)););return N}var Au=Nu({"&":"&","<":"<",">":">",""":'"',"'":"'"}),ds=function S(N){var a,k=(N=null==N?Mt:ds.defaults(Mt.Object(),N,ds.pick(Mt,H))).Array,K=N.Date,_e=N.Error,Ve=N.Function,Xe=N.Math,ht=N.Object,ga=N.RegExp,hs=N.String,vt=N.TypeError,Ec=k.prototype,ps=ht.prototype,wi=N["__core-js_shared__"],ma=Ve.prototype.toString,et=ps.hasOwnProperty,he=0,Pu=(a=/[^.]+$/.exec(wi&&wi.keys&&wi.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"",ju=ps.toString,ab=ma.call(ht),cb=Mt._,lb=ga("^"+ma.call(et).replace(de,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_a=Ct?N.Buffer:w,Qo=N.Symbol,Nc=N.Uint8Array,z=_a?_a.allocUnsafe:w,Ae=Wo(ht.getPrototypeOf,ht),_o=ht.create,bo=ps.propertyIsEnumerable,St=Ec.splice,Ru=Qo?Qo.isConcatSpreadable:w,vo=Qo?Qo.iterator:w,fn=Qo?Qo.toStringTag:w,fs=function(){try{var a=Nt(ht,"defineProperty");return a({},"",{}),a}catch{}}(),zu=N.clearTimeout!==Mt.clearTimeout&&N.clearTimeout,jC=K&&K.now!==Mt.Date.now&&K.now,ub=N.setTimeout!==Mt.setTimeout&&N.setTimeout,Fu=Xe.ceil,ba=Xe.floor,sn=ht.getOwnPropertySymbols,yo=_a?_a.isBuffer:w,Bu=N.isFinite,gs=Ec.join,Mo=Wo(ht.keys,ht),Vt=Xe.max,an=Xe.min,db=K.now,hb=N.parseInt,Ac=Xe.random,Vu=Ec.reverse,Oc=Nt(N,"DataView"),xr=Nt(N,"Map"),Hu=Nt(N,"Promise"),Sr=Nt(N,"Set"),Ir=Nt(N,"WeakMap"),ms=Nt(ht,"create"),va=Ir&&new Ir,Tr={},Np=tr(Oc),Uu=tr(xr),pb=tr(Hu),fb=tr(Sr),Mn=tr(Ir),Di=Qo?Qo.prototype:w,pt=Di?Di.valueOf:w,Yu=Di?Di.toString:w;function b(a){if(It(a)&&!pe(a)&&!(a instanceof Oe)){if(a instanceof ai)return a;if(et.call(a,"__wrapped__"))return Dd(a)}return new ai(a)}var _s=function(){function a(){}return function(l){if(!bt(l))return{};if(_o)return _o(l);a.prototype=l;var d=new a;return a.prototype=w,d}}();function Pc(){}function ai(a,l){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=w}function Oe(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Rn,this.__views__=[]}function Co(a){var l=-1,d=null==a?0:a.length;for(this.clear();++l<d;){var f=a[l];this.set(f[0],f[1])}}function wo(a){var l=-1,d=null==a?0:a.length;for(this.clear();++l<d;){var f=a[l];this.set(f[0],f[1])}}function $o(a){var l=-1,d=null==a?0:a.length;for(this.clear();++l<d;){var f=a[l];this.set(f[0],f[1])}}function Ko(a){var l=-1,d=null==a?0:a.length;for(this.__data__=new $o;++l<d;)this.add(a[l])}function gn(a){var l=this.__data__=new wo(a);this.size=l.size}function Fp(a,l){var d=pe(a),f=!d&&Ur(a),m=!d&&!f&&Qn(a),v=!d&&!f&&!m&&Ha(a),C=d||f||m||v,D=C?Sp(a.length,hs):[],T=D.length;for(var j in a)(l||et.call(a,j))&&(!C||!("length"==j||m&&("offset"==j||"parent"==j)||v&&("buffer"==j||"byteLength"==j||"byteOffset"==j)||Gi(j,T)))&&D.push(j);return D}function xi(a){var l=a.length;return l?a[Xu(0,l-1)]:w}function yb(a,l){return ul(Gn(a),Jo(l,0,a.length))}function Ca(a){return ul(Gn(a))}function wa(a,l,d){(d!==w&&!Wn(a[l],d)||d===w&&!(l in a))&&Hi(a,l,d)}function kr(a,l,d){var f=a[l];(!et.call(a,l)||!Wn(f,d)||d===w&&!(l in a))&&Hi(a,l,d)}function Er(a,l){for(var d=a.length;d--;)if(Wn(a[d][0],l))return d;return-1}function Hc(a,l,d,f){return Do(a,function(m,v,C){l(f,m,d(m),C)}),f}function Bp(a,l){return a&&Si(l,Zt(l),a)}function Hi(a,l,d){"__proto__"==l&&fs?fs(a,l,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[l]=d}function Uc(a,l){for(var d=-1,f=l.length,m=k(f),v=null==a;++d<f;)m[d]=v?w:$d(a,l[d]);return m}function Jo(a,l,d){return a==a&&(d!==w&&(a=a<=d?a:d),l!==w&&(a=a>=l?a:l)),a}function ci(a,l,d,f,m,v){var C,D=1&l,T=2&l,j=4&l;if(d&&(C=m?d(a,f,m,v):d(a)),C!==w)return C;if(!bt(a))return a;var R=pe(a);if(R){if(C=function Pb(a){var l=a.length,d=new a.constructor(l);return l&&"string"==typeof a[0]&&et.call(a,"index")&&(d.index=a.index,d.input=a.input),d}(a),!D)return Gn(a,C)}else{var F=nt(a),U=F==fc||F==up;if(Qn(a))return $p(a,D);if(F==Ho||F==br||U&&!m){if(C=T||U?{}:md(a),!D)return T?function QC(a,l){return Si(a,cl(a),l)}(a,function Vp(a,l){return a&&Si(l,mn(l),a)}(C,a)):function Tb(a,l){return Si(a,al(a),l)}(a,Bp(C,a))}else{if(!we[F])return m?a:{};C=function jb(a,l,d){var f=a.constructor;switch(l){case Bi:return qc(a);case sa:case aa:return new f(+a);case vr:return function ka(a,l){var d=l?qc(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}(a,d);case _u:case bu:case mc:case vu:case yu:case dp:case Mu:case Cu:case wu:return Jp(a,d);case Mi:return new f;case lo:case la:return new f(a);case uo:return function Xc(a){var l=new a.constructor(a.source,U_.exec(a));return l.lastIndex=a.lastIndex,l}(a);case zn:return new f;case gc:return function Kp(a){return pt?ht(pt.call(a)):{}}(a)}}(a,F,D)}}v||(v=new gn);var q=v.get(a);if(q)return q;v.set(a,C),Xf(a)?a.forEach(function(re){C.add(ci(re,l,d,re,a,v))}):Dl(a)&&a.forEach(function(re,Ne){C.set(Ne,ci(re,l,d,Ne,a,v))});var Se=R?w:(j?T?La:ol:T?mn:Zt)(a);return xt(Se||a,function(re,Ne){Se&&(re=a[Ne=re]),kr(C,Ne,ci(re,l,d,Ne,a,v))}),C}function vs(a,l,d){var f=d.length;if(null==a)return!f;for(a=ht(a);f--;){var m=d[f],C=a[m];if(C===w&&!(m in a)||!(0,l[m])(C))return!1}return!0}function Hp(a,l,d){if("function"!=typeof a)throw new vt(en);return Br(function(){a.apply(w,d)},l)}function ys(a,l,d,f){var m=-1,v=Sc,C=!0,D=a.length,T=[],j=l.length;if(!D)return T;d&&(l=dt(l,oi(d))),f?(v=Lu,C=!1):l.length>=200&&(v=kc,C=!1,l=new Ko(l));e:for(;++m<D;){var R=a[m],F=null==d?R:d(R);if(R=f||0!==R?R:0,C&&F==F){for(var U=j;U--;)if(l[U]===F)continue e;T.push(R)}else v(l,F,f)||T.push(R)}return T}b.templateSettings={escape:$e,evaluate:ce,interpolate:bc,variable:"",imports:{_:b}},(b.prototype=Pc.prototype).constructor=b,(ai.prototype=_s(Pc.prototype)).constructor=ai,(Oe.prototype=_s(Pc.prototype)).constructor=Oe,Co.prototype.clear=function Ap(){this.__data__=ms?ms(null):{},this.size=0},Co.prototype.delete=function gb(a){var l=this.has(a)&&delete this.__data__[a];return this.size-=l?1:0,l},Co.prototype.get=function Zo(a){var l=this.__data__;if(ms){var d=l[a];return d===sp?w:d}return et.call(l,a)?l[a]:w},Co.prototype.has=function ya(a){var l=this.__data__;return ms?l[a]!==w:et.call(l,a)},Co.prototype.set=function mb(a,l){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=ms&&l===w?sp:l,this},wo.prototype.clear=function Ma(){this.__data__=[],this.size=0},wo.prototype.delete=function Gu(a){var l=this.__data__,d=Er(l,a);return!(d<0||(d==l.length-1?l.pop():St.call(l,d,1),--this.size,0))},wo.prototype.get=function _b(a){var l=this.__data__,d=Er(l,a);return d<0?w:l[d][1]},wo.prototype.has=function bb(a){return Er(this.__data__,a)>-1},wo.prototype.set=function RC(a,l){var d=this.__data__,f=Er(d,a);return f<0?(++this.size,d.push([a,l])):d[f][1]=l,this},$o.prototype.clear=function Fc(){this.size=0,this.__data__={hash:new Co,map:new(xr||wo),string:new Co}},$o.prototype.delete=function Op(a){var l=sl(this,a).delete(a);return this.size-=l?1:0,l},$o.prototype.get=function Pp(a){return sl(this,a).get(a)},$o.prototype.has=function Bc(a){return sl(this,a).has(a)},$o.prototype.set=function jp(a,l){var d=sl(this,a),f=d.size;return d.set(a,l),this.size+=d.size==f?0:1,this},Ko.prototype.add=Ko.prototype.push=function bs(a){return this.__data__.set(a,sp),this},Ko.prototype.has=function vb(a){return this.__data__.has(a)},gn.prototype.clear=function Wu(){this.__data__=new wo,this.size=0},gn.prototype.delete=function Vc(a){var l=this.__data__,d=l.delete(a);return this.size=l.size,d},gn.prototype.get=function zC(a){return this.__data__.get(a)},gn.prototype.has=function Rp(a){return this.__data__.has(a)},gn.prototype.set=function zp(a,l){var d=this.__data__;if(d instanceof wo){var f=d.__data__;if(!xr||f.length<199)return f.push([a,l]),this.size=++d.size,this;d=this.__data__=new $o(f)}return d.set(a,l),this.size=d.size,this};var Do=ef(Cn),Lr=ef(qo,!0);function Mb(a,l){var d=!0;return Do(a,function(f,m,v){return d=!!l(f,m,v)}),d}function tt(a,l,d){for(var f=-1,m=a.length;++f<m;){var v=a[f],C=l(v);if(null!=C&&(D===w?C==C&&!ui(C):d(C,D)))var D=C,T=v}return T}function Up(a,l){var d=[];return Do(a,function(f,m,v){l(f,m,v)&&d.push(f)}),d}function Wt(a,l,d,f,m){var v=-1,C=a.length;for(d||(d=Rb),m||(m=[]);++v<C;){var D=a[v];l>0&&d(D)?l>1?Wt(D,l-1,d,f,m):Vi(m,D):f||(m[m.length]=D)}return m}var Nr=Ea(),Ar=Ea(!0);function Cn(a,l){return a&&Nr(a,l,Zt)}function qo(a,l){return a&&Ar(a,l,Zt)}function Da(a,l){return Ue(l,function(d){return Zn(a[d])})}function xo(a,l){for(var d=0,f=(l=Yi(l,a)).length;null!=a&&d<f;)a=a[Wi(l[d++])];return d&&d==f?a:w}function Or(a,l,d){var f=l(a);return pe(a)?f:Vi(f,d(a))}function En(a){return null==a?a===w?"[object Undefined]":"[object Null]":fn&&fn in ht(a)?function gd(a){var l=et.call(a,fn),d=a[fn];try{a[fn]=w;var f=!0}catch{}var m=ju.call(a);return f&&(l?a[fn]=d:delete a[fn]),m}(a):function gf(a){return ju.call(a)}(a)}function Zu(a,l){return a>l}function G(a,l){return null!=a&&et.call(a,l)}function FC(a,l){return null!=a&&l in ht(a)}function Yp(a,l,d){for(var f=d?Lu:Sc,m=a[0].length,v=a.length,C=v,D=k(v),T=1/0,j=[];C--;){var R=a[C];C&&l&&(R=dt(R,oi(l))),T=an(R.length,T),D[C]=!d&&(l||m>=120&&R.length>=120)?new Ko(C&&R):w}R=a[0];var F=-1,U=D[0];e:for(;++F<m&&j.length<T;){var q=R[F],oe=l?l(q):q;if(q=d||0!==q?q:0,!(U?kc(U,oe):f(j,oe,d))){for(C=v;--C;){var Se=D[C];if(!(Se?kc(Se,oe):f(a[C],oe,d)))continue e}U&&U.push(oe),j.push(q)}}return j}function Gc(a,l,d){var f=null==(a=Fr(a,l=Yi(l,a)))?a:a[Wi(li(l))];return null==f?w:on(f,a,d)}function Cb(a){return It(a)&&En(a)==br}function Wc(a,l,d,f,m){return a===l||(null==a||null==l||!It(a)&&!It(l)?a!=a&&l!=l:function UC(a,l,d,f,m,v){var C=pe(a),D=pe(l),T=C?ra:nt(a),j=D?ra:nt(l),R=(T=T==br?Ho:T)==Ho,F=(j=j==br?Ho:j)==Ho,U=T==j;if(U&&Qn(a)){if(!Qn(l))return!1;C=!0,R=!1}if(U&&!R)return v||(v=new gn),C||Ha(a)?Dn(a,l,d,f,m,v):function Ab(a,l,d,f,m,v,C){switch(d){case vr:if(a.byteLength!=l.byteLength||a.byteOffset!=l.byteOffset)return!1;a=a.buffer,l=l.buffer;case Bi:return!(a.byteLength!=l.byteLength||!v(new Nc(a),new Nc(l)));case sa:case aa:case lo:return Wn(+a,+l);case pc:return a.name==l.name&&a.message==l.message;case uo:case la:return a==l+"";case Mi:var D=kp;case zn:if(D||(D=rn),a.size!=l.size&&!(1&f))return!1;var j=C.get(a);if(j)return j==l;f|=2,C.set(a,l);var R=Dn(D(a),D(l),f,m,v,C);return C.delete(a),R;case gc:if(pt)return pt.call(a)==pt.call(l)}return!1}(a,l,T,d,f,m,v);if(!(1&d)){var q=R&&et.call(a,"__wrapped__"),oe=F&&et.call(l,"__wrapped__");if(q||oe){var Se=q?a.value():a,re=oe?l.value():l;return v||(v=new gn),m(Se,re,d,f,v)}}return!!U&&(v||(v=new gn),function Ob(a,l,d,f,m,v){var C=1&d,D=ol(a),T=D.length;if(T!=ol(l).length&&!C)return!1;for(var F=T;F--;){var U=D[F];if(!(C?U in l:et.call(l,U)))return!1}var q=v.get(a),oe=v.get(l);if(q&&oe)return q==l&&oe==a;var Se=!0;v.set(a,l),v.set(l,a);for(var re=C;++F<T;){var Ne=a[U=D[F]],Re=l[U];if(f)var On=C?f(Re,Ne,U,l,a,v):f(Ne,Re,U,a,l,v);if(!(On===w?Ne===Re||m(Ne,Re,d,f,v):On)){Se=!1;break}re||(re="constructor"==U)}if(Se&&!re){var In=a.constructor,$n=l.constructor;In!=$n&&"constructor"in a&&"constructor"in l&&!("function"==typeof In&&In instanceof In&&"function"==typeof $n&&$n instanceof $n)&&(Se=!1)}return v.delete(a),v.delete(l),Se}(a,l,d,f,m,v))}(a,l,d,f,Wc,m))}function Sa(a,l,d,f){var m=d.length,v=m,C=!f;if(null==a)return!v;for(a=ht(a);m--;){var D=d[m];if(C&&D[2]?D[1]!==a[D[0]]:!(D[0]in a))return!1}for(;++m<v;){var T=(D=d[m])[0],j=a[T],R=D[1];if(C&&D[2]){if(j===w&&!(T in a))return!1}else{var F=new gn;if(f)var U=f(j,R,T,a,l,F);if(!(U===w?Wc(R,j,3,f,F):U))return!1}}return!0}function Ms(a){return!(!bt(a)||function zb(a){return!!Pu&&Pu in a}(a))&&(Zn(a)?lb:MC).test(tr(a))}function Ui(a){return"function"==typeof a?a:null==a?An:"object"==typeof a?pe(a)?Wp(a[0],a[1]):Gp(a):Ll(a)}function Qc(a){if(!Oa(a))return Mo(a);var l=[];for(var d in ht(a))et.call(a,d)&&"constructor"!=d&&l.push(d);return l}function Pr(a,l){return a<l}function $u(a,l){var d=-1,f=Nn(a)?k(a.length):[];return Do(a,function(m,v,C){f[++d]=l(m,v,C)}),f}function Gp(a){var l=fd(a);return 1==l.length&&l[0][2]?ff(l[0][0],l[0][1]):function(d){return d===a||Sa(d,a,l)}}function Wp(a,l){return _d(a)&&ks(l)?ff(Wi(a),l):function(d){var f=$d(d,a);return f===w&&f===l?pg(d,a):Wc(l,f,3)}}function Ku(a,l,d,f,m){a!==l&&Nr(l,function(v,C){if(m||(m=new gn),bt(v))!function GC(a,l,d,f,m,v,C){var D=ll(a,d),T=ll(l,d),j=C.get(T);if(j)wa(a,d,j);else{var R=v?v(D,T,d+"",a,l,C):w,F=R===w;if(F){var U=pe(T),q=!U&&Qn(T),oe=!U&&!q&&Ha(T);R=T,U||q||oe?pe(D)?R=D:at(D)?R=Gn(D):q?(F=!1,R=$p(T,!0)):oe?(F=!1,R=Jp(T,!0)):R=[]:Va(T)||Ur(T)?(R=D,Ur(D)?R=rg(D):(!bt(D)||Zn(D))&&(R=md(T))):F=!1}F&&(C.set(T,R),m(R,T,f,v,C),C.delete(T)),wa(a,d,R)}}(a,l,C,d,Ku,f,m);else{var D=f?f(ll(a,C),v,C+"",a,l,m):w;D===w&&(D=v),wa(a,C,D)}},mn)}function Ju(a,l){var d=a.length;if(d)return Gi(l+=l<0?d:0,d)?a[l]:w}function Ln(a,l,d){l=l.length?dt(l,function(v){return pe(v)?function(C){return xo(C,1===v.length?v[0]:v)}:v}):[An];var f=-1;return l=dt(l,oi(ee())),function TC(S,N){var k=S.length;for(S.sort(N);k--;)S[k]=S[k].value;return S}($u(a,function(v,C,D){return{criteria:dt(l,function(j){return j(v)}),index:++f,value:v}}),function(v,C){return function Ds(a,l,d){for(var f=-1,m=a.criteria,v=l.criteria,C=m.length,D=d.length;++f<C;){var T=qp(m[f],v[f]);if(T)return f>=D?T:T*("desc"==d[f]?-1:1)}return a.index-l.index}(v,C,d)})}function jr(a,l,d){for(var f=-1,m=l.length,v={};++f<m;){var C=l[f],D=xo(a,C);d(D,C)&&Xo(v,Yi(C,a),D)}return v}function $c(a,l,d,f){var m=f?Tc:go,v=-1,C=l.length,D=a;for(a===l&&(l=Gn(l)),d&&(D=dt(a,oi(d)));++v<C;)for(var T=0,j=l[v],R=d?d(j):j;(T=m(D,R,T,f))>-1;)D!==a&&St.call(D,T,1),St.call(a,T,1);return a}function Qp(a,l){for(var d=a?l.length:0,f=d-1;d--;){var m=l[d];if(d==f||m!==v){var v=m;Gi(m)?St.call(a,m,1):P(a,m)}}return a}function Xu(a,l){return a+ba(Ac()*(l-a+1))}function ed(a,l){var d="";if(!a||l<1||l>co)return d;do{l%2&&(d+=a),(l=ba(l/2))&&(a+=a)}while(l);return d}function Ie(a,l){return Cd(Bb(a,l,An),a+"")}function xb(a){return xi(js(a))}function td(a,l){var d=js(a);return ul(d,Jo(l,0,d.length))}function Xo(a,l,d,f){if(!bt(a))return a;for(var m=-1,v=(l=Yi(l,a)).length,C=v-1,D=a;null!=D&&++m<v;){var T=Wi(l[m]),j=d;if("__proto__"===T||"constructor"===T||"prototype"===T)return a;if(m!=C){var R=D[T];(j=f?f(R,T,D):w)===w&&(j=bt(R)?R:Gi(l[m+1])?[]:{})}kr(D,T,j),D=D[T]}return a}var Sb=va?function(a,l){return va.set(a,l),a}:An,Ia=fs?function(a,l){return fs(a,"toString",{configurable:!0,enumerable:!1,value:ah(l),writable:!0})}:An;function nd(a){return ul(js(a))}function wn(a,l,d){var f=-1,m=a.length;l<0&&(l=-l>m?0:m+l),(d=d>m?m:d)<0&&(d+=m),m=l>d?0:d-l>>>0,l>>>=0;for(var v=k(m);++f<m;)v[f]=a[f+l];return v}function Ib(a,l){var d;return Do(a,function(f,m,v){return!(d=l(f,m,v))}),!!d}function Kc(a,l,d){var f=0,m=null==a?f:a.length;if("number"==typeof l&&l==l&&m<=2147483647){for(;f<m;){var v=f+m>>>1,C=a[v];null!==C&&!ui(C)&&(d?C<=l:C<l)?f=v+1:m=v}return m}return id(a,l,An,d)}function id(a,l,d,f){var m=0,v=null==a?0:a.length;if(0===v)return 0;for(var C=(l=d(l))!=l,D=null===l,T=ui(l),j=l===w;m<v;){var R=ba((m+v)/2),F=d(a[R]),U=F!==w,q=null===F,oe=F==F,Se=ui(F);if(C)var re=f||oe;else re=j?oe&&(f||U):D?oe&&U&&(f||!q):T?oe&&U&&!q&&(f||!Se):!q&&!Se&&(f?F<=l:F<l);re?m=R+1:v=R}return an(v,4294967294)}function od(a,l){for(var d=-1,f=a.length,m=0,v=[];++d<f;){var C=a[d],D=l?l(C):C;if(!d||!Wn(D,T)){var T=D;v[m++]=0===C?0:C}}return v}function Cs(a){return"number"==typeof a?a:ui(a)?NaN:+a}function Qt(a){if("string"==typeof a)return a;if(pe(a))return dt(a,Qt)+"";if(ui(a))return Yu?Yu.call(a):"";var l=a+"";return"0"==l&&1/a==-_r?"-0":l}function er(a,l,d){var f=-1,m=Sc,v=a.length,C=!0,D=[],T=D;if(d)C=!1,m=Lu;else if(v>=200){var j=l?null:Nb(a);if(j)return rn(j);C=!1,m=kc,T=new Ko}else T=l?[]:D;e:for(;++f<v;){var R=a[f],F=l?l(R):R;if(R=d||0!==R?R:0,C&&F==F){for(var U=T.length;U--;)if(T[U]===F)continue e;l&&T.push(F),D.push(R)}else m(T,F,d)||(T!==D&&T.push(F),D.push(R))}return D}function P(a,l){return null==(a=Fr(a,l=Yi(l,a)))||delete a[Wi(li(l))]}function rd(a,l,d,f){return Xo(a,l,d(xo(a,l)),f)}function So(a,l,d,f){for(var m=a.length,v=f?m:-1;(f?v--:++v<m)&&l(a[v],v,a););return d?wn(a,f?0:v,f?v+1:m):wn(a,f?v+1:0,f?m:v)}function Jc(a,l){var d=a;return d instanceof Oe&&(d=d.value()),wr(l,function(f,m){return m.func.apply(m.thisArg,Vi([f],m.args))},d)}function Rr(a,l,d){var f=a.length;if(f<2)return f?er(a[0]):[];for(var m=-1,v=k(f);++m<f;)for(var C=a[m],D=-1;++D<f;)D!=m&&(v[m]=ys(v[m]||C,a[D],l,d));return er(Wt(v,1),l,d)}function Zp(a,l,d){for(var f=-1,m=a.length,v=l.length,C={};++f<m;)d(C,a[f],f<v?l[f]:w);return C}function sd(a){return at(a)?a:[]}function ad(a){return"function"==typeof a?a:An}function Yi(a,l){return pe(a)?a:_d(a,l)?[a]:vf(rt(a))}var Ta=Ie;function Io(a,l,d){var f=a.length;return d=d===w?f:d,!l&&d>=f?a:wn(a,l,d)}var ws=zu||function(a){return Mt.clearTimeout(a)};function $p(a,l){if(l)return a.slice();var d=a.length,f=z?z(d):new a.constructor(d);return a.copy(f),f}function qc(a){var l=new a.constructor(a.byteLength);return new Nc(l).set(new Nc(a)),l}function Jp(a,l){var d=l?qc(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function qp(a,l){if(a!==l){var d=a!==w,f=null===a,m=a==a,v=ui(a),C=l!==w,D=null===l,T=l==l,j=ui(l);if(!D&&!j&&!v&&a>l||v&&C&&T&&!D&&!j||f&&C&&T||!d&&T||!m)return 1;if(!f&&!v&&!j&&a<l||j&&d&&m&&!f&&!v||D&&d&&m||!C&&m||!T)return-1}return 0}function xs(a,l,d,f){for(var m=-1,v=a.length,C=d.length,D=-1,T=l.length,j=Vt(v-C,0),R=k(T+j),F=!f;++D<T;)R[D]=l[D];for(;++m<C;)(F||m<v)&&(R[d[m]]=a[m]);for(;j--;)R[D++]=a[m++];return R}function Xp(a,l,d,f){for(var m=-1,v=a.length,C=-1,D=d.length,T=-1,j=l.length,R=Vt(v-D,0),F=k(R+j),U=!f;++m<R;)F[m]=a[m];for(var q=m;++T<j;)F[q+T]=l[T];for(;++C<D;)(U||m<v)&&(F[q+d[C]]=a[m++]);return F}function Gn(a,l){var d=-1,f=a.length;for(l||(l=k(f));++d<f;)l[d]=a[d];return l}function Si(a,l,d,f){var m=!d;d||(d={});for(var v=-1,C=l.length;++v<C;){var D=l[v],T=f?f(d[D],a[D],D,d,a):w;T===w&&(T=a[D]),m?Hi(d,D,T):kr(d,D,T)}return d}function el(a,l){return function(d,f){var m=pe(d)?cs:Hc,v=l?l():{};return m(d,a,ee(f,2),v)}}function Ss(a){return Ie(function(l,d){var f=-1,m=d.length,v=m>1?d[m-1]:w,C=m>2?d[2]:w;for(v=a.length>3&&"function"==typeof v?(m--,v):w,C&&xn(d[0],d[1],C)&&(v=m<3?w:v,m=1),l=ht(l);++f<m;){var D=d[f];D&&a(l,D,f,v)}return l})}function ef(a,l){return function(d,f){if(null==d)return d;if(!Nn(d))return a(d,f);for(var m=d.length,v=l?m:-1,C=ht(d);(l?v--:++v<m)&&!1!==f(C[v],v,C););return d}}function Ea(a){return function(l,d,f){for(var m=-1,v=ht(l),C=f(l),D=C.length;D--;){var T=C[a?D:++m];if(!1===d(v[T],T,v))break}return l}}function nf(a){return function(l){var d=Go(l=rt(l))?ri(l):w,f=d?d[0]:l.charAt(0),m=d?Io(d,1).join(""):l.slice(1);return f[a]()+m}}function zr(a){return function(l){return wr(Dg(Il(l).replace(J_,"")),a,"")}}function tl(a){return function(){var l=arguments;switch(l.length){case 0:return new a;case 1:return new a(l[0]);case 2:return new a(l[0],l[1]);case 3:return new a(l[0],l[1],l[2]);case 4:return new a(l[0],l[1],l[2],l[3]);case 5:return new a(l[0],l[1],l[2],l[3],l[4]);case 6:return new a(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new a(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var d=_s(a.prototype),f=a.apply(d,l);return bt(f)?f:d}}function kb(a){return function(l,d,f){var m=ht(l);if(!Nn(l)){var v=ee(d,3);l=Zt(l),d=function(D){return v(m[D],D,m)}}var C=a(l,d,f);return C>-1?m[v?l[C]:C]:w}}function sf(a){return To(function(l){var d=l.length,f=d,m=ai.prototype.thru;for(a&&l.reverse();f--;){var v=l[f];if("function"!=typeof v)throw new vt(en);if(m&&!C&&"wrapper"==rl(v))var C=new ai([],!0)}for(f=C?f:d;++f<d;){var D=rl(v=l[f]),T="wrapper"==D?pd(v):w;C=T&&Aa(T[0])&&424==T[1]&&!T[4].length&&1==T[9]?C[rl(T[0])].apply(C,T[3]):1==v.length&&Aa(v)?C[D]():C.thru(v)}return function(){var j=arguments,R=j[0];if(C&&1==j.length&&pe(R))return C.plant(R).value();for(var F=0,U=d?l[F].apply(this,j):R;++F<d;)U=l[F].call(this,U);return U}})}function nl(a,l,d,f,m,v,C,D,T,j){var R=128&l,F=1&l,U=2&l,q=24&l,oe=512&l,Se=U?w:tl(a);return function re(){for(var Ne=arguments.length,Re=k(Ne),On=Ne;On--;)Re[On]=arguments[On];if(q)var In=Ts(re),$n=EC(Re,In);if(f&&(Re=xs(Re,f,m,q)),v&&(Re=Xp(Re,v,C,q)),Ne-=$n,q&&Ne<j){var kt=mo(Re,In);return Lb(a,l,nl,re.placeholder,d,Re,kt,D,T,j-Ne)}var di=F?d:this,No=U?di[a]:a;return Ne=Re.length,D?Re=Md(Re,D):oe&&Ne>1&&Re.reverse(),R&&T<Ne&&(Re.length=T),this&&this!==Mt&&this instanceof re&&(No=Se||tl(No)),No.apply(di,Re)}}function il(a,l){return function(d,f){return function VC(a,l,d,f){return Cn(a,function(m,v,C){l(f,d(m),v,C)}),f}(d,a,l(f),{})}}function cd(a,l){return function(d,f){var m;if(d===w&&f===w)return l;if(d!==w&&(m=d),f!==w){if(m===w)return f;"string"==typeof d||"string"==typeof f?(d=Qt(d),f=Qt(f)):(d=Cs(d),f=Cs(f)),m=a(d,f)}return m}}function af(a){return To(function(l){return l=dt(l,oi(ee())),Ie(function(d){var f=this;return a(l,function(m){return on(m,f,d)})})})}function Is(a,l){var d=(l=l===w?" ":Qt(l)).length;if(d<2)return d?ed(l,a):l;var f=ed(l,Fu(a/Dr(l)));return Go(l)?Io(ri(f),0,a).join(""):f.slice(0,a)}function Eb(a){return function(l,d,f){return f&&"number"!=typeof f&&xn(l,d,f)&&(d=f=w),l=Zi(l),d===w?(d=l,l=0):d=Zi(d),function Db(a,l,d,f){for(var m=-1,v=Vt(Fu((l-a)/(d||1)),0),C=k(v);v--;)C[f?v:++m]=a,a+=d;return C}(l,d,f=f===w?l<d?1:-1:Zi(f),a)}}function ld(a){return function(l,d){return"string"==typeof l&&"string"==typeof d||(l=Tt(l),d=Tt(d)),a(l,d)}}function Lb(a,l,d,f,m,v,C,D,T,j){var R=8&l;l|=R?32:64,4&(l&=~(R?64:32))||(l&=-4);var Se=[a,l,m,R?v:w,R?C:w,R?w:v,R?w:C,D,T,j],re=d.apply(w,Se);return Aa(a)&&mf(re,Se),re.placeholder=f,_f(re,a,l)}function cf(a){var l=Xe[a];return function(d,f){if(d=Tt(d),(f=null==f?0:an(Ce(f),292))&&Bu(d)){var m=(rt(d)+"e").split("e");return+((m=(rt(l(m[0]+"e"+(+m[1]+f)))+"e").split("e"))[0]+"e"+(+m[1]-f))}return l(d)}}var Nb=Sr&&1/rn(new Sr([,-0]))[1]==_r?function(a){return new Sr(a)}:Eg;function ud(a){return function(l){var d=nt(l);return d==Mi?kp(l):d==zn?function Ep(S){var N=-1,k=Array(S.size);return S.forEach(function(K){k[++N]=[K,K]}),k}(l):function kC(S,N){return dt(N,function(k){return[k,S[k]]})}(l,a(l))}}function Ii(a,l,d,f,m,v,C,D){var T=2&l;if(!T&&"function"!=typeof a)throw new vt(en);var j=f?f.length:0;if(j||(l&=-97,f=m=w),C=C===w?C:Vt(Ce(C),0),D=D===w?D:Ce(D),j-=m?m.length:0,64&l){var R=f,F=m;f=m=w}var U=T?w:pd(a),q=[a,l,d,f,m,R,F,v,C,D];if(U&&function vd(a,l){var d=a[1],f=l[1],m=d|f;if(!(m<131||(128==f&&8==d||128==f&&256==d&&a[7].length<=l[8]||384==f&&l[7].length<=l[8]&&8==d)))return a;1&f&&(a[2]=l[2],m|=1&d?0:4);var D=l[3];if(D){var T=a[3];a[3]=T?xs(T,D,l[4]):D,a[4]=T?mo(a[3],je):l[4]}(D=l[5])&&(a[5]=(T=a[5])?Xp(T,D,l[6]):D,a[6]=T?mo(a[5],je):l[6]),(D=l[7])&&(a[7]=D),128&f&&(a[8]=null==a[8]?l[8]:an(a[8],l[8])),null==a[9]&&(a[9]=l[9]),a[0]=l[0],a[1]=m}(q,U),a=q[0],l=q[1],d=q[2],f=q[3],m=q[4],!(D=q[9]=q[9]===w?T?0:a.length:Vt(q[9]-j,0))&&24&l&&(l&=-25),l&&1!=l)oe=8==l||16==l?function rf(a,l,d){var f=tl(a);return function m(){for(var v=arguments.length,C=k(v),D=v,T=Ts(m);D--;)C[D]=arguments[D];var j=v<3&&C[0]!==T&&C[v-1]!==T?[]:mo(C,T);return(v-=j.length)<d?Lb(a,l,nl,m.placeholder,w,C,j,w,w,d-v):on(this&&this!==Mt&&this instanceof m?f:a,this,C)}}(a,l,D):32!=l&&33!=l||m.length?nl.apply(w,q):function ZC(a,l,d,f){var m=1&l,v=tl(a);return function C(){for(var D=-1,T=arguments.length,j=-1,R=f.length,F=k(R+T),U=this&&this!==Mt&&this instanceof C?v:a;++j<R;)F[j]=f[j];for(;T--;)F[j++]=arguments[++D];return on(U,m?d:this,F)}}(a,l,d,f);else var oe=function tf(a,l,d){var f=1&l,m=tl(a);return function v(){return(this&&this!==Mt&&this instanceof v?m:a).apply(f?d:this,arguments)}}(a,l,d);return _f((U?Sb:mf)(oe,q),a,l)}function dd(a,l,d,f){return a===w||Wn(a,ps[d])&&!et.call(f,d)?l:a}function hd(a,l,d,f,m,v){return bt(a)&&bt(l)&&(v.set(l,a),Ku(a,l,w,hd,v),v.delete(l)),a}function lf(a){return Va(a)?w:a}function Dn(a,l,d,f,m,v){var C=1&d,D=a.length,T=l.length;if(D!=T&&!(C&&T>D))return!1;var j=v.get(a),R=v.get(l);if(j&&R)return j==l&&R==a;var F=-1,U=!0,q=2&d?new Ko:w;for(v.set(a,l),v.set(l,a);++F<D;){var oe=a[F],Se=l[F];if(f)var re=C?f(Se,oe,F,l,a,v):f(oe,Se,F,a,l,v);if(re!==w){if(re)continue;U=!1;break}if(q){if(!fo(l,function(Ne,Re){if(!kc(q,Re)&&(oe===Ne||m(oe,Ne,d,f,v)))return q.push(Re)})){U=!1;break}}else if(oe!==Se&&!m(oe,Se,d,f,v)){U=!1;break}}return v.delete(a),v.delete(l),U}function To(a){return Cd(Bb(a,w,Id),a+"")}function ol(a){return Or(a,Zt,al)}function La(a){return Or(a,mn,cl)}var pd=va?function(a){return va.get(a)}:Eg;function rl(a){for(var l=a.name+"",d=Tr[l],f=et.call(Tr,l)?d.length:0;f--;){var m=d[f],v=m.func;if(null==v||v==a)return m.name}return l}function Ts(a){return(et.call(b,"placeholder")?b:a).placeholder}function ee(){var a=b.iteratee||Ya;return a=a===Ya?Ui:a,arguments.length?a(arguments[0],arguments[1]):a}function sl(a,l){var d=a.__data__;return function bd(a){var l=typeof a;return"string"==l||"number"==l||"symbol"==l||"boolean"==l?"__proto__"!==a:null===a}(l)?d["string"==typeof l?"string":"hash"]:d.map}function fd(a){for(var l=Zt(a),d=l.length;d--;){var f=l[d],m=a[f];l[d]=[f,m,ks(m)]}return l}function Nt(a,l){var d=function Tp(S,N){return null==S?w:S[N]}(a,l);return Ms(d)?d:w}var al=sn?function(a){return null==a?[]:(a=ht(a),Ue(sn(a),function(l){return bo.call(a,l)}))}:Nl,cl=sn?function(a){for(var l=[];a;)Vi(l,al(a)),a=Ae(a);return l}:Nl,nt=En;function df(a,l,d){for(var f=-1,m=(l=Yi(l,a)).length,v=!1;++f<m;){var C=Wi(l[f]);if(!(v=null!=a&&d(a,C)))break;a=a[C]}return v||++f!=m?v:!!(m=null==a?0:a.length)&&As(m)&&Gi(C,m)&&(pe(a)||Ur(a))}function md(a){return"function"!=typeof a.constructor||Oa(a)?{}:_s(Ae(a))}function Rb(a){return pe(a)||Ur(a)||!!(Ru&&a&&a[Ru])}function Gi(a,l){var d=typeof a;return!!(l=l??co)&&("number"==d||"symbol"!=d&&CC.test(a))&&a>-1&&a%1==0&&a<l}function xn(a,l,d){if(!bt(d))return!1;var f=typeof l;return!!("number"==f?Nn(d)&&Gi(l,d.length):"string"==f&&l in d)&&Wn(d[l],a)}function _d(a,l){if(pe(a))return!1;var d=typeof a;return!("number"!=d&&"symbol"!=d&&"boolean"!=d&&null!=a&&!ui(a))||B.test(a)||!gC.test(a)||null!=l&&a in ht(l)}function Aa(a){var l=rl(a),d=b[l];if("function"!=typeof d||!(l in Oe.prototype))return!1;if(a===d)return!0;var f=pd(d);return!!f&&a===f[0]}(Oc&&nt(new Oc(new ArrayBuffer(1)))!=vr||xr&&nt(new xr)!=Mi||Hu&&nt(Hu.resolve())!=rs||Sr&&nt(new Sr)!=zn||Ir&&nt(new Ir)!=ss)&&(nt=function(a){var l=En(a),d=l==Ho?a.constructor:w,f=d?tr(d):"";if(f)switch(f){case Np:return vr;case Uu:return Mi;case pb:return rs;case fb:return zn;case Mn:return ss}return l});var pf=wi?Zn:Ga;function Oa(a){var l=a&&a.constructor;return a===("function"==typeof l&&l.prototype||ps)}function ks(a){return a==a&&!bt(a)}function ff(a,l){return function(d){return null!=d&&d[a]===l&&(l!==w||a in ht(d))}}function Bb(a,l,d){return l=Vt(l===w?a.length-1:l,0),function(){for(var f=arguments,m=-1,v=Vt(f.length-l,0),C=k(v);++m<v;)C[m]=f[l+m];m=-1;for(var D=k(l+1);++m<l;)D[m]=f[m];return D[l]=d(C),on(a,this,D)}}function Fr(a,l){return l.length<2?a:xo(a,wn(l,0,-1))}function Md(a,l){for(var d=a.length,f=an(l.length,d),m=Gn(a);f--;){var v=l[f];a[f]=Gi(v,d)?m[v]:w}return a}function ll(a,l){if(("constructor"!==l||"function"!=typeof a[l])&&"__proto__"!=l)return a[l]}var mf=bf(Sb),Br=ub||function(a,l){return Mt.setTimeout(a,l)},Cd=bf(Ia);function _f(a,l,d){var f=l+"";return Cd(a,function hf(a,l){var d=l.length;if(!d)return a;var f=d-1;return l[f]=(d>1?"& ":"")+l[f],l=l.join(d>2?", ":" "),a.replace(V_,"{\n/* [wrapped with "+l+"] */\n")}(f,function wd(a,l){return xt(R_,function(d){var f="_."+d[0];l&d[1]&&!Sc(a,f)&&a.push(f)}),a.sort()}(function uf(a){var l=a.match(yc);return l?l[1].split(Fn):[]}(f),d)))}function bf(a){var l=0,d=0;return function(){var f=db(),m=16-(f-d);if(d=f,m>0){if(++l>=800)return arguments[0]}else l=0;return a.apply(w,arguments)}}function ul(a,l){var d=-1,f=a.length,m=f-1;for(l=l===w?f:l;++d<l;){var v=Xu(d,m),C=a[v];a[v]=a[d],a[d]=C}return a.length=l,a}var vf=function Fb(a){var l=Qi(a,function(f){return 500===d.size&&d.clear(),f}),d=l.cache;return l}(function(a){var l=[];return 46===a.charCodeAt(0)&&l.push(""),a.replace(vc,function(d,f,m,v){l.push(m?v.replace(bC,"$1"):f||d)}),l});function Wi(a){if("string"==typeof a||ui(a))return a;var l=a+"";return"0"==l&&1/a==-_r?"-0":l}function tr(a){if(null!=a){try{return ma.call(a)}catch{}try{return a+""}catch{}}return""}function Dd(a){if(a instanceof Oe)return a.clone();var l=new ai(a.__wrapped__,a.__chain__);return l.__actions__=Gn(a.__actions__),l.__index__=a.__index__,l.__values__=a.__values__,l}var yf=Ie(function(a,l){return at(a)?ys(a,Wt(l,1,at,!0)):[]}),Mf=Ie(function(a,l){var d=li(l);return at(d)&&(d=w),at(a)?ys(a,Wt(l,1,at,!0),ee(d,2)):[]}),Vr=Ie(function(a,l){var d=li(l);return at(d)&&(d=w),at(a)?ys(a,Wt(l,1,at,!0),w,d):[]});function Df(a,l,d){var f=null==a?0:a.length;if(!f)return-1;var m=null==d?0:Ce(d);return m<0&&(m=Vt(f+m,0)),us(a,ee(l,3),m)}function Sd(a,l,d){var f=null==a?0:a.length;if(!f)return-1;var m=f-1;return d!==w&&(m=Ce(d),m=d<0?Vt(f+m,0):an(m,f-1)),us(a,ee(l,3),m,!0)}function Id(a){return null!=a&&a.length?Wt(a,1):[]}function Pa(a){return a&&a.length?a[0]:w}var kd=Ie(function(a){var l=dt(a,sd);return l.length&&l[0]===a[0]?Yp(l):[]}),Ed=Ie(function(a){var l=li(a),d=dt(a,sd);return l===li(d)?l=w:d.pop(),d.length&&d[0]===a[0]?Yp(d,ee(l,2)):[]}),Ld=Ie(function(a){var l=li(a),d=dt(a,sd);return(l="function"==typeof l?l:w)&&d.pop(),d.length&&d[0]===a[0]?Yp(d,w,l):[]});function li(a){var l=null==a?0:a.length;return l?a[l-1]:w}var Gb=Ie(Nd);function Nd(a,l){return a&&a.length&&l&&l.length?$c(a,l):a}var Od=To(function(a,l){var d=null==a?0:a.length,f=Uc(a,l);return Qp(a,dt(l,function(m){return Gi(m,d)?+m:m}).sort(qp)),f});function Pd(a){return null==a?a:Vu.call(a)}var Jb=Ie(function(a){return er(Wt(a,1,at,!0))}),qb=Ie(function(a){var l=li(a);return at(l)&&(l=w),er(Wt(a,1,at,!0),ee(l,2))}),Xb=Ie(function(a){var l=li(a);return l="function"==typeof l?l:w,er(Wt(a,1,at,!0),w,l)});function Of(a){if(!a||!a.length)return[];var l=0;return a=Ue(a,function(d){if(at(d))return l=Vt(d.length,l),!0}),Sp(l,function(d){return dt(a,wp(d))})}function tv(a,l){if(!a||!a.length)return[];var d=Of(a);return null==l?d:dt(d,function(f){return on(l,w,f)})}var JC=Ie(function(a,l){return at(a)?ys(a,l):[]}),qC=Ie(function(a){return Rr(Ue(a,at))}),XC=Ie(function(a){var l=li(a);return at(l)&&(l=w),Rr(Ue(a,at),ee(l,2))}),Pf=Ie(function(a){var l=li(a);return l="function"==typeof l?l:w,Rr(Ue(a,at),w,l)}),nv=Ie(Of),rv=Ie(function(a){var l=a.length,d=l>1?a[l-1]:w;return d="function"==typeof d?(a.pop(),d):w,tv(a,d)});function gl(a){var l=b(a);return l.__chain__=!0,l}function ir(a,l){return l(a)}var jf=To(function(a){var l=a.length,d=l?a[0]:0,f=this.__wrapped__,m=function(v){return Uc(v,a)};return!(l>1||this.__actions__.length)&&f instanceof Oe&&Gi(d)?((f=f.slice(d,+d+(l?1:0))).__actions__.push({func:ir,args:[m],thisArg:w}),new ai(f,this.__chain__).thru(function(v){return l&&!v.length&&v.push(w),v})):this.thru(m)}),iw=el(function(a,l,d){et.call(a,d)?++a[d]:Hi(a,d,1)}),sv=kb(Df),av=kb(Sd);function za(a,l){return(pe(a)?xt:Do)(a,ee(l,3))}function Vf(a,l){return(pe(a)?ls:Lr)(a,ee(l,3))}var Bd=el(function(a,l,d){et.call(a,d)?a[d].push(l):Hi(a,d,[l])}),Rt=Ie(function(a,l,d){var f=-1,m="function"==typeof l,v=Nn(a)?k(a.length):[];return Do(a,function(C){v[++f]=m?on(l,C,d):Gc(C,l,d)}),v}),dv=el(function(a,l,d){Hi(a,d,l)});function ml(a,l){return(pe(a)?dt:$u)(a,ee(l,3))}var Hf=el(function(a,l,d){a[d?0:1].push(l)},function(){return[[],[]]}),Uf=Ie(function(a,l){if(null==a)return[];var d=l.length;return d>1&&xn(a,l[0],l[1])?l=[]:d>2&&xn(l[0],l[1],l[2])&&(l=[l[0]]),Ln(a,Wt(l,1),[])}),Ba=jC||function(){return Mt.Date.now()};function Vd(a,l,d){return l=d?w:l,Ii(a,128,w,w,w,w,l=a&&null==l?a.length:l)}function Gf(a,l){var d;if("function"!=typeof l)throw new vt(en);return a=Ce(a),function(){return--a>0&&(d=l.apply(this,arguments)),a<=1&&(l=w),d}}var bl=Ie(function(a,l,d){var f=1;if(d.length){var m=mo(d,Ts(bl));f|=32}return Ii(a,f,l,d,m)}),Hd=Ie(function(a,l,d){var f=3;if(d.length){var m=mo(d,Ts(Hd));f|=32}return Ii(l,f,a,d,m)});function Wf(a,l,d){var f,m,v,C,D,T,j=0,R=!1,F=!1,U=!0;if("function"!=typeof a)throw new vt(en);function q(kt){var di=f,No=m;return f=m=w,j=kt,C=a.apply(No,di)}function oe(kt){return j=kt,D=Br(Ne,l),R?q(kt):C}function re(kt){var di=kt-T;return T===w||di>=l||di<0||F&&kt-j>=v}function Ne(){var kt=Ba();if(re(kt))return Re(kt);D=Br(Ne,function Se(kt){var Ei=l-(kt-T);return F?an(Ei,v-(kt-j)):Ei}(kt))}function Re(kt){return D=w,U&&f?q(kt):(f=m=w,C)}function $n(){var kt=Ba(),di=re(kt);if(f=arguments,m=this,T=kt,di){if(D===w)return oe(T);if(F)return ws(D),D=Br(Ne,l),q(T)}return D===w&&(D=Br(Ne,l)),C}return l=Tt(l)||0,bt(d)&&(R=!!d.leading,v=(F="maxWait"in d)?Vt(Tt(d.maxWait)||0,l):v,U="trailing"in d?!!d.trailing:U),$n.cancel=function On(){D!==w&&ws(D),j=0,f=T=m=D=w},$n.flush=function In(){return D===w?C:Re(Ba())},$n}var Ud=Ie(function(a,l){return Hp(a,1,l)}),Qf=Ie(function(a,l,d){return Hp(a,Tt(l)||0,d)});function Qi(a,l){if("function"!=typeof a||null!=l&&"function"!=typeof l)throw new vt(en);var d=function(){var f=arguments,m=l?l.apply(this,f):f[0],v=d.cache;if(v.has(m))return v.get(m);var C=a.apply(this,f);return d.cache=v.set(m,C)||v,C};return d.cache=new(Qi.Cache||$o),d}function yl(a){if("function"!=typeof a)throw new vt(en);return function(){var l=arguments;switch(l.length){case 0:return!a.call(this);case 1:return!a.call(this,l[0]);case 2:return!a.call(this,l[0],l[1]);case 3:return!a.call(this,l[0],l[1],l[2])}return!a.apply(this,l)}}Qi.Cache=$o;var Ml=Ta(function(a,l){var d=(l=1==l.length&&pe(l[0])?dt(l[0],oi(ee())):dt(Wt(l,1),oi(ee()))).length;return Ie(function(f){for(var m=-1,v=an(f.length,d);++m<v;)f[m]=l[m].call(this,f[m]);return on(a,this,f)})}),Gd=Ie(function(a,l){var d=mo(l,Ts(Gd));return Ii(a,32,w,l,d)}),Cl=Ie(function(a,l){var d=mo(l,Ts(Cl));return Ii(a,64,w,l,d)}),wl=To(function(a,l){return Ii(a,256,w,w,w,l)});function Wn(a,l){return a===l||a!=a&&l!=l}var Dv=ld(Zu),Jf=ld(function(a,l){return a>=l}),Ur=Cb(function(){return arguments}())?Cb:function(a){return It(a)&&et.call(a,"callee")&&!bo.call(a,"callee")},pe=k.isArray,aw=ye?oi(ye):function HC(a){return It(a)&&En(a)==Bi};function Nn(a){return null!=a&&As(a.length)&&!Zn(a)}function at(a){return It(a)&&Nn(a)}var Qn=yo||Ga,De=fa?oi(fa):function xa(a){return It(a)&&En(a)==aa};function Qd(a){if(!It(a))return!1;var l=En(a);return l==pc||"[object DOMException]"==l||"string"==typeof a.message&&"string"==typeof a.name&&!Va(a)}function Zn(a){if(!bt(a))return!1;var l=En(a);return l==fc||l==up||"[object AsyncFunction]"==l||"[object Proxy]"==l}function qf(a){return"number"==typeof a&&a==Ce(a)}function As(a){return"number"==typeof a&&a>-1&&a%1==0&&a<=co}function bt(a){var l=typeof a;return null!=a&&("object"==l||"function"==l)}function It(a){return null!=a&&"object"==typeof a}var Dl=Cr?oi(Cr):function Ht(a){return It(a)&&nt(a)==Mi};function Zd(a){return"number"==typeof a||It(a)&&En(a)==lo}function Va(a){if(!It(a)||En(a)!=Ho)return!1;var l=Ae(a);if(null===l)return!0;var d=et.call(l,"constructor")&&l.constructor;return"function"==typeof d&&d instanceof d&&ma.call(d)==ab}var or=xc?oi(xc):function YC(a){return It(a)&&En(a)==uo},Xf=Yo?oi(Yo):function wb(a){return It(a)&&nt(a)==zn};function xl(a){return"string"==typeof a||!pe(a)&&It(a)&&En(a)==la}function ui(a){return"symbol"==typeof a||It(a)&&En(a)==gc}var Ha=nn?oi(nn):function Yn(a){return It(a)&&As(a.length)&&!!X[En(a)]},uw=ld(Pr),ng=ld(function(a,l){return a<=l});function ig(a){if(!a)return[];if(Nn(a))return xl(a)?ri(a):Gn(a);if(vo&&a[vo])return function PC(S){for(var N,k=[];!(N=S.next()).done;)k.push(N.value);return k}(a[vo]());var l=nt(a);return(l==Mi?kp:l==zn?rn:js)(a)}function Zi(a){return a?(a=Tt(a))===_r||a===-_r?17976931348623157e292*(a<0?-1:1):a==a?a:0:0===a?a:0}function Ce(a){var l=Zi(a),d=l%1;return l==l?d?l-d:l:0}function og(a){return a?Jo(Ce(a),0,Rn):0}function Tt(a){if("number"==typeof a)return a;if(ui(a))return NaN;if(bt(a)){var l="function"==typeof a.valueOf?a.valueOf():a;a=bt(l)?l+"":l}if("string"!=typeof a)return 0===a?a:+a;a=eb(a);var d=yC.test(a);return d||Y_.test(a)?ve(a.slice(2),d?2:8):vC.test(a)?NaN:+a}function rg(a){return Si(a,mn(a))}function rt(a){return null==a?"":Qt(a)}var Av=Ss(function(a,l){if(Oa(l)||Nn(l))Si(l,Zt(l),a);else for(var d in l)et.call(l,d)&&kr(a,d,l[d])}),ag=Ss(function(a,l){Si(l,mn(l),a)}),Sl=Ss(function(a,l,d,f){Si(l,mn(l),a,f)}),cg=Ss(function(a,l,d,f){Si(l,Zt(l),a,f)}),Ov=To(Uc),jv=Ie(function(a,l){a=ht(a);var d=-1,f=l.length,m=f>2?l[2]:w;for(m&&xn(l[0],l[1],m)&&(f=1);++d<f;)for(var v=l[d],C=mn(v),D=-1,T=C.length;++D<T;){var j=C[D],R=a[j];(R===w||Wn(R,ps[j])&&!et.call(a,j))&&(a[j]=v[j])}return a}),fe=Ie(function(a){return a.push(w,hd),on(Hv,w,a)});function $d(a,l,d){var f=null==a?w:xo(a,l);return f===w?d:f}function pg(a,l){return null!=a&&df(a,l,FC)}var fg=il(function(a,l,d){null!=l&&"function"!=typeof l.toString&&(l=ju.call(l)),a[l]=d},ah(An)),gg=il(function(a,l,d){null!=l&&"function"!=typeof l.toString&&(l=ju.call(l)),et.call(a,l)?a[l].push(d):a[l]=[d]},ee),Sn=Ie(Gc);function Zt(a){return Nn(a)?Fp(a):Qc(a)}function mn(a){return Nn(a)?Fp(a,!0):function Zc(a){if(!bt(a))return function yd(a){var l=[];if(null!=a)for(var d in ht(a))l.push(d);return l}(a);var l=Oa(a),d=[];for(var f in a)"constructor"==f&&(l||!et.call(a,f))||d.push(f);return d}(a)}var dw=Ss(function(a,l,d){Ku(a,l,d)}),Hv=Ss(function(a,l,d,f){Ku(a,l,d,f)}),hw=To(function(a,l){var d={};if(null==a)return d;var f=!1;l=dt(l,function(v){return v=Yi(v,a),f||(f=v.length>1),v}),Si(a,La(a),d),f&&(d=ci(d,7,lf));for(var m=l.length;m--;)P(d,l[m]);return d}),mg=To(function(a,l){return null==a?{}:function qu(a,l){return jr(a,l,function(d,f){return pg(a,f)})}(a,l)});function Yv(a,l){if(null==a)return{};var d=dt(La(a),function(f){return[f]});return l=ee(l),jr(a,d,function(f,m){return l(f,m[0])})}var Jd=ud(Zt),Ua=ud(mn);function js(a){return null==a?[]:Ip(a,Zt(a))}var vg=zr(function(a,l,d){return l=l.toLowerCase(),a+(d?qd(l):l)});function qd(a){return sh(rt(a).toLowerCase())}function Il(a){return(a=rt(a))&&a.replace(G_,LC).replace(yp,"")}var fw=zr(function(a,l,d){return a+(d?"-":"")+l.toLowerCase()}),I=zr(function(a,l,d){return a+(d?" ":"")+l.toLowerCase()}),ey=nf("toLowerCase"),Lo=zr(function(a,l,d){return a+(d?"_":"")+l.toLowerCase()}),Cg=zr(function(a,l,d){return a+(d?" ":"")+sh(l)}),_w=zr(function(a,l,d){return a+(d?" ":"")+l.toUpperCase()}),sh=nf("toUpperCase");function Dg(a,l,d){return a=rt(a),(l=d?w:l)===w?function OC(S){return Mp.test(S)}(a)?function Ou(S){return S.match(ot)||[]}(a):function kn(S){return S.match(_C)||[]}(a):a.match(l)||[]}var xg=Ie(function(a,l){try{return on(a,w,l)}catch(d){return Qd(d)?d:new _e(d)}}),ny=To(function(a,l){return xt(l,function(d){d=Wi(d),Hi(a,d,bl(a[d],a))}),a});function ah(a){return function(){return a}}var Ig=sf(),Tg=sf(!0);function An(a){return a}function Ya(a){return Ui("function"==typeof a?a:ci(a,1))}var Cw=Ie(function(a,l){return function(d){return Gc(d,a,l)}}),ww=Ie(function(a,l){return function(d){return Gc(a,d,l)}});function kg(a,l,d){var f=Zt(l),m=Da(l,f);null==d&&(!bt(l)||!m.length&&f.length)&&(d=l,l=a,a=this,m=Da(l,Zt(l)));var v=!(bt(d)&&"chain"in d&&!d.chain),C=Zn(a);return xt(m,function(D){var T=l[D];a[D]=T,C&&(a.prototype[D]=function(){var j=this.__chain__;if(v||j){var R=a(this.__wrapped__),F=R.__actions__=Gn(this.__actions__);return F.push({func:T,args:arguments,thisArg:a}),R.__chain__=j,R}return T.apply(a,Vi([this.value()],arguments))})}),a}function Eg(){}var Sw=af(dt),Iw=af(Eu),rr=af(fo);function Ll(a){return _d(a)?wp(Wi(a)):function WC(a){return function(l){return xo(l,a)}}(a)}var Lg=Eb(),ch=Eb(!0);function Nl(){return[]}function Ga(){return!1}var ay=cd(function(a,l){return a+l},0),cy=cf("ceil"),Al=cd(function(a,l){return a/l},1),Rs=cf("floor"),dh=cd(function(a,l){return a*l},1),hh=cf("round"),jg=cd(function(a,l){return a-l},0);return b.after=function Yf(a,l){if("function"!=typeof l)throw new vt(en);return a=Ce(a),function(){if(--a<1)return l.apply(this,arguments)}},b.ary=Vd,b.assign=Av,b.assignIn=ag,b.assignInWith=Sl,b.assignWith=cg,b.at=Ov,b.before=Gf,b.bind=bl,b.bindAll=ny,b.bindKey=Hd,b.castArray=function Kf(){if(!arguments.length)return[];var a=arguments[0];return pe(a)?a:[a]},b.chain=gl,b.chunk=function xd(a,l,d){l=(d?xn(a,l,d):l===w)?1:Vt(Ce(l),0);var f=null==a?0:a.length;if(!f||l<1)return[];for(var m=0,v=0,C=k(Fu(f/l));m<f;)C[v++]=wn(a,m,m+=l);return C},b.compact=function Vb(a){for(var l=-1,d=null==a?0:a.length,f=0,m=[];++l<d;){var v=a[l];v&&(m[f++]=v)}return m},b.concat=function Hb(){var a=arguments.length;if(!a)return[];for(var l=k(a-1),d=arguments[0],f=a;f--;)l[f-1]=arguments[f];return Vi(pe(d)?Gn(d):[d],Wt(l,1))},b.cond=function Sg(a){var l=null==a?0:a.length,d=ee();return a=l?dt(a,function(f){if("function"!=typeof f[1])throw new vt(en);return[d(f[0]),f[1]]}):[],Ie(function(f){for(var m=-1;++m<l;){var v=a[m];if(on(v[0],this,f))return on(v[1],this,f)}})},b.conforms=function bw(a){return function Yc(a){var l=Zt(a);return function(d){return vs(d,a,l)}}(ci(a,1))},b.constant=ah,b.countBy=iw,b.create=function Pv(a,l){var d=_s(a);return null==l?d:Bp(d,l)},b.curry=function vl(a,l,d){var f=Ii(a,8,w,w,w,w,w,l=d?w:l);return f.placeholder=vl.placeholder,f},b.curryRight=function _v(a,l,d){var f=Ii(a,16,w,w,w,w,w,l=d?w:l);return f.placeholder=_v.placeholder,f},b.debounce=Wf,b.defaults=jv,b.defaultsDeep=fe,b.defer=Ud,b.delay=Qf,b.difference=yf,b.differenceBy=Mf,b.differenceWith=Vr,b.drop=function Cf(a,l,d){var f=null==a?0:a.length;return f?wn(a,(l=d||l===w?1:Ce(l))<0?0:l,f):[]},b.dropRight=function wf(a,l,d){var f=null==a?0:a.length;return f?wn(a,0,(l=f-(l=d||l===w?1:Ce(l)))<0?0:l):[]},b.dropRightWhile=function Ub(a,l){return a&&a.length?So(a,ee(l,3),!0,!0):[]},b.dropWhile=function $C(a,l){return a&&a.length?So(a,ee(l,3),!0):[]},b.fill=function dl(a,l,d,f){var m=null==a?0:a.length;return m?(d&&"number"!=typeof d&&xn(a,l,d)&&(d=0,f=m),function Qu(a,l,d,f){var m=a.length;for((d=Ce(d))<0&&(d=-d>m?0:m+d),(f=f===w||f>m?m:Ce(f))<0&&(f+=m),f=d>f?0:og(f);d<f;)a[d++]=l;return a}(a,l,d,f)):[]},b.filter=function Ff(a,l){return(pe(a)?Ue:Up)(a,ee(l,3))},b.flatMap=function cv(a,l){return Wt(ml(a,l),1)},b.flatMapDeep=function lv(a,l){return Wt(ml(a,l),_r)},b.flatMapDepth=function Bf(a,l,d){return d=d===w?1:Ce(d),Wt(ml(a,l),d)},b.flatten=Id,b.flattenDeep=function xf(a){return null!=a&&a.length?Wt(a,_r):[]},b.flattenDepth=function Td(a,l){return null!=a&&a.length?Wt(a,l=l===w?1:Ce(l)):[]},b.flip=function Zf(a){return Ii(a,512)},b.flow=Ig,b.flowRight=Tg,b.fromPairs=function Sf(a){for(var l=-1,d=null==a?0:a.length,f={};++l<d;){var m=a[l];f[m[0]]=m[1]}return f},b.functions=function Fv(a){return null==a?[]:Da(a,Zt(a))},b.functionsIn=function hg(a){return null==a?[]:Da(a,mn(a))},b.groupBy=Bd,b.initial=function If(a){return null!=a&&a.length?wn(a,0,-1):[]},b.intersection=kd,b.intersectionBy=Ed,b.intersectionWith=Ld,b.invert=fg,b.invertBy=gg,b.invokeMap=Rt,b.iteratee=Ya,b.keyBy=dv,b.keys=Zt,b.keysIn=mn,b.map=ml,b.mapKeys=function Kd(a,l){var d={};return l=ee(l,3),Cn(a,function(f,m,v){Hi(d,l(f,m,v),f)}),d},b.mapValues=function Vv(a,l){var d={};return l=ee(l,3),Cn(a,function(f,m,v){Hi(d,m,l(f,m,v))}),d},b.matches=function yw(a){return Gp(ci(a,1))},b.matchesProperty=function Mw(a,l){return Wp(a,ci(l,1))},b.memoize=Qi,b.merge=dw,b.mergeWith=Hv,b.method=Cw,b.methodOf=ww,b.mixin=kg,b.negate=yl,b.nthArg=function xw(a){return a=Ce(a),Ie(function(l){return Ju(l,a)})},b.omit=hw,b.omitBy=function Uv(a,l){return Yv(a,yl(ee(l)))},b.once=function Yd(a){return Gf(2,a)},b.orderBy=function _l(a,l,d,f){return null==a?[]:(pe(l)||(l=null==l?[]:[l]),pe(d=f?w:d)||(d=null==d?[]:[d]),Ln(a,l,d))},b.over=Sw,b.overArgs=Ml,b.overEvery=Iw,b.overSome=rr,b.partial=Gd,b.partialRight=Cl,b.partition=Hf,b.pick=mg,b.pickBy=Yv,b.property=Ll,b.propertyOf=function iy(a){return function(l){return null==a?w:xo(a,l)}},b.pull=Gb,b.pullAll=Nd,b.pullAllBy=function Ad(a,l,d){return a&&a.length&&l&&l.length?$c(a,l,ee(d,2)):a},b.pullAllWith=function pl(a,l,d){return a&&a.length&&l&&l.length?$c(a,l,w,d):a},b.pullAt=Od,b.range=Lg,b.rangeRight=ch,b.rearg=wl,b.reject=function fv(a,l){return(pe(a)?Ue:Up)(a,yl(ee(l,3)))},b.remove=function Hr(a,l){var d=[];if(!a||!a.length)return d;var f=-1,m=[],v=a.length;for(l=ee(l,3);++f<v;){var C=a[f];l(C,f,a)&&(d.push(C),m.push(f))}return Qp(a,m),d},b.rest=function Es(a,l){if("function"!=typeof a)throw new vt(en);return Ie(a,l=l===w?l:Ce(l))},b.reverse=Pd,b.sampleSize=function mv(a,l,d){return l=(d?xn(a,l,d):l===w)?1:Ce(l),(pe(a)?yb:td)(a,l)},b.set=function Ps(a,l,d){return null==a?a:Xo(a,l,d)},b.setWith=function Wv(a,l,d,f){return f="function"==typeof f?f:w,null==a?a:Xo(a,l,d,f)},b.shuffle=function rw(a){return(pe(a)?Ca:nd)(a)},b.slice=function Wb(a,l,d){var f=null==a?0:a.length;return f?(d&&"number"!=typeof d&&xn(a,l,d)?(l=0,d=f):(l=null==l?0:Ce(l),d=d===w?f:Ce(d)),wn(a,l,d)):[]},b.sortBy=Uf,b.sortedUniq=function Rd(a){return a&&a.length?od(a):[]},b.sortedUniqBy=function Ef(a,l){return a&&a.length?od(a,ee(l,2)):[]},b.split=function th(a,l,d){return d&&"number"!=typeof d&&xn(a,l,d)&&(l=d=w),(d=d===w?Rn:d>>>0)?(a=rt(a))&&("string"==typeof l||null!=l&&!or(l))&&!(l=Qt(l))&&Go(a)?Io(ri(a),0,d):a.split(l,d):[]},b.spread=function $f(a,l){if("function"!=typeof a)throw new vt(en);return l=null==l?0:Vt(Ce(l),0),Ie(function(d){var f=d[l],m=Io(d,0,l);return f&&Vi(m,f),on(a,this,m)})},b.tail=function Lf(a){var l=null==a?0:a.length;return l?wn(a,1,l):[]},b.take=function Nf(a,l,d){return a&&a.length?wn(a,0,(l=d||l===w?1:Ce(l))<0?0:l):[]},b.takeRight=function Af(a,l,d){var f=null==a?0:a.length;return f?wn(a,(l=f-(l=d||l===w?1:Ce(l)))<0?0:l,f):[]},b.takeRightWhile=function $b(a,l){return a&&a.length?So(a,ee(l,3),!1,!0):[]},b.takeWhile=function Kb(a,l){return a&&a.length?So(a,ee(l,3)):[]},b.tap=function ko(a,l){return l(a),a},b.throttle=function Wd(a,l,d){var f=!0,m=!0;if("function"!=typeof a)throw new vt(en);return bt(d)&&(f="leading"in d?!!d.leading:f,m="trailing"in d?!!d.trailing:m),Wf(a,l,{leading:f,maxWait:l,trailing:m})},b.thru=ir,b.toArray=ig,b.toPairs=Jd,b.toPairsIn=Ua,b.toPath=function sy(a){return pe(a)?dt(a,Wi):ui(a)?[a]:Gn(vf(rt(a)))},b.toPlainObject=rg,b.transform=function Qv(a,l,d){var f=pe(a),m=f||Qn(a)||Ha(a);if(l=ee(l,4),null==d){var v=a&&a.constructor;d=m?f?new v:[]:bt(a)&&Zn(v)?_s(Ae(a)):{}}return(m?xt:Cn)(a,function(C,D,T){return l(d,C,D,T)}),d},b.unary=function bv(a){return Vd(a,1)},b.union=Jb,b.unionBy=qb,b.unionWith=Xb,b.uniq=function nr(a){return a&&a.length?er(a):[]},b.uniqBy=function Ra(a,l){return a&&a.length?er(a,ee(l,2)):[]},b.uniqWith=function ev(a,l){return l="function"==typeof l?l:w,a&&a.length?er(a,w,l):[]},b.unset=function _g(a,l){return null==a||P(a,l)},b.unzip=Of,b.unzipWith=tv,b.update=function Zv(a,l,d){return null==a?a:rd(a,l,ad(d))},b.updateWith=function $v(a,l,d,f){return f="function"==typeof f?f:w,null==a?a:rd(a,l,ad(d),f)},b.values=js,b.valuesIn=function Kv(a){return null==a?[]:Ip(a,mn(a))},b.without=JC,b.words=Dg,b.wrap=function vv(a,l){return Gd(ad(l),a)},b.xor=qC,b.xorBy=XC,b.xorWith=Pf,b.zip=nv,b.zipObject=function iv(a,l){return Zp(a||[],l||[],kr)},b.zipObjectDeep=function ov(a,l){return Zp(a||[],l||[],Xo)},b.zipWith=rv,b.entries=Jd,b.entriesIn=Ua,b.extend=ag,b.extendWith=Sl,kg(b,b),b.add=ay,b.attempt=xg,b.camelCase=vg,b.capitalize=qd,b.ceil=cy,b.clamp=function Jv(a,l,d){return d===w&&(d=l,l=w),d!==w&&(d=(d=Tt(d))==d?d:0),l!==w&&(l=(l=Tt(l))==l?l:0),Jo(Tt(a),l,d)},b.clone=function Ls(a){return ci(a,4)},b.cloneDeep=function Mv(a){return ci(a,5)},b.cloneDeepWith=function Cv(a,l){return ci(a,5,l="function"==typeof l?l:w)},b.cloneWith=function yv(a,l){return ci(a,4,l="function"==typeof l?l:w)},b.conformsTo=function wv(a,l){return null==l||vs(a,l,Zt(l))},b.deburr=Il,b.defaultTo=function vw(a,l){return null==a||a!=a?l:a},b.divide=Al,b.endsWith=function pw(a,l,d){a=rt(a),l=Qt(l);var f=a.length,m=d=d===w?f:Jo(Ce(d),0,f);return(d-=l.length)>=0&&a.slice(d,m)==l},b.eq=Wn,b.escape=function Xd(a){return(a=rt(a))&&B_.test(a)?a.replace(ct,NC):a},b.escapeRegExp=function Xv(a){return(a=rt(a))&&qe.test(a)?a.replace(de,"\\$&"):a},b.every=function ow(a,l,d){var f=pe(a)?Eu:Mb;return d&&xn(a,l,d)&&(l=w),f(a,ee(l,3))},b.find=sv,b.findIndex=Df,b.findKey=function xe(a,l){return ni(a,ee(l,3),Cn)},b.findLast=av,b.findLastIndex=Sd,b.findLastKey=function lg(a,l){return ni(a,ee(l,3),qo)},b.floor=Rs,b.forEach=za,b.forEachRight=Vf,b.forIn=function ug(a,l){return null==a?a:Nr(a,ee(l,3),mn)},b.forInRight=function Rv(a,l){return null==a?a:Ar(a,ee(l,3),mn)},b.forOwn=function zv(a,l){return a&&Cn(a,ee(l,3))},b.forOwnRight=function dg(a,l){return a&&qo(a,ee(l,3))},b.get=$d,b.gt=Dv,b.gte=Jf,b.has=function Bv(a,l){return null!=a&&df(a,l,G)},b.hasIn=pg,b.head=Pa,b.identity=An,b.includes=function uv(a,l,d,f){a=Nn(a)?a:js(a),d=d&&!f?Ce(d):0;var m=a.length;return d<0&&(d=Vt(m+d,0)),xl(a)?d<=m&&a.indexOf(l,d)>-1:!!m&&go(a,l,d)>-1},b.indexOf=function hl(a,l,d){var f=null==a?0:a.length;if(!f)return-1;var m=null==d?0:Ce(d);return m<0&&(m=Vt(f+m,0)),go(a,l,m)},b.inRange=function bg(a,l,d){return l=Zi(l),d===w?(d=l,l=0):d=Zi(d),function BC(a,l,d){return a>=an(l,d)&&a<Vt(l,d)}(a=Tt(a),l,d)},b.invoke=Sn,b.isArguments=Ur,b.isArray=pe,b.isArrayBuffer=aw,b.isArrayLike=Nn,b.isArrayLikeObject=at,b.isBoolean=function xv(a){return!0===a||!1===a||It(a)&&En(a)==sa},b.isBuffer=Qn,b.isDate=De,b.isElement=function Sv(a){return It(a)&&1===a.nodeType&&!Va(a)},b.isEmpty=function cw(a){if(null==a)return!0;if(Nn(a)&&(pe(a)||"string"==typeof a||"function"==typeof a.splice||Qn(a)||Ha(a)||Ur(a)))return!a.length;var l=nt(a);if(l==Mi||l==zn)return!a.size;if(Oa(a))return!Qc(a).length;for(var d in a)if(et.call(a,d))return!1;return!0},b.isEqual=function Ns(a,l){return Wc(a,l)},b.isEqualWith=function Ti(a,l,d){var f=(d="function"==typeof d?d:w)?d(a,l):w;return f===w?Wc(a,l,w,d):!!f},b.isError=Qd,b.isFinite=function Iv(a){return"number"==typeof a&&Bu(a)},b.isFunction=Zn,b.isInteger=qf,b.isLength=As,b.isMap=Dl,b.isMatch=function Os(a,l){return a===l||Sa(a,l,fd(l))},b.isMatchWith=function Tv(a,l,d){return d="function"==typeof d?d:w,Sa(a,l,fd(l),d)},b.isNaN=function kv(a){return Zd(a)&&a!=+a},b.isNative=function Ev(a){if(pf(a))throw new _e("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ms(a)},b.isNil=function Nv(a){return null==a},b.isNull=function Lv(a){return null===a},b.isNumber=Zd,b.isObject=bt,b.isObjectLike=It,b.isPlainObject=Va,b.isRegExp=or,b.isSafeInteger=function Eo(a){return qf(a)&&a>=-co&&a<=co},b.isSet=Xf,b.isString=xl,b.isSymbol=ui,b.isTypedArray=Ha,b.isUndefined=function eg(a){return a===w},b.isWeakMap=function lw(a){return It(a)&&nt(a)==ss},b.isWeakSet=function tg(a){return It(a)&&"[object WeakSet]"==En(a)},b.join=function ja(a,l){return null==a?"":gs.call(a,l)},b.kebabCase=fw,b.last=li,b.lastIndexOf=function Tf(a,l,d){var f=null==a?0:a.length;if(!f)return-1;var m=f;return d!==w&&(m=(m=Ce(d))<0?Vt(f+m,0):an(m,f-1)),l==l?function ob(S,N,k){for(var K=k+1;K--;)if(S[K]===N)return K;return K}(a,l,m):us(a,ii,m,!0)},b.lowerCase=I,b.lowerFirst=ey,b.lt=uw,b.lte=ng,b.max=function lh(a){return a&&a.length?tt(a,An,Zu):w},b.maxBy=function zs(a,l){return a&&a.length?tt(a,ee(l,2),Zu):w},b.mean=function uh(a){return Cp(a,An)},b.meanBy=function Ol(a,l){return Cp(a,ee(l,2))},b.min=function Og(a){return a&&a.length?tt(a,An,Pr):w},b.minBy=function Pg(a,l){return a&&a.length?tt(a,ee(l,2),Pr):w},b.stubArray=Nl,b.stubFalse=Ga,b.stubObject=function oy(){return{}},b.stubString=function sr(){return""},b.stubTrue=function Ng(){return!0},b.multiply=dh,b.nth=function Yb(a,l){return a&&a.length?Ju(a,Ce(l)):w},b.noConflict=function Dw(){return Mt._===this&&(Mt._=cb),this},b.noop=Eg,b.now=Ba,b.pad=function yg(a,l,d){a=rt(a);var f=(l=Ce(l))?Dr(a):0;if(!l||f>=l)return a;var m=(l-f)/2;return Is(ba(m),d)+a+Is(Fu(m),d)},b.padEnd=function Tl(a,l,d){a=rt(a);var f=(l=Ce(l))?Dr(a):0;return l&&f<l?a+Is(l-f,d):a},b.padStart=function ki(a,l,d){a=rt(a);var f=(l=Ce(l))?Dr(a):0;return l&&f<l?Is(l-f,d)+a:a},b.parseInt=function Mg(a,l,d){return d||null==l?l=0:l&&(l=+l),hb(rt(a).replace(xu,""),l||0)},b.random=function qv(a,l,d){if(d&&"boolean"!=typeof d&&xn(a,l,d)&&(l=d=w),d===w&&("boolean"==typeof l?(d=l,l=w):"boolean"==typeof a&&(d=a,a=w)),a===w&&l===w?(a=0,l=1):(a=Zi(a),l===w?(l=a,a=0):l=Zi(l)),a>l){var f=a;a=l,l=f}if(d||a%1||l%1){var m=Ac();return an(a+m*(l-a+W("1e-"+((m+"").length-1))),l)}return Xu(a,l)},b.reduce=function hv(a,l,d){var f=pe(a)?wr:Dp,m=arguments.length<3;return f(a,ee(l,4),d,m,Do)},b.reduceRight=function pv(a,l,d){var f=pe(a)?Ic:Dp,m=arguments.length<3;return f(a,ee(l,4),d,m,Lr)},b.repeat=function ty(a,l,d){return l=(d?xn(a,l,d):l===w)?1:Ce(l),ed(rt(a),l)},b.replace=function eh(){var a=arguments,l=rt(a[0]);return a.length<3?l:l.replace(a[1],a[2])},b.result=function Gv(a,l,d){var f=-1,m=(l=Yi(l,a)).length;for(m||(m=1,a=w);++f<m;){var v=null==a?w:a[Wi(l[f])];v===w&&(f=m,v=d),a=Zn(v)?v.call(a):v}return a},b.round=hh,b.runInContext=S,b.sample=function gv(a){return(pe(a)?xi:xb)(a)},b.size=function sw(a){if(null==a)return 0;if(Nn(a))return xl(a)?Dr(a):a.length;var l=nt(a);return l==Mi||l==zn?a.size:Qc(a).length},b.snakeCase=Lo,b.some=function Fa(a,l,d){var f=pe(a)?fo:Ib;return d&&xn(a,l,d)&&(l=w),f(a,ee(l,3))},b.sortedIndex=function KC(a,l){return Kc(a,l)},b.sortedIndexBy=function Qb(a,l,d){return id(a,l,ee(d,2))},b.sortedIndexOf=function jd(a,l){var d=null==a?0:a.length;if(d){var f=Kc(a,l);if(f<d&&Wn(a[f],l))return f}return-1},b.sortedLastIndex=function Zb(a,l){return Kc(a,l,!0)},b.sortedLastIndexBy=function kf(a,l,d){return id(a,l,ee(d,2),!0)},b.sortedLastIndexOf=function fl(a,l){if(null!=a&&a.length){var f=Kc(a,l,!0)-1;if(Wn(a[f],l))return f}return-1},b.startCase=Cg,b.startsWith=function nh(a,l,d){return a=rt(a),d=null==d?0:Jo(Ce(d),0,a.length),l=Qt(l),a.slice(d,d+l.length)==l},b.subtract=jg,b.sum=function ph(a){return a&&a.length?xp(a,An):0},b.sumBy=function ly(a,l){return a&&a.length?xp(a,ee(l,2)):0},b.template=function gw(a,l,d){var f=b.templateSettings;d&&xn(a,l,d)&&(l=w),a=rt(a),l=Sl({},l,f,dd);var D,T,m=Sl({},l.imports,f.imports,dd),v=Zt(m),C=Ip(m,v),j=0,R=l.interpolate||Su,F="__p += '",U=ga((l.escape||Su).source+"|"+R.source+"|"+(R===bc?ho:Su).source+"|"+(l.evaluate||Su).source+"|$","g"),q="//# sourceURL="+(et.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tn+"]")+"\n";a.replace(U,function(re,Ne,Re,On,In,$n){return Re||(Re=On),F+=a.slice(j,$n).replace(Bn,AC),Ne&&(D=!0,F+="' +\n__e("+Ne+") +\n'"),In&&(T=!0,F+="';\n"+In+";\n__p += '"),Re&&(F+="' +\n((__t = ("+Re+")) == null ? '' : __t) +\n'"),j=$n+re.length,re}),F+="';\n";var oe=et.call(l,"variable")&&l.variable;if(oe){if(H_.test(oe))throw new _e("Invalid `variable` option passed into `_.template`")}else F="with (obj) {\n"+F+"\n}\n";F=(T?F.replace(z_,""):F).replace(F_,"$1").replace(lt,"$1;"),F="function("+(oe||"obj")+") {\n"+(oe?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(D?", __e = _.escape":"")+(T?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+F+"return __p\n}";var Se=xg(function(){return Ve(v,q+"return "+F).apply(w,C)});if(Se.source=F,Qd(Se))throw Se;return Se},b.times=function ry(a,l){if((a=Ce(a))<1||a>co)return[];var d=Rn,f=an(a,Rn);l=ee(l),a-=Rn;for(var m=Sp(f,l);++d<a;)l(d);return m},b.toFinite=Zi,b.toInteger=Ce,b.toLength=og,b.toLower=function wg(a){return rt(a).toLowerCase()},b.toNumber=Tt,b.toSafeInteger=function sg(a){return a?Jo(Ce(a),-co,co):0===a?a:0},b.toString=rt,b.toUpper=function mw(a){return rt(a).toUpperCase()},b.trim=function kl(a,l,d){if((a=rt(a))&&(d||l===w))return eb(a);if(!a||!(l=Qt(l)))return a;var f=ri(a),m=ri(l);return Io(f,tb(f,m),nb(f,m)+1).join("")},b.trimEnd=function El(a,l,d){if((a=rt(a))&&(d||l===w))return a.slice(0,Lp(a)+1);if(!a||!(l=Qt(l)))return a;var f=ri(a);return Io(f,0,nb(f,ri(l))+1).join("")},b.trimStart=function ih(a,l,d){if((a=rt(a))&&(d||l===w))return a.replace(xu,"");if(!a||!(l=Qt(l)))return a;var f=ri(a);return Io(f,tb(f,ri(l))).join("")},b.truncate=function oh(a,l){var d=30,f="...";if(bt(l)){var m="separator"in l?l.separator:m;d="length"in l?Ce(l.length):d,f="omission"in l?Qt(l.omission):f}var v=(a=rt(a)).length;if(Go(a)){var C=ri(a);v=C.length}if(d>=v)return a;var D=d-Dr(f);if(D<1)return f;var T=C?Io(C,0,D).join(""):a.slice(0,D);if(m===w)return T+f;if(C&&(D+=T.length-D),or(m)){if(a.slice(D).search(m)){var j,R=T;for(m.global||(m=ga(m.source,rt(U_.exec(m))+"g")),m.lastIndex=0;j=m.exec(R);)var F=j.index;T=T.slice(0,F===w?D:F)}}else if(a.indexOf(Qt(m),D)!=D){var U=T.lastIndexOf(m);U>-1&&(T=T.slice(0,U))}return T+f},b.unescape=function rh(a){return(a=rt(a))&&Du.test(a)?a.replace(_c,Au):a},b.uniqueId=function Ag(a){var l=++he;return rt(a)+l},b.upperCase=_w,b.upperFirst=sh,b.each=za,b.eachRight=Vf,b.first=Pa,kg(b,function(){var a={};return Cn(b,function(l,d){et.call(b.prototype,d)||(a[d]=l)}),a}(),{chain:!1}),b.VERSION="4.17.21",xt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){b[a].placeholder=b}),xt(["drop","take"],function(a,l){Oe.prototype[a]=function(d){d=d===w?1:Vt(Ce(d),0);var f=this.__filtered__&&!l?new Oe(this):this.clone();return f.__filtered__?f.__takeCount__=an(d,f.__takeCount__):f.__views__.push({size:an(d,Rn),type:a+(f.__dir__<0?"Right":"")}),f},Oe.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),xt(["filter","map","takeWhile"],function(a,l){var d=l+1,f=1==d||3==d;Oe.prototype[a]=function(m){var v=this.clone();return v.__iteratees__.push({iteratee:ee(m,3),type:d}),v.__filtered__=v.__filtered__||f,v}}),xt(["head","last"],function(a,l){var d="take"+(l?"Right":"");Oe.prototype[a]=function(){return this[d](1).value()[0]}}),xt(["initial","tail"],function(a,l){var d="drop"+(l?"":"Right");Oe.prototype[a]=function(){return this.__filtered__?new Oe(this):this[d](1)}}),Oe.prototype.compact=function(){return this.filter(An)},Oe.prototype.find=function(a){return this.filter(a).head()},Oe.prototype.findLast=function(a){return this.reverse().find(a)},Oe.prototype.invokeMap=Ie(function(a,l){return"function"==typeof a?new Oe(this):this.map(function(d){return Gc(d,a,l)})}),Oe.prototype.reject=function(a){return this.filter(yl(ee(a)))},Oe.prototype.slice=function(a,l){a=Ce(a);var d=this;return d.__filtered__&&(a>0||l<0)?new Oe(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),l!==w&&(d=(l=Ce(l))<0?d.dropRight(-l):d.take(l-a)),d)},Oe.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},Oe.prototype.toArray=function(){return this.take(Rn)},Cn(Oe.prototype,function(a,l){var d=/^(?:filter|find|map|reject)|While$/.test(l),f=/^(?:head|last)$/.test(l),m=b[f?"take"+("last"==l?"Right":""):l],v=f||/^find/.test(l);!m||(b.prototype[l]=function(){var C=this.__wrapped__,D=f?[1]:arguments,T=C instanceof Oe,j=D[0],R=T||pe(C),F=function(Ne){var Re=m.apply(b,Vi([Ne],D));return f&&U?Re[0]:Re};R&&d&&"function"==typeof j&&1!=j.length&&(T=R=!1);var U=this.__chain__,q=!!this.__actions__.length,oe=v&&!U,Se=T&&!q;if(!v&&R){C=Se?C:new Oe(this);var re=a.apply(C,D);return re.__actions__.push({func:ir,args:[F],thisArg:w}),new ai(re,U)}return oe&&Se?a.apply(this,D):(re=this.thru(F),oe?f?re.value()[0]:re.value():re)})}),xt(["pop","push","shift","sort","splice","unshift"],function(a){var l=Ec[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",f=/^(?:pop|shift)$/.test(a);b.prototype[a]=function(){var m=arguments;if(f&&!this.__chain__){var v=this.value();return l.apply(pe(v)?v:[],m)}return this[d](function(C){return l.apply(pe(C)?C:[],m)})}}),Cn(Oe.prototype,function(a,l){var d=b[l];if(d){var f=d.name+"";et.call(Tr,f)||(Tr[f]=[]),Tr[f].push({name:l,func:d})}}),Tr[nl(w,2).name]=[{name:"wrapper",func:w}],Oe.prototype.clone=function jc(){var a=new Oe(this.__wrapped__);return a.__actions__=Gn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Gn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=Gn(this.__views__),a},Oe.prototype.reverse=function Rc(){if(this.__filtered__){var a=new Oe(this);a.__dir__=-1,a.__filtered__=!0}else(a=this.clone()).__dir__*=-1;return a},Oe.prototype.value=function zc(){var a=this.__wrapped__.value(),l=this.__dir__,d=pe(a),f=l<0,m=d?a.length:0,v=function Na(a,l,d){for(var f=-1,m=d.length;++f<m;){var v=d[f],C=v.size;switch(v.type){case"drop":a+=C;break;case"dropRight":l-=C;break;case"take":l=an(l,a+C);break;case"takeRight":a=Vt(a,l-C)}}return{start:a,end:l}}(0,m,this.__views__),C=v.start,D=v.end,T=D-C,j=f?D:C-1,R=this.__iteratees__,F=R.length,U=0,q=an(T,this.__takeCount__);if(!d||!f&&m==T&&q==T)return Jc(a,this.__actions__);var oe=[];e:for(;T--&&U<q;){for(var Se=-1,re=a[j+=l];++Se<F;){var Ne=R[Se],On=Ne.type,In=(0,Ne.iteratee)(re);if(2==On)re=In;else if(!In){if(1==On)continue e;break e}}oe[U++]=re}return oe},b.prototype.at=jf,b.prototype.chain=function Rf(){return gl(this)},b.prototype.commit=function zf(){return new ai(this.value(),this.__chain__)},b.prototype.next=function ew(){this.__values__===w&&(this.__values__=ig(this.value()));var a=this.__index__>=this.__values__.length;return{done:a,value:a?w:this.__values__[this.__index__++]}},b.prototype.plant=function nw(a){for(var l,d=this;d instanceof Pc;){var f=Dd(d);f.__index__=0,f.__values__=w,l?m.__wrapped__=f:l=f;var m=f;d=d.__wrapped__}return m.__wrapped__=a,l},b.prototype.reverse=function zd(){var a=this.__wrapped__;if(a instanceof Oe){var l=a;return this.__actions__.length&&(l=new Oe(this)),(l=l.reverse()).__actions__.push({func:ir,args:[Pd],thisArg:w}),new ai(l,this.__chain__)}return this.thru(Pd)},b.prototype.toJSON=b.prototype.valueOf=b.prototype.value=function Fd(){return Jc(this.__wrapped__,this.__actions__)},b.prototype.first=b.prototype.head,vo&&(b.prototype[vo]=function tw(){return this}),b}();Mt._=ds,(ro=function(){return ds}.call(is,hu,is,oo))!==w&&(oo.exports=ro)}.call(this)}},oo=>{oo(oo.s=357)}]);
|
|
2617
|
+
*/oo=du.nmd(oo),function(){var w,en="Expected a function",ap="__lodash_hash_undefined__",je="__lodash_placeholder__",_r=1/0,co=9007199254740991,Rn=4294967295,j_=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],br="[object Arguments]",ra="[object Array]",sa="[object Boolean]",aa="[object Date]",pc="[object Error]",fc="[object Function]",dp="[object GeneratorFunction]",Mi="[object Map]",lo="[object Number]",Ho="[object Object]",rs="[object Promise]",uo="[object RegExp]",zn="[object Set]",la="[object String]",gc="[object Symbol]",ss="[object WeakMap]",Bi="[object ArrayBuffer]",vr="[object DataView]",mu="[object Float32Array]",_u="[object Float64Array]",mc="[object Int8Array]",bu="[object Int16Array]",vu="[object Int32Array]",hp="[object Uint8Array]",yu="[object Uint8ClampedArray]",Mu="[object Uint16Array]",Cu="[object Uint32Array]",R_=/\b__p \+= '';/g,z_=/\b(__p \+=) '' \+/g,lt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_c=/&(?:amp|lt|gt|quot|#39);/g,ct=/[&<>"']/g,wu=RegExp(_c.source),F_=RegExp(ct.source),$e=/<%-([\s\S]+?)%>/g,ce=/<%([\s\S]+?)%>/g,bc=/<%=([\s\S]+?)%>/g,mC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,B=/^\w*$/,vc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,de=/[\\^$.*+?()[\]{}|]/g,qe=RegExp(de.source),Du=/^\s+/,_C=/\s/,B_=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,yc=/\{\n\/\* \[wrapped with (.+)\] \*/,Fn=/,? & /,bC=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,V_=/[()=,{}\[\]\/\s]/,vC=/\\(\\)?/g,ho=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,H_=/\w*$/,yC=/^[-+]0x[0-9a-f]+$/i,MC=/^0b[01]+$/i,CC=/^\[object .+?Constructor\]$/,U_=/^0o[0-7]+$/i,wC=/^(?:0|[1-9]\d*)$/,Y_=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xu=/($^)/,Bn=/['\n\r\u2028\u2029\\]/g,He="\\ud800-\\udfff",$="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",G_="\\u2700-\\u27bf",Ke="a-z\\xdf-\\xf6\\xf8-\\xff",fp="A-Z\\xc0-\\xd6\\xd8-\\xde",Su="\\ufe0e\\ufe0f",ua="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",gp="["+He+"]",mp="["+ua+"]",se="["+$+"]",Cc="\\d+",Q_="["+G_+"]",Vn="["+Ke+"]",Iu="[^"+He+ua+Cc+G_+Ke+fp+"]",_p="\\ud83c[\\udffb-\\udfff]",ei="[^"+He+"]",bp="(?:\\ud83c[\\udde6-\\uddff]){2}",vp="[\\ud800-\\udbff][\\udc00-\\udfff]",dn="["+fp+"]",Z_="(?:"+Vn+"|"+Iu+")",TC="(?:"+dn+"|"+Iu+")",yr="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Je="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",ha="(?:"+se+"|"+_p+")?",wc="["+Su+"]?",as=wc+ha+"(?:\\u200d(?:"+[ei,bp,vp].join("|")+")"+wc+ha+")*",$_="(?:"+[Q_,bp,vp].join("|")+")"+as,mt="(?:"+[ei+se+"?",se,bp,vp,gp].join("|")+")",K_=RegExp("['\u2019]","g"),Mp=RegExp(se,"g"),Dc=RegExp(_p+"(?="+_p+")|"+mt+as,"g"),ot=RegExp([dn+"?"+Vn+"+"+yr+"(?="+[mp,dn,"$"].join("|")+")",TC+"+"+Je+"(?="+[mp,dn+Z_,"$"].join("|")+")",dn+"?"+Z_+"+"+yr,dn+"+"+Je,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Cc,$_].join("|"),"g"),J_=RegExp("[\\u200d"+He+$+Su+"]"),Cp=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,H=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],tn=-1,X={};X[mu]=X[_u]=X[mc]=X[bu]=X[vu]=X[hp]=X[yu]=X[Mu]=X[Cu]=!0,X[br]=X[ra]=X[Bi]=X[sa]=X[vr]=X[aa]=X[pc]=X[fc]=X[Mi]=X[lo]=X[Ho]=X[uo]=X[zn]=X[la]=X[ss]=!1;var we={};we[br]=we[ra]=we[Bi]=we[vr]=we[sa]=we[aa]=we[mu]=we[_u]=we[mc]=we[bu]=we[vu]=we[Mi]=we[lo]=we[Ho]=we[uo]=we[zn]=we[la]=we[gc]=we[hp]=we[yu]=we[Mu]=we[Cu]=!0,we[pc]=we[fc]=we[ss]=!1;var ti={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},W=parseFloat,ve=parseInt,_t="object"==typeof global&&global&&global.Object===Object&&global,Un="object"==typeof self&&self&&self.Object===Object&&self,Ct=_t||Un||Function("return this")(),Bt=is&&!is.nodeType&&is,Ci=Bt&&oo&&!oo.nodeType&&oo,wt=Ci&&Ci.exports===Bt,Mr=wt&&_t.process,hn=function(){try{return Ci&&Ci.require&&Ci.require("util").types||Mr&&Mr.binding&&Mr.binding("util")}catch{}}(),ye=hn&&hn.isArrayBuffer,fa=hn&&hn.isDate,Cr=hn&&hn.isMap,xc=hn&&hn.isRegExp,Yo=hn&&hn.isSet,nn=hn&&hn.isTypedArray;function on(S,N,k){switch(k.length){case 0:return S.call(N);case 1:return S.call(N,k[0]);case 2:return S.call(N,k[0],k[1]);case 3:return S.call(N,k[0],k[1],k[2])}return S.apply(N,k)}function cs(S,N,k,K){for(var _e=-1,Ve=null==S?0:S.length;++_e<Ve;){var Xe=S[_e];N(K,Xe,k(Xe),S)}return K}function xt(S,N){for(var k=-1,K=null==S?0:S.length;++k<K&&!1!==N(S[k],k,S););return S}function ls(S,N){for(var k=null==S?0:S.length;k--&&!1!==N(S[k],k,S););return S}function ku(S,N){for(var k=-1,K=null==S?0:S.length;++k<K;)if(!N(S[k],k,S))return!1;return!0}function Ue(S,N){for(var k=-1,K=null==S?0:S.length,_e=0,Ve=[];++k<K;){var Xe=S[k];N(Xe,k,S)&&(Ve[_e++]=Xe)}return Ve}function Sc(S,N){return!(null==S||!S.length)&&go(S,N,0)>-1}function Eu(S,N,k){for(var K=-1,_e=null==S?0:S.length;++K<_e;)if(k(N,S[K]))return!0;return!1}function dt(S,N){for(var k=-1,K=null==S?0:S.length,_e=Array(K);++k<K;)_e[k]=N(S[k],k,S);return _e}function Vi(S,N){for(var k=-1,K=N.length,_e=S.length;++k<K;)S[_e+k]=N[k];return S}function wr(S,N,k,K){var _e=-1,Ve=null==S?0:S.length;for(K&&Ve&&(k=S[++_e]);++_e<Ve;)k=N(k,S[_e],_e,S);return k}function Ic(S,N,k,K){var _e=null==S?0:S.length;for(K&&_e&&(k=S[--_e]);_e--;)k=N(k,S[_e],_e,S);return k}function fo(S,N){for(var k=-1,K=null==S?0:S.length;++k<K;)if(N(S[k],k,S))return!0;return!1}var pn=Dp("length");function ni(S,N,k){var K;return k(S,function(_e,Ve,Xe){if(N(_e,Ve,Xe))return K=Ve,!1}),K}function us(S,N,k,K){for(var _e=S.length,Ve=k+(K?1:-1);K?Ve--:++Ve<_e;)if(N(S[Ve],Ve,S))return Ve;return-1}function go(S,N,k){return N==N?function nb(S,N,k){for(var K=k-1,_e=S.length;++K<_e;)if(S[K]===N)return K;return-1}(S,N,k):us(S,ii,k)}function Tc(S,N,k,K){for(var _e=k-1,Ve=S.length;++_e<Ve;)if(K(S[_e],N))return _e;return-1}function ii(S){return S!=S}function wp(S,N){var k=null==S?0:S.length;return k?Sp(S,N)/k:NaN}function Dp(S){return function(N){return null==N?w:N[S]}}function Lu(S){return function(N){return null==S?w:S[N]}}function xp(S,N,k,K,_e){return _e(S,function(Ve,Xe,ht){k=K?(K=!1,Ve):N(k,Ve,Xe,ht)}),k}function Sp(S,N){for(var k,K=-1,_e=S.length;++K<_e;){var Ve=N(S[K]);Ve!==w&&(k=k===w?Ve:k+Ve)}return k}function Ip(S,N){for(var k=-1,K=Array(S);++k<S;)K[k]=N(k);return K}function X_(S){return S&&S.slice(0,Np(S)+1).replace(Du,"")}function oi(S){return function(N){return S(N)}}function Tp(S,N){return dt(N,function(k){return S[k]})}function kc(S,N){return S.has(N)}function eb(S,N){for(var k=-1,K=S.length;++k<K&&go(N,S[k],0)>-1;);return k}function tb(S,N){for(var k=S.length;k--&&go(N,S[k],0)>-1;);return k}function LC(S,N){for(var k=S.length,K=0;k--;)S[k]===N&&++K;return K}var NC=Lu({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),AC=Lu({"&":"&","<":"<",">":">",'"':""","'":"'"});function OC(S){return"\\"+ti[S]}function Go(S){return J_.test(S)}function Ep(S){var N=-1,k=Array(S.size);return S.forEach(function(K,_e){k[++N]=[_e,K]}),k}function Wo(S,N){return function(k){return S(N(k))}}function mo(S,N){for(var k=-1,K=S.length,_e=0,Ve=[];++k<K;){var Xe=S[k];(Xe===N||Xe===je)&&(S[k]=je,Ve[_e++]=k)}return Ve}function rn(S){var N=-1,k=Array(S.size);return S.forEach(function(K){k[++N]=K}),k}function Dr(S){return Go(S)?function ob(S){for(var N=Dc.lastIndex=0;Dc.test(S);)++N;return N}(S):pn(S)}function ri(S){return Go(S)?function si(S){return S.match(Dc)||[]}(S):function q_(S){return S.split("")}(S)}function Np(S){for(var N=S.length;N--&&_C.test(S.charAt(N)););return N}var Nu=Lu({"&":"&","<":"<",">":">",""":'"',"'":"'"}),ds=function S(N){var a,k=(N=null==N?Ct:ds.defaults(Ct.Object(),N,ds.pick(Ct,H))).Array,K=N.Date,_e=N.Error,Ve=N.Function,Xe=N.Math,ht=N.Object,ga=N.RegExp,hs=N.String,vt=N.TypeError,Ec=k.prototype,ps=ht.prototype,wi=N["__core-js_shared__"],ma=Ve.prototype.toString,et=ps.hasOwnProperty,he=0,Ou=(a=/[^.]+$/.exec(wi&&wi.keys&&wi.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"",Pu=ps.toString,sb=ma.call(ht),ab=Ct._,cb=ga("^"+ma.call(et).replace(de,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_a=wt?N.Buffer:w,Qo=N.Symbol,Nc=N.Uint8Array,z=_a?_a.allocUnsafe:w,Ae=Wo(ht.getPrototypeOf,ht),_o=ht.create,bo=ps.propertyIsEnumerable,St=Ec.splice,ju=Qo?Qo.isConcatSpreadable:w,vo=Qo?Qo.iterator:w,fn=Qo?Qo.toStringTag:w,fs=function(){try{var a=Nt(ht,"defineProperty");return a({},"",{}),a}catch{}}(),Ru=N.clearTimeout!==Ct.clearTimeout&&N.clearTimeout,RC=K&&K.now!==Ct.Date.now&&K.now,lb=N.setTimeout!==Ct.setTimeout&&N.setTimeout,zu=Xe.ceil,ba=Xe.floor,sn=ht.getOwnPropertySymbols,yo=_a?_a.isBuffer:w,Fu=N.isFinite,gs=Ec.join,Mo=Wo(ht.keys,ht),Vt=Xe.max,an=Xe.min,ub=K.now,db=N.parseInt,Ac=Xe.random,Bu=Ec.reverse,Oc=Nt(N,"DataView"),xr=Nt(N,"Map"),Vu=Nt(N,"Promise"),Sr=Nt(N,"Set"),Ir=Nt(N,"WeakMap"),ms=Nt(ht,"create"),va=Ir&&new Ir,Tr={},Ap=tr(Oc),Hu=tr(xr),hb=tr(Vu),pb=tr(Sr),Mn=tr(Ir),Di=Qo?Qo.prototype:w,pt=Di?Di.valueOf:w,Uu=Di?Di.toString:w;function b(a){if(It(a)&&!pe(a)&&!(a instanceof Oe)){if(a instanceof ai)return a;if(et.call(a,"__wrapped__"))return wd(a)}return new ai(a)}var _s=function(){function a(){}return function(l){if(!bt(l))return{};if(_o)return _o(l);a.prototype=l;var d=new a;return a.prototype=w,d}}();function Pc(){}function ai(a,l){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=w}function Oe(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Rn,this.__views__=[]}function Co(a){var l=-1,d=null==a?0:a.length;for(this.clear();++l<d;){var f=a[l];this.set(f[0],f[1])}}function wo(a){var l=-1,d=null==a?0:a.length;for(this.clear();++l<d;){var f=a[l];this.set(f[0],f[1])}}function $o(a){var l=-1,d=null==a?0:a.length;for(this.clear();++l<d;){var f=a[l];this.set(f[0],f[1])}}function Ko(a){var l=-1,d=null==a?0:a.length;for(this.__data__=new $o;++l<d;)this.add(a[l])}function gn(a){var l=this.__data__=new wo(a);this.size=l.size}function Bp(a,l){var d=pe(a),f=!d&&Ur(a),m=!d&&!f&&Qn(a),v=!d&&!f&&!m&&Ha(a),C=d||f||m||v,D=C?Ip(a.length,hs):[],T=D.length;for(var j in a)(l||et.call(a,j))&&(!C||!("length"==j||m&&("offset"==j||"parent"==j)||v&&("buffer"==j||"byteLength"==j||"byteOffset"==j)||Gi(j,T)))&&D.push(j);return D}function xi(a){var l=a.length;return l?a[qu(0,l-1)]:w}function vb(a,l){return ul(Gn(a),Jo(l,0,a.length))}function Ca(a){return ul(Gn(a))}function wa(a,l,d){(d!==w&&!Wn(a[l],d)||d===w&&!(l in a))&&Hi(a,l,d)}function kr(a,l,d){var f=a[l];(!et.call(a,l)||!Wn(f,d)||d===w&&!(l in a))&&Hi(a,l,d)}function Er(a,l){for(var d=a.length;d--;)if(Wn(a[d][0],l))return d;return-1}function Hc(a,l,d,f){return Do(a,function(m,v,C){l(f,m,d(m),C)}),f}function Vp(a,l){return a&&Si(l,Zt(l),a)}function Hi(a,l,d){"__proto__"==l&&fs?fs(a,l,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[l]=d}function Uc(a,l){for(var d=-1,f=l.length,m=k(f),v=null==a;++d<f;)m[d]=v?w:Zd(a,l[d]);return m}function Jo(a,l,d){return a==a&&(d!==w&&(a=a<=d?a:d),l!==w&&(a=a>=l?a:l)),a}function ci(a,l,d,f,m,v){var C,D=1&l,T=2&l,j=4&l;if(d&&(C=m?d(a,f,m,v):d(a)),C!==w)return C;if(!bt(a))return a;var R=pe(a);if(R){if(C=function Ob(a){var l=a.length,d=new a.constructor(l);return l&&"string"==typeof a[0]&&et.call(a,"index")&&(d.index=a.index,d.input=a.input),d}(a),!D)return Gn(a,C)}else{var F=nt(a),U=F==fc||F==dp;if(Qn(a))return Kp(a,D);if(F==Ho||F==br||U&&!m){if(C=T||U?{}:gd(a),!D)return T?function ZC(a,l){return Si(a,cl(a),l)}(a,function Hp(a,l){return a&&Si(l,mn(l),a)}(C,a)):function Ib(a,l){return Si(a,al(a),l)}(a,Vp(C,a))}else{if(!we[F])return m?a:{};C=function Pb(a,l,d){var f=a.constructor;switch(l){case Bi:return qc(a);case sa:case aa:return new f(+a);case vr:return function ka(a,l){var d=l?qc(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}(a,d);case mu:case _u:case mc:case bu:case vu:case hp:case yu:case Mu:case Cu:return qp(a,d);case Mi:return new f;case lo:case la:return new f(a);case uo:return function Xc(a){var l=new a.constructor(a.source,H_.exec(a));return l.lastIndex=a.lastIndex,l}(a);case zn:return new f;case gc:return function Jp(a){return pt?ht(pt.call(a)):{}}(a)}}(a,F,D)}}v||(v=new gn);var q=v.get(a);if(q)return q;v.set(a,C),eg(a)?a.forEach(function(re){C.add(ci(re,l,d,re,a,v))}):Dl(a)&&a.forEach(function(re,Ne){C.set(Ne,ci(re,l,d,Ne,a,v))});var Se=R?w:(j?T?La:ol:T?mn:Zt)(a);return xt(Se||a,function(re,Ne){Se&&(re=a[Ne=re]),kr(C,Ne,ci(re,l,d,Ne,a,v))}),C}function vs(a,l,d){var f=d.length;if(null==a)return!f;for(a=ht(a);f--;){var m=d[f],C=a[m];if(C===w&&!(m in a)||!(0,l[m])(C))return!1}return!0}function Up(a,l,d){if("function"!=typeof a)throw new vt(en);return Br(function(){a.apply(w,d)},l)}function ys(a,l,d,f){var m=-1,v=Sc,C=!0,D=a.length,T=[],j=l.length;if(!D)return T;d&&(l=dt(l,oi(d))),f?(v=Eu,C=!1):l.length>=200&&(v=kc,C=!1,l=new Ko(l));e:for(;++m<D;){var R=a[m],F=null==d?R:d(R);if(R=f||0!==R?R:0,C&&F==F){for(var U=j;U--;)if(l[U]===F)continue e;T.push(R)}else v(l,F,f)||T.push(R)}return T}b.templateSettings={escape:$e,evaluate:ce,interpolate:bc,variable:"",imports:{_:b}},(b.prototype=Pc.prototype).constructor=b,(ai.prototype=_s(Pc.prototype)).constructor=ai,(Oe.prototype=_s(Pc.prototype)).constructor=Oe,Co.prototype.clear=function Op(){this.__data__=ms?ms(null):{},this.size=0},Co.prototype.delete=function fb(a){var l=this.has(a)&&delete this.__data__[a];return this.size-=l?1:0,l},Co.prototype.get=function Zo(a){var l=this.__data__;if(ms){var d=l[a];return d===ap?w:d}return et.call(l,a)?l[a]:w},Co.prototype.has=function ya(a){var l=this.__data__;return ms?l[a]!==w:et.call(l,a)},Co.prototype.set=function gb(a,l){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=ms&&l===w?ap:l,this},wo.prototype.clear=function Ma(){this.__data__=[],this.size=0},wo.prototype.delete=function Yu(a){var l=this.__data__,d=Er(l,a);return!(d<0||(d==l.length-1?l.pop():St.call(l,d,1),--this.size,0))},wo.prototype.get=function mb(a){var l=this.__data__,d=Er(l,a);return d<0?w:l[d][1]},wo.prototype.has=function _b(a){return Er(this.__data__,a)>-1},wo.prototype.set=function zC(a,l){var d=this.__data__,f=Er(d,a);return f<0?(++this.size,d.push([a,l])):d[f][1]=l,this},$o.prototype.clear=function Fc(){this.size=0,this.__data__={hash:new Co,map:new(xr||wo),string:new Co}},$o.prototype.delete=function Pp(a){var l=sl(this,a).delete(a);return this.size-=l?1:0,l},$o.prototype.get=function jp(a){return sl(this,a).get(a)},$o.prototype.has=function Bc(a){return sl(this,a).has(a)},$o.prototype.set=function Rp(a,l){var d=sl(this,a),f=d.size;return d.set(a,l),this.size+=d.size==f?0:1,this},Ko.prototype.add=Ko.prototype.push=function bs(a){return this.__data__.set(a,ap),this},Ko.prototype.has=function bb(a){return this.__data__.has(a)},gn.prototype.clear=function Gu(){this.__data__=new wo,this.size=0},gn.prototype.delete=function Vc(a){var l=this.__data__,d=l.delete(a);return this.size=l.size,d},gn.prototype.get=function FC(a){return this.__data__.get(a)},gn.prototype.has=function zp(a){return this.__data__.has(a)},gn.prototype.set=function Fp(a,l){var d=this.__data__;if(d instanceof wo){var f=d.__data__;if(!xr||f.length<199)return f.push([a,l]),this.size=++d.size,this;d=this.__data__=new $o(f)}return d.set(a,l),this.size=d.size,this};var Do=tf(Cn),Lr=tf(qo,!0);function yb(a,l){var d=!0;return Do(a,function(f,m,v){return d=!!l(f,m,v)}),d}function tt(a,l,d){for(var f=-1,m=a.length;++f<m;){var v=a[f],C=l(v);if(null!=C&&(D===w?C==C&&!ui(C):d(C,D)))var D=C,T=v}return T}function Yp(a,l){var d=[];return Do(a,function(f,m,v){l(f,m,v)&&d.push(f)}),d}function Wt(a,l,d,f,m){var v=-1,C=a.length;for(d||(d=jb),m||(m=[]);++v<C;){var D=a[v];l>0&&d(D)?l>1?Wt(D,l-1,d,f,m):Vi(m,D):f||(m[m.length]=D)}return m}var Nr=Ea(),Ar=Ea(!0);function Cn(a,l){return a&&Nr(a,l,Zt)}function qo(a,l){return a&&Ar(a,l,Zt)}function Da(a,l){return Ue(l,function(d){return Zn(a[d])})}function xo(a,l){for(var d=0,f=(l=Yi(l,a)).length;null!=a&&d<f;)a=a[Wi(l[d++])];return d&&d==f?a:w}function Or(a,l,d){var f=l(a);return pe(a)?f:Vi(f,d(a))}function En(a){return null==a?a===w?"[object Undefined]":"[object Null]":fn&&fn in ht(a)?function fd(a){var l=et.call(a,fn),d=a[fn];try{a[fn]=w;var f=!0}catch{}var m=Pu.call(a);return f&&(l?a[fn]=d:delete a[fn]),m}(a):function mf(a){return Pu.call(a)}(a)}function Qu(a,l){return a>l}function G(a,l){return null!=a&&et.call(a,l)}function BC(a,l){return null!=a&&l in ht(a)}function Gp(a,l,d){for(var f=d?Eu:Sc,m=a[0].length,v=a.length,C=v,D=k(v),T=1/0,j=[];C--;){var R=a[C];C&&l&&(R=dt(R,oi(l))),T=an(R.length,T),D[C]=!d&&(l||m>=120&&R.length>=120)?new Ko(C&&R):w}R=a[0];var F=-1,U=D[0];e:for(;++F<m&&j.length<T;){var q=R[F],oe=l?l(q):q;if(q=d||0!==q?q:0,!(U?kc(U,oe):f(j,oe,d))){for(C=v;--C;){var Se=D[C];if(!(Se?kc(Se,oe):f(a[C],oe,d)))continue e}U&&U.push(oe),j.push(q)}}return j}function Gc(a,l,d){var f=null==(a=Fr(a,l=Yi(l,a)))?a:a[Wi(li(l))];return null==f?w:on(f,a,d)}function Mb(a){return It(a)&&En(a)==br}function Wc(a,l,d,f,m){return a===l||(null==a||null==l||!It(a)&&!It(l)?a!=a&&l!=l:function YC(a,l,d,f,m,v){var C=pe(a),D=pe(l),T=C?ra:nt(a),j=D?ra:nt(l),R=(T=T==br?Ho:T)==Ho,F=(j=j==br?Ho:j)==Ho,U=T==j;if(U&&Qn(a)){if(!Qn(l))return!1;C=!0,R=!1}if(U&&!R)return v||(v=new gn),C||Ha(a)?Dn(a,l,d,f,m,v):function Nb(a,l,d,f,m,v,C){switch(d){case vr:if(a.byteLength!=l.byteLength||a.byteOffset!=l.byteOffset)return!1;a=a.buffer,l=l.buffer;case Bi:return!(a.byteLength!=l.byteLength||!v(new Nc(a),new Nc(l)));case sa:case aa:case lo:return Wn(+a,+l);case pc:return a.name==l.name&&a.message==l.message;case uo:case la:return a==l+"";case Mi:var D=Ep;case zn:if(D||(D=rn),a.size!=l.size&&!(1&f))return!1;var j=C.get(a);if(j)return j==l;f|=2,C.set(a,l);var R=Dn(D(a),D(l),f,m,v,C);return C.delete(a),R;case gc:if(pt)return pt.call(a)==pt.call(l)}return!1}(a,l,T,d,f,m,v);if(!(1&d)){var q=R&&et.call(a,"__wrapped__"),oe=F&&et.call(l,"__wrapped__");if(q||oe){var Se=q?a.value():a,re=oe?l.value():l;return v||(v=new gn),m(Se,re,d,f,v)}}return!!U&&(v||(v=new gn),function Ab(a,l,d,f,m,v){var C=1&d,D=ol(a),T=D.length;if(T!=ol(l).length&&!C)return!1;for(var F=T;F--;){var U=D[F];if(!(C?U in l:et.call(l,U)))return!1}var q=v.get(a),oe=v.get(l);if(q&&oe)return q==l&&oe==a;var Se=!0;v.set(a,l),v.set(l,a);for(var re=C;++F<T;){var Ne=a[U=D[F]],Re=l[U];if(f)var On=C?f(Re,Ne,U,l,a,v):f(Ne,Re,U,a,l,v);if(!(On===w?Ne===Re||m(Ne,Re,d,f,v):On)){Se=!1;break}re||(re="constructor"==U)}if(Se&&!re){var In=a.constructor,$n=l.constructor;In!=$n&&"constructor"in a&&"constructor"in l&&!("function"==typeof In&&In instanceof In&&"function"==typeof $n&&$n instanceof $n)&&(Se=!1)}return v.delete(a),v.delete(l),Se}(a,l,d,f,m,v))}(a,l,d,f,Wc,m))}function Sa(a,l,d,f){var m=d.length,v=m,C=!f;if(null==a)return!v;for(a=ht(a);m--;){var D=d[m];if(C&&D[2]?D[1]!==a[D[0]]:!(D[0]in a))return!1}for(;++m<v;){var T=(D=d[m])[0],j=a[T],R=D[1];if(C&&D[2]){if(j===w&&!(T in a))return!1}else{var F=new gn;if(f)var U=f(j,R,T,a,l,F);if(!(U===w?Wc(R,j,3,f,F):U))return!1}}return!0}function Ms(a){return!(!bt(a)||function Rb(a){return!!Ou&&Ou in a}(a))&&(Zn(a)?cb:CC).test(tr(a))}function Ui(a){return"function"==typeof a?a:null==a?An:"object"==typeof a?pe(a)?Qp(a[0],a[1]):Wp(a):Ll(a)}function Qc(a){if(!Oa(a))return Mo(a);var l=[];for(var d in ht(a))et.call(a,d)&&"constructor"!=d&&l.push(d);return l}function Pr(a,l){return a<l}function Zu(a,l){var d=-1,f=Nn(a)?k(a.length):[];return Do(a,function(m,v,C){f[++d]=l(m,v,C)}),f}function Wp(a){var l=pd(a);return 1==l.length&&l[0][2]?gf(l[0][0],l[0][1]):function(d){return d===a||Sa(d,a,l)}}function Qp(a,l){return md(a)&&ks(l)?gf(Wi(a),l):function(d){var f=Zd(d,a);return f===w&&f===l?fg(d,a):Wc(l,f,3)}}function $u(a,l,d,f,m){a!==l&&Nr(l,function(v,C){if(m||(m=new gn),bt(v))!function WC(a,l,d,f,m,v,C){var D=ll(a,d),T=ll(l,d),j=C.get(T);if(j)wa(a,d,j);else{var R=v?v(D,T,d+"",a,l,C):w,F=R===w;if(F){var U=pe(T),q=!U&&Qn(T),oe=!U&&!q&&Ha(T);R=T,U||q||oe?pe(D)?R=D:at(D)?R=Gn(D):q?(F=!1,R=Kp(T,!0)):oe?(F=!1,R=qp(T,!0)):R=[]:Va(T)||Ur(T)?(R=D,Ur(D)?R=sg(D):(!bt(D)||Zn(D))&&(R=gd(T))):F=!1}F&&(C.set(T,R),m(R,T,f,v,C),C.delete(T)),wa(a,d,R)}}(a,l,C,d,$u,f,m);else{var D=f?f(ll(a,C),v,C+"",a,l,m):w;D===w&&(D=v),wa(a,C,D)}},mn)}function Ku(a,l){var d=a.length;if(d)return Gi(l+=l<0?d:0,d)?a[l]:w}function Ln(a,l,d){l=l.length?dt(l,function(v){return pe(v)?function(C){return xo(C,1===v.length?v[0]:v)}:v}):[An];var f=-1;return l=dt(l,oi(ee())),function kC(S,N){var k=S.length;for(S.sort(N);k--;)S[k]=S[k].value;return S}(Zu(a,function(v,C,D){return{criteria:dt(l,function(j){return j(v)}),index:++f,value:v}}),function(v,C){return function Ds(a,l,d){for(var f=-1,m=a.criteria,v=l.criteria,C=m.length,D=d.length;++f<C;){var T=Xp(m[f],v[f]);if(T)return f>=D?T:T*("desc"==d[f]?-1:1)}return a.index-l.index}(v,C,d)})}function jr(a,l,d){for(var f=-1,m=l.length,v={};++f<m;){var C=l[f],D=xo(a,C);d(D,C)&&Xo(v,Yi(C,a),D)}return v}function $c(a,l,d,f){var m=f?Tc:go,v=-1,C=l.length,D=a;for(a===l&&(l=Gn(l)),d&&(D=dt(a,oi(d)));++v<C;)for(var T=0,j=l[v],R=d?d(j):j;(T=m(D,R,T,f))>-1;)D!==a&&St.call(D,T,1),St.call(a,T,1);return a}function Zp(a,l){for(var d=a?l.length:0,f=d-1;d--;){var m=l[d];if(d==f||m!==v){var v=m;Gi(m)?St.call(a,m,1):P(a,m)}}return a}function qu(a,l){return a+ba(Ac()*(l-a+1))}function Xu(a,l){var d="";if(!a||l<1||l>co)return d;do{l%2&&(d+=a),(l=ba(l/2))&&(a+=a)}while(l);return d}function Ie(a,l){return Md(Fb(a,l,An),a+"")}function Db(a){return xi(js(a))}function ed(a,l){var d=js(a);return ul(d,Jo(l,0,d.length))}function Xo(a,l,d,f){if(!bt(a))return a;for(var m=-1,v=(l=Yi(l,a)).length,C=v-1,D=a;null!=D&&++m<v;){var T=Wi(l[m]),j=d;if("__proto__"===T||"constructor"===T||"prototype"===T)return a;if(m!=C){var R=D[T];(j=f?f(R,T,D):w)===w&&(j=bt(R)?R:Gi(l[m+1])?[]:{})}kr(D,T,j),D=D[T]}return a}var xb=va?function(a,l){return va.set(a,l),a}:An,Ia=fs?function(a,l){return fs(a,"toString",{configurable:!0,enumerable:!1,value:sh(l),writable:!0})}:An;function td(a){return ul(js(a))}function wn(a,l,d){var f=-1,m=a.length;l<0&&(l=-l>m?0:m+l),(d=d>m?m:d)<0&&(d+=m),m=l>d?0:d-l>>>0,l>>>=0;for(var v=k(m);++f<m;)v[f]=a[f+l];return v}function Sb(a,l){var d;return Do(a,function(f,m,v){return!(d=l(f,m,v))}),!!d}function Kc(a,l,d){var f=0,m=null==a?f:a.length;if("number"==typeof l&&l==l&&m<=2147483647){for(;f<m;){var v=f+m>>>1,C=a[v];null!==C&&!ui(C)&&(d?C<=l:C<l)?f=v+1:m=v}return m}return nd(a,l,An,d)}function nd(a,l,d,f){var m=0,v=null==a?0:a.length;if(0===v)return 0;for(var C=(l=d(l))!=l,D=null===l,T=ui(l),j=l===w;m<v;){var R=ba((m+v)/2),F=d(a[R]),U=F!==w,q=null===F,oe=F==F,Se=ui(F);if(C)var re=f||oe;else re=j?oe&&(f||U):D?oe&&U&&(f||!q):T?oe&&U&&!q&&(f||!Se):!q&&!Se&&(f?F<=l:F<l);re?m=R+1:v=R}return an(v,4294967294)}function id(a,l){for(var d=-1,f=a.length,m=0,v=[];++d<f;){var C=a[d],D=l?l(C):C;if(!d||!Wn(D,T)){var T=D;v[m++]=0===C?0:C}}return v}function Cs(a){return"number"==typeof a?a:ui(a)?NaN:+a}function Qt(a){if("string"==typeof a)return a;if(pe(a))return dt(a,Qt)+"";if(ui(a))return Uu?Uu.call(a):"";var l=a+"";return"0"==l&&1/a==-_r?"-0":l}function er(a,l,d){var f=-1,m=Sc,v=a.length,C=!0,D=[],T=D;if(d)C=!1,m=Eu;else if(v>=200){var j=l?null:Lb(a);if(j)return rn(j);C=!1,m=kc,T=new Ko}else T=l?[]:D;e:for(;++f<v;){var R=a[f],F=l?l(R):R;if(R=d||0!==R?R:0,C&&F==F){for(var U=T.length;U--;)if(T[U]===F)continue e;l&&T.push(F),D.push(R)}else m(T,F,d)||(T!==D&&T.push(F),D.push(R))}return D}function P(a,l){return null==(a=Fr(a,l=Yi(l,a)))||delete a[Wi(li(l))]}function od(a,l,d,f){return Xo(a,l,d(xo(a,l)),f)}function So(a,l,d,f){for(var m=a.length,v=f?m:-1;(f?v--:++v<m)&&l(a[v],v,a););return d?wn(a,f?0:v,f?v+1:m):wn(a,f?v+1:0,f?m:v)}function Jc(a,l){var d=a;return d instanceof Oe&&(d=d.value()),wr(l,function(f,m){return m.func.apply(m.thisArg,Vi([f],m.args))},d)}function Rr(a,l,d){var f=a.length;if(f<2)return f?er(a[0]):[];for(var m=-1,v=k(f);++m<f;)for(var C=a[m],D=-1;++D<f;)D!=m&&(v[m]=ys(v[m]||C,a[D],l,d));return er(Wt(v,1),l,d)}function $p(a,l,d){for(var f=-1,m=a.length,v=l.length,C={};++f<m;)d(C,a[f],f<v?l[f]:w);return C}function rd(a){return at(a)?a:[]}function sd(a){return"function"==typeof a?a:An}function Yi(a,l){return pe(a)?a:md(a,l)?[a]:yf(rt(a))}var Ta=Ie;function Io(a,l,d){var f=a.length;return d=d===w?f:d,!l&&d>=f?a:wn(a,l,d)}var ws=Ru||function(a){return Ct.clearTimeout(a)};function Kp(a,l){if(l)return a.slice();var d=a.length,f=z?z(d):new a.constructor(d);return a.copy(f),f}function qc(a){var l=new a.constructor(a.byteLength);return new Nc(l).set(new Nc(a)),l}function qp(a,l){var d=l?qc(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function Xp(a,l){if(a!==l){var d=a!==w,f=null===a,m=a==a,v=ui(a),C=l!==w,D=null===l,T=l==l,j=ui(l);if(!D&&!j&&!v&&a>l||v&&C&&T&&!D&&!j||f&&C&&T||!d&&T||!m)return 1;if(!f&&!v&&!j&&a<l||j&&d&&m&&!f&&!v||D&&d&&m||!C&&m||!T)return-1}return 0}function xs(a,l,d,f){for(var m=-1,v=a.length,C=d.length,D=-1,T=l.length,j=Vt(v-C,0),R=k(T+j),F=!f;++D<T;)R[D]=l[D];for(;++m<C;)(F||m<v)&&(R[d[m]]=a[m]);for(;j--;)R[D++]=a[m++];return R}function ef(a,l,d,f){for(var m=-1,v=a.length,C=-1,D=d.length,T=-1,j=l.length,R=Vt(v-D,0),F=k(R+j),U=!f;++m<R;)F[m]=a[m];for(var q=m;++T<j;)F[q+T]=l[T];for(;++C<D;)(U||m<v)&&(F[q+d[C]]=a[m++]);return F}function Gn(a,l){var d=-1,f=a.length;for(l||(l=k(f));++d<f;)l[d]=a[d];return l}function Si(a,l,d,f){var m=!d;d||(d={});for(var v=-1,C=l.length;++v<C;){var D=l[v],T=f?f(d[D],a[D],D,d,a):w;T===w&&(T=a[D]),m?Hi(d,D,T):kr(d,D,T)}return d}function el(a,l){return function(d,f){var m=pe(d)?cs:Hc,v=l?l():{};return m(d,a,ee(f,2),v)}}function Ss(a){return Ie(function(l,d){var f=-1,m=d.length,v=m>1?d[m-1]:w,C=m>2?d[2]:w;for(v=a.length>3&&"function"==typeof v?(m--,v):w,C&&xn(d[0],d[1],C)&&(v=m<3?w:v,m=1),l=ht(l);++f<m;){var D=d[f];D&&a(l,D,f,v)}return l})}function tf(a,l){return function(d,f){if(null==d)return d;if(!Nn(d))return a(d,f);for(var m=d.length,v=l?m:-1,C=ht(d);(l?v--:++v<m)&&!1!==f(C[v],v,C););return d}}function Ea(a){return function(l,d,f){for(var m=-1,v=ht(l),C=f(l),D=C.length;D--;){var T=C[a?D:++m];if(!1===d(v[T],T,v))break}return l}}function rf(a){return function(l){var d=Go(l=rt(l))?ri(l):w,f=d?d[0]:l.charAt(0),m=d?Io(d,1).join(""):l.slice(1);return f[a]()+m}}function zr(a){return function(l){return wr(xg(Il(l).replace(K_,"")),a,"")}}function tl(a){return function(){var l=arguments;switch(l.length){case 0:return new a;case 1:return new a(l[0]);case 2:return new a(l[0],l[1]);case 3:return new a(l[0],l[1],l[2]);case 4:return new a(l[0],l[1],l[2],l[3]);case 5:return new a(l[0],l[1],l[2],l[3],l[4]);case 6:return new a(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new a(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var d=_s(a.prototype),f=a.apply(d,l);return bt(f)?f:d}}function Tb(a){return function(l,d,f){var m=ht(l);if(!Nn(l)){var v=ee(d,3);l=Zt(l),d=function(D){return v(m[D],D,m)}}var C=a(l,d,f);return C>-1?m[v?l[C]:C]:w}}function af(a){return To(function(l){var d=l.length,f=d,m=ai.prototype.thru;for(a&&l.reverse();f--;){var v=l[f];if("function"!=typeof v)throw new vt(en);if(m&&!C&&"wrapper"==rl(v))var C=new ai([],!0)}for(f=C?f:d;++f<d;){var D=rl(v=l[f]),T="wrapper"==D?hd(v):w;C=T&&Aa(T[0])&&424==T[1]&&!T[4].length&&1==T[9]?C[rl(T[0])].apply(C,T[3]):1==v.length&&Aa(v)?C[D]():C.thru(v)}return function(){var j=arguments,R=j[0];if(C&&1==j.length&&pe(R))return C.plant(R).value();for(var F=0,U=d?l[F].apply(this,j):R;++F<d;)U=l[F].call(this,U);return U}})}function nl(a,l,d,f,m,v,C,D,T,j){var R=128&l,F=1&l,U=2&l,q=24&l,oe=512&l,Se=U?w:tl(a);return function re(){for(var Ne=arguments.length,Re=k(Ne),On=Ne;On--;)Re[On]=arguments[On];if(q)var In=Ts(re),$n=LC(Re,In);if(f&&(Re=xs(Re,f,m,q)),v&&(Re=ef(Re,v,C,q)),Ne-=$n,q&&Ne<j){var kt=mo(Re,In);return Eb(a,l,nl,re.placeholder,d,Re,kt,D,T,j-Ne)}var di=F?d:this,No=U?di[a]:a;return Ne=Re.length,D?Re=yd(Re,D):oe&&Ne>1&&Re.reverse(),R&&T<Ne&&(Re.length=T),this&&this!==Ct&&this instanceof re&&(No=Se||tl(No)),No.apply(di,Re)}}function il(a,l){return function(d,f){return function HC(a,l,d,f){return Cn(a,function(m,v,C){l(f,d(m),v,C)}),f}(d,a,l(f),{})}}function ad(a,l){return function(d,f){var m;if(d===w&&f===w)return l;if(d!==w&&(m=d),f!==w){if(m===w)return f;"string"==typeof d||"string"==typeof f?(d=Qt(d),f=Qt(f)):(d=Cs(d),f=Cs(f)),m=a(d,f)}return m}}function cf(a){return To(function(l){return l=dt(l,oi(ee())),Ie(function(d){var f=this;return a(l,function(m){return on(m,f,d)})})})}function Is(a,l){var d=(l=l===w?" ":Qt(l)).length;if(d<2)return d?Xu(l,a):l;var f=Xu(l,zu(a/Dr(l)));return Go(l)?Io(ri(f),0,a).join(""):f.slice(0,a)}function kb(a){return function(l,d,f){return f&&"number"!=typeof f&&xn(l,d,f)&&(d=f=w),l=Zi(l),d===w?(d=l,l=0):d=Zi(d),function wb(a,l,d,f){for(var m=-1,v=Vt(zu((l-a)/(d||1)),0),C=k(v);v--;)C[f?v:++m]=a,a+=d;return C}(l,d,f=f===w?l<d?1:-1:Zi(f),a)}}function cd(a){return function(l,d){return"string"==typeof l&&"string"==typeof d||(l=Tt(l),d=Tt(d)),a(l,d)}}function Eb(a,l,d,f,m,v,C,D,T,j){var R=8&l;l|=R?32:64,4&(l&=~(R?64:32))||(l&=-4);var Se=[a,l,m,R?v:w,R?C:w,R?w:v,R?w:C,D,T,j],re=d.apply(w,Se);return Aa(a)&&_f(re,Se),re.placeholder=f,bf(re,a,l)}function lf(a){var l=Xe[a];return function(d,f){if(d=Tt(d),(f=null==f?0:an(Ce(f),292))&&Fu(d)){var m=(rt(d)+"e").split("e");return+((m=(rt(l(m[0]+"e"+(+m[1]+f)))+"e").split("e"))[0]+"e"+(+m[1]-f))}return l(d)}}var Lb=Sr&&1/rn(new Sr([,-0]))[1]==_r?function(a){return new Sr(a)}:Lg;function ld(a){return function(l){var d=nt(l);return d==Mi?Ep(l):d==zn?function Lp(S){var N=-1,k=Array(S.size);return S.forEach(function(K){k[++N]=[K,K]}),k}(l):function EC(S,N){return dt(N,function(k){return[k,S[k]]})}(l,a(l))}}function Ii(a,l,d,f,m,v,C,D){var T=2&l;if(!T&&"function"!=typeof a)throw new vt(en);var j=f?f.length:0;if(j||(l&=-97,f=m=w),C=C===w?C:Vt(Ce(C),0),D=D===w?D:Ce(D),j-=m?m.length:0,64&l){var R=f,F=m;f=m=w}var U=T?w:hd(a),q=[a,l,d,f,m,R,F,v,C,D];if(U&&function bd(a,l){var d=a[1],f=l[1],m=d|f;if(!(m<131||(128==f&&8==d||128==f&&256==d&&a[7].length<=l[8]||384==f&&l[7].length<=l[8]&&8==d)))return a;1&f&&(a[2]=l[2],m|=1&d?0:4);var D=l[3];if(D){var T=a[3];a[3]=T?xs(T,D,l[4]):D,a[4]=T?mo(a[3],je):l[4]}(D=l[5])&&(a[5]=(T=a[5])?ef(T,D,l[6]):D,a[6]=T?mo(a[5],je):l[6]),(D=l[7])&&(a[7]=D),128&f&&(a[8]=null==a[8]?l[8]:an(a[8],l[8])),null==a[9]&&(a[9]=l[9]),a[0]=l[0],a[1]=m}(q,U),a=q[0],l=q[1],d=q[2],f=q[3],m=q[4],!(D=q[9]=q[9]===w?T?0:a.length:Vt(q[9]-j,0))&&24&l&&(l&=-25),l&&1!=l)oe=8==l||16==l?function sf(a,l,d){var f=tl(a);return function m(){for(var v=arguments.length,C=k(v),D=v,T=Ts(m);D--;)C[D]=arguments[D];var j=v<3&&C[0]!==T&&C[v-1]!==T?[]:mo(C,T);return(v-=j.length)<d?Eb(a,l,nl,m.placeholder,w,C,j,w,w,d-v):on(this&&this!==Ct&&this instanceof m?f:a,this,C)}}(a,l,D):32!=l&&33!=l||m.length?nl.apply(w,q):function $C(a,l,d,f){var m=1&l,v=tl(a);return function C(){for(var D=-1,T=arguments.length,j=-1,R=f.length,F=k(R+T),U=this&&this!==Ct&&this instanceof C?v:a;++j<R;)F[j]=f[j];for(;T--;)F[j++]=arguments[++D];return on(U,m?d:this,F)}}(a,l,d,f);else var oe=function nf(a,l,d){var f=1&l,m=tl(a);return function v(){return(this&&this!==Ct&&this instanceof v?m:a).apply(f?d:this,arguments)}}(a,l,d);return bf((U?xb:_f)(oe,q),a,l)}function ud(a,l,d,f){return a===w||Wn(a,ps[d])&&!et.call(f,d)?l:a}function dd(a,l,d,f,m,v){return bt(a)&&bt(l)&&(v.set(l,a),$u(a,l,w,dd,v),v.delete(l)),a}function uf(a){return Va(a)?w:a}function Dn(a,l,d,f,m,v){var C=1&d,D=a.length,T=l.length;if(D!=T&&!(C&&T>D))return!1;var j=v.get(a),R=v.get(l);if(j&&R)return j==l&&R==a;var F=-1,U=!0,q=2&d?new Ko:w;for(v.set(a,l),v.set(l,a);++F<D;){var oe=a[F],Se=l[F];if(f)var re=C?f(Se,oe,F,l,a,v):f(oe,Se,F,a,l,v);if(re!==w){if(re)continue;U=!1;break}if(q){if(!fo(l,function(Ne,Re){if(!kc(q,Re)&&(oe===Ne||m(oe,Ne,d,f,v)))return q.push(Re)})){U=!1;break}}else if(oe!==Se&&!m(oe,Se,d,f,v)){U=!1;break}}return v.delete(a),v.delete(l),U}function To(a){return Md(Fb(a,w,Sd),a+"")}function ol(a){return Or(a,Zt,al)}function La(a){return Or(a,mn,cl)}var hd=va?function(a){return va.get(a)}:Lg;function rl(a){for(var l=a.name+"",d=Tr[l],f=et.call(Tr,l)?d.length:0;f--;){var m=d[f],v=m.func;if(null==v||v==a)return m.name}return l}function Ts(a){return(et.call(b,"placeholder")?b:a).placeholder}function ee(){var a=b.iteratee||Ya;return a=a===Ya?Ui:a,arguments.length?a(arguments[0],arguments[1]):a}function sl(a,l){var d=a.__data__;return function _d(a){var l=typeof a;return"string"==l||"number"==l||"symbol"==l||"boolean"==l?"__proto__"!==a:null===a}(l)?d["string"==typeof l?"string":"hash"]:d.map}function pd(a){for(var l=Zt(a),d=l.length;d--;){var f=l[d],m=a[f];l[d]=[f,m,ks(m)]}return l}function Nt(a,l){var d=function kp(S,N){return null==S?w:S[N]}(a,l);return Ms(d)?d:w}var al=sn?function(a){return null==a?[]:(a=ht(a),Ue(sn(a),function(l){return bo.call(a,l)}))}:Nl,cl=sn?function(a){for(var l=[];a;)Vi(l,al(a)),a=Ae(a);return l}:Nl,nt=En;function hf(a,l,d){for(var f=-1,m=(l=Yi(l,a)).length,v=!1;++f<m;){var C=Wi(l[f]);if(!(v=null!=a&&d(a,C)))break;a=a[C]}return v||++f!=m?v:!!(m=null==a?0:a.length)&&As(m)&&Gi(C,m)&&(pe(a)||Ur(a))}function gd(a){return"function"!=typeof a.constructor||Oa(a)?{}:_s(Ae(a))}function jb(a){return pe(a)||Ur(a)||!!(ju&&a&&a[ju])}function Gi(a,l){var d=typeof a;return!!(l=l??co)&&("number"==d||"symbol"!=d&&wC.test(a))&&a>-1&&a%1==0&&a<l}function xn(a,l,d){if(!bt(d))return!1;var f=typeof l;return!!("number"==f?Nn(d)&&Gi(l,d.length):"string"==f&&l in d)&&Wn(d[l],a)}function md(a,l){if(pe(a))return!1;var d=typeof a;return!("number"!=d&&"symbol"!=d&&"boolean"!=d&&null!=a&&!ui(a))||B.test(a)||!mC.test(a)||null!=l&&a in ht(l)}function Aa(a){var l=rl(a),d=b[l];if("function"!=typeof d||!(l in Oe.prototype))return!1;if(a===d)return!0;var f=hd(d);return!!f&&a===f[0]}(Oc&&nt(new Oc(new ArrayBuffer(1)))!=vr||xr&&nt(new xr)!=Mi||Vu&&nt(Vu.resolve())!=rs||Sr&&nt(new Sr)!=zn||Ir&&nt(new Ir)!=ss)&&(nt=function(a){var l=En(a),d=l==Ho?a.constructor:w,f=d?tr(d):"";if(f)switch(f){case Ap:return vr;case Hu:return Mi;case hb:return rs;case pb:return zn;case Mn:return ss}return l});var ff=wi?Zn:Ga;function Oa(a){var l=a&&a.constructor;return a===("function"==typeof l&&l.prototype||ps)}function ks(a){return a==a&&!bt(a)}function gf(a,l){return function(d){return null!=d&&d[a]===l&&(l!==w||a in ht(d))}}function Fb(a,l,d){return l=Vt(l===w?a.length-1:l,0),function(){for(var f=arguments,m=-1,v=Vt(f.length-l,0),C=k(v);++m<v;)C[m]=f[l+m];m=-1;for(var D=k(l+1);++m<l;)D[m]=f[m];return D[l]=d(C),on(a,this,D)}}function Fr(a,l){return l.length<2?a:xo(a,wn(l,0,-1))}function yd(a,l){for(var d=a.length,f=an(l.length,d),m=Gn(a);f--;){var v=l[f];a[f]=Gi(v,d)?m[v]:w}return a}function ll(a,l){if(("constructor"!==l||"function"!=typeof a[l])&&"__proto__"!=l)return a[l]}var _f=vf(xb),Br=lb||function(a,l){return Ct.setTimeout(a,l)},Md=vf(Ia);function bf(a,l,d){var f=l+"";return Md(a,function pf(a,l){var d=l.length;if(!d)return a;var f=d-1;return l[f]=(d>1?"& ":"")+l[f],l=l.join(d>2?", ":" "),a.replace(B_,"{\n/* [wrapped with "+l+"] */\n")}(f,function Cd(a,l){return xt(j_,function(d){var f="_."+d[0];l&d[1]&&!Sc(a,f)&&a.push(f)}),a.sort()}(function df(a){var l=a.match(yc);return l?l[1].split(Fn):[]}(f),d)))}function vf(a){var l=0,d=0;return function(){var f=ub(),m=16-(f-d);if(d=f,m>0){if(++l>=800)return arguments[0]}else l=0;return a.apply(w,arguments)}}function ul(a,l){var d=-1,f=a.length,m=f-1;for(l=l===w?f:l;++d<l;){var v=qu(d,m),C=a[v];a[v]=a[d],a[d]=C}return a.length=l,a}var yf=function zb(a){var l=Qi(a,function(f){return 500===d.size&&d.clear(),f}),d=l.cache;return l}(function(a){var l=[];return 46===a.charCodeAt(0)&&l.push(""),a.replace(vc,function(d,f,m,v){l.push(m?v.replace(vC,"$1"):f||d)}),l});function Wi(a){if("string"==typeof a||ui(a))return a;var l=a+"";return"0"==l&&1/a==-_r?"-0":l}function tr(a){if(null!=a){try{return ma.call(a)}catch{}try{return a+""}catch{}}return""}function wd(a){if(a instanceof Oe)return a.clone();var l=new ai(a.__wrapped__,a.__chain__);return l.__actions__=Gn(a.__actions__),l.__index__=a.__index__,l.__values__=a.__values__,l}var Mf=Ie(function(a,l){return at(a)?ys(a,Wt(l,1,at,!0)):[]}),Cf=Ie(function(a,l){var d=li(l);return at(d)&&(d=w),at(a)?ys(a,Wt(l,1,at,!0),ee(d,2)):[]}),Vr=Ie(function(a,l){var d=li(l);return at(d)&&(d=w),at(a)?ys(a,Wt(l,1,at,!0),w,d):[]});function xf(a,l,d){var f=null==a?0:a.length;if(!f)return-1;var m=null==d?0:Ce(d);return m<0&&(m=Vt(f+m,0)),us(a,ee(l,3),m)}function xd(a,l,d){var f=null==a?0:a.length;if(!f)return-1;var m=f-1;return d!==w&&(m=Ce(d),m=d<0?Vt(f+m,0):an(m,f-1)),us(a,ee(l,3),m,!0)}function Sd(a){return null!=a&&a.length?Wt(a,1):[]}function Pa(a){return a&&a.length?a[0]:w}var Td=Ie(function(a){var l=dt(a,rd);return l.length&&l[0]===a[0]?Gp(l):[]}),kd=Ie(function(a){var l=li(a),d=dt(a,rd);return l===li(d)?l=w:d.pop(),d.length&&d[0]===a[0]?Gp(d,ee(l,2)):[]}),Ed=Ie(function(a){var l=li(a),d=dt(a,rd);return(l="function"==typeof l?l:w)&&d.pop(),d.length&&d[0]===a[0]?Gp(d,w,l):[]});function li(a){var l=null==a?0:a.length;return l?a[l-1]:w}var Yb=Ie(Ld);function Ld(a,l){return a&&a.length&&l&&l.length?$c(a,l):a}var Ad=To(function(a,l){var d=null==a?0:a.length,f=Uc(a,l);return Zp(a,dt(l,function(m){return Gi(m,d)?+m:m}).sort(Xp)),f});function Od(a){return null==a?a:Bu.call(a)}var Kb=Ie(function(a){return er(Wt(a,1,at,!0))}),Jb=Ie(function(a){var l=li(a);return at(l)&&(l=w),er(Wt(a,1,at,!0),ee(l,2))}),qb=Ie(function(a){var l=li(a);return l="function"==typeof l?l:w,er(Wt(a,1,at,!0),w,l)});function Pf(a){if(!a||!a.length)return[];var l=0;return a=Ue(a,function(d){if(at(d))return l=Vt(d.length,l),!0}),Ip(l,function(d){return dt(a,Dp(d))})}function ev(a,l){if(!a||!a.length)return[];var d=Pf(a);return null==l?d:dt(d,function(f){return on(l,w,f)})}var qC=Ie(function(a,l){return at(a)?ys(a,l):[]}),XC=Ie(function(a){return Rr(Ue(a,at))}),ew=Ie(function(a){var l=li(a);return at(l)&&(l=w),Rr(Ue(a,at),ee(l,2))}),jf=Ie(function(a){var l=li(a);return l="function"==typeof l?l:w,Rr(Ue(a,at),w,l)}),tv=Ie(Pf),ov=Ie(function(a){var l=a.length,d=l>1?a[l-1]:w;return d="function"==typeof d?(a.pop(),d):w,ev(a,d)});function gl(a){var l=b(a);return l.__chain__=!0,l}function ir(a,l){return l(a)}var Rf=To(function(a){var l=a.length,d=l?a[0]:0,f=this.__wrapped__,m=function(v){return Uc(v,a)};return!(l>1||this.__actions__.length)&&f instanceof Oe&&Gi(d)?((f=f.slice(d,+d+(l?1:0))).__actions__.push({func:ir,args:[m],thisArg:w}),new ai(f,this.__chain__).thru(function(v){return l&&!v.length&&v.push(w),v})):this.thru(m)}),ow=el(function(a,l,d){et.call(a,d)?++a[d]:Hi(a,d,1)}),rv=Tb(xf),sv=Tb(xd);function za(a,l){return(pe(a)?xt:Do)(a,ee(l,3))}function Hf(a,l){return(pe(a)?ls:Lr)(a,ee(l,3))}var Fd=el(function(a,l,d){et.call(a,d)?a[d].push(l):Hi(a,d,[l])}),zt=Ie(function(a,l,d){var f=-1,m="function"==typeof l,v=Nn(a)?k(a.length):[];return Do(a,function(C){v[++f]=m?on(l,C,d):Gc(C,l,d)}),v}),uv=el(function(a,l,d){Hi(a,d,l)});function ml(a,l){return(pe(a)?dt:Zu)(a,ee(l,3))}var Uf=el(function(a,l,d){a[d?0:1].push(l)},function(){return[[],[]]}),Yf=Ie(function(a,l){if(null==a)return[];var d=l.length;return d>1&&xn(a,l[0],l[1])?l=[]:d>2&&xn(l[0],l[1],l[2])&&(l=[l[0]]),Ln(a,Wt(l,1),[])}),Ba=RC||function(){return Ct.Date.now()};function Bd(a,l,d){return l=d?w:l,Ii(a,128,w,w,w,w,l=a&&null==l?a.length:l)}function Wf(a,l){var d;if("function"!=typeof l)throw new vt(en);return a=Ce(a),function(){return--a>0&&(d=l.apply(this,arguments)),a<=1&&(l=w),d}}var bl=Ie(function(a,l,d){var f=1;if(d.length){var m=mo(d,Ts(bl));f|=32}return Ii(a,f,l,d,m)}),Vd=Ie(function(a,l,d){var f=3;if(d.length){var m=mo(d,Ts(Vd));f|=32}return Ii(l,f,a,d,m)});function Qf(a,l,d){var f,m,v,C,D,T,j=0,R=!1,F=!1,U=!0;if("function"!=typeof a)throw new vt(en);function q(kt){var di=f,No=m;return f=m=w,j=kt,C=a.apply(No,di)}function oe(kt){return j=kt,D=Br(Ne,l),R?q(kt):C}function re(kt){var di=kt-T;return T===w||di>=l||di<0||F&&kt-j>=v}function Ne(){var kt=Ba();if(re(kt))return Re(kt);D=Br(Ne,function Se(kt){var Ei=l-(kt-T);return F?an(Ei,v-(kt-j)):Ei}(kt))}function Re(kt){return D=w,U&&f?q(kt):(f=m=w,C)}function $n(){var kt=Ba(),di=re(kt);if(f=arguments,m=this,T=kt,di){if(D===w)return oe(T);if(F)return ws(D),D=Br(Ne,l),q(T)}return D===w&&(D=Br(Ne,l)),C}return l=Tt(l)||0,bt(d)&&(R=!!d.leading,v=(F="maxWait"in d)?Vt(Tt(d.maxWait)||0,l):v,U="trailing"in d?!!d.trailing:U),$n.cancel=function On(){D!==w&&ws(D),j=0,f=T=m=D=w},$n.flush=function In(){return D===w?C:Re(Ba())},$n}var Hd=Ie(function(a,l){return Up(a,1,l)}),Zf=Ie(function(a,l,d){return Up(a,Tt(l)||0,d)});function Qi(a,l){if("function"!=typeof a||null!=l&&"function"!=typeof l)throw new vt(en);var d=function(){var f=arguments,m=l?l.apply(this,f):f[0],v=d.cache;if(v.has(m))return v.get(m);var C=a.apply(this,f);return d.cache=v.set(m,C)||v,C};return d.cache=new(Qi.Cache||$o),d}function yl(a){if("function"!=typeof a)throw new vt(en);return function(){var l=arguments;switch(l.length){case 0:return!a.call(this);case 1:return!a.call(this,l[0]);case 2:return!a.call(this,l[0],l[1]);case 3:return!a.call(this,l[0],l[1],l[2])}return!a.apply(this,l)}}Qi.Cache=$o;var Ml=Ta(function(a,l){var d=(l=1==l.length&&pe(l[0])?dt(l[0],oi(ee())):dt(Wt(l,1),oi(ee()))).length;return Ie(function(f){for(var m=-1,v=an(f.length,d);++m<v;)f[m]=l[m].call(this,f[m]);return on(a,this,f)})}),Yd=Ie(function(a,l){var d=mo(l,Ts(Yd));return Ii(a,32,w,l,d)}),Cl=Ie(function(a,l){var d=mo(l,Ts(Cl));return Ii(a,64,w,l,d)}),wl=To(function(a,l){return Ii(a,256,w,w,w,l)});function Wn(a,l){return a===l||a!=a&&l!=l}var wv=cd(Qu),qf=cd(function(a,l){return a>=l}),Ur=Mb(function(){return arguments}())?Mb:function(a){return It(a)&&et.call(a,"callee")&&!bo.call(a,"callee")},pe=k.isArray,cw=ye?oi(ye):function UC(a){return It(a)&&En(a)==Bi};function Nn(a){return null!=a&&As(a.length)&&!Zn(a)}function at(a){return It(a)&&Nn(a)}var Qn=yo||Ga,De=fa?oi(fa):function xa(a){return It(a)&&En(a)==aa};function Wd(a){if(!It(a))return!1;var l=En(a);return l==pc||"[object DOMException]"==l||"string"==typeof a.message&&"string"==typeof a.name&&!Va(a)}function Zn(a){if(!bt(a))return!1;var l=En(a);return l==fc||l==dp||"[object AsyncFunction]"==l||"[object Proxy]"==l}function Xf(a){return"number"==typeof a&&a==Ce(a)}function As(a){return"number"==typeof a&&a>-1&&a%1==0&&a<=co}function bt(a){var l=typeof a;return null!=a&&("object"==l||"function"==l)}function It(a){return null!=a&&"object"==typeof a}var Dl=Cr?oi(Cr):function Ht(a){return It(a)&&nt(a)==Mi};function Qd(a){return"number"==typeof a||It(a)&&En(a)==lo}function Va(a){if(!It(a)||En(a)!=Ho)return!1;var l=Ae(a);if(null===l)return!0;var d=et.call(l,"constructor")&&l.constructor;return"function"==typeof d&&d instanceof d&&ma.call(d)==sb}var or=xc?oi(xc):function GC(a){return It(a)&&En(a)==uo},eg=Yo?oi(Yo):function Cb(a){return It(a)&&nt(a)==zn};function xl(a){return"string"==typeof a||!pe(a)&&It(a)&&En(a)==la}function ui(a){return"symbol"==typeof a||It(a)&&En(a)==gc}var Ha=nn?oi(nn):function Yn(a){return It(a)&&As(a.length)&&!!X[En(a)]},dw=cd(Pr),ig=cd(function(a,l){return a<=l});function og(a){if(!a)return[];if(Nn(a))return xl(a)?ri(a):Gn(a);if(vo&&a[vo])return function jC(S){for(var N,k=[];!(N=S.next()).done;)k.push(N.value);return k}(a[vo]());var l=nt(a);return(l==Mi?Ep:l==zn?rn:js)(a)}function Zi(a){return a?(a=Tt(a))===_r||a===-_r?17976931348623157e292*(a<0?-1:1):a==a?a:0:0===a?a:0}function Ce(a){var l=Zi(a),d=l%1;return l==l?d?l-d:l:0}function rg(a){return a?Jo(Ce(a),0,Rn):0}function Tt(a){if("number"==typeof a)return a;if(ui(a))return NaN;if(bt(a)){var l="function"==typeof a.valueOf?a.valueOf():a;a=bt(l)?l+"":l}if("string"!=typeof a)return 0===a?a:+a;a=X_(a);var d=MC.test(a);return d||U_.test(a)?ve(a.slice(2),d?2:8):yC.test(a)?NaN:+a}function sg(a){return Si(a,mn(a))}function rt(a){return null==a?"":Qt(a)}var Nv=Ss(function(a,l){if(Oa(l)||Nn(l))Si(l,Zt(l),a);else for(var d in l)et.call(l,d)&&kr(a,d,l[d])}),cg=Ss(function(a,l){Si(l,mn(l),a)}),Sl=Ss(function(a,l,d,f){Si(l,mn(l),a,f)}),lg=Ss(function(a,l,d,f){Si(l,Zt(l),a,f)}),Av=To(Uc),Pv=Ie(function(a,l){a=ht(a);var d=-1,f=l.length,m=f>2?l[2]:w;for(m&&xn(l[0],l[1],m)&&(f=1);++d<f;)for(var v=l[d],C=mn(v),D=-1,T=C.length;++D<T;){var j=C[D],R=a[j];(R===w||Wn(R,ps[j])&&!et.call(a,j))&&(a[j]=v[j])}return a}),fe=Ie(function(a){return a.push(w,dd),on(Vv,w,a)});function Zd(a,l,d){var f=null==a?w:xo(a,l);return f===w?d:f}function fg(a,l){return null!=a&&hf(a,l,BC)}var gg=il(function(a,l,d){null!=l&&"function"!=typeof l.toString&&(l=Pu.call(l)),a[l]=d},sh(An)),mg=il(function(a,l,d){null!=l&&"function"!=typeof l.toString&&(l=Pu.call(l)),et.call(a,l)?a[l].push(d):a[l]=[d]},ee),Sn=Ie(Gc);function Zt(a){return Nn(a)?Bp(a):Qc(a)}function mn(a){return Nn(a)?Bp(a,!0):function Zc(a){if(!bt(a))return function vd(a){var l=[];if(null!=a)for(var d in ht(a))l.push(d);return l}(a);var l=Oa(a),d=[];for(var f in a)"constructor"==f&&(l||!et.call(a,f))||d.push(f);return d}(a)}var hw=Ss(function(a,l,d){$u(a,l,d)}),Vv=Ss(function(a,l,d,f){$u(a,l,d,f)}),pw=To(function(a,l){var d={};if(null==a)return d;var f=!1;l=dt(l,function(v){return v=Yi(v,a),f||(f=v.length>1),v}),Si(a,La(a),d),f&&(d=ci(d,7,uf));for(var m=l.length;m--;)P(d,l[m]);return d}),_g=To(function(a,l){return null==a?{}:function Ju(a,l){return jr(a,l,function(d,f){return fg(a,f)})}(a,l)});function Uv(a,l){if(null==a)return{};var d=dt(La(a),function(f){return[f]});return l=ee(l),jr(a,d,function(f,m){return l(f,m[0])})}var Kd=ld(Zt),Ua=ld(mn);function js(a){return null==a?[]:Tp(a,Zt(a))}var yg=zr(function(a,l,d){return l=l.toLowerCase(),a+(d?Jd(l):l)});function Jd(a){return rh(rt(a).toLowerCase())}function Il(a){return(a=rt(a))&&a.replace(Y_,NC).replace(Mp,"")}var gw=zr(function(a,l,d){return a+(d?"-":"")+l.toLowerCase()}),I=zr(function(a,l,d){return a+(d?" ":"")+l.toLowerCase()}),Xv=rf("toLowerCase"),Lo=zr(function(a,l,d){return a+(d?"_":"")+l.toLowerCase()}),wg=zr(function(a,l,d){return a+(d?" ":"")+rh(l)}),bw=zr(function(a,l,d){return a+(d?" ":"")+l.toUpperCase()}),rh=rf("toUpperCase");function xg(a,l,d){return a=rt(a),(l=d?w:l)===w?function PC(S){return Cp.test(S)}(a)?function Au(S){return S.match(ot)||[]}(a):function kn(S){return S.match(bC)||[]}(a):a.match(l)||[]}var Sg=Ie(function(a,l){try{return on(a,w,l)}catch(d){return Wd(d)?d:new _e(d)}}),ty=To(function(a,l){return xt(l,function(d){d=Wi(d),Hi(a,d,bl(a[d],a))}),a});function sh(a){return function(){return a}}var Tg=af(),kg=af(!0);function An(a){return a}function Ya(a){return Ui("function"==typeof a?a:ci(a,1))}var ww=Ie(function(a,l){return function(d){return Gc(d,a,l)}}),Dw=Ie(function(a,l){return function(d){return Gc(a,d,l)}});function Eg(a,l,d){var f=Zt(l),m=Da(l,f);null==d&&(!bt(l)||!m.length&&f.length)&&(d=l,l=a,a=this,m=Da(l,Zt(l)));var v=!(bt(d)&&"chain"in d&&!d.chain),C=Zn(a);return xt(m,function(D){var T=l[D];a[D]=T,C&&(a.prototype[D]=function(){var j=this.__chain__;if(v||j){var R=a(this.__wrapped__),F=R.__actions__=Gn(this.__actions__);return F.push({func:T,args:arguments,thisArg:a}),R.__chain__=j,R}return T.apply(a,Vi([this.value()],arguments))})}),a}function Lg(){}var Iw=cf(dt),Tw=cf(ku),rr=cf(fo);function Ll(a){return md(a)?Dp(Wi(a)):function QC(a){return function(l){return xo(l,a)}}(a)}var Ng=kb(),ah=kb(!0);function Nl(){return[]}function Ga(){return!1}var sy=ad(function(a,l){return a+l},0),ay=lf("ceil"),Al=ad(function(a,l){return a/l},1),Rs=lf("floor"),uh=ad(function(a,l){return a*l},1),dh=lf("round"),Rg=ad(function(a,l){return a-l},0);return b.after=function Gf(a,l){if("function"!=typeof l)throw new vt(en);return a=Ce(a),function(){if(--a<1)return l.apply(this,arguments)}},b.ary=Bd,b.assign=Nv,b.assignIn=cg,b.assignInWith=Sl,b.assignWith=lg,b.at=Av,b.before=Wf,b.bind=bl,b.bindAll=ty,b.bindKey=Vd,b.castArray=function Jf(){if(!arguments.length)return[];var a=arguments[0];return pe(a)?a:[a]},b.chain=gl,b.chunk=function Dd(a,l,d){l=(d?xn(a,l,d):l===w)?1:Vt(Ce(l),0);var f=null==a?0:a.length;if(!f||l<1)return[];for(var m=0,v=0,C=k(zu(f/l));m<f;)C[v++]=wn(a,m,m+=l);return C},b.compact=function Bb(a){for(var l=-1,d=null==a?0:a.length,f=0,m=[];++l<d;){var v=a[l];v&&(m[f++]=v)}return m},b.concat=function Vb(){var a=arguments.length;if(!a)return[];for(var l=k(a-1),d=arguments[0],f=a;f--;)l[f-1]=arguments[f];return Vi(pe(d)?Gn(d):[d],Wt(l,1))},b.cond=function Ig(a){var l=null==a?0:a.length,d=ee();return a=l?dt(a,function(f){if("function"!=typeof f[1])throw new vt(en);return[d(f[0]),f[1]]}):[],Ie(function(f){for(var m=-1;++m<l;){var v=a[m];if(on(v[0],this,f))return on(v[1],this,f)}})},b.conforms=function vw(a){return function Yc(a){var l=Zt(a);return function(d){return vs(d,a,l)}}(ci(a,1))},b.constant=sh,b.countBy=ow,b.create=function Ov(a,l){var d=_s(a);return null==l?d:Vp(d,l)},b.curry=function vl(a,l,d){var f=Ii(a,8,w,w,w,w,w,l=d?w:l);return f.placeholder=vl.placeholder,f},b.curryRight=function mv(a,l,d){var f=Ii(a,16,w,w,w,w,w,l=d?w:l);return f.placeholder=mv.placeholder,f},b.debounce=Qf,b.defaults=Pv,b.defaultsDeep=fe,b.defer=Hd,b.delay=Zf,b.difference=Mf,b.differenceBy=Cf,b.differenceWith=Vr,b.drop=function wf(a,l,d){var f=null==a?0:a.length;return f?wn(a,(l=d||l===w?1:Ce(l))<0?0:l,f):[]},b.dropRight=function Df(a,l,d){var f=null==a?0:a.length;return f?wn(a,0,(l=f-(l=d||l===w?1:Ce(l)))<0?0:l):[]},b.dropRightWhile=function Hb(a,l){return a&&a.length?So(a,ee(l,3),!0,!0):[]},b.dropWhile=function KC(a,l){return a&&a.length?So(a,ee(l,3),!0):[]},b.fill=function dl(a,l,d,f){var m=null==a?0:a.length;return m?(d&&"number"!=typeof d&&xn(a,l,d)&&(d=0,f=m),function Wu(a,l,d,f){var m=a.length;for((d=Ce(d))<0&&(d=-d>m?0:m+d),(f=f===w||f>m?m:Ce(f))<0&&(f+=m),f=d>f?0:rg(f);d<f;)a[d++]=l;return a}(a,l,d,f)):[]},b.filter=function Bf(a,l){return(pe(a)?Ue:Yp)(a,ee(l,3))},b.flatMap=function av(a,l){return Wt(ml(a,l),1)},b.flatMapDeep=function cv(a,l){return Wt(ml(a,l),_r)},b.flatMapDepth=function Vf(a,l,d){return d=d===w?1:Ce(d),Wt(ml(a,l),d)},b.flatten=Sd,b.flattenDeep=function Sf(a){return null!=a&&a.length?Wt(a,_r):[]},b.flattenDepth=function Id(a,l){return null!=a&&a.length?Wt(a,l=l===w?1:Ce(l)):[]},b.flip=function $f(a){return Ii(a,512)},b.flow=Tg,b.flowRight=kg,b.fromPairs=function If(a){for(var l=-1,d=null==a?0:a.length,f={};++l<d;){var m=a[l];f[m[0]]=m[1]}return f},b.functions=function zv(a){return null==a?[]:Da(a,Zt(a))},b.functionsIn=function pg(a){return null==a?[]:Da(a,mn(a))},b.groupBy=Fd,b.initial=function Tf(a){return null!=a&&a.length?wn(a,0,-1):[]},b.intersection=Td,b.intersectionBy=kd,b.intersectionWith=Ed,b.invert=gg,b.invertBy=mg,b.invokeMap=zt,b.iteratee=Ya,b.keyBy=uv,b.keys=Zt,b.keysIn=mn,b.map=ml,b.mapKeys=function $d(a,l){var d={};return l=ee(l,3),Cn(a,function(f,m,v){Hi(d,l(f,m,v),f)}),d},b.mapValues=function Bv(a,l){var d={};return l=ee(l,3),Cn(a,function(f,m,v){Hi(d,m,l(f,m,v))}),d},b.matches=function Mw(a){return Wp(ci(a,1))},b.matchesProperty=function Cw(a,l){return Qp(a,ci(l,1))},b.memoize=Qi,b.merge=hw,b.mergeWith=Vv,b.method=ww,b.methodOf=Dw,b.mixin=Eg,b.negate=yl,b.nthArg=function Sw(a){return a=Ce(a),Ie(function(l){return Ku(l,a)})},b.omit=pw,b.omitBy=function Hv(a,l){return Uv(a,yl(ee(l)))},b.once=function Ud(a){return Wf(2,a)},b.orderBy=function _l(a,l,d,f){return null==a?[]:(pe(l)||(l=null==l?[]:[l]),pe(d=f?w:d)||(d=null==d?[]:[d]),Ln(a,l,d))},b.over=Iw,b.overArgs=Ml,b.overEvery=Tw,b.overSome=rr,b.partial=Yd,b.partialRight=Cl,b.partition=Uf,b.pick=_g,b.pickBy=Uv,b.property=Ll,b.propertyOf=function ny(a){return function(l){return null==a?w:xo(a,l)}},b.pull=Yb,b.pullAll=Ld,b.pullAllBy=function Nd(a,l,d){return a&&a.length&&l&&l.length?$c(a,l,ee(d,2)):a},b.pullAllWith=function pl(a,l,d){return a&&a.length&&l&&l.length?$c(a,l,w,d):a},b.pullAt=Ad,b.range=Ng,b.rangeRight=ah,b.rearg=wl,b.reject=function pv(a,l){return(pe(a)?Ue:Yp)(a,yl(ee(l,3)))},b.remove=function Hr(a,l){var d=[];if(!a||!a.length)return d;var f=-1,m=[],v=a.length;for(l=ee(l,3);++f<v;){var C=a[f];l(C,f,a)&&(d.push(C),m.push(f))}return Zp(a,m),d},b.rest=function Es(a,l){if("function"!=typeof a)throw new vt(en);return Ie(a,l=l===w?l:Ce(l))},b.reverse=Od,b.sampleSize=function gv(a,l,d){return l=(d?xn(a,l,d):l===w)?1:Ce(l),(pe(a)?vb:ed)(a,l)},b.set=function Ps(a,l,d){return null==a?a:Xo(a,l,d)},b.setWith=function Gv(a,l,d,f){return f="function"==typeof f?f:w,null==a?a:Xo(a,l,d,f)},b.shuffle=function sw(a){return(pe(a)?Ca:td)(a)},b.slice=function Gb(a,l,d){var f=null==a?0:a.length;return f?(d&&"number"!=typeof d&&xn(a,l,d)?(l=0,d=f):(l=null==l?0:Ce(l),d=d===w?f:Ce(d)),wn(a,l,d)):[]},b.sortBy=Yf,b.sortedUniq=function jd(a){return a&&a.length?id(a):[]},b.sortedUniqBy=function Lf(a,l){return a&&a.length?id(a,ee(l,2)):[]},b.split=function eh(a,l,d){return d&&"number"!=typeof d&&xn(a,l,d)&&(l=d=w),(d=d===w?Rn:d>>>0)?(a=rt(a))&&("string"==typeof l||null!=l&&!or(l))&&!(l=Qt(l))&&Go(a)?Io(ri(a),0,d):a.split(l,d):[]},b.spread=function Kf(a,l){if("function"!=typeof a)throw new vt(en);return l=null==l?0:Vt(Ce(l),0),Ie(function(d){var f=d[l],m=Io(d,0,l);return f&&Vi(m,f),on(a,this,m)})},b.tail=function Nf(a){var l=null==a?0:a.length;return l?wn(a,1,l):[]},b.take=function Af(a,l,d){return a&&a.length?wn(a,0,(l=d||l===w?1:Ce(l))<0?0:l):[]},b.takeRight=function Of(a,l,d){var f=null==a?0:a.length;return f?wn(a,(l=f-(l=d||l===w?1:Ce(l)))<0?0:l,f):[]},b.takeRightWhile=function Zb(a,l){return a&&a.length?So(a,ee(l,3),!1,!0):[]},b.takeWhile=function $b(a,l){return a&&a.length?So(a,ee(l,3)):[]},b.tap=function ko(a,l){return l(a),a},b.throttle=function Gd(a,l,d){var f=!0,m=!0;if("function"!=typeof a)throw new vt(en);return bt(d)&&(f="leading"in d?!!d.leading:f,m="trailing"in d?!!d.trailing:m),Qf(a,l,{leading:f,maxWait:l,trailing:m})},b.thru=ir,b.toArray=og,b.toPairs=Kd,b.toPairsIn=Ua,b.toPath=function ry(a){return pe(a)?dt(a,Wi):ui(a)?[a]:Gn(yf(rt(a)))},b.toPlainObject=sg,b.transform=function Wv(a,l,d){var f=pe(a),m=f||Qn(a)||Ha(a);if(l=ee(l,4),null==d){var v=a&&a.constructor;d=m?f?new v:[]:bt(a)&&Zn(v)?_s(Ae(a)):{}}return(m?xt:Cn)(a,function(C,D,T){return l(d,C,D,T)}),d},b.unary=function _v(a){return Bd(a,1)},b.union=Kb,b.unionBy=Jb,b.unionWith=qb,b.uniq=function nr(a){return a&&a.length?er(a):[]},b.uniqBy=function Ra(a,l){return a&&a.length?er(a,ee(l,2)):[]},b.uniqWith=function Xb(a,l){return l="function"==typeof l?l:w,a&&a.length?er(a,w,l):[]},b.unset=function bg(a,l){return null==a||P(a,l)},b.unzip=Pf,b.unzipWith=ev,b.update=function Qv(a,l,d){return null==a?a:od(a,l,sd(d))},b.updateWith=function Zv(a,l,d,f){return f="function"==typeof f?f:w,null==a?a:od(a,l,sd(d),f)},b.values=js,b.valuesIn=function $v(a){return null==a?[]:Tp(a,mn(a))},b.without=qC,b.words=xg,b.wrap=function bv(a,l){return Yd(sd(l),a)},b.xor=XC,b.xorBy=ew,b.xorWith=jf,b.zip=tv,b.zipObject=function nv(a,l){return $p(a||[],l||[],kr)},b.zipObjectDeep=function iv(a,l){return $p(a||[],l||[],Xo)},b.zipWith=ov,b.entries=Kd,b.entriesIn=Ua,b.extend=cg,b.extendWith=Sl,Eg(b,b),b.add=sy,b.attempt=Sg,b.camelCase=yg,b.capitalize=Jd,b.ceil=ay,b.clamp=function Kv(a,l,d){return d===w&&(d=l,l=w),d!==w&&(d=(d=Tt(d))==d?d:0),l!==w&&(l=(l=Tt(l))==l?l:0),Jo(Tt(a),l,d)},b.clone=function Ls(a){return ci(a,4)},b.cloneDeep=function yv(a){return ci(a,5)},b.cloneDeepWith=function Mv(a,l){return ci(a,5,l="function"==typeof l?l:w)},b.cloneWith=function vv(a,l){return ci(a,4,l="function"==typeof l?l:w)},b.conformsTo=function Cv(a,l){return null==l||vs(a,l,Zt(l))},b.deburr=Il,b.defaultTo=function yw(a,l){return null==a||a!=a?l:a},b.divide=Al,b.endsWith=function fw(a,l,d){a=rt(a),l=Qt(l);var f=a.length,m=d=d===w?f:Jo(Ce(d),0,f);return(d-=l.length)>=0&&a.slice(d,m)==l},b.eq=Wn,b.escape=function qd(a){return(a=rt(a))&&F_.test(a)?a.replace(ct,AC):a},b.escapeRegExp=function qv(a){return(a=rt(a))&&qe.test(a)?a.replace(de,"\\$&"):a},b.every=function rw(a,l,d){var f=pe(a)?ku:yb;return d&&xn(a,l,d)&&(l=w),f(a,ee(l,3))},b.find=rv,b.findIndex=xf,b.findKey=function xe(a,l){return ni(a,ee(l,3),Cn)},b.findLast=sv,b.findLastIndex=xd,b.findLastKey=function ug(a,l){return ni(a,ee(l,3),qo)},b.floor=Rs,b.forEach=za,b.forEachRight=Hf,b.forIn=function dg(a,l){return null==a?a:Nr(a,ee(l,3),mn)},b.forInRight=function jv(a,l){return null==a?a:Ar(a,ee(l,3),mn)},b.forOwn=function Rv(a,l){return a&&Cn(a,ee(l,3))},b.forOwnRight=function hg(a,l){return a&&qo(a,ee(l,3))},b.get=Zd,b.gt=wv,b.gte=qf,b.has=function Fv(a,l){return null!=a&&hf(a,l,G)},b.hasIn=fg,b.head=Pa,b.identity=An,b.includes=function lv(a,l,d,f){a=Nn(a)?a:js(a),d=d&&!f?Ce(d):0;var m=a.length;return d<0&&(d=Vt(m+d,0)),xl(a)?d<=m&&a.indexOf(l,d)>-1:!!m&&go(a,l,d)>-1},b.indexOf=function hl(a,l,d){var f=null==a?0:a.length;if(!f)return-1;var m=null==d?0:Ce(d);return m<0&&(m=Vt(f+m,0)),go(a,l,m)},b.inRange=function vg(a,l,d){return l=Zi(l),d===w?(d=l,l=0):d=Zi(d),function VC(a,l,d){return a>=an(l,d)&&a<Vt(l,d)}(a=Tt(a),l,d)},b.invoke=Sn,b.isArguments=Ur,b.isArray=pe,b.isArrayBuffer=cw,b.isArrayLike=Nn,b.isArrayLikeObject=at,b.isBoolean=function Dv(a){return!0===a||!1===a||It(a)&&En(a)==sa},b.isBuffer=Qn,b.isDate=De,b.isElement=function xv(a){return It(a)&&1===a.nodeType&&!Va(a)},b.isEmpty=function lw(a){if(null==a)return!0;if(Nn(a)&&(pe(a)||"string"==typeof a||"function"==typeof a.splice||Qn(a)||Ha(a)||Ur(a)))return!a.length;var l=nt(a);if(l==Mi||l==zn)return!a.size;if(Oa(a))return!Qc(a).length;for(var d in a)if(et.call(a,d))return!1;return!0},b.isEqual=function Ns(a,l){return Wc(a,l)},b.isEqualWith=function Ti(a,l,d){var f=(d="function"==typeof d?d:w)?d(a,l):w;return f===w?Wc(a,l,w,d):!!f},b.isError=Wd,b.isFinite=function Sv(a){return"number"==typeof a&&Fu(a)},b.isFunction=Zn,b.isInteger=Xf,b.isLength=As,b.isMap=Dl,b.isMatch=function Os(a,l){return a===l||Sa(a,l,pd(l))},b.isMatchWith=function Iv(a,l,d){return d="function"==typeof d?d:w,Sa(a,l,pd(l),d)},b.isNaN=function Tv(a){return Qd(a)&&a!=+a},b.isNative=function kv(a){if(ff(a))throw new _e("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ms(a)},b.isNil=function Lv(a){return null==a},b.isNull=function Ev(a){return null===a},b.isNumber=Qd,b.isObject=bt,b.isObjectLike=It,b.isPlainObject=Va,b.isRegExp=or,b.isSafeInteger=function Eo(a){return Xf(a)&&a>=-co&&a<=co},b.isSet=eg,b.isString=xl,b.isSymbol=ui,b.isTypedArray=Ha,b.isUndefined=function tg(a){return a===w},b.isWeakMap=function uw(a){return It(a)&&nt(a)==ss},b.isWeakSet=function ng(a){return It(a)&&"[object WeakSet]"==En(a)},b.join=function ja(a,l){return null==a?"":gs.call(a,l)},b.kebabCase=gw,b.last=li,b.lastIndexOf=function kf(a,l,d){var f=null==a?0:a.length;if(!f)return-1;var m=f;return d!==w&&(m=(m=Ce(d))<0?Vt(f+m,0):an(m,f-1)),l==l?function ib(S,N,k){for(var K=k+1;K--;)if(S[K]===N)return K;return K}(a,l,m):us(a,ii,m,!0)},b.lowerCase=I,b.lowerFirst=Xv,b.lt=dw,b.lte=ig,b.max=function ch(a){return a&&a.length?tt(a,An,Qu):w},b.maxBy=function zs(a,l){return a&&a.length?tt(a,ee(l,2),Qu):w},b.mean=function lh(a){return wp(a,An)},b.meanBy=function Ol(a,l){return wp(a,ee(l,2))},b.min=function Pg(a){return a&&a.length?tt(a,An,Pr):w},b.minBy=function jg(a,l){return a&&a.length?tt(a,ee(l,2),Pr):w},b.stubArray=Nl,b.stubFalse=Ga,b.stubObject=function iy(){return{}},b.stubString=function sr(){return""},b.stubTrue=function Ag(){return!0},b.multiply=uh,b.nth=function Ub(a,l){return a&&a.length?Ku(a,Ce(l)):w},b.noConflict=function xw(){return Ct._===this&&(Ct._=ab),this},b.noop=Lg,b.now=Ba,b.pad=function Mg(a,l,d){a=rt(a);var f=(l=Ce(l))?Dr(a):0;if(!l||f>=l)return a;var m=(l-f)/2;return Is(ba(m),d)+a+Is(zu(m),d)},b.padEnd=function Tl(a,l,d){a=rt(a);var f=(l=Ce(l))?Dr(a):0;return l&&f<l?a+Is(l-f,d):a},b.padStart=function ki(a,l,d){a=rt(a);var f=(l=Ce(l))?Dr(a):0;return l&&f<l?Is(l-f,d)+a:a},b.parseInt=function Cg(a,l,d){return d||null==l?l=0:l&&(l=+l),db(rt(a).replace(Du,""),l||0)},b.random=function Jv(a,l,d){if(d&&"boolean"!=typeof d&&xn(a,l,d)&&(l=d=w),d===w&&("boolean"==typeof l?(d=l,l=w):"boolean"==typeof a&&(d=a,a=w)),a===w&&l===w?(a=0,l=1):(a=Zi(a),l===w?(l=a,a=0):l=Zi(l)),a>l){var f=a;a=l,l=f}if(d||a%1||l%1){var m=Ac();return an(a+m*(l-a+W("1e-"+((m+"").length-1))),l)}return qu(a,l)},b.reduce=function dv(a,l,d){var f=pe(a)?wr:xp,m=arguments.length<3;return f(a,ee(l,4),d,m,Do)},b.reduceRight=function hv(a,l,d){var f=pe(a)?Ic:xp,m=arguments.length<3;return f(a,ee(l,4),d,m,Lr)},b.repeat=function ey(a,l,d){return l=(d?xn(a,l,d):l===w)?1:Ce(l),Xu(rt(a),l)},b.replace=function Xd(){var a=arguments,l=rt(a[0]);return a.length<3?l:l.replace(a[1],a[2])},b.result=function Yv(a,l,d){var f=-1,m=(l=Yi(l,a)).length;for(m||(m=1,a=w);++f<m;){var v=null==a?w:a[Wi(l[f])];v===w&&(f=m,v=d),a=Zn(v)?v.call(a):v}return a},b.round=dh,b.runInContext=S,b.sample=function fv(a){return(pe(a)?xi:Db)(a)},b.size=function aw(a){if(null==a)return 0;if(Nn(a))return xl(a)?Dr(a):a.length;var l=nt(a);return l==Mi||l==zn?a.size:Qc(a).length},b.snakeCase=Lo,b.some=function Fa(a,l,d){var f=pe(a)?fo:Sb;return d&&xn(a,l,d)&&(l=w),f(a,ee(l,3))},b.sortedIndex=function JC(a,l){return Kc(a,l)},b.sortedIndexBy=function Wb(a,l,d){return nd(a,l,ee(d,2))},b.sortedIndexOf=function Pd(a,l){var d=null==a?0:a.length;if(d){var f=Kc(a,l);if(f<d&&Wn(a[f],l))return f}return-1},b.sortedLastIndex=function Qb(a,l){return Kc(a,l,!0)},b.sortedLastIndexBy=function Ef(a,l,d){return nd(a,l,ee(d,2),!0)},b.sortedLastIndexOf=function fl(a,l){if(null!=a&&a.length){var f=Kc(a,l,!0)-1;if(Wn(a[f],l))return f}return-1},b.startCase=wg,b.startsWith=function th(a,l,d){return a=rt(a),d=null==d?0:Jo(Ce(d),0,a.length),l=Qt(l),a.slice(d,d+l.length)==l},b.subtract=Rg,b.sum=function hh(a){return a&&a.length?Sp(a,An):0},b.sumBy=function cy(a,l){return a&&a.length?Sp(a,ee(l,2)):0},b.template=function mw(a,l,d){var f=b.templateSettings;d&&xn(a,l,d)&&(l=w),a=rt(a),l=Sl({},l,f,ud);var D,T,m=Sl({},l.imports,f.imports,ud),v=Zt(m),C=Tp(m,v),j=0,R=l.interpolate||xu,F="__p += '",U=ga((l.escape||xu).source+"|"+R.source+"|"+(R===bc?ho:xu).source+"|"+(l.evaluate||xu).source+"|$","g"),q="//# sourceURL="+(et.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tn+"]")+"\n";a.replace(U,function(re,Ne,Re,On,In,$n){return Re||(Re=On),F+=a.slice(j,$n).replace(Bn,OC),Ne&&(D=!0,F+="' +\n__e("+Ne+") +\n'"),In&&(T=!0,F+="';\n"+In+";\n__p += '"),Re&&(F+="' +\n((__t = ("+Re+")) == null ? '' : __t) +\n'"),j=$n+re.length,re}),F+="';\n";var oe=et.call(l,"variable")&&l.variable;if(oe){if(V_.test(oe))throw new _e("Invalid `variable` option passed into `_.template`")}else F="with (obj) {\n"+F+"\n}\n";F=(T?F.replace(R_,""):F).replace(z_,"$1").replace(lt,"$1;"),F="function("+(oe||"obj")+") {\n"+(oe?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(D?", __e = _.escape":"")+(T?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+F+"return __p\n}";var Se=Sg(function(){return Ve(v,q+"return "+F).apply(w,C)});if(Se.source=F,Wd(Se))throw Se;return Se},b.times=function oy(a,l){if((a=Ce(a))<1||a>co)return[];var d=Rn,f=an(a,Rn);l=ee(l),a-=Rn;for(var m=Ip(f,l);++d<a;)l(d);return m},b.toFinite=Zi,b.toInteger=Ce,b.toLength=rg,b.toLower=function Dg(a){return rt(a).toLowerCase()},b.toNumber=Tt,b.toSafeInteger=function ag(a){return a?Jo(Ce(a),-co,co):0===a?a:0},b.toString=rt,b.toUpper=function _w(a){return rt(a).toUpperCase()},b.trim=function kl(a,l,d){if((a=rt(a))&&(d||l===w))return X_(a);if(!a||!(l=Qt(l)))return a;var f=ri(a),m=ri(l);return Io(f,eb(f,m),tb(f,m)+1).join("")},b.trimEnd=function El(a,l,d){if((a=rt(a))&&(d||l===w))return a.slice(0,Np(a)+1);if(!a||!(l=Qt(l)))return a;var f=ri(a);return Io(f,0,tb(f,ri(l))+1).join("")},b.trimStart=function nh(a,l,d){if((a=rt(a))&&(d||l===w))return a.replace(Du,"");if(!a||!(l=Qt(l)))return a;var f=ri(a);return Io(f,eb(f,ri(l))).join("")},b.truncate=function ih(a,l){var d=30,f="...";if(bt(l)){var m="separator"in l?l.separator:m;d="length"in l?Ce(l.length):d,f="omission"in l?Qt(l.omission):f}var v=(a=rt(a)).length;if(Go(a)){var C=ri(a);v=C.length}if(d>=v)return a;var D=d-Dr(f);if(D<1)return f;var T=C?Io(C,0,D).join(""):a.slice(0,D);if(m===w)return T+f;if(C&&(D+=T.length-D),or(m)){if(a.slice(D).search(m)){var j,R=T;for(m.global||(m=ga(m.source,rt(H_.exec(m))+"g")),m.lastIndex=0;j=m.exec(R);)var F=j.index;T=T.slice(0,F===w?D:F)}}else if(a.indexOf(Qt(m),D)!=D){var U=T.lastIndexOf(m);U>-1&&(T=T.slice(0,U))}return T+f},b.unescape=function oh(a){return(a=rt(a))&&wu.test(a)?a.replace(_c,Nu):a},b.uniqueId=function Og(a){var l=++he;return rt(a)+l},b.upperCase=bw,b.upperFirst=rh,b.each=za,b.eachRight=Hf,b.first=Pa,Eg(b,function(){var a={};return Cn(b,function(l,d){et.call(b.prototype,d)||(a[d]=l)}),a}(),{chain:!1}),b.VERSION="4.17.21",xt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){b[a].placeholder=b}),xt(["drop","take"],function(a,l){Oe.prototype[a]=function(d){d=d===w?1:Vt(Ce(d),0);var f=this.__filtered__&&!l?new Oe(this):this.clone();return f.__filtered__?f.__takeCount__=an(d,f.__takeCount__):f.__views__.push({size:an(d,Rn),type:a+(f.__dir__<0?"Right":"")}),f},Oe.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),xt(["filter","map","takeWhile"],function(a,l){var d=l+1,f=1==d||3==d;Oe.prototype[a]=function(m){var v=this.clone();return v.__iteratees__.push({iteratee:ee(m,3),type:d}),v.__filtered__=v.__filtered__||f,v}}),xt(["head","last"],function(a,l){var d="take"+(l?"Right":"");Oe.prototype[a]=function(){return this[d](1).value()[0]}}),xt(["initial","tail"],function(a,l){var d="drop"+(l?"":"Right");Oe.prototype[a]=function(){return this.__filtered__?new Oe(this):this[d](1)}}),Oe.prototype.compact=function(){return this.filter(An)},Oe.prototype.find=function(a){return this.filter(a).head()},Oe.prototype.findLast=function(a){return this.reverse().find(a)},Oe.prototype.invokeMap=Ie(function(a,l){return"function"==typeof a?new Oe(this):this.map(function(d){return Gc(d,a,l)})}),Oe.prototype.reject=function(a){return this.filter(yl(ee(a)))},Oe.prototype.slice=function(a,l){a=Ce(a);var d=this;return d.__filtered__&&(a>0||l<0)?new Oe(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),l!==w&&(d=(l=Ce(l))<0?d.dropRight(-l):d.take(l-a)),d)},Oe.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},Oe.prototype.toArray=function(){return this.take(Rn)},Cn(Oe.prototype,function(a,l){var d=/^(?:filter|find|map|reject)|While$/.test(l),f=/^(?:head|last)$/.test(l),m=b[f?"take"+("last"==l?"Right":""):l],v=f||/^find/.test(l);!m||(b.prototype[l]=function(){var C=this.__wrapped__,D=f?[1]:arguments,T=C instanceof Oe,j=D[0],R=T||pe(C),F=function(Ne){var Re=m.apply(b,Vi([Ne],D));return f&&U?Re[0]:Re};R&&d&&"function"==typeof j&&1!=j.length&&(T=R=!1);var U=this.__chain__,q=!!this.__actions__.length,oe=v&&!U,Se=T&&!q;if(!v&&R){C=Se?C:new Oe(this);var re=a.apply(C,D);return re.__actions__.push({func:ir,args:[F],thisArg:w}),new ai(re,U)}return oe&&Se?a.apply(this,D):(re=this.thru(F),oe?f?re.value()[0]:re.value():re)})}),xt(["pop","push","shift","sort","splice","unshift"],function(a){var l=Ec[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",f=/^(?:pop|shift)$/.test(a);b.prototype[a]=function(){var m=arguments;if(f&&!this.__chain__){var v=this.value();return l.apply(pe(v)?v:[],m)}return this[d](function(C){return l.apply(pe(C)?C:[],m)})}}),Cn(Oe.prototype,function(a,l){var d=b[l];if(d){var f=d.name+"";et.call(Tr,f)||(Tr[f]=[]),Tr[f].push({name:l,func:d})}}),Tr[nl(w,2).name]=[{name:"wrapper",func:w}],Oe.prototype.clone=function jc(){var a=new Oe(this.__wrapped__);return a.__actions__=Gn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Gn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=Gn(this.__views__),a},Oe.prototype.reverse=function Rc(){if(this.__filtered__){var a=new Oe(this);a.__dir__=-1,a.__filtered__=!0}else(a=this.clone()).__dir__*=-1;return a},Oe.prototype.value=function zc(){var a=this.__wrapped__.value(),l=this.__dir__,d=pe(a),f=l<0,m=d?a.length:0,v=function Na(a,l,d){for(var f=-1,m=d.length;++f<m;){var v=d[f],C=v.size;switch(v.type){case"drop":a+=C;break;case"dropRight":l-=C;break;case"take":l=an(l,a+C);break;case"takeRight":a=Vt(a,l-C)}}return{start:a,end:l}}(0,m,this.__views__),C=v.start,D=v.end,T=D-C,j=f?D:C-1,R=this.__iteratees__,F=R.length,U=0,q=an(T,this.__takeCount__);if(!d||!f&&m==T&&q==T)return Jc(a,this.__actions__);var oe=[];e:for(;T--&&U<q;){for(var Se=-1,re=a[j+=l];++Se<F;){var Ne=R[Se],On=Ne.type,In=(0,Ne.iteratee)(re);if(2==On)re=In;else if(!In){if(1==On)continue e;break e}}oe[U++]=re}return oe},b.prototype.at=Rf,b.prototype.chain=function zf(){return gl(this)},b.prototype.commit=function Ff(){return new ai(this.value(),this.__chain__)},b.prototype.next=function tw(){this.__values__===w&&(this.__values__=og(this.value()));var a=this.__index__>=this.__values__.length;return{done:a,value:a?w:this.__values__[this.__index__++]}},b.prototype.plant=function iw(a){for(var l,d=this;d instanceof Pc;){var f=wd(d);f.__index__=0,f.__values__=w,l?m.__wrapped__=f:l=f;var m=f;d=d.__wrapped__}return m.__wrapped__=a,l},b.prototype.reverse=function Rd(){var a=this.__wrapped__;if(a instanceof Oe){var l=a;return this.__actions__.length&&(l=new Oe(this)),(l=l.reverse()).__actions__.push({func:ir,args:[Od],thisArg:w}),new ai(l,this.__chain__)}return this.thru(Od)},b.prototype.toJSON=b.prototype.valueOf=b.prototype.value=function zd(){return Jc(this.__wrapped__,this.__actions__)},b.prototype.first=b.prototype.head,vo&&(b.prototype[vo]=function nw(){return this}),b}();Ct._=ds,(ro=function(){return ds}.call(is,du,is,oo))!==w&&(oo.exports=ro)}.call(this)}},oo=>{oo(oo.s=357)}]);
|