1(self.webpackChunk_web_components_cs_sitewide_search_web=self.webpackChunk_web_components_cs_sitewide_search_web||[]).push([[792],{340(oe){function ie(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function M(S){return"function"==typeof S}function G(S){return"object"==typeof S&&null!==S}function U(S){return void 0===S}oe.exports=ie,ie.prototype._events=void 0,ie.prototype._maxListeners=void 0,ie.defaultMaxListeners=10,ie.prototype.setMaxListeners=function(S){if(!function V(S){return"number"==typeof S}(S)||S<0||isNaN(S))throw TypeError("n must be a positive number");return this._maxListeners=S,this},ie.prototype.emit=function(S){var A,N,W,Y,$,X;if(this._events||(this._events={}),"error"===S&&(!this._events.error||G(this._events.error)&&!this._events.error.length)){if((A=arguments[1])instanceof Error)throw A;var z=new Error('Uncaught, unspecified "error" event. ('+A+")");throw z.context=A,z}if(U(N=this._events[S]))return!1;if(M(N))switch(arguments.length){case 1:N.call(this);break;case 2:N.call(this,arguments[1]);break;case 3:N.call(this,arguments[1],arguments[2]);break;default:Y=Array.prototype.slice.call(arguments,1),N.apply(this,Y)}else if(G(N))for(Y=Array.prototype.slice.call(arguments,1),W=(X=N.slice()).length,$=0;$<W;$++)X[$].apply(this,Y);return!0},ie.prototype.on=ie.prototype.addListener=function(S,A){var N;if(!M(A))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",S,M(A.listener)?A.listener:A),this._events[S]?G(this._events[S])?this._events[S].push(A):this._events[S]=[this._events[S],A]:this._events[S]=A,G(this._events[S])&&!this._events[S].warned&&(N=U(this._maxListeners)?ie.defaultMaxListeners:this._maxListeners)&&N>0&&this._events[S].length>N&&(this._events[S].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[S].length),"function"==typeof console.trace&&console.trace()),this},ie.prototype.once=function(S,A){if(!M(A))throw TypeError("listener must be a function");var N=!1;function W(){this.removeListener(S,W),N||(N=!0,A.apply(this,arguments))}return W.listener=A,this.on(S,W),this},ie.prototype.removeListener=function(S,A){var N,W,Y,$;if(!M(A))throw TypeError("listener must be a function");if(!this._events||!this._events[S])return this;if(Y=(N=this._events[S]).length,W=-1,N===A||M(N.listener)&&N.listener===A)delete this._events[S],this._events.removeListener&&this.emit("removeListener",S,A);else if(G(N)){for($=Y;$-- >0;)if(N[$]===A||N[$].listener&&N[$].listener===A){W=$;break}if(W<0)return this;1===N.length?(N.length=0,delete this._events[S]):N.splice(W,1),this._events.removeListener&&this.emit("removeListener",S,A)}return this},ie.prototype.removeAllListeners=function(S){var A,N;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[S]&&delete this._events[S],this;if(0===arguments.length){for(A in this._events)"removeListener"!==A&&this.removeAllListeners(A);return this.removeAllListeners("removeListener"),this._events={},this}if(M(N=this._events[S]))this.removeListener(S,N);else if(N)for(;N.length;)this.removeListener(S,N[N.length-1]);return delete this._events[S],this},ie.prototype.listeners=function(S){return this._events&&this._events[S]?M(this._events[S])?[this._events[S]]:this._events[S].slice():[]},ie.prototype.listenerCount=function(S){if(this._events){var A=this._events[S];if(M(A))return 1;if(A)return A.length}return 0},ie.listenerCount=function(S,A){return S.listenerCount(A)}},816(oe,ie,M){"use strict";var V={};M.r(V),M.d(V,{abtestingV3Client:()=>jI,apiClientVersion:()=>gy});var G={};M.r(G),M.d(G,{abtestingClient:()=>qI,apiClientVersion:()=>my});var U={};M.r(U),M.d(U,{analyticsClient:()=>BI,apiClientVersion:()=>yy});var S={};M.r(S),M.d(S,{apiClientVersion:()=>vy,insightsClient:()=>$I});var A={};M.r(A),M.d(A,{apiClientVersion:()=>_y,personalizationClient:()=>WI});var N={};M.r(N),M.d(N,{apiClientVersion:()=>by,querySuggestionsClient:()=>GI});var W={};M.r(W),M.d(W,{apiClientVersion:()=>Dc,searchClient:()=>QI});var Y={};M.r(Y),M.d(Y,{apiClientVersion:()=>wy,ingestionClient:()=>Cy,isOnDemandTrigger:()=>x6,isScheduleTrigger:()=>A6,isSubscriptionTrigger:()=>N6});var $={};M.r($),M.d($,{apiClientVersion:()=>Py,monitoringClient:()=>ZI});var X={};M.r(X),M.d(X,{apiClientVersion:()=>Ey,recommendClient:()=>YI});let z=null,ee=!1,P=1;const v=Symbol("SIGNAL");function C(e){const t=z;return z=e,t}const k={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function F(e){if(ee)throw new Error("");
1if(null===z)return;z.consumerOnSignalRead(e);const t=z.producersTail;if(void 0!==t&&t.producer===e)return;let n;const r=z.recomputing;if(r&&(n=void 0!==t?t.nextProducer:z.producers,void 0!==n&&n.producer===e))return z.producersTail=n,void(n.lastReadVersion=e.version);const o=e.consumersTail;if(void 0!==o&&o.consumer===z&&(!r||function Fe(e,t){const n=t.producersTail;if(void 0!==n){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(void 0!==r)}return!1}(o,z)))return;const i=te(z),s={producer:e,consumer:z,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};z.producersTail=s,void 0!==t?t.nextProducer=s:z.producers=s,i&&ve(e,s)}function I(e){if((!te(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==P)){if(!e.producerMustRecompute(e)&&!Ve(e))return void H(e);e.producerRecomputeValue(e),H(e)}}function T(e){if(void 0===e.consumers)return;const t=ee;ee=!0;try{for(let n=e.consumers;void 0!==n;n=n.nextConsumer){const r=n.consumer;r.dirty||R(r)}}finally{ee=t}}function E(){return!1!==z?.consumerAllowSignalWrites}function R(e){e.dirty=!0,T(e),e.consumerMarkedDirty?.(e)}function H(e){e.dirty=!1,e.lastCleanEpoch=P}function Q(e){return e&&function ne(e){e.producersTail=void 0,e.recomputing=!0}(e),C(e)}function J(e,t){C(t),e&&function xe(e){e.recomputing=!1;const t=e.producersTail;let n=void 0!==t?t.nextProducer:e.producers;if(void 0!==n){if(te(e))do{n=Te(n)}while(void 0!==n);void 0!==t?t.nextProducer=void 0:e.producers=void 0}}(e)}function Ve(e){for(let t=e.producers;void 0!==t;t=t.nextProducer){const n=t.producer,r=t.lastReadVersion;if(r!==n.version||(I(n),r!==n.version))return!0}return!1}function Oe(e){if(te(e)){let t=e.producers;for(;void 0!==t;)t=Te(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function ve(e,t){const n=e.consumersTail,r=te(e);if(void 0!==n?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;void 0!==o;o=o.nextProducer)ve(o.producer,o)}function Te(e){const t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,void 0!==r?r.prevConsumer=o:t.consumersTail=o,void 0!==o)o.nextConsumer=r;else if(t.consumers=r,!te(t)){let i=t.producers;for(;void 0!==i;)i=Te(i)}return n}function te(e){return e.consumerIsAlwaysLive||void 0!==e.consumers}function rt(e,t){return Object.is(e,t)}const ot=Symbol("UNSET"),xt=Symbol("COMPUTING"),ht=Symbol("ERRORED"),ct={...k,value:ot,dirty:!0,error:null,equal:rt,kind:"computed",producerMustRecompute:e=>e.value===ot||e.value===xt,producerRecomputeValue(e){if(e.value===xt)throw new Error("");const t=e.value;e.value=xt;const n=Q(e);let r,o=!1;try{r=e.computation(),C(null),o=t!==ot&&t!==ht&&r!==ht&&e.equal(t,r)}catch(i){r=ht,e.error=i}finally{J(e,n)}o?e.value=t:(e.value=r,e.version++)}};let On=function ln(){throw new Error};function or(e){On(e)}function _f(e,t){E()||or(e),e.equal(e.value,t)||(e.value=t,function xR(e){e.version++,function L(){P++}(),T(e)}(e))}const bf={...k,equal:rt,value:void 0,kind:"signal"},NR={...k,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function Dt(e){return"function"==typeof e}function Cv(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const wf=Cv(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Cf(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class In{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(Dt(r))try{r()}catch(i){t=i instanceof wf?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Dv(i)}catch(s){t=t??[],s instanceof wf?t=[...t,...s.errors]:t.push(s)}}if(t)throw new wf(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Dv(t);else{if(t instanceof In){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Cf(n,t)}remove(t){const{_finalizers:n}=this;n&&Cf(n,t),t instanceof In&&t._removeParent(this)}}In.EMPTY=(()=>{const e=new In;return e.closed=!0,e})();const Pv=In.EMPTY;function Ev(e){return e instanceof In||e&&"closed"in e&&Dt(e.remove)&&Dt(e.add)&&Dt(e.unsubscribe)}function Dv(e){Dt(e)?e():e.unsubscribe()}const So={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNext
1Context:!1},fu={setTimeout(e,t,...n){const{delegate:r}=fu;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=fu;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Sv(e){fu.setTimeout(()=>{const{onUnhandledError:t}=So;if(!t)throw e;t(e)})}function Mv(){}const FR=Pf("C",void 0,void 0);function Pf(e,t,n){return{kind:e,value:t,error:n}}let Mo=null;function hu(e){if(So.useDeprecatedSynchronousErrorHandling){const t=!Mo;if(t&&(Mo={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Mo;if(Mo=null,n)throw r}}else e()}class Ef extends In{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ev(t)&&t.add(this)):this.destination=$R}static create(t,n,r){return new Sf(t,n,r)}next(t){this.isStopped?Mf(function LR(e){return Pf("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Mf(function jR(e){return Pf("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Mf(FR,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const HR=Function.prototype.bind;function Df(e,t){return HR.call(e,t)}class BR{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){pu(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){pu(r)}else pu(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){pu(n)}}}class Sf extends Ef{constructor(t,n,r){let o;if(super(),Dt(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&So.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Df(t.next,i),error:t.error&&Df(t.error,i),complete:t.complete&&Df(t.complete,i)}):o=t}this.destination=new BR(o)}}function pu(e){So.useDeprecatedSynchronousErrorHandling?function qR(e){So.useDeprecatedSynchronousErrorHandling&&Mo&&(Mo.errorThrown=!0,Mo.error=e)}(e):Sv(e)}function Mf(e,t){const{onStoppedNotification:n}=So;n&&fu.setTimeout(()=>n(e,t))}const $R={closed:!0,next:Mv,error:function UR(e){throw e},complete:Mv},Of="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ov(e){return e}let Ut=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function WR(e){return e&&e instanceof Ef||function VR(e){return e&&Dt(e.next)&&Dt(e.error)&&Dt(e.complete)}(e)&&Ev(e)}(n)?n:new Sf(n,r,o);return hu(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Tv(r))((o,i)=>{const s=new Sf({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Of](){return this}pipe(...n){return function Iv(e){return 0===e.length?Ov:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Tv(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Tv(e){var t;return null!==(t=e??So.Promise)&&void 0!==t?t:Promise}const zR=Cv(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let If,Ti=(()=>{class e extends Ut{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Rv(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new zR}next(n){hu(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){hu(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){hu(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Pv:(this.currentObservers=null,i.push(n),new In(()=>{this.currentObservers=null,Cf(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Ut;return n.source=this,n}}return e.create=(t,n)=>new Rv(t,n),e})();class Rv extends Ti{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Pv}}class GR extends Ti{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Tf(){return If}function Vr(e){const t=If;return If=e,t}const QR=Symbol("NotFound");function Rf(e){return e===QR||"\u0275NotFound"===e?.name}Error;const Nv="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";
1class K extends Error{code;constructor(t,n){super(function Tn(e,t){return`${function ZR(e){return`NG0${Math.abs(e)}`}(e)}${t?": "+t:""}`}(t,n)),this.code=t}}const mt=globalThis;function ge(e){for(let t in e)if(e[t]===ge)return t;throw Error("")}function Rn(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(Rn).join(", ")}]`;if(null==e)return""+e;const t=e.overriddenName||e.name;if(t)return`${t}`;const n=e.toString();if(null==n)return""+n;const r=n.indexOf("\n");return r>=0?n.slice(0,r):n}function xf(e,t){return e?t?`${e} ${t}`:e:t||""}const JR=ge({__forward_ref__:ge});function Af(e){return e.__forward_ref__=Af,e.toString=function(){return Rn(this())},e}function Ee(e){return function mu(e){return"function"==typeof e&&e.hasOwnProperty(JR)&&e.__forward_ref__===Af}(e)?e():e}function me(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ri(e){return{providers:e.providers||[],imports:e.imports||[]}}function yu(e){return function ox(e,t){return e.hasOwnProperty(t)&&e[t]||null}(e,_u)}function vu(e){return e&&e.hasOwnProperty(Nf)?e[Nf]:null}const _u=ge({\u0275prov:ge}),Nf=ge({\u0275inj:ge});class re{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=me({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ff(e){return e&&!!e.\u0275providers}const kv=ge({\u0275cmp:ge}),lx=ge({\u0275dir:ge}),dx=ge({\u0275pipe:ge}),Fv=ge({\u0275mod:ge}),To=ge({\u0275fac:ge}),na=ge({__NG_ELEMENT_ID__:ge}),jv=ge({__NG_ENV_ID__:ge});function ze(e){return wu(e),e[kv]||null}function Yt(e){return wu(e),e[lx]||null}function zn(e){return wu(e),e[dx]||null}function wu(e,t){if(null==e)throw new K(-919,!1)}function Pe(e){return"string"==typeof e?e:null==e?"":String(e)}const Lf=ge({ngErrorCode:ge}),Lv=ge({ngErrorMessage:ge}),oa=ge({ngTokenPath:ge});function qf(e,t){return qv("",-200,t)}function Hf(e,t){throw new K(-201,!1)}function qv(e,t,n){const r=new K(t,e);return r[Lf]=t,r[Lv]=e,n&&(r[oa]=n),r}let Bf;function Hv(){return Bf}function dn(e){const t=Bf;return Bf=e,t}function Bv(e,t,n){const r=yu(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&n?null:void 0!==t?t:void Hf()}const Ro={};class yx{injector;constructor(t){this.injector=t}retrieve(t,n){const r=ia(n)||0;try{return this.injector.get(t,8&r?null:Ro,r)}catch(o){if(Rf(o))return o;throw o}}}function vx(e,t=0){const n=Tf();if(void 0===n)throw new K(-203,!1);if(null===n)return Bv(e,void 0,t);{const r=function _x(e){return{optional:!!(8&e),host:!!(1&e),self:!!(2&e),skipSelf:!!(4&e)}}(t),o=n.retrieve(e,r);if(Rf(o)){if(r.optional)return null;throw o}return o}}function Se(e,t=0){return(Hv()||vx)(Ee(e),t)}function se(e,t){return Se(e,ia(t))}function ia(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function $f(e){const t=[];for(let n=0;n<e.length;n++){const r=Ee(e[n]);if(Array.isArray(r)){if(0===r.length)throw new K(900,!1);let o,i=0;for(let s=0;s<r.length;s++){const a=r[s],c=bx(a);"number"==typeof c?-1===c?o=a.token:i|=c:o=a}t.push(Se(o,i))}else t.push(Se(r))}return t}function bx(e){return e.__NG_DI_FLAG__}function xo(e,t){return e.hasOwnProperty(To)?e[To]:null}function Ni(e,t){e.forEach(n=>Array.isArray(n)?Ni(n,t):t(n))}function $v(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Cu(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Eu(e,t,n){let r=aa(e,t);return r>=0?e[1|r]=n:(r=~r,function Wv(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Vf(e,t){const n=aa(e,t);if(n>=0)return e[1|n]}function aa(e,t){return function Cx(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const sr={},Xe=[],ki=new re(""),zv=new re("",-1),Wf=new re("");class Du{get(t,n=Ro){if(n===Ro){const o=qv("",-201);throw o.name="\u0275NotFound",o}return n}}function Ex(...e){return{\u0275providers:Gf(0,e),\u0275fromNgModule:!0}}function Gf(e,...t){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return Ni(t,s=>{const a=s;Su(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Gv(o,i),n}function Gv(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:o}=e[n];Qf(o,i=>{t(i,r)})}}function Su(e,t,n,r){if(!(e=Ee(e)))return!1;let o=null,i=vu(e);const s=!i&&ze(e);
1if(i||s){if(s&&!s.standalone)return!1;o=e}else{const c=e.ngModule;if(i=vu(c),!i)return!1;o=c}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of c)Su(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o),Ni(i.imports,l=>{Su(l,t,n,r)&&(u||=[],u.push(l))}),void 0!==u&&Gv(u,t)}if(!a){const u=xo(o)||(()=>new o);t({provide:o,useFactory:u,deps:Xe},o),t({provide:Wf,useValue:o,multi:!0},o),t({provide:ki,useValue:()=>Se(o),multi:!0},o)}const c=i.providers;if(null!=c&&!a){const u=e;Qf(c,l=>{t(l,u)})}}}return o!==e&&void 0!==e.providers}function Qf(e,t){for(let n of e)Ff(n)&&(n=n.\u0275providers),Array.isArray(n)?Qf(n,t):t(n)}const Dx=ge({provide:String,useValue:ge});function Kf(e){return null!==e&&"object"==typeof e&&Dx in e}function Dr(e){return"function"==typeof e}const Zf=new re(""),Mu={},Yv={};let Yf;function Jf(){return void 0===Yf&&(Yf=new Du),Yf}class wn{}class Ao extends wn{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,eh(t,s=>this.processProvider(s)),this.records.set(zv,Fi(void 0,this)),o.has("environment")&&this.records.set(wn,Fi(void 0,this));const i=this.records.get(Zf);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Wf,Xe,{self:!0}))}retrieve(t,n){const r=ia(n)||0;try{return this.get(t,Ro,r)}catch(o){if(Rf(o))return o;throw o}}destroy(){ca(this),this._destroyed=!0;const t=C(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),
1C(t)}}onDestroy(t){return ca(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ca(this);const n=Vr(this),r=dn(void 0);try{return t()}finally{Vr(n),dn(r)}}get(t,n=Ro,r){if(ca(this),t.hasOwnProperty(jv))return t[jv](this);const o=ia(r),s=Vr(this),a=dn(void 0);try{if(!(4&o)){let u=this.records.get(t);if(void 0===u){const l=function Tx(e){return"function"==typeof e||"object"==typeof e&&"InjectionToken"===e.ngMetadataName}(t)&&yu(t);u=l&&this.injectableDefInScope(l)?Fi(Xf(t),Mu):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u,o)}return(2&o?Jf():this.parent).get(t,n=8&o&&n===Ro?null:n)}catch(c){const u=function gx(e){return e[Lf]}(c);throw-200===u||-201===u?new K(u,null):c}finally{dn(a),Vr(s)}}resolveInjectorInitializers(){const t=C(null),n=Vr(this),r=dn(void 0);try{const i=this.get(ki,Xe,{self:!0});for(const s of i)s()}finally{Vr(n),dn(r),C(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Rn(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){let n=Dr(t=Ee(t))?t:Ee(t&&t.provide);const r=function Mx(e){return Kf(e)?Fi(void 0,e.useValue):Fi(function Jv(e,t,n){let r;if(Dr(e)){const o=Ee(e);return xo(o)||Xf(o)}if(Kf(e))r=()=>Ee(e.useValue);else if(function Kv(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...$f(e.deps||[]));else if(function Qv(e){return!(!e||!e.useExisting)}(e))r=(o,i)=>Se(Ee(e.useExisting),void 0!==i&&8&i?8:void 0);else{const o=Ee(e&&(e.useClass||e.provide));if(!function Ox(e){return!!e.deps}(e))return xo(o)||Xf(o);r=()=>new o(...$f(e.deps))}return r}(e),Mu)}(t);if(!Dr(t)&&!0===t.multi){let o=this.records.get(n);o||(o=Fi(void 0,Mu,!0),o.factory=()=>$f(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){const o=C(null);try{if(n.value===Yv)throw qf(Rn(t));return n.value===Mu&&(n.value=Yv,n.value=n.factory(void 0,r)),"object"==typeof n.value&&n.value&&function Ix(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{C(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Ee(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Xf(e){const t=yu(e),n=null!==t?t.factory:xo(e);if(null!==n)return n;if(e instanceof re)throw new K(204,!1);if(e instanceof Function)return function Sx(e){if(e.length>0)throw new K(204,!1);const n=function ix(e){return(e?.[_u]??null)||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new K(204,!1)}function ca(e){if(e.destroyed)throw new K(205,!1)}function Fi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function eh(e,t){for(const n of e)Array.isArray(n)?eh(n,t):n&&Ff(n)?eh(n.\u0275providers,t):t(n)}function th(e,t){let n;e instanceof Ao?(ca(e),n=e):n=new yx(e);const o=Vr(n),i=dn(void 0);try{return t()}finally{Vr(o),dn(i)}}function nh(){return void 0!==Hv()||null!=Tf()}function pt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Jt(e){return Array.isArray(e)&&!0===e[1]}function e_(e){return!!(4&e.flags)}function ar(e){return e.componentOffset>-1}function Bi(e){return!(1&~e.flags)}function Qn(e){return!!e.template}function Kr(e){return!!(512&e[2])}function Or(e){return!(256&~e[2])}function jt(e){for(;Array.isArray(e);)e=e[0];return e}function Ui(e,t){return jt(t[e])}function ut(e,t){return jt(t[e.index])}function $i(e,t){return e.data[t]}function Xt(e,t){const n=t[e];return pt(n)?n:n[0]}function sh(e){return!(128&~e[2])}function Wt(e,t){return null==t?null:e[t]}function s_(e){e[17]=0}function ah(e){1024&e[2]||(e[2]|=1024,sh(e)&&Vi(e))}function la(e){return!!(9216&e[2]||e[24]?.dirty)}function ch(e){e[10].changeDetectionScheduler?.notify(8),64&e[2]&&(e[2]|=1024),la(e)&&Vi(e)}function Vi(e){e[10].changeDetectionScheduler?.notify(0);let t=Ir(e);for(;null!==t&&!(8192&t[2])&&(t[2]|=8192,sh(t));)t=Ir(t)}function Ru(e,t){if(Or(e))throw new K(911,!1);null===e[21]&&(e[21]=[]),e[21].push(t)}function Ir(e){const t=e[3];return Jt(t)?t[3]:t}function c_(e){return e[7]??=[]}function u_(e){return e.cleanup??=[]}const _e={lFrame:D_(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let dh=!1;function B(){return _e.lFrame.lView}function ye(){return _e.lFrame.tView}function Kn(e){return _e.lFrame.contextLView=e,e[8]}function Zn(e){return _e.lFrame.contextLView=null,e}function we(){let e=g_();for(;null!==e&&64===e.type;)e=e.parent;return e}function g_(){return _e.lFrame.currentTNode}function Tr(e,t){const n=_e.lFrame;n.currentTNode=e,n.isParent=t}function m_(){return _e.lFrame.isParent}function b_(){return dh}function xu(e){const t=dh;return dh=e,t}function zt(){return _e.lFrame.bindingIndex++}function Ux(e,t){const n=_e.lFrame;n.bindingIndex=n.bindingRootIndex=e,hh(t)}function hh(e){_e.lFrame.currentDirectiveIndex=e}function Au(e){_e.lFrame.currentQueryIndex=e}function Vx(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[5]:null}function P_(e,t,n){if(4&n){let o=t,i=e;for(;!(o=o.parent,null!==o||1&n||(o=Vx(i),null===o||(i=i[14],10&o.type))););if(null===o)return!1;t=o,e=i}const r=_e.lFrame=E_();return r.currentTNode=t,r.lView=e,!0}function mh(e){const t=E_(),n=e[1];
1_e.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function E_(){const e=_e.lFrame,t=null===e?null:e.child;return null===t?D_(e):t}function D_(e){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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function S_(){const e=_e.lFrame;return _e.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const M_=S_;function yh(){const e=S_();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ht(){return _e.lFrame.selectedIndex}function Lo(e){_e.lFrame.selectedIndex=e}function vh(){_e.lFrame.currentNamespace="svg"}let O_=!0;function Nu(){return O_}function fa(e){O_=e}function I_(e,t=null,n=null,r){const o=T_(e,t,n,r);return o.resolveInjectorInitializers(),o}function T_(e,t=null,n=null,r,o=new Set){const i=[n||Xe,Ex(e)];return r=r||("object"==typeof e?void 0:Rn(e)),new Ao(i,t||Jf(),r||null,o)}class Pn{static THROW_IF_NOT_FOUND=Ro;static NULL=new Du;static create(t,n){if(Array.isArray(t))return I_({name:""},n,t,"");{const r=t.name??"";return I_({name:r},t.parent,t.providers,r)}}static \u0275prov=me({token:Pn,providedIn:"any",factory:()=>Se(zv)});static __NG_ELEMENT_ID__=-1}const Nn=new re("");let Zr=(()=>class e{static __NG_ELEMENT_ID__=Zx;static __NG_ENV_ID__=n=>n})();class R_ extends Zr{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Or(this._lView)}onDestroy(t){const n=this._lView;return Ru(n,t),()=>function uh(e,t){if(null===e[21])return;const n=e[21].indexOf(t);-1!==n&&e[21].splice(n,1)}(n,t)}}function Zx(){return new R_(B())}const Yx=!1,Jx=new re("");let qo=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new GR(!1);debugTaskTracker=se(Jx,{optional:!0});get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Ut(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=me({token:e,providedIn:"root",factory:()=>new e})}return e})();const Yr=class Xx extends Ti{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,nh()&&(this.destroyRef=se(Zr,{optional:!0})??void 0,this.pendingTasks=se(qo,{optional:!0})??void 0)}emit(t){const n=C(null);try{super.next(t)}finally{C(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof In&&t.add(a),a}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{void 0!==r&&this.pendingTasks?.remove(r)}})}}};function ku(...e){}function x_(e){let t,n;function r(){e=ku;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function eA(e){return queueMicrotask(()=>e()),()=>{e=ku}}const _h="isAngularZone",Fu=_h+"_ID";let tA=0;class tt{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Yr(!1);onMicrotaskEmpty=new Yr(!1);onStable=new Yr(!1);
1onError=new Yr(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Yx}=t;if(typeof Zone>"u")throw new K(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,function oA(e){const t=()=>{!function rA(e){function t(){x_(()=>{e.callbackScheduled=!1,wh(e),e.isCheckStableRunning=!0,bh(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),wh(e))}(e)},n=tA++;e._inner=e._inner.fork({name:"angular",properties:{[_h]:!0,[Fu]:n,[Fu+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(function sA(e){return k_(e,"__ignore_ng_zone__")}(c))return r.invokeTask(i,s,a,c);try{return A_(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),N_(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return A_(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function aA(e){return k_(e,"__scheduler_tick__")}(c)&&t(),N_(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,wh(e),bh(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(_h)}static assertInAngularZone(){if(!tt.isInAngularZone())throw new K(909,!1)}static assertNotInAngularZone(){if(tt.isInAngularZone())throw new K(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,nA,ku,ku);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const nA={};function bh(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function wh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function A_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function N_(e){e._nesting--,bh(e)}class iA{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Yr;onMicrotaskEmpty=new Yr;onStable=new Yr;onError=new Yr;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}function k_(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class ha{_console=console;handleError(t){this._console.error("ERROR",t)}}const Jr=new re("",{factory:()=>{const e=se(tt),t=se(wn);let n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(ha),n.handleError(r))})}}}),cA={provide:ki,useValue:()=>{se(ha,{optional:!0})},multi:!0};function Ho(e,t){const[n,r,o]=function IR(e,t){const n=Object.create(bf);n.value=e,void 0!==t&&(n.equal=t);const r=()=>function TR(e){return F(e),e.value}(n);return r[v]=n,[r,s=>_f(n,s),s=>function RR(e,t){E()||or(e),_f(e,t(e.value))}(n,s)]}(e,t?.equal),i=n;return i.set=r,i.update=o,i.asReadonly=lA.bind(i),i}function lA(){const e=this[v];if(void 0===e.readonlyFn){const t=()=>this();t[v]=e,e.readonlyFn=t}return e.readonlyFn}let Ch=(()=>class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=dA})();function dA(){return new Ch(B(),we())}class Bo{}const Ph=new re("",{factory:()=>!0}),fA=new re("");let F_=(()=>{class e{internalPendingTasks=se(qo);
1scheduler=se(Bo);errorHandler=se(Jr);add(){const n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){const r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=me({token:e,providedIn:"root",factory:()=>new e})}return e})(),j_=(()=>{class e{static \u0275prov=me({token:e,providedIn:"root",factory:()=>new hA})}return e})();class hA{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){const r=this.queues.get(t.zone);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){const n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);const r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(const[n,r]of this.queues)t||=null===n?this.flushQueue(r):n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(const r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}}class Eh{[v];constructor(t){this[v]=t}destroy(){this[v].destroy()}}function L_(e,t){const n=t?.injector??se(Pn);let o,r=!0!==t?.manualCleanup?n.get(Zr):null;const i=n.get(Ch,null,{optional:!0}),s=n.get(Bo);return null!==i?(o=function mA(e,t,n){const r=Object.create(gA);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=H_(r,n),e[23]??=new Set,e[23].add(r),r.consumerMarkedDirty(r),r}(i.view,s,e),r instanceof R_&&r._lView===i.view&&(r=null)):o=function yA(e,t,n){const r=Object.create(pA);return r.fn=H_(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}(e,n.get(j_),s),o.injector=n,null!==r&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Eh(o)}const q_={...NR,cleanupFns:void 0,zone:null,onDestroyFns:null,run(){const e=xu(!1);try{!function kR(e){if(e.dirty=!1,e.version>0&&!Ve(e))return;e.version++;const t=Q(e);try{e.cleanup(),e.fn()}finally{J(e,t)}}(this)}finally{xu(e)}},cleanup(){if(!this.cleanupFns?.length)return;const e=C(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],C(e)}}},pA={...q_,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Oe(this),null!==this.onDestroyFns)for(const e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}},gA={...q_,consumerMarkedDirty(){this.view[2]|=8192,Vi(this.view),this.notifier.notify(13)},destroy(){if(Oe(this),null!==this.onDestroyFns)for(const e of this.onDestroyFns)e();this.cleanup(),this.view[23]?.delete(this)}};function H_(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function zi(e){return function AR(e){const t=C(null);try{return e()}finally{C(t)}}(e)}let B_=null;function Gi(){return B_}class _A{}let U_=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=me({token:e,factory:()=>se(bA),providedIn:"platform"})}return e})(),bA=(()=>{class e extends U_{_location;_history;_doc=se(Nn);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Gi().getBaseHref(this._doc)}onPopState(n){const r=Gi().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Gi().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=me({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function $_(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}class V_{}function nb(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(u){return void n(u)}a.done?t(c):Promise.resolve(c).then(r,o)}function dt(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(c){nb(i,r,o,s,a,"next",c)}function a(c){nb(i,r,o,s,a,"throw",c)}s(void 0)})}}function Uo(e){return t=>{if(function tN(e){return Dt(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function $o(e,t,n,r,o){return new nN(e,t,n,r,o)}
1class nN extends Ef{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Qi(e,t){return Uo((n,r)=>{let o=0;n.subscribe($o(r,i=>{r.next(e.call(t,i,o++))}))})}function xr(e){return{toString:e}.toString()}function fb(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}class IN{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function TN(){const e=gb(this),t=e?.current;if(t){const n=e.previous;if(n===sr)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function RN(e,t,n,r,o){const i=this.declaredInputs[r],s=gb(e)||function xN(e,t){return e[pb]=t}(e,{previous:sr,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new IN(u&&u.currentValue,n,c===sr),fb(e,t,o,n)}const pb="__ngSimpleChanges__";function gb(e){return e[pb]||null}const Wo=[],Ke=function(e,t=null,n){for(let r=0;r<Wo.length;r++)(0,Wo[r])(e,t,n)};var ce=function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e}(ce||{});function Qu(e,t,n){yb(e,t,3,n)}function Ku(e,t,n,r){(3&e[2])===n&&yb(e,t,n,r)}function Lh(e,t){let n=e[2];(3&n)===t&&(n&=16383,n+=1,e[2]=n)}function yb(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let c=void 0!==r?65535&e[17]:0;c<s;c++)if("number"==typeof t[c+1]){if(a=t[c],null!=r&&a>=r)break}else t[c]<0&&(e[17]+=65536),(a<i||-1==i)&&(jN(e,n,t,c),e[17]=(4294901760&e[17])+c+2),c++}function vb(e,t){Ke(ce.LifecycleHookStart,e,t);const n=C(null);try{t.call(e)}finally{C(n),Ke(ce.LifecycleHookEnd,e,t)}}function jN(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[2]>>14<e[17]>>16&&(3&e[2])===t&&(e[2]+=16384,vb(a,i)):vb(a,i)}class ba{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}}function bb(e){return 64===e.charCodeAt(0)}function ns(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||wb(e,n,o,0,-1===n||2===n?t[++r]:null)}}return e}function wb(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n)return void(null!==o&&(e[i+1]=o));i++,null!==o&&i++}
1-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==o&&e.splice(i++,0,o)}function Bh(e){return-1!==e}function wa(e){return 32767&e}function Ca(e,t){let n=function BN(e){return e>>16}(e),r=t;for(;n>0;)r=r[14],n--;return r}let Uh=!0;function Zu(e){const t=Uh;return Uh=e,t}let UN=0;const lr={};function Yu(e,t){const n=Eb(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,$h(r.data,e),$h(t,null),$h(r.blueprint,null));const o=Ju(e,t),i=e.injectorIndex;if(Bh(o)){const s=wa(o),a=Ca(o,t),c=a[1].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function $h(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Eb(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ju(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=Rb(o),null===r)return-1;if(n++,o=o[14],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Vh(e,t,n){!function $N(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(na)&&(r=n[na]),null==r&&(r=n[na]=UN++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function Db(e,t,n){if(8&n||void 0!==e)return e;Hf()}function Sb(e,t,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const o=e[9],i=dn(void 0);try{return o?o.get(t,r,8&n):Bv(t,r,8&n)}finally{dn(i)}}return Db(r,0,n)}function Mb(e,t,n,r=0,o){if(null!==e){if(2048&t[2]&&!(2&r)){const s=function KN(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&2048&s[2]&&!Kr(s);){const a=Ob(i,s,n,2|r,lr);if(a!==lr)return a;let c=i.parent;if(!c){const u=s[20];if(u){const l=u.get(n,lr,r);if(l!==lr)return l}c=Rb(s),s=s[14]}i=c}return o}(e,t,n,r,lr);if(s!==lr)return s}const i=Ob(e,t,n,r,lr);if(i!==lr)return i}return Sb(t,n,r,o)}function Ob(e,t,n,r,o){const i=function zN(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(na)?e[na]:void 0;return"number"==typeof t?t>=0?255&t:GN:t}(n);if("function"==typeof i){if(!P_(t,e,r))return 1&r?Db(o,0,r):Sb(t,n,r,o);try{let s;if(s=i(r),null!=s||8&r)return s;Hf()}finally{M_()}}else if("number"==typeof i){let s=null,a=Eb(e,t),c=-1,u=1&r?t[15][5]:null;for((-1===a||4&r)&&(c=-1===a?Ju(e,t):t[a+8],-1!==c&&Tb(r,!1)?(s=t[1],a=wa(c),t=Ca(c,t)):a=-1);-1!==a;){const l=t[1];if(Ib(i,a,l.data)){const d=WN(a,t,n,s,r,u);if(d!==lr)return d}c=t[a+8],-1!==c&&Tb(r,t[1].data[a+8]===u)&&Ib(i,a,t)?(s=l,a=wa(c),t=Ca(c,t)):a=-1}}return o}function WN(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],l=Xu(a,s,n,null==r?ar(a)&&Uh:r!=s&&!!(3&a.type),1&o&&i===a);return null!==l?Pa(t,s,l,a,o):lr}function Xu(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,c=e.directiveStart,l=i>>20,f=o?a+l:e.directiveEnd;for(let h=r?a:a+l;h<f;h++){const p=s[h];if(h<c&&n===p||h>=c&&p.type===n)return h}if(o){const h=s[c];if(h&&Qn(h)&&h.type===n)return c}return null}function Pa(e,t,n,r,o){let i=e[n];const s=t.data;if(i instanceof ba){const a=i;if(a.resolving)throw qf();const c=Zu(a.canSeeViewProviders);a.resolving=!0;const d=a.injectImpl?dn(a.injectImpl):null;P_(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function FN(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=function hb(e){return e.type.prototype.ngOnChanges&&(e.setInput=RN),TN}(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,s[n],t)}finally{null!==d&&dn(d),Zu(c),a.resolving=!1,M_()}}return i}function Ib(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Tb(e,t){return!(2&e||1&e&&t)}class _t{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Mb(this._tNode,this._lView,t,ia(r),n)}}function GN(){return new _t(we(),B())}function Rb(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[5]:null}function rk(){return rs(we(),B())}function rs(e,t){return new os(ut(e,t))}let os=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=rk})();function Fb(e){return e instanceof os?e.nativeElement:e}function ok(){return this._results[Symbol.iterator]()}class ik{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Ti}constructor(t=!1){this._emitDistinctChangesOnly=t}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,n){return this._results.reduce(t,n)}
1forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function xn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function wx(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=ok}function Ea(e){return!(128&~e.flags)}var tl=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(tl||{});const nl=new Map;let ck=0;function Kh(e){nl.delete(e[19])}const Yh="__ngContext__";function hn(e,t){pt(t)?(e[Yh]=t[19],function lk(e){nl.set(e[19],e)}(t)):e[Yh]=t}function Gb(e){return Kb(e[12])}function Qb(e){return Kb(e[4])}function Kb(e){for(;null!==e&&!Jt(e);)e=e[4];return e}let Jh;const is=new re("",{factory:()=>Rk}),Rk="ng",nw=new re(""),rw=new re("",{providedIn:"platform",factory:()=>"unknown"}),ow=new re("",{factory:()=>se(Nn).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Lk=new re("",{factory:()=>!1});function cl(e){return!(32&~e.flags)}function xw(e,t){const n=e.contentQueries;if(null!==n){const r=C(null);try{for(let o=0;o<n.length;o+=2){const s=n[o+1];if(-1!==s){const a=e.data[s];Au(n[o]),a.contentQueries(2,t[s],s)}}}finally{C(r)}}}function hp(e,t,n){Au(0);const r=C(null);try{t(e,n)}finally{C(r)}}var Fn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e}(Fn||{});let gl,ml;function as(e){return function Fw(){if(void 0===gl&&(gl=null,mt.trustedTypes))try{gl=mt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return gl}()?.createHTML(e)||e}function jw(e){return function yp(){if(void 0===ml&&(ml=null,mt.trustedTypes))try{ml=mt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ml}()?.createHTML(e)||e}class Go{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Nv})`}}class y1 extends Go{getTypeName(){return"HTML"}}class v1 extends Go{getTypeName(){return"Style"}}class _1 extends Go{getTypeName(){return"Script"}}class b1 extends Go{getTypeName(){return"URL"}}class w1 extends Go{getTypeName(){return"ResourceURL"}}function Dn(e){return e instanceof Go?e.changingThisBreaksApplicationSecurity:e}function dr(e,t){const n=function C1(e){return e instanceof Go&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Nv})`)}return n===t}class O1{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(as(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class I1{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=as(t),n}}const R1=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yl(e){return(e=String(e)).match(R1)?e:"unsafe:"+e}function Ar(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ta(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Bw=Ar("area,br,col,hr,img,wbr"),Uw=Ar("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),$w=Ar("rp,rt"),vp=Ta(Bw,Ta(Uw,Ar("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ta($w,Ar("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ta($w,Uw)),_p=Ar("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Vw=Ta(_p,Ar("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
1olspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ar("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),x1=Ar("script,style,template");class A1{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)o.push(n),n=F1(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=k1(n);if(i){n=i;break}n=o.pop()}return this.buf.join("")}startElement(t){const n=Ww(t).toLowerCase();if(!vp.hasOwnProperty(n))return this.sanitizedSomething=!0,!x1.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o<r.length;o++){const i=r.item(o),s=i.name,a=s.toLowerCase();if(!Vw.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;_p[a]&&(c=yl(c)),this.buf.push(" ",s,'="',Gw(c),'"')}return this.buf.push(">"),!0}endElement(t){const n=Ww(t).toLowerCase();vp.hasOwnProperty(n)&&!Bw.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Gw(t))}}function k1(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw zw(t);return t}function F1(e){const t=e.firstChild;if(t&&function N1(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw zw(t);return t}function Ww(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function zw(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const j1=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,L1=/([^\#-~ |!])/g;function Gw(e){return e.replace(/&/g,"&").replace(j1,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(L1,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let vl;function Qw(e,t){let n=null;try{vl=vl||function Hw(e){const t=new I1(e);return function T1(){try{return!!(new window.DOMParser).parseFromString(as(""),"text/html")}catch{return!1}}()?new O1(t):t}(e);let r=t?String(t):"";n=vl.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=vl.getInertBodyElement(r)}while(r!==i);return as((new A1).sanitizeChildren(bp(n)||n))}finally{if(n){const r=bp(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function bp(e){return"content"in e&&function q1(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}function _l(e,t,n){return e.createElement(t,n)}function Qo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Yw(e,t,n){e.appendChild(t,n)}function Jw(e,t,n,r,o){null!==r?Qo(e,t,n,r,o):Yw(e,t,n)}function Ra(e,t,n,r){e.removeChild(null,t,n,r)}function eC(e,t,n){const{mergedAttrs:r,classes:o,styles:i}=n;null!==r&&function HN(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];bb(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}}(e,t,r),null!==o&&function V1(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}
1(e,t,o),null!==i&&function $1(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}var Sn=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Sn||{});function cs(e){const t=xa();return t?jw(t.sanitize(Sn.HTML,e)||""):dr(e,"HTML")?jw(Dn(e)):Qw(function Sa(){if(void 0!==Jh)return Jh;if(typeof document<"u")return document;throw new K(210,!1)}(),Pe(e))}function Nr(e){const t=xa();return t?t.sanitize(Sn.URL,e)||"":dr(e,"URL")?Dn(e):yl(Pe(e))}function xa(){const e=B();return e&&e[10].sanitizer}function Jn(e){return!(1&e)}function cC(e,t){return e?":not("+t.trim()+")":t}function _F(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Jn(s)&&(t+=cC(i,o),o=""),r=s,i=i||!Jn(r);n++}return""!==o&&(t+=cC(i,o)),t}const Ge={};function Ep(e,t,n,r,o,i,s,a,c,u,l){const d=27+r,f=d+o,h=function CF(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Ge);return n}(d,f),p="function"==typeof u?u():u;return h[1]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:l}}function wl(e,t,n,r,o,i,s,a,c,u,l){const d=t.blueprint.slice();return d[0]=o,d[2]=1228|r,(null!==u||e&&2048&e[2])&&(d[2]|=2048),s_(d),d[3]=d[14]=e,d[8]=n,d[10]=s||e&&e[10],d[11]=a||e&&e[11],d[9]=c||e&&e[9]||null,d[5]=i,d[19]=function uk(){return ck++}(),d[6]=l,d[20]=u,d[15]=2==t.type?e[15]:d,d}function Dp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Aa(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Sp(e,t){return e[12]?e[13][4]=t:e[12]=t,e[13]=t,t}function Ne(e=1){lC(ye(),B(),Ht()+e,!1)}function lC(e,t,n,r){if(!r)if(3&~t[2]){const i=e.preOrderHooks;null!==i&&Ku(t,i,0,n)}else{const i=e.preOrderCheckHooks;null!==i&&Qu(t,i,n)}Lo(n)}var Cl=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Cl||{});function Ko(e,t,n,r){const o=C(null);try{const[i,s,a]=e.inputs[n];let c=null;0!==(s&Cl.SignalBased)&&(c=t[i][v]),null!==c&&void 0!==c.transformFn?r=c.transformFn(r):null!==a&&(r=a.call(t,r)),null!==e.setInput?e.setInput(t,c,r,n,i):fb(t,c,i,r)}finally{C(o)}}var ro=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ro||{});function Op(e,t){return undefined(e,t)}const Zo=new Set;var Ip=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Ip||{});const ds=new re(""),pC=new Set;function Qt(e){pC.has(e)||(pC.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let gC=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=me({token:e,providedIn:"root",factory:()=>new e})}return e})();const Na=new re("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:se(wn)})});function bC(e,t,n){const r=e.get(Na);if(Array.isArray(t))for(const o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function wC(e,t,n,r){const o=e?.[26]?.enter;null!==t&&o&&o.has(n.index)&&function Tp(e,t){for(const[n,r]of t)bC(e,r.animateFns)}(r,o)}function fs(e,t,n,r,o,i,s,a){if(null!=o){let c,u=!1;Jt(o)?c=o:pt(o)&&(u=!0,o=o[0]);const l=jt(o);0===e&&null!==r?(wC(a,r,i,n),null==s?Yw(t,r,l):Qo(t,r,l,s||null,!0)):1===e&&null!==r?(wC(a,r,i,n),Qo(t,r,l,s||null,!0)):2===e?EC(a,i,n,d=>{Ra(t,l,u,d)}):3===e&&EC(a,i,n,()=>{t.destroyNode(l)}),null!=c&&function BF(e,t,n,r,o,i,s){const a=r[7];a!==jt(r)&&fs(t,e,n,i,a,o,s);for(let u=10;u<r.length;u++){const l=r[u];Sl(l[1],l,e,t,i,a)}}(t,e,n,c,i,r,s)}}function PC(e,t){t[10].changeDetectionScheduler?.notify(9),Sl(e,t,t[11],2,null,null)}function Rp(e,t){const n=e[9],r=n.indexOf(t);n.splice(r,1)}function ka(e,t){if(Or(t))return;const n=t[11];n.destroyNode&&Sl(e,t,n,3,null,null),function FF(e){let t=e[12];
1if(!t)return xp(e[1],e);for(;t;){let n=null;if(pt(t))n=t[12];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)pt(t)&&xp(t[1],t),t=t[3];null===t&&(t=e),pt(t)&&xp(t[1],t),n=t&&t[4]}t=n}}(t)}function xp(e,t){if(Or(t))return;const n=C(null);try{t[2]&=-129,t[2]|=256,t[24]&&Oe(t[24]),function qF(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof ba)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],c=i[s+1];Ke(ce.LifecycleHookStart,a,c);try{c.call(a)}finally{Ke(ce.LifecycleHookEnd,a,c)}}else{Ke(ce.LifecycleHookStart,o,i);try{i.call(o)}finally{Ke(ce.LifecycleHookEnd,o,i)}}}}}(e,t),function LF(e,t){const n=e.cleanup,r=t[7];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[7]=null);const o=t[21];if(null!==o){t[21]=null;for(let s=0;s<o.length;s++)(0,o[s])()}const i=t[23];if(null!==i){t[23]=null;for(const s of i)s.destroy()}}(e,t),1===t[1].type&&t[11].destroy();const r=t[16];if(null!==r&&Jt(t[3])){r!==t[3]&&Rp(r,t);const o=t[18];null!==o&&o.detachView(e)}Kh(t)}finally{C(n)}}function EC(e,t,n,r){const o=e?.[26];if(o?.enter?.has(t.index)&&function NF(e,t){const n=e.get(Na);if(Array.isArray(t))for(const r of t)n.queue.delete(r);else n.queue.delete(t)}(n,o.enter.get(t.index).animateFns),null==o||null==o.leave||!o.leave.has(t.index))return r(!1);e&&Zo.add(e[19]),bC(n,()=>{if(o.leave&&o.leave.has(t.index)){const s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){const u=s.animateFns[c],{promise:l}=u();a.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),function jF(e,t){const n=e[26]?.running;n?n.then(()=>{e[26].running=void 0,Zo.delete(e[19]),t(!0)}):t(!1)}(e,r)}else e&&Zo.delete(e[19]),r(!1)},o)}function Ap(e,t,n){return function DC(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[0];if(ar(r)){const{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Fn.None||o===Fn.Emulated)return null}return ut(r,n)}(e,t.parent,n)}let OC=function MC(e,t,n){return 40&e.type?ut(e,n):null};function kp(e,t,n,r){const o=Ap(e,r,t),i=t[11],a=function SC(e,t,n){return OC(e,t,n)}(r.parent||t[5],r,t);if(null!=o)if(Array.isArray(n))for(let c=0;c<n.length;c++)Jw(i,o,n[c],a,!1);else Jw(i,o,n,a,!1)}function Yo(e,t){if(null!==t){const n=t.type;if(3&n)return ut(t,e);if(4&n)return Dl(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Yo(e,r);{const o=e[t.index];return Jt(o)?Dl(-1,o):jt(o)}}if(128&n)return Yo(e,t.next);if(32&n)return Op(t,e)()||jt(e[t.index]);{const r=TC(e,t);return null!==r?Array.isArray(r)?r[0]:Yo(Ir(e[15]),r):Yo(e,t.next)}}return null}function TC(e,t){return null!==t?e[15][5].projection[t.projection]:null}function Dl(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return Yo(r,o)}return t[7]}function Fp(e,t,n,r,o,i,s){for(;null!=n;){const a=r[9];if(128===n.type){n=n.next;continue}const c=r[n.index],u=n.type;if(s&&0===t&&(c&&hn(jt(c),r),n.flags|=2),!cl(n))if(8&u)Fp(e,t,n.child,r,o,i,!1),fs(t,e,a,o,c,n,i,r);else if(32&u){const l=Op(n,r);let d;for(;d=l();)fs(t,e,a,o,d,n,i,r);fs(t,e,a,o,c,n,i,r)}else 16&u?RC(e,t,r,n,o,i):fs(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Sl(e,t,n,r,o,i){Fp(n,r,e.firstChild,t,o,i,!1)}function RC(e,t,n,r,o,i){const s=n[15],c=s[5].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++)fs(t,e,n[9],o,c[u],r,i,n);else{let u=c;const l=s[3];Ea(r)&&(u.flags|=128),Fp(e,t,u,l,o,i,!0)}}function xC(e,t,n,r,o){const i=Ht(),s=2&r;try{Lo(-1),s&&t.length>27&&lC(e,t,27,!1),Ke(s?ce.TemplateUpdateStart:ce.TemplateCreateStart,o,n),n(r,o)}finally{Lo(i),Ke(s?ce.TemplateUpdateEnd:ce.TemplateCreateEnd,o,n)}}function Ml(e,t,n){(function GF(e,t,n){const r=n.directiveStart,o=n.directiveEnd;ar(n)&&function PF(e,t,n){const r=ut(t,e),o=function uC(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Ep(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}(n),i=e[10].rendererFactory,s=Sp(e,wl(e,o,null,Dp(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}
1(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Yu(n,t);const i=n.initialInputs;for(let s=r;s<o;s++){const a=e.data[s],c=Pa(t,e,s,n);hn(c,t),null!==i&&YF(0,s-r,c,a,0,i),Qn(a)&&(Xt(n.index,t)[8]=Pa(t,e,s,n))}})(e,t,n),!(64&~n.flags)&&function QF(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function $x(){return _e.lFrame.currentDirectiveIndex}();try{Lo(i);for(let a=r;a<o;a++){const c=e.data[a],u=t[a];hh(a),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&KF(c,u)}}finally{Lo(-1),hh(s)}}(e,t,n)}function hs(e,t,n=ut){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}let AC=()=>null;function KF(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function YF(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a<s.length;a+=2)Ko(r,n,s[a],s[a+1])}function Rl(e){let t=e;return m_()?function y_(){_e.lFrame.isParent=!1}():(t=t.parent,Tr(t,!1)),t}function XF(e,t){const n=Xt(t,e),r=n[1];!function ej(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const o=n[0];null!==o&&null===n[6]&&(n[6]=null),Ke(ce.ComponentStart);try{Al(r,n,n[8])}finally{Ke(ce.ComponentEnd,n[8])}}function Al(e,t,n){mh(t);try{const r=e.viewQuery;null!==r&&hp(1,r,n);const o=e.template;null!==o&&xC(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[18]?.finishViewCreation(e),e.staticContentQueries&&xw(e,t),e.staticViewQueries&&hp(2,e.viewQuery,n);const i=e.components;null!==i&&function tj(e,t){for(let n=0;n<t.length;n++)XF(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,yh()}}function ps(e,t,n,r){const o=C(null);try{const i=t.tView,c=wl(e,i,n,4096&e[2]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);c[16]=e[t.index];const l=e[18];return null!==l&&(c[18]=l.createEmbeddedView(i)),Al(i,c,n),c}finally{C(o)}}function Jo(e,t){return!t||null===t.firstChild||Ea(e)}function Fa(e,t,n,r,o=!1){for(;null!==n;){if(128===n.type){n=o?n.projectionNext:n.next;continue}const i=t[n.index];null!==i&&r.push(jt(i)),Jt(i)&&nj(i,r);const s=n.type;if(8&s)Fa(e,t,n.child,r);else if(32&s){const a=Op(n,t);let c;for(;c=a();)r.push(c)}else if(16&s){const a=TC(t,n);if(Array.isArray(a))r.push(...a);else{const c=Ir(t[15]);Fa(c[1],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function nj(e,t){for(let n=10;n<e.length;n++){const r=e[n],o=r[1].firstChild;null!==o&&Fa(r[1],r,o,t)}e[7]!==e[0]&&t.push(e[7])}function jC(e){if(null!==e[25]){for(const t of e[25])t.impl.addSequence(t);e[25].length=0}}let LC=[];const sj={...k,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Vi(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},cj={...k,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ir(e.lView);for(;t&&!qC(t[1]);)t=Ir(t);t&&ah(t)},consumerOnSignalRead(){this.lView[24]=this}};function qC(e){return 2!==e.type}function HC(e){if(null===e[23])return;let t=!0;for(;t;){let n=!1;for(const r of e[23])r.dirty&&(n=!0,null===r.zone||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(8192&e[2])}}function Nl(e,t=0){const r=e[10].rendererFactory;r.begin?.();try{!function lj(e,t){const n=b_();try{xu(!0),Hp(e,t);let r=0;for(;la(e);){if(100===r)throw new K(103,!1);r++,Hp(e,1)}}finally{xu(n)}}(e,t)}finally{r.end?.()}}function BC(e,t,n,r){if(Or(t))return;const o=t[2];mh(t);let a=!0,c=null,u=null;qC(e)?(u=function rj(e){return e[24]??function oj(e){const t=LC.pop()??Object.create(sj);return t.lView=e,t}(e)}(t),c=Q(u)):null===function D(){return z}()?(a=!1,u=function aj(e){const t=e[24]??Object.create(cj);return t.lView=e,t}(t),c=Q(u)):t[24]&&(Oe(t[24]),t[24]=null);try{s_(t),function w_(e){return _e.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&xC(e,t,n,2,r);const l=!(3&~o);if(l){const h=e.preOrderCheckHooks;null!==h&&Qu(t,h,null)}else{const h=e.preOrderHooks;null!==h&&Ku(t,h,0,null),Lh(t,0)}if(function dj(e){for(let t=Gb(e);null!==t;t=Qb(t)){if(!(2&t[2]))continue;const n=t[9];for(let r=0;r<n.length;r++)ah(n[r])}}(t),HC(t),UC(t,0),null!==e.contentQueries&&xw(e,t),l){const h=e.contentCheckHooks;null!==h&&Qu(t,h)}else{const h=e.contentHooks;null!==h&&Ku(t,h,1),Lh(t,1)}!function hj(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)Lo(~o);else{const i=o,s=n[++r],a=n[++r];Ux(s,i);const c=t[i];Ke(ce.HostBindingsUpdateStart,c);try{a(2,c)}finally{Ke(ce.HostBindingsUpdateEnd,c)}}}}finally{Lo(-1)}}(e,t);const d=e.components;null!==d&&VC(t,d,0);const f=e.viewQuery;if(null!==f&&hp(2,f,r),l){const h=e.viewCheckHooks;null!==h&&Qu(t,h)}else{const h=e.viewHooks;null!==h&&Ku(t,h,2),Lh(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[22]){for(const h of t[22])h();t[22]=null}jC(t),t[2]&=-73}catch(l){throw Vi(t),l}finally{null!==u&&(J(u,c),a&&function ij(e){e.lView[24]!==e&&(e.lView=null,LC.push(e))}(u)),yh()}}function UC(e,t){for(let n=Gb(e);null!==n;n=Qb(n))for(let r=10;r<n.length;r++)$C(n[r],t)}function fj(e,t,n){Ke(ce.ComponentStart);const r=Xt(t,e);try{$C(r,n)}finally{Ke(ce.ComponentEnd,r[8])}}function $C(e,t){sh(e)&&Hp(e,t)}function Hp(e,t){const r=e[1],o=e[2],i=e[24];let s=!!(0===t&&16&o);if(s||=!!(64&o&&0===t),s||=!!(1024&o),s||=!(!i?.dirty||!Ve(i)),s||=!1,i&&(i.dirty=!1),e[2]&=-9217,s)BC(r,e,r.template,e[8]);else if(8192&o){const a=C(null);try{HC(e),UC(e,1);const c=r.components;null!==c&&VC(e,c,1),jC(e)}finally{C(a)}}}function VC(e,t,n){for(let r=0;r<t.length;r++)fj(e,t[r],n)}function gs(e,t){const n=b_()?64:1088;for(e[10].changeDetectionScheduler?.notify(t);e;){e[2]|=n;const r=Ir(e);if(Kr(e)&&!r)return e;e=r}return null}function WC(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function zC(e,t){const n=10+t;if(n<e.length)return e[n]}function ms(e,t,n,r=!0){const o=t[1];if(function pj(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],$v(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[16];null!==s&&n!==s&&GC(s,t);const a=t[18];null!==a&&a.insertView(e),ch(t),t[2]|=128}(o,t,e,n),r){const s=Dl(n,e),a=t[11],c=a.parentNode(e[7]);null!==c&&function kF(e,t,n,r,o,i){r[0]=o,r[5]=t,Sl(e,r,n,1,o,i)}(o,e[5],a,t,c,s)}const i=t[6];null!==i&&null!==i.firstChild&&(i.firstChild=null)}function Bp(e,t){const n=ja(e,t);return void 0!==n&&ka(n[1],n),n}function ja(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[16];null!==o&&o!==e&&Rp(o,r),t>0&&(e[n-1][4]=r[4]);const i=Cu(e,10+t);!function CC(e,t){PC(e,t),t[0]=null,t[5]=null}(r[1],r);const s=i[18];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function GC(e,t){const n=e[9],r=t[3];(pt(r)||t[15]!==r[3][15])&&(e[2]|=2),null===n?e[9]=[t]:n.push(t)}class La{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,n=t[1];return Fa(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return Or(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Jt(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(ja(t,r),Cu(n,r))}this._attachedToViewContainer=!1}ka(this._lView[1],this._lView)}onDestroy(t){Ru(this._lView,t)}markForCheck(){gs(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){ch(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,Nl(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new K(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Kr(this._lView),n=this._lView[16];null!==n&&!t&&Rp(n,this._lView),PC(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new K(902,!1);this._appRef=t;const n=Kr(this._lView),r=this._lView[16];null!==r&&!n&&GC(r,this._lView),ch(this._lView)}}let kr=(()=>class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=yj;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){const i=ps(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});
1return new La(i)}})();function yj(){return kl(we(),B())}function kl(e,t){return 4&e.type?new kr(t,e,rs(e,t)):null}function Xo(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Wp(e,t,n,r,o){const i=g_(),s=m_(),c=e.data[t]=function Sj(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function f_(){return null!==_e.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,fieldIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return function Dj(e,t,n,r){null===e.firstChild&&(e.firstChild=t),null!==n&&(r?null==n.child&&null!==t.parent&&(n.child=t):null===n.next&&(n.next=t,t.prev=n))}(e,c,i,s),c}(e,t,n,r,o),function Bx(){return _e.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function da(){const e=_e.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Tr(i,!0),i}function fP(e,t){let n=0,r=e.firstChild;if(r){const o=e.data.r;for(;n<o;){const i=r.nextSibling;Ra(t,r,!1),r=i,n++}
1}}let cL=class{},vP=class{};class uL{resolveComponentFactory(t){throw new K(917,!1)}}let vs=class{static NULL=new uL};class Jp{}let dL=(()=>{class e{static \u0275prov=me({token:e,providedIn:"root",factory:()=>null})}return e})();const eg={};class bs{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const o=this.injector.get(t,eg,r);return o!==eg||n===eg?o:this.parentInjector.get(t,n,r)}}function Vl(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=xf(o,a):2==i&&(r=xf(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Re(e,t=0){const n=B();return null===n?Se(e,t):Mb(we(),n,Ee(e),t)}function yL(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function CP(e,t,n,r){const o=0===e?n.inputs:n.outputs;for(const i in o)if(o.hasOwnProperty(i)){let s;s=0===e?t.inputs??={}:t.outputs??={},s[i]??=[],s[i].push(r),EP(t,i)}}function PP(e,t,n,r){const o=0===e?n.inputs:n.outputs;for(const i in o)if(o.hasOwnProperty(i)){const s=o[i];let a;a=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),EP(t,s)}}function EP(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function DP(e,t,n){const{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(null===r||!n&&null===o||n&&null===i||function Pp(e){return 4===e.type&&"ng-template"!==e.value}(e))return e.initialInputs??=[],void e.initialInputs.push(null);let s=null,a=0;for(;a<r.length;){const c=r[a];if(0!==c)if(5!==c){if("number"==typeof c)break;if(!n&&o.hasOwnProperty(c)){const u=o[c];for(const l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){const u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}else a+=2;else a+=4}e.initialInputs??=[],e.initialInputs.push(s)}function bL(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=xo(o.type)),s=new ba(i,Qn(o),Re,null);e.blueprint[r]=s,n[r]=s,function wL(e,t,n,r,o){const i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function CL(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,Aa(e,n,o.hostVars,Ge),o)}function PL(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Qn(t)&&(n[""]=e)}}function tg(e,t,n,r,o,i,s,a){const c=t[1],u=c.consts,d=Xo(c,e,n,r,Wt(u,s));return i&&function wP(e,t,n,r,o){const i=null===r?null:{"":-1},s=o(e,n);if(null!==s){let a=s,c=null,u=null;for(const l of s)if(null!==l.resolveHostDirectives){[a,c,u]=l.resolveHostDirectives(s);break}!function vL(e,t,n,r,o,i,s){const a=r.length;let c=null;for(let f=0;f<a;f++){const h=r[f];null===c&&Qn(h)&&(c=h,yL(e,n,f)),Vh(Yu(n,t),e,h.type)}(function EL(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t})(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let f=0;f<a;f++){const h=r[f];h.providersResolver&&h.providersResolver(h)}let u=!1,l=!1,d=Aa(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let f=0;f<a;f++){const h=r[f];if(n.mergedAttrs=ns(n.mergedAttrs,h.hostAttrs),bL(e,n,t,d,h),PL(d,h,o),null!==s&&s.has(h)){const[g,y]=s.get(h);n.directiveToIndex.set(h.type,[d,g+n.directiveStart,y+n.directiveStart])}else(null===i||!i.has(h))&&n.directiveToIndex.set(h.type,d);null!==h.contentQueries&&(n.flags|=4),(null!==h.hostBindings||null!==h.hostAttrs||0!==h.hostVars)&&(n.flags|=64);const p=h.type.prototype;!u&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}
1!function _L(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){const o=e.data[r];if(null!==n&&n.has(o)){const i=n.get(o);PP(0,t,i,r),PP(1,t,i,r),DP(t,r,!0)}else CP(0,t,o,r),CP(1,t,o,r),DP(t,r,!1)}}(e,n,i)}(e,t,n,a,i,c,u)}null!==i&&null!==r&&function mL(e,t,n){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new K(-301,!1);r.push(t[o],i)}}(n,r,i)}(c,t,d,Wt(u,a),o),d.mergedAttrs=ns(d.mergedAttrs,d.attrs),null!==d.attrs&&Vl(d,d.attrs,!1),null!==d.mergedAttrs&&Vl(d,d.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,d),d}function it(e,t,n){return n!==Ge&&(!Object.is(e[t],n)&&(e[t]=n,!0))}function OP(e,t,n,r){const o=C(null);try{return Ke(ce.OutputStart,t,n),!1!==n(r)}catch(i){return function qp(e,t){const n=e[9];if(!n)return;let r;try{r=n.get(Jr,null)}catch{r=null}r?.(t)}(e,i),!1}finally{Ke(ce.OutputEnd,t,n),C(o)}}function Gl(e,t,n,r,o,i,s,a){const c=Bi(e);let u=!1,l=null;if(!r&&c&&(l=function IL(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[7],c=o[i+2];return a&&a.length>c?a[c]:null}"string"==typeof s&&(i+=2)}return null}(t,n,i,e.index)),null!==l)(l.__ngLastListenerFn__||l).__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0;else{const d=ut(e,n),f=r?r(d):d,h=o.listen(f,i,a);(function OL(e){return e.startsWith("animation")||e.startsWith("transition")})(i)||function IP(e,t,n,r,o,i,s){const a=t.firstCreatePass?u_(t):null,c=c_(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}(r?g=>r(jt(g[e.index])):e.index,t,n,i,a,h,!1)}return u}const jr=Symbol("BINDING");class xP extends vs{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ze(t);return new og(n,this.ngModule)}}class og extends vP{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function jL(e){return Object.keys(e).map(t=>{const[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:0!==(r&Cl.SignalBased)};return o&&(i.transform=o),i})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function LL(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function bF(e){return e.map(_F).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){Ke(ce.DynamicComponentStart);const a=C(null);try{const c=this.componentDef,u=function $L(e,t,n,r){const o=e?["ng-version","21.1.4"]:function wF(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!Jn(o))break;o=i}r++}return n.length&&t.push(1,...n),t}(t.selectors[0]);let i=null,s=null,a=0;if(n)for(const l of n)a+=l[jr].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){const d=r[l];if("function"!=typeof d)for(const f of d.bindings){a+=f[jr].requiredVars;const h=l+1;f.create&&(f.targetIdx=h,(i??=[]).push(f)),f.update&&(f.targetIdx=h,(s??=[]).push(f))}}const c=[t];if(r)for(const l of r){const f=Yt("function"==typeof l?l:l.type);c.push(f)}return Ep(0,null,function VL(e,t){return e||t?n=>
1{if(1&n&&e)for(const r of e)r.create();if(2&n&&t)for(const r of t)r.update()}:null}(i,s),1,a,c,null,null,null,[o],null)}(r,c,s,i),l=function qL(e,t,n){let r=t instanceof wn?t:t?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new bs(n,r):n}(c,o||this.ngModule,t),d=function HL(e){const t=e.get(Jp,null);if(null===t)throw new K(407,!1);return{rendererFactory:t,sanitizer:e.get(dL,null),changeDetectionScheduler:e.get(Bo,null),ngReflect:!1}}(l),f=d.rendererFactory.createRenderer(null,c),h=r?function $F(e,t,n,r){const i=r.get(Lk,!1)||n===Fn.ShadowDom||n===Fn.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return function VF(e){AC(e)}(s),s}(f,r,c.encapsulation,l):function BL(e,t){const n=function UL(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return _l(t,n,"svg"===n?"svg":"math"===n?"math":null)}(c,f),p=s?.some(AP)||i?.some(b=>"function"!=typeof b&&b.bindings.some(AP)),g=wl(null,u,null,512|Dp(c),null,null,d,f,l,null,null);g[27]=h,mh(g);let y=null;try{const b=tg(27,g,2,"#host",()=>u.directiveRegistry,!0,0);eC(f,h,b),hn(h,g),Ml(u,g,b),function pp(e,t,n){if(e_(t)){const r=C(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{C(r)}}}(u,b,g),function ng(e,t){(function mb(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),null!=l&&(e.destroyHooks??=[]).push(n,l)}})(e,t),e_(t)&&e.queries.elementEnd(t)}(u,b),void 0!==n&&function zL(e,t,n){const r=e.projection=[];for(let o=0;o<t.length;o++){const i=n[o];r.push(null!=i&&i.length?Array.from(i):null)}}(b,this.ngContentSelectors,n),y=Xt(b.index,g),g[8]=y[8],Al(u,g,null)}catch(b){throw null!==y&&Kh(y),Kh(g),b}finally{Ke(ce.DynamicComponentEnd),yh()}return new WL(this.componentType,g,!!p)}finally{C(a)}}}function AP(e){const t=e[jr].kind;return"input"===t||"twoWay"===t}class WL extends cL{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=$i(n[1],27),this.location=rs(this._tNode,n),this.instance=Xt(this._tNode.index,n)[8],this.hostView=this.changeDetectorRef=new La(n,void 0),this.componentType=t}setInput(t,n){const r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const o=this._rootLView;!function xl(e,t,n,r,o){const i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r];let a=!1;if(s)for(let c=0;c<s.length;c+=2){const u=s[c];Ko(t.data[u],n[u],s[c+1],o),a=!0}if(i)for(const c of i)Ko(t.data[c],n[c],r,o),a=!0;return a}(r,o[1],o,t,n),this.previousInputValues.set(t,n),gs(Xt(r.index,o),1)}get injector(){return new _t(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let pr=(()=>class e{static __NG_ELEMENT_ID__=GL})();function GL(){return FP(we(),B())}const QL=pr,NP=class extends QL{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return rs(this._hostTNode,this._hostLView)}get injector(){return new _t(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ju(this._hostTNode,this._hostLView);if(Bh(t)){const n=Ca(t,this._hostLView),r=wa(t);return new _t(n[1].data[r+8],n)}return new _t(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=kP(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,Jo(this._hostTNode,null)),a}createComponent(t,n,r,o,i,s,a){const c=t&&!function _a(e){return"function"==typeof e}(t);let u;if(c)u=n;else{const y=n||{};u=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef,s=y.directives,a=y.bindings}const l=c?t:new og(ze(t)),d=r||this.parentInjector;if(!i&&null==l.ngModule){const b=(c?d:this.parentInjector).get(wn,null);b&&(i=b)}ze(l.componentType??{});const g=l.create(d,o,null,i,s,a);return this.insertImpl(g.hostView,u,Jo(this._hostTNode,null)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function Fx(e){return Jt(e[3])}(o)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const c=o[3],u=new NP(c,c[5],c[3]);u.detach(u.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return ms(s,o,i,r),t.attachToViewContainerRef(),$v(ig(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=kP(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=ja(this._lContainer,n);r&&(Cu(ig(this._lContainer),n),ka(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=ja(this._lContainer,n);
1return r&&null!=Cu(ig(this._lContainer),n)?new La(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function kP(e){return e[8]}function ig(e){return e[8]||(e[8]=[])}function FP(e,t){let n;const r=t[e.index];return Jt(r)?n=r:(n=WC(r,t,null,e),t[e.index]=n,Sp(t,n)),jP(n,t,e,r),new NP(n,e,t)}let jP=function qP(e,t,n,r){if(e[7])return;let o;o=8&n.type?jt(r):function KL(e,t){const n=e[11],r=n.createComment(""),o=ut(t,e),i=n.parentNode(o);return Qo(n,i,r,n.nextSibling(o),!1),r}(t,n),e[7]=o};class ag{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new ag(this.queryList)}setDirty(){this.queryList.setDirty()}}class cg{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){const s=n.getByIndex(i);o.push(this.queries[s.indexInDeclarationView].clone())}return new cg(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==hg(t,n).matches&&this.queries[n].setDirty()}}class HP{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function nq(e){return e.split(",").map(t=>t.trim())}(t):t}}class ug{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const o=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new ug(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class lg{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new lg(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){const i=r[o];this.matchTNodeWithReadOption(t,n,JL(n,i)),this.matchTNodeWithReadOption(t,n,Xu(n,t,i,!1,!1))}else r===kr?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Xu(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===os||o===pr||o===kr&&4&n.type)this.addMatch(n.index,-2);else{const i=Xu(n,t,o,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function JL(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function eq(e,t,n,r){return-1===n?function XL(e,t){return 11&e.type?rs(e,t):4&e.type?kl(e,t):null}(t,e):-2===n?function tq(e,t,n){return n===os?rs(t,e):n===kr?kl(t,e):n===pr?FP(t,e):void 0}(e,t,r):Pa(e,e[1],n,t)}function BP(e,t,n,r){const o=t[18].queries[r];if(null===o.matches){const i=e.data,s=n.matches,a=[];for(let c=0;null!==s&&c<s.length;c+=2){const u=s[c];a.push(u<0?null:eq(t,i[u],s[c+1],n.metadata.read))}o.matches=a}return o.matches}function dg(e,t,n,r){const o=e.queries.getByIndex(n),i=o.matches;if(null!==i){const s=BP(e,t,o,n);for(let a=0;a<i.length;a+=2){const c=i[a];if(c>0)r.push(s[a/2]);else{const u=i[a+1],l=t[-c];for(let d=10;d<l.length;d++){const f=l[d];f[16]===f[3]&&dg(f[1],f,u,r)}if(null!==l[9]){const d=l[9];for(let f=0;f<d.length;f++){const h=d[f];dg(h[1],h,u,r)}}}}}return r}function fg(e,t){return e[18].queries[t].queryList}function UP(e,t,n){const r=new ik(!(4&~n));return function l_(e,t,n,r){const o=c_(t);o.push(n),e.firstCreatePass&&u_(e).push(r,o.length-1)}
1(e,t,r,r.destroy),(t[18]??=new cg).queries.push(new ag(r))-1}function $P(e,t,n){const r=ye();return r.firstCreatePass&&(function WP(e,t,n){null===e.queries&&(e.queries=new ug),e.queries.track(new lg(t,n))}(r,new HP(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),UP(r,B(),t)}function hg(e,t){return e.queries.getByIndex(t)}function zP(e,t){const n=e[1],r=hg(n,t);return r.crossesNgTemplate?dg(n,e,t,[]):BP(n,e,r,t)}function pg(e,t,n){let r;const o=function un(e,t){const n=Object.create(ct);n.computation=e,void 0!==t&&(n.equal=t);const r=()=>{if(I(n),F(n),n.value===ht)throw n.error;return n.value};return r[v]=n,r}(()=>{r._dirtyCounter();const i=function sq(e,t){const n=e._lView,r=e._queryIndex;if(void 0===n||void 0===r||4&n[2])return t?void 0:Xe;const o=fg(n,r),i=zP(n,r);return o.reset(i,Fb),t?o.first:o._changesDetected||void 0===e._flatValue?e._flatValue=o.toArray():e._flatValue}(r,e);if(t&&void 0===i)throw new K(-951,!1);return i});return r=o[v],r._dirtyCounter=Ho(0),r._flatValue=void 0,o}let ri=class{},fq=class{};class vg extends ri{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new xP(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;const i=function ir(e){return wu(e),e[Fv]||null}(t);this._bootstrapComponents=function fr(e){return e instanceof Function?e():e}(i.bootstrap),this._r3Injector=T_(t,n,[{provide:ri,useValue:this},{provide:vs,useValue:this.componentFactoryResolver},...r],Rn(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class YP extends fq{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new vg(this.moduleType,t,[])}}class gq extends ri{injector;componentFactoryResolver=new xP(this);instance=null;constructor(t){super();const n=new Ao([...t.providers,{provide:ri,useValue:this},{provide:vs,useValue:this.componentFactoryResolver}],t.parent||Jf(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let mq=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Gf(0,n.type),o=r.length>0?function JP(e,t,n=null){return new gq({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=me({token:e,providedIn:"environment",factory:()=>new e(Se(wn))})}return e})();function _g(e){return xr(()=>{const t=function eE(e){const t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||sr,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||Xe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:yq(e.inputs,t),outputs:vq(e.outputs),debugInfo:null}}(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===tl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(mq).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Fn.Emulated,styles:e.styles||Xe,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&Qt("NgStandalone"),function tE(e){e.features?.forEach(t=>t(e))}(n);
1const r=e.dependencies;return n.directiveDefs=Ql(r,XP),n.pipeDefs=Ql(r,zn),n.id=function bq(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(const i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function XP(e){return ze(e)||Yt(e)}function Za(e){return xr(()=>({type:e.type,bootstrap:e.bootstrap||Xe,declarations:e.declarations||Xe,imports:e.imports||Xe,exports:e.exports||Xe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function yq(e,t){if(null==e)return sr;const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];let i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Cl.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function vq(e){if(null==e)return sr;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Kt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ql(e,t){return e?()=>{const n="function"==typeof e?e():e,r=[];for(const o of n){const i=t(o);null!==i&&r.push(i)}return r}:null}function oi(e,t,n,r,o,i,s,a,c,u,l){const d=n+27;let f;if(t.firstCreatePass){if(f=Xo(t,d,4,s||null,a||null),null!=u){const h=Wt(t.consts,u);f.localNames=[];for(let p=0;p<h.length;p+=2)f.localNames.push(h[p],-1)}}else f=t.data[d];return function aE(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=ns(e.mergedAttrs,e.attrs);const l=e.tView=Ep(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);null!==n.queries&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Tr(e,!1);const c=lE(n,t,e,r);Nu()&&kp(n,t,c,e),hn(c,t);const u=WC(c,t,c,e);t[r+27]=u,Sp(t,u)}(f,e,t,n,r,o,i,c),null!=u&&hs(e,f,l),f}let lE=function dE(e,t,n,r){return fa(!0),t[11].createComment("")};const HE=new re(""),BE=new re("");let Tg,Ig=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,o){this._ngZone=n,this.registry=r,nh()&&(this._destroyRef=se(Zr,{optional:!0})??void 0),Tg||(function q2(e){Tg=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{tt.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n()},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,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(n,r,o),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static \u0275fac=function(r){return new(r||e)(Se(tt),Se(L2),Se(BE))};static \u0275prov=me({token:e,factory:e.\u0275fac})}return e})(),L2=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Tg?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=me({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Rg(e){return!!e&&"function"==typeof e.then}function UE(e){return!!e&&"function"==typeof e.subscribe}const $E=new re("");let VE=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=se($E,{optional:!0})??[];injector=se(Pn);constructor(){}
1runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=th(this.injector,o);if(Rg(i))n.push(i);else if(UE(i)){const s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=me({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const H2=new re("");function WE(e,t){return Array.isArray(t)?t.reduce(WE,e):{...e,...t}}let so=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=se(Jr);afterRenderManager=se(gC);zonelessEnabled=se(Ph);rootEffectScheduler=se(j_);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Ti;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=se(qo);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Qi(n=>!n))}constructor(){se(ds,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=se(wn);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Pn.NULL){return this._injector.get(tt).run(()=>{Ke(ce.BootstrapComponentStart);const s=n instanceof vP;if(!this._injector.get(VE).done)throw new K(405,"");let c;c=s?n:this._injector.get(vs).resolveComponentFactory(n),this.componentTypes.push(c.componentType);const u=function U2(e){return e.isBoundToModule}(c)?void 0:this._injector.get(ri),d=c.create(o,[],r||c.selector,u),f=d.location.nativeElement,h=d.injector.get(HE,null);return h?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),nd(this.components,d),h?.unregisterApplication(f)}),this._loadComponent(d),Ke(ce.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Ke(ce.ChangeDetectionStart),null!==this.tracingSnapshot?this.tracingSnapshot.run(Ip.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Ke(ce.ChangeDetectionEnd),new K(101,!1);const n=C(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,C(n),this.afterTick.next(),Ke(ce.ChangeDetectionEnd)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Jp,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;){Ke(ce.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Ke(ce.ChangeDetectionSyncEnd)}}}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews)(r||la(o))&&(Nl(o,r&&!this.zonelessEnabled?0:1),n=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>la(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;nd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(H2,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>nd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new K(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=me({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();
1function nd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}typeof document<"u"&&document;Object.keys({disabled:"disabled",disabledReasons:"disabledReasons",dirty:"dirty",errors:"errors",hidden:"hidden",invalid:"invalid",max:"max",maxLength:"maxLength",min:"min",minLength:"minLength",name:"name",pattern:"pattern",pending:"pending",readonly:"readonly",required:"required",touched:"touched"});class pB{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){const s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}}function zg(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Gg(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function gD(e,t,n,r,o){if(Gg(e,t,r,n(r,o)))e.updateValue(r,o);else{const i=e.create(r,o);e.attach(r,i)}}function mD(e,t,n,r){const o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}class yD{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),void 0!==this._vMap){const o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}}function Mt(e,t,n,r,o,i,s,a){Qt("NgControlFlow");const c=B(),u=ye();return oi(c,u,e,t,n,r,o,Wt(u.consts,i),256,s,a),Qg}function Qg(e,t,n,r,o,i,s,a){Qt("NgControlFlow");const c=B(),u=ye();return oi(c,u,e,t,n,r,o,Wt(u.consts,i),512,s,a),Qg}function Ot(e,t){Qt("NgControlFlow");const n=B(),r=zt(),o=n[r]!==Ge?n[r]:-1,i=-1!==o?hd(n,27+o):void 0;if(it(n,r,e)){const a=C(null);try{if(void 0!==i&&Bp(i,0),-1!==e){const c=27+e,u=hd(n,c),l=Kg(n[1],c),d=null;ms(u,ps(n,l,t,{dehydratedView:d}),0,Jo(l,d))}}finally{C(a)}}else if(void 0!==i){const a=zC(i,0);void 0!==a&&(a[8]=t)}}class mB{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-10}}function vD(e,t){return t}class vB{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}}function Rs(e,t,n,r,o,i,s,a,c,u,l,d,f){Qt("NgControlFlow");const h=B(),p=ye(),g=void 0!==c,y=B(),b=a?s.bind(y[15][8]):s,w=new vB(g,b);y[27+e]=w,oi(h,p,e+1,t,n,r,o,Wt(p.consts,i),256),g&&oi(h,p,e+2,c,u,l,d,Wt(p.consts,f),512)}class _B extends pB{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-10}at(t){return this.getLView(t)[8].$implicit}attach(t,n){const r=n[6];this.needsIndexUpdate||=t!==this.length,ms(this.lContainer,n,t,Jo(this.templateTNode,r)),function bB(e,t){if(e.length<=10)return;const r=e[10+t],o=r?r[26]:void 0;r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0&&(function xF(e,t){const n=e.get(Na);if(t.detachedLeaveAnimationFns){for(const r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}(r[9],o),Zo.delete(r[19]),o.detachedLeaveAnimationFns=void 0)}(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function wB(e,t){if(e.length<=10)return;const r=e[10+t],o=r?r[26]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}(this.lContainer,t),function CB(e,t){return ja(e,t)}(this.lContainer,t)}create(t,n){return ps(this.hostLView,this.templateTNode,new mB(this.lContainer,n,t),{dehydratedView:null})}destroy(t){ka(t[1],t)}updateValue(t,n){this.getLView(t)[8].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[8].$index=t}getLView(t){return function PB(e,t){return zC(e,t)}(this.lContainer,t)}}function xs(e){const t=C(null),n=Ht();try{const r=B(),o=r[1],i=r[n],s=n+1,a=hd(r,s);if(void 0===i.liveCollection){const u=Kg(o,s);i.liveCollection=new _B(a,r,u)}else i.liveCollection.reset();const c=i.liveCollection;if(function gB(e,t,n,r){let o,i,s=0,a=e.length-1;if(Array.isArray(t)){C(r);let u=t.length-1;for(C(null);s<=a&&s<=u;){const l=e.at(s),d=t[s],f=zg(s,l,s,d,n);if(0!==f){f<0&&e.updateValue(s,d),s++;continue}const h=e.at(a),p=t[u],g=zg(a,h,u,p,n);if(0!==g){g<0&&e.updateValue(a,p),a--,u--;continue}const y=n(s,l),b=n(a,h),w=n(s,d);if(Object.is(w,b)){const j=n(u,p);Object.is(j,y)?(e.swap(s,a),e.updateValue(a,p),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new yD,i??=mD(e,s,a,n),Gg(e,o,s,w))e.updateValue(s,d),s++,a++;else if(i.has(w))o.set(y,e.detach(s)),a--;else{const j=e.create(s,t[s]);e.attach(s,j),s++,a++}}for(;s<=u;)gD(e,o,n,s,t[s]),s++}else if(null!=t){C(r);const u=t[Symbol.iterator]();C(null);let l=u.next();for(;!l.done&&s<=a;){const d=e.at(s),f=l.value,h=zg(s,d,s,f,n);if(0!==h)h<0&&e.updateValue(s,f),s++,l=u.next();
1else{o??=new yD,i??=mD(e,s,a,n);const p=n(s,f);if(Gg(e,o,s,p))e.updateValue(s,f),s++,a++,l=u.next();else if(i.has(p)){const g=n(s,d);o.set(g,e.detach(s)),a--}else e.attach(s,e.create(s,f)),s++,a++,l=u.next()}}for(;!l.done;)gD(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){const u=zt(),l=0===c.length;if(it(r,u,l)){const d=n+2,f=hd(r,d);if(l){const h=Kg(o,d),p=null;ms(f,ps(r,h,void 0,{dehydratedView:p}),0,Jo(h,p))}else o.firstUpdatePass&&function Hl(e){const t=e[6]??[],r=e[3][11],o=[];for(const i of t)void 0!==i.data.di?o.push(i):fP(i,r);e[6]=o}(f),Bp(f,0)}}}finally{C(t)}}function hd(e,t){return e[t]}function Kg(e,t){return $i(e,t)}function Ce(e,t,n,r){const o=B(),i=o[1],s=e+27,a=i.firstCreatePass?function SP(e,t,n,r,o,i){const s=t.consts,c=Xo(t,e,n,r,Wt(s,o));if(c.mergedAttrs=ns(c.mergedAttrs,c.attrs),null!=i){const u=Wt(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return null!==c.attrs&&Vl(c,c.attrs,!1),null!==c.mergedAttrs&&Vl(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(s,i,2,t,n,r):i.data[s];return function Tl(e,t,n,r,o){const i=27+n,s=t[1],a=o(s,t,e,r,n);t[i]=a,Tr(e,!0);const c=2===e.type;return c?(eC(t[11],a,e),(0===function jx(){return _e.lFrame.elementDepthCount}()||Bi(e))&&hn(a,t),function Lx(){_e.lFrame.elementDepthCount++}()):hn(a,t),Nu()&&(!c||!cl(e))&&kp(s,t,a,e),e}(a,o,e,t,Xg),null!=r&&hs(o,a),Ce}function Ie(){return function h_(e){return _e.skipHydrationRootTNode===e}(Rl(we()))&&function p_(){_e.skipHydrationRootTNode=null}(),function d_(){_e.lFrame.elementDepthCount--}(),Ie}function Zt(e,t,n,r){return Ce(e,t,n,r),Ie(),Zt}let Xg=(e,t,n,r,o)=>(fa(!0),_l(t[11],r,function Kx(){return _e.lFrame.currentNamespace}()));function Xn(){return B()}function tn(e,t,n){const r=B();return it(r,zt(),t)&&(ye(),function jp(e,t,n,r,o,i){if(3&e.type){const s=ut(e,t);r=null!=i?i(r,e.value||"",n):r,o.setProperty(s,n,r)}}(function Yn(){const e=_e.lFrame;return $i(e.tView,e.selectedIndex)}(),r,e,t,r[11],n)),tn}const gd="en-US";let MD=gd;function qn(e,t,n){const r=B(),o=ye(),i=we();return(3&i.type||n)&&Gl(i,o,r,n,r[11],e,t,function Fr(e,t,n){return function r(o){gs(ar(e)?Xt(e.index,t):t,5);const s=t[8];let a=OP(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=OP(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}(i,r,t)),qn}function Ze(e=1){return function Wx(e){return(_e.lFrame.contextLView=function a_(e,t){for(;e>0;)t=t[14],e--;return t}(e,_e.lFrame.contextLView))[8]}(e)}function sm(e,t,n,r){return function GP(e,t){const n=e[v];n._lView=B(),n._queryIndex=t,n._queryList=fg(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}(e,$P(t,n,r)),sm}function ZD(e=1){Au(function gh(){return _e.lFrame.currentQueryIndex}()+e)}function _d(e,t){return e<<17|t<<2}function fi(e){return e>>17&32767}function am(e){return 2|e}function Ns(e){return(131068&e)>>2}function cm(e,t){return-131069&e|t<<2}function um(e){return 1|e}function YD(e,t,n,r){const o=e[n+1],i=null===t;let s=r?fi(o):Ns(o),a=!1;for(;0!==s&&(!1===a||i);){const u=e[s+1];MU(e[s],t)&&(a=!0,e[s+1]=r?um(u):am(u)),s=r?fi(u):Ns(u)}a&&(e[n+1]=r?am(o):um(o))}function MU(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&aa(e,t)>=0}function lm(e,t,n){return oS(e,t,n,!1),lm}function yn(e,t){return oS(e,t,null,!0),yn}function oS(e,t,n,r){const o=B(),i=ye(),s=function Rr(e){const t=_e.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function aS(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Ht()],s=function sS(e,t){return t>=e.expandoStartIndex}(e,n);(function dS(e,t){return!!(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function LU(e,t,n,r){const o=function ph(e){const t=_e.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=cc(n=dm(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=dm(o,e,t,n,r),null===i){let c=function qU(e,t,n
1){const r=n?t.classBindings:t.styleBindings;if(0!==Ns(r))return e[fi(r)]}(e,t,r);void 0!==c&&Array.isArray(c)&&(c=dm(null,e,t,c[1],r),c=cc(c,t.attrs,r),function HU(e,t,n,r){e[fi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,c))}else i=function BU(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=cc(r,e[i].hostAttrs,n);return cc(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function DU(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=fi(s),c=Ns(s);e[r]=n;let l,u=!1;if(Array.isArray(n)?(l=n[1],(null===l||aa(n,l)>0)&&(u=!0)):l=n,o)if(0!==c){const f=fi(e[a+1]);e[r+1]=_d(f,a),0!==f&&(e[f+1]=cm(e[f+1],r)),e[a+1]=function PU(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=_d(a,0),0!==a&&(e[a+1]=cm(e[a+1],r)),a=r;else e[r+1]=_d(c,0),0===a?a=r:e[c+1]=cm(e[c+1],r),c=r;u&&(e[r+1]=am(e[r+1])),YD(e,l,r,!0),YD(e,l,r,!1),function SU(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&aa(i,t)>=0&&(n[r+1]=um(n[r+1]))}(t,l,e,r,i),s=_d(a,c),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==Ge&&it(o,s,t)&&function uS(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const c=e.data,u=c[a+1],l=function EU(e){return!(1&~e)}(u)?lS(c,t,n,o,Ns(u),s):void 0;bd(l)||(bd(i)||function CU(e){return!(2&~e)}(u)&&(i=lS(c,null,n,o,a,s)),function UF(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:ro.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ro.Important),e.setStyle(n,r,o,i))}}(r,s,Ui(Ht(),n),o,i))}(i,i.data[Ht()],o,o[11],e,o[s+1]=function WU(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Rn(Dn(e)))),e}(t,n),r,s)}function dm(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],r=cc(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function cc(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Eu(e,s,!!n||t[++i]))}return void 0===e?null:e}function lS(e,t,n,r,o,i){const s=null===t;let a;for(;o>0;){const c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=null===l;let f=n[o+1];f===Ge&&(f=d?Xe:void 0);let h=d?Vf(f,r):l===r?f:void 0;if(u&&!bd(h)&&(h=Vf(c,r)),bd(h)&&(a=h,s))return a;const p=e[o+1];o=s?fi(p):Ns(p)}if(null!==t){let c=i?t.residualClasses:t.residualStyles;null!=c&&(a=Vf(c,r))}return a}function bd(e){return void 0!==e}function Nt(e,t=""){const n=B(),r=ye(),o=e+27,i=r.firstCreatePass?Xo(r,o,1,t,null):r.data[o],s=fS(r,n,i,t);n[o]=s,Nu()&&kp(r,n,s,i),Tr(i,!1)}let fS=(e,t,n,r)=>(fa(!0),function wp(e,t){return e.createText(t)}(t[11],r));function fm(e){return uc("",e),fm}function uc(e,t,n){const r=B(),o=function pS(e,t,n,r=""){return it(e,zt(),n)?t+Pe(n)+r:Ge}(r,e,t,n);return o!==Ge&&function Lr(e,t,n){const r=Ui(t,e);!function Zw(e,t,n){e.setValue(t,n)}(e[11],r,n)}(r,Ht(),o),uc}function LS(e,t,n,r,o,i){const s=t+n;return it(e,s,o)?function hr(e,t,n){return e[t]=n}(e,s+1,i?r.call(i,o):r(o)):function lc(e,t){const n=e[t];return n===Ge?void 0:n}(e,s+1)}function Fs(e,t){const n=ye();let r;const o=e+27;n.firstCreatePass?(r=function E$(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=xo(r.type)),a=dn(Re);try{const c=Zu(!1),u=i();return Zu(c),function ih(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,B(),o,u),u}finally{dn(a)}}function js(e,t,n){const r=e+27,o=B(),i=function jo(e,t){return e[t]}(o,r);return function dc(e,t){return e[1].data[t].pure}(o,r)?LS(o,function en(){const e=_e.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),t,i.transform,n,i):i.transform(n)}let iV=(()=>{class e{applicationErrorHandler=se(Jr);appRef=se(so);taskService=se(qo);ngZone=se(tt);zonelessEnabled=se(Ph);tracing=se(ds,{optional:!0});
1zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new In;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Fu):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(se(fA,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{const n=this.taskService.add();this.runningTick||(this.cleanup(),this.zonelessEnabled&&!this.appRef.includeAllTestViews)?(this.switchToMicrotaskScheduler(),this.taskService.remove(n)):this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{const n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:case 6:case 13:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 12:this.appRef.dirtyFlags|=16;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?eA:x_;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Fu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=me({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const uo=new re("",{factory:()=>se(uo,{optional:!0,skipSelf:!0})||function sV(){return typeof $localize<"u"&&$localize.locale||gd}()}),Id=Symbol("InputSignalNode#UNSET"),GM={...bf,transformFn:void 0,applyValueToInputSignal(e,t){_f(e,t)}};function QM(e,t){const n=Object.create(GM);function r(){if(F(n),n.value===Id)throw new K(-950,null);return n.value}return n.value=e,n.transformFn=t?.transform,r[v]=n,r}function KM(e,t){return QM(e,t)}const gr=(KM.required=function c8(e){return QM(Id,e)},KM);function ZM(e,t){return function oq(){return pg(!0,!1)}()}const l8=(ZM.required=function u8(e,t){return function iq(){return pg(!0,!0)}()},ZM),Td=new re(""),_8=new re("");function vc(e){return!e.moduleRef}let rO;function oO(){rO=b8}function b8(e,t){const n=e.injector.get(so);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new K(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}let iO=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){const o=[[{provide:Bo,useExisting:iV},{provide:tt,useClass:iA},{provide:Ph,useValue:!0}],...r?.applicationProviders??[],cA],i=function pq(e,t,n){return new vg(e,t,n,!1)}(n.moduleType,this.injector,o);return oO(),function nO(e){const t=vc(e)?e.r3Injector:e.moduleRef.injector,n=t.get(tt);return n.run(()=>{vc(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializer
1s();const r=t.get(Jr);let o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),vc(e)){const i=()=>t.destroy(),s=e.platformInjector.get(Td);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{const i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Td);s.add(i),e.moduleRef.onDestroy(()=>{nd(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return function w8(e,t,n){try{const r=n();return Rg(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}(r,n,()=>{const i=t.get(qo),s=i.add(),a=t.get(VE);return a.runInitializers(),a.donePromise.then(()=>{if(function xB(e){"string"==typeof e&&(MD=e.toLowerCase().replace(/_/g,"-"))}(t.get(uo,gd)||gd),!t.get(_8,!0))return vc(e)?t.get(so):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(vc(e)){const l=t.get(so);return void 0!==e.rootComponent&&l.bootstrap(e.rootComponent),l}return rO?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}({moduleRef:i,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){const o=WE({},r);return oO(),function d8(e,t,n){const r=new YP(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new K(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Td,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(Se(Pn))};static \u0275prov=me({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),$s=null;function sO(e,t,n=[]){const r=`Platform: ${t}`,o=new re(r);return(i=[])=>{let s=Rd();if(!s){const a=[...n,...i,{provide:o,useValue:!0}];s=e?.(a)??function C8(e){if(Rd())throw new K(400,!1);(function B2(){!function OR(e){On=e}(()=>{throw new K(600,"")})})(),$s=e;const t=e.get(iO);return function cO(e){const t=e.get(nw,null);th(e,()=>{t?.forEach(n=>n())})}(e),t}(function aO(e=[],t){return Pn.create({name:t,providers:[{provide:Zf,useValue:"platform"},{provide:Td,useValue:new Set([()=>$s=null])},...e]})}(a,r))}return function P8(){const t=Rd();if(!t)throw new K(-401,!1);return t}()}}function Rd(){return $s?.get(iO)??null}const K8=sO(null,"core",[]);let Z8=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(Se(so))};static \u0275mod=Za({type:e});static \u0275inj=Ri({})}return e})();let M5=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Za({type:e});static \u0275inj=Ri({})}return e})();class VO{_doc;constructor(t){this._doc=t}manager}let Km=(()=>{class e extends VO{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(Se(Nn))};static \u0275prov=me({token:e,factory:e.\u0275fac})}return e})();const Zm=new re("");let WO=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});const o=n.filter(s=>!(s instanceof Km));this._plugins=o.slice().reverse();const i=n.find(s=>s instanceof Km);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new K(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(Se(Zm),Se(tt))};static \u0275prov=me({token:e,factory:e.\u0275fac})}return e})();const Ym="ng-app-id";function zO(e){for(const t of e)t.remove()}function GO(e,t){const n=t.createElement("style");return n.textContent=e,n}function Jm(e,t){const n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}let QO=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,function O5(e,t,n,r){const o=e.head?.querySelectorAll(`style[${Ym}="${t}"],link[${Ym}="${t}"]`);if(o)for(const i of o)i.removeAttribute(Ym),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(const o of n)this.addUsage(o,this.inline,GO);r?.forEach(o=>this.addUsage(o,this.external,Jm))}removeStyles(n,r){for(const o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){const i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){const o=r.get(n);o&&(o.usage--,o.usage<=0&&(zO(o.elements),r.delete(n)))}ngOnDestroy(){for(const[,{elements:n}]of[...this.inline,...this.external])zO(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(const[r,{elements:o}]of this.inline)o.push(this.addElement(n,GO(r,this.doc)));for(const[r,{elements:o}]of this.external)o.push(this.addElement(n,Jm(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(Se(Nn),Se(is),Se(ow,8),Se(rw))};static \u0275prov=me({token:e,factory:e.\u0275fac})}return e})();const Xm={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},ey=/%COMP%/g,N5=new re("",{factory:()=>!0});function ZO(e,t){return t.map(n=>n.replace(ey,e))}let YO=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(n,r,o,i,s,a,c=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new ty(n,s,a,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;const o=this.getOrCreateRenderer(n,r);
1return o instanceof eI?o.applyToHost(n):o instanceof ny&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case Fn.Emulated:i=new eI(c,u,r,this.appId,l,s,a,d);break;case Fn.ShadowDom:return new XO(c,n,r,s,a,this.nonce,d,u);case Fn.ExperimentalIsolatedShadowDom:return new XO(c,n,r,s,a,this.nonce,d);default:i=new ny(c,u,r,l,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(Se(WO),Se(QO),Se(is),Se(N5),Se(Nn),Se(tt),Se(ow),Se(ds,8))};static \u0275prov=me({token:e,factory:e.\u0275fac})}return e})();class ty{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Xm[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(JO(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(JO(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new K(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Xm[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Xm[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(ro.DashCase|ro.Important)?t.style.setProperty(n,r,o&ro.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&ro.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if("string"==typeof t&&!(t=Gi().getGlobalEventTarget(this.doc,t)))throw new K(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===t(n)&&n.preventDefault()}}}function JO(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class XO extends ty{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c){super(t,o,i,a),this.hostEl=n,this.sharedStylesHost=c,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=ZO(r.id,u);for(const d of u){const f=document.createElement("style");s&&f.setAttribute("nonce",s),f.textContent=d,this.shadowRoot.appendChild(f)}const l=r.getExternalStyles?.();if(l)for(const d of l){const f=Jm(d,o);s&&f.setAttribute("nonce",s),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}}class ny extends ty{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=c?ZO(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===Zo.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class eI extends ny{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c){const u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=function k5(e){return"_ngcontent-%COMP%".replace(ey,e)}(u),this.hostAttr=function F5(e){return"_nghost-%COMP%".replace(ey,e)}(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class oy extends _A{supportsDOMEvents=!0;static makeCurrent(){!function vA(e){B_??=e}(new oy)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return(n=n||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,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function q5(){return Pc=Pc||document.head.querySelector("base"),Pc?Pc.getAttribute("href"):null}();return null==n?null:function H5(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){Pc=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return $_(document.cookie,t)}}let Pc=null,U5=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=me({token:e,factory:e.\u0275fac})}return e})();const nI=["alt","control","meta","shift"],$5={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},V5={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let W5=(()=>{class e extends VO{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o,i){const s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Gi().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>
1-1&&(r.splice(a,1),s="code."),nI.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=$5[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),nI.forEach(s=>{s!==o&&(0,V5[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static \u0275fac=function(r){return new(r||e)(Se(Nn))};static \u0275prov=me({token:e,factory:e.\u0275fac})}return e})();const K5=sO(K8,"browser",[{provide:rw,useValue:"browser"},{provide:nw,useValue:function z5(){oy.makeCurrent()},multi:!0},{provide:Nn,useFactory:function Q5(){return function Tk(e){Jh=e}(document),document}}]),iI=[{provide:BE,useClass:class B5{addToWindow(t){mt.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new K(5103,!1);return i},mt.getAllAngularTestabilities=()=>t.getAllTestabilities(),mt.getAllAngularRootElements=()=>t.getAllRootElements(),mt.frameworkStabilizers||(mt.frameworkStabilizers=[]),mt.frameworkStabilizers.push(r=>{const o=mt.getAllAngularTestabilities();let i=o.length;const s=function(){i--,0==i&&r()};o.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Gi().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}}},{provide:HE,useClass:Ig},{provide:Ig,useClass:Ig}],sI=[{provide:Zf,useValue:"root"},{provide:ha,useFactory:function G5(){return new ha}},{provide:Zm,useClass:Km,multi:!0},{provide:Zm,useClass:W5,multi:!0},YO,QO,WO,{provide:Jp,useExisting:YO},{provide:V_,useClass:U5},[]];let Z5=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Za({type:e});static \u0275inj=Ri({providers:[...sI,...iI],imports:[M5,Z8]})}return e})();const aI={now:()=>(aI.delegate||Date).now(),delegate:void 0};class Y5 extends Ti{constructor(t=1/0,n=1/0,r=aI){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){const s=n.now();let a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}}function fo(e){return this instanceof fo?(this.v=e,this):new fo(e)}function dI(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function dy(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){!function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}(a,c,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const fI=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function hI(e){return Dt(e?.then)}function pI(e){return Dt(e[Of])}function gI(e){return Symbol.asyncIterator&&Dt(e?.[Symbol.asyncIterator])}function mI(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invali
1d object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const yI=function EW(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function vI(e){return Dt(e?.[yI])}function _I(e){return function lI(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(h){return function(p){return Promise.resolve(p).then(h,d)}}),o[Symbol.asyncIterator]=function(){return this},o;function a(h,p){r[h]&&(o[h]=function(g){return new Promise(function(y,b){i.push([h,g,y,b])>1||c(h,g)})},p&&(o[h]=p(o[h])))}function c(h,p){try{!function u(h){h.value instanceof fo?Promise.resolve(h.value.v).then(l,d):f(i[0][2],h)}(r[h](p))}catch(g){f(i[0][3],g)}}function l(h){c("next",h)}function d(h){c("throw",h)}function f(h,p){h(p),i.shift(),i.length&&c(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield fo(n.read());if(o)return yield fo(void 0);yield yield fo(r)}}finally{n.releaseLock()}})}function bI(e){return Dt(e?.getReader)}function vi(e){if(e instanceof Ut)return e;if(null!=e){if(pI(e))return function DW(e){return new Ut(t=>{const n=e[Of]();if(Dt(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(fI(e))return function SW(e){return new Ut(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(hI(e))return function MW(e){return new Ut(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Sv)})}(e);if(gI(e))return wI(e);if(vI(e))return function OW(e){return new Ut(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(bI(e))return function IW(e){return wI(_I(e))}(e)}throw mI(e)}function wI(e){return new Ut(t=>{(function TW(e,t){var n,r,o,i;return function cI(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=dI(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function ho(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Gd(e,t,n=1/0){return Dt(t)?Gd((r,o)=>Qi((i,s)=>t(r,i,o,s))(vi(e(r,o))),n):("number"==typeof t&&(n=t),Uo((r,o)=>function RW(e,t,n,r,o,i,s,a){const c=[];let u=0,l=0,d=!1;const f=()=>{d&&!c.length&&!u&&t.complete()},h=g=>u<r?p(g):c.push(g),p=g=>{i&&t.next(g),u++;let y=!1;vi(n(g,l++)).subscribe($o(t,b=>{o?.(b),i?h(b):t.next(b)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;c.length&&u<r;){const b=c.shift();s?ho(t,s,()=>p(b)):p(b)}f()}catch(b){t.error(b)}}))};return e.subscribe($o(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const CI=new Ut(e=>e.complete());function hy(e){return e[e.length-1]}function PI(e){return function kW(e){return e&&Dt(e.schedule)}(hy(e))?e.pop():void 0}function EI(e,t=0){return Uo((n,r)=>{n.subscribe($o(r,o=>ho(r,e,()=>r.next(o),t),()=>ho(r,e,()=>r.complete(),t),o=>ho(r,e,()=>r.error(o),t)))})}function DI(e,t=0){return Uo((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function SI(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ut(n=>{ho(n,t,()=>{const r=e[Symbol.asyncIterator]();ho(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function MI(e,t){return t?function $W(e,t){if(null!=e){if(pI(e))return function LW(e,t){return vi(e).pipe(DI(t),EI(t))}(e,t);if(fI(e))return function HW(e,t){return new Ut(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(hI(e))return function qW(e,t){return vi(e).pipe(DI(t),EI(t))}(e,t);if(gI(e))return SI(e,t);if(vI(e))return function BW(e,t){return new Ut(n=>{let r;return ho(n,t,()=>{r=e[yI](),ho(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>Dt(r?.return)&&r.return()})}(e,t);if(bI(e))return function UW(e,t){return SI(_I(e),t)}(e,t)}throw mI(e)}(e,t):vi(e)}function OI(e,t){return Uo((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe($o(r,c=>{o?.unsubscribe();let u=0;const l=i++;vi(e(c,l)).subscribe(o=$o(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}const WW={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)}};let py;function JW(e,t,n){let r=n;return function GW(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((o,i)=>!("*"===o||!function QW(e,t){if(!py){const n=Element.prototype;py=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}
1return e.nodeType===Node.ELEMENT_NODE&&py.call(e,t)}(e,o)||(r=i,0))),r}class e6{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(vs).resolveComponentFactory(t);for(const r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(t){return new t6(this.componentFactory,t,this.inputMap)}}class t6{componentFactory;injector;inputMap;eventEmitters=new Y5(1);events=this.eventEmitters.pipe(OI(t=>function VW(...e){const t=PI(e),n=function jW(e,t){return"number"==typeof hy(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?vi(r[0]):function xW(e=1/0){return Gd(Ov,e)}(n)(MI(r,t)):CI}(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,n,r){this.componentFactory=t,this.injector=n,this.inputMap=r,this.ngZone=this.injector.get(tt),this.appRef=this.injector.get(so),this.cdScheduler=n.get(Bo),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=WW.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){null!==this.componentRef?this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,n),function gj(e){return la(e._lView)||!!(64&e._lView[2])}(this.componentRef.hostView)&&(function mj(e){ah(e._lView)}(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))}):this.initialInputValues.set(t,n)}initializeComponent(t){const n=Pn.create({providers:[],parent:this.injector}),r=function YW(e,t){const n=e.childNodes,r=t.map(()=>[]);let o=-1;t.some((i,s)=>"*"===i&&(o=s,!0));for(let i=0,s=n.length;i<s;++i){const a=n[i],c=JW(a,t,o);-1!==c&&r[c].push(a)}return r}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(const[t,n]of this.initialInputValues)this.setInputValue(t,n);this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>{const i=t.instance[r];return new Ut(s=>{const a=i.subscribe(c=>s.next({name:o,value:c}));return()=>a.unsubscribe()})});this.eventEmitters.next(n)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class n6 extends HTMLElement{ngElementEventsSubscription=null}function II(e,t){const n=function ZW(e,t){return t.get(vs).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new e6(e,t.injector),o=function KW(e){const t={};return e.forEach(({propName:n,templateName:r,transform:o})=>{t[function zW(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=[n,o]}),t}(n);class i extends n6{injector;static observedAttributes=Object.keys(o);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:c,transform:u})=>{if(!this.hasOwnProperty(c))return;const l=this[c];delete this[c],a.setInputValue(c,l,u)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,c,u,l){const[d,f]=o[a];this.ngElementStrategy.setInputValue(d,u,f)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}
1subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const c=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(c)})}}return n.forEach(({propName:s,transform:a,isSignal:c})=>{Object.defineProperty(i.prototype,s,{get(){const u=this.ngElementStrategy.getInputValue(s);return c&&function Mg(e){return"function"==typeof e&&void 0!==e[v]}(u)?u():u},set(u){this.ngElementStrategy.setInputValue(s,u,a)},configurable:!0,enumerable:!0})}),i}function Un(e){let t;const n=`algolia-client-js-${e.key}`;function r(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function o(){return JSON.parse(r().getItem(n)||"{}")}function i(a){r().setItem(n,JSON.stringify(a))}return{get:(a,c,u={miss:()=>Promise.resolve()})=>Promise.resolve().then(()=>(function s(){const a=e.timeToLive?1e3*e.timeToLive:null,c=o(),u=Object.fromEntries(Object.entries(c).filter(([,d])=>void 0!==d.timestamp));i(u),a&&i(Object.fromEntries(Object.entries(u).filter(([,d])=>{const f=(new Date).getTime();return!(d.timestamp+a<f)})))}(),o()[JSON.stringify(a)])).then(l=>Promise.all([l?l.value:c(),void 0!==l])).then(([l,d])=>Promise.all([l,d||u.miss(l)])).then(([l])=>l),set:(a,c)=>Promise.resolve().then(()=>{const u=o();return u[JSON.stringify(a)]={timestamp:(new Date).getTime(),value:c},r().setItem(n,JSON.stringify(u)),c}),delete:a=>Promise.resolve().then(()=>{const c=o();delete c[JSON.stringify(a)],r().setItem(n,JSON.stringify(c))}),clear:()=>Promise.resolve().then(()=>{r().removeItem(n)})}}function TI(){return{get:(e,t,n={miss:()=>Promise.resolve()})=>t().then(o=>Promise.all([o,n.miss(o)])).then(([o])=>o),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}}function on(e){const t=[...e.caches],n=t.shift();return void 0===n?TI():{get:(r,o,i={miss:()=>Promise.resolve()})=>n.get(r,o,i).catch(()=>on({caches:t}).get(r,o,i)),set:(r,o)=>n.set(r,o).catch(()=>on({caches:t}).set(r,o)),delete:r=>
1n.delete(r).catch(()=>on({caches:t}).delete(r)),clear:()=>n.clear().catch(()=>on({caches:t}).clear())}}function qe(e={serializable:!0}){let t={};return{get(n,r,o={miss:()=>Promise.resolve()}){const i=JSON.stringify(n);if(i in t)return Promise.resolve(e.serializable?JSON.parse(t[i]):t[i]);const s=r();return s.then(a=>o.miss(a)).then(()=>s)},set:(n,r)=>(t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)),delete:n=>(delete t[JSON.stringify(n)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}function mr(e,t,n="WithinHeaders"){const r={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===n?r:{},queryParameters:()=>"WithinQueryParameters"===n?r:{}}}function po({func:e,validate:t,aggregator:n,error:r,timeout:o=()=>0}){const i=s=>new Promise((a,c)=>{e(s).then(function(){var u=dt(function*(l){return n&&(yield n(l)),(yield t(l))?a(l):r&&(yield r.validate(l))?c(new Error(yield r.message(l))):setTimeout(()=>{i(l).then(a).catch(c)},yield o())});return function(l){return u.apply(this,arguments)}}()).catch(u=>{c(u)})});return i()}function yr({algoliaAgents:e,client:t,version:n}){const r=function r6(e){const t={value:`Algolia for JavaScript (${e})`,add(n){const r=`; ${n.segment}${void 0!==n.version?` (${n.version})`:""}`;return-1===t.value.indexOf(r)&&(t.value=`${t.value}${r}`),t}};return t}(n).add({segment:t,version:n});return e.forEach(o=>r.add(o)),r}function vr(){return{debug:(e,t)=>Promise.resolve(),info:(e,t)=>Promise.resolve(),error:(e,t)=>Promise.resolve()}}function xI(e,t="up"){const n=Date.now();return{...e,status:t,lastUpdate:n,isUp:function r(){return"up"===t||Date.now()-n>12e4},isTimedOut:function o(){return"timed out"===t&&Date.now()-n<=12e4}}}var Ec=class extends Error{name="AlgoliaError";constructor(e,t){super(e),t&&(this.name=t)}},AI=class extends Ec{stackTrace;constructor(e,t,n){super(e,n),this.stackTrace=t}},o6=class extends AI{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, please visit our help center https://alg.li/support-unreachable-hosts or reach out to the Algolia Support team: https://alg.li/support",e,"RetryError")}},Qd=class extends AI{status;constructor(e,t,n,r="ApiError"){super(e,n,r),this.status=t}},i6=class extends Ec{response;constructor(e,t){super(e,"DeserializationError"),this.response=t}},s6=class extends Qd{error;constructor(e,t,n,r){super(e,t,r,"DetailedApiError"),this.error=n}};function NI(e){const t=e;for(let n=e.length-1;n>0;n--){const r=Math.floor(Math.random()*(n+1)),o=e[n];t[n]=e[r],t[r]=o}return t}function a6(e,t,n){const r=function c6(e){return Object.keys(e).filter(t=>void 0!==e[t]).sort().map(t=>`${t}=${encodeURIComponent("[object Array]"===Object.prototype.toString.call(e[t])?e[t].join(","):e[t]).replace(/\+/g,"%20")}`).join("&")}(n);let o=`${e.protocol}://${e.url}${e.port?`:${e.port}`:""}/${"/"===t.charAt(0)?t.substring(1):t}`;return r.length&&(o+=`?${r}`),o}function kI(e){const t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}function _r({hosts:e,hostsCache:t,baseHeaders:n,logger:r,baseQueryParameters:o,algoliaAgent:i,timeouts:s,requester:a,requestsCache:c,responsesCache:u}){function d(){return(d=dt(function*(g){const y=yield Promise.all(g.map(q=>t.get(q,()=>Promise.resolve(xI(q))))),b=y.filter(q=>q.isUp()),w=y.filter(q=>q.isTimedOut()),j=[...b,...w];return{hosts:j.length>0?j:g,getTimeout:(q,ae)=>(0===w.length&&0===q?1:w.length+3+q)*ae}})).apply(this,arguments)}function h(){return h=dt(function*(g,y,b){const w=[],j=function u6(e,t){if("GET"===e.method||void 0===e.data&&void 0===t.data)return;const n=Array.isArray(e.data)?e.data:{...e.data,...t.data};return JSON.stringify(n)}(g,y),x=function l6(e,t,n){const r={Accept:"application/json",...e,...t,...n},o={};return Object.keys(r).forEach(i=>{const s=r[i];o[i.toLowerCase()]=s}),o}(n,g.headers,y.headers),q="GET"===g.method?{...g.data,...y.data}:{},ae={...o,...g.queryParameters,...q};if(i.value&&(ae["x-algolia-agent"]=i.value),y&&y.queryParameters)for(const ue of Object.keys(y.queryParameters))ae[ue]=y.queryParameters[ue]&&"[object Object]"!==Object.prototype.toString.call(y.queryParameters[ue])?y.queryParameters[ue].toString():y.queryParameters[ue];let le=0;const be=function(){var ue=dt(function*(Me,kt){const Rt=Me.pop();if(void 0===Rt)throw new o6(function m6(e){return e.map(t=>kI(t))}(w));const cn={...s,...y.timeouts},lu={data:j,headers:x,method:g.method,url:a6(Rt,g.path,ae),connectTimeout:kt(le,cn.connect),responseTimeout:kt(le,b?cn.read:cn.write)},mf=ea=>{const ta={request:lu,response:ea,host:Rt,triesLeft:Me.length};return w.push(ta),ta},Wn=yield a.send(lu);if(function p6({isTimedOut:e,status:t}){return e||function h6({isTimedOut:e,status:t}){return!e&&0===~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(Wn)){const ea=mf(Wn);return Wn.isTimedOut&&le++,r.info("Retryable failure",kI(ea)),yield t.set(Rt,xI(Rt,Wn.isTimedOut?"timed out":"down")),be(Me,kt)}if(function g6({status:e}){return 2==~~(e/100)}(Wn))return function d6(e){try{return JSON.parse(e.content)}catch(t){throw new i6(t.message,e)}}(Wn);throw mf(Wn),function f6({content:e,status:t},n){try{const r=JSON.parse(e);return"error"in r?new s6(r.message,t,r.error,n):new Qd(r.message,t,n)}catch{}
1return new Qd(e,t,n)}(Wn,w)});return function(kt,Rt){return ue.apply(this,arguments)}}(),De=e.filter(ue=>"readWrite"===ue.accept||(b?"read"===ue.accept:"write"===ue.accept)),Ue=yield function l(g){return d.apply(this,arguments)}(De);return be([...Ue.hosts].reverse(),Ue.getTimeout)}),h.apply(this,arguments)}return{hostsCache:t,requester:a,timeouts:s,logger:r,algoliaAgent:i,baseHeaders:n,baseQueryParameters:o,hosts:e,request:function p(g,y={}){const b=()=>function f(g,y,b){return h.apply(this,arguments)}(g,y,w),w=g.useReadTransporter||"GET"===g.method;if(!0!==(y.cacheable||g.cacheable))return b();const x={request:g,requestOptions:y,transporter:{queryParameters:o,headers:n}};return u.get(x,()=>c.get(x,()=>c.set(x,b()).then(q=>Promise.all([c.delete(x),q]),q=>Promise.all([c.delete(x),Promise.reject(q)])).then(([q,ae])=>ae)),{miss:q=>u.set(x,q)})},requestsCache:c,responsesCache:u}}function br(){return{send:function e(t){return new Promise(n=>{let r=new XMLHttpRequest;r.open(t.method,t.url,!0),Object.keys(t.headers).forEach(a=>r.setRequestHeader(a,t.headers[a]));let s,o=(a,c)=>setTimeout(()=>{r.abort(),n({status:0,content:c,isTimedOut:!0})},a),i=o(t.connectTimeout,"Connection timeout");r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===s&&(clearTimeout(i),s=o(t.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(i),clearTimeout(s),n({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(i),clearTimeout(s),n({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(t.data)})}}}var gy="1.14.2",FI=["de","us"];function y6(e){return[{url:e?"analytics.{region}.algolia.com".replace("{region}",e):"analytics.algolia.com",accept:"readWrite",protocol:"https"}]}function jI(e,t,n,r){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!t||"string"!=typeof t)throw new Error("`apiKey` is missing.");if(n&&("string"!=typeof n||!FI.includes(n)))throw new Error(`\`region\` must be one of the following: ${FI.join(", ")}`);return function v6({appId:e,apiKey:t,authMode:n,algoliaAgents:r,region:o,...i}){const s=mr(e,t,n),a=_r({hosts:y6(o),...i,algoliaAgent:yr({algoliaAgents:r,client:"AbtestingV3",version:gy}),baseHeaders:{"content-type":"text/plain",...s.headers(),...i.baseHeaders},baseQueryParameters:{...s.queryParameters(),...i.baseQueryParameters}});return{transporter:a,appId:e,apiKey:t,clearCache:()=>Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then(()=>{}),get _ua(){return a.algoliaAgent.value},addAlgoliaAgent(c,u){a.algoliaAgent.add({segment:c,version:u})},setClientApiKey({apiKey:c}){n&&"WithinHeaders"!==n?a.baseQueryParameters["x-algolia-api-key"]=c:a.baseHeaders["x-algolia-api-key"]=c},addABTests(c,u){if(!c)throw new Error("Parameter `addABTestsRequest` is required when calling `addABTests`.");if(!c.name)throw new Error("Parameter `addABTestsRequest.name` is required when calling `addABTests`.");if(!c.variants)throw new Error("Parameter `addABTestsRequest.variants` is required when calling `addABTests`.");if(!c.metrics)throw new Error("Parameter `addABTestsRequest.metrics` is required when calling `addABTests`.");if(!c.endAt)throw new Error("Parameter `addABTestsRequest.endAt` is required when calling `addABTests`.");return a.request({method:"POST",path:"/3/abtests",queryParameters:{},headers:{},data:c},u)},customDelete({path:c,parameters:u},l){if(!c)throw new Error("Parameter `path` is required when calling `customDelete`.");const p={method:"DELETE",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{}};return a.request(p,l)},customGet({path:c,parameters:u},l){if(!c)throw new Error("Parameter `path` is required when calling `customGet`.");const p={method:"GET",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{}};return a.request(p,l)},customPost({path:c,parameters:u,body:l},d){if(!c)throw new Error("Parameter `path` is required when calling `customPost`.");const g={method:"POST",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{},data:l||{}};return a.request(g,d)},customPut({path:c,parameters:u,body:l},d){if(!c)throw new Error("Parameter `path` is required when calling `customPut`.");const g={method:"PUT",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{},data:l||{}};return a.request(g,d)},deleteABTest({id:c},u){if(!c)throw new Error("Parameter `id` is required when calling `deleteABTest`.");const h={method:"DELETE",path:"/3/abtests/{id}".replace("{id}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},estimateABTest(c,u){if(!c)throw new Error("Parameter `estimateABTestRequest` is required when calling `estimateABTest`.");if(!c.configuration)throw new Error("Parameter `estimateABTestRequest.configuration` is required when calling `estimateABTest`.");if(!c.variants)throw new Error("Parameter `estimateABTestRequest.variants` is required when calling `estimateABTest`.");return a.request({method:"POST",path:"/3/abtests/estimate",queryParameters:{},headers:{},data:c},u)},getABTest({id:c},u){if(!c)throw new Error("Parameter `id` is required when calling `getABTest`.");const h={method:"GET",path:"/3/abtests/{id}".replace("{id}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},getTimeseries({id:c,startDate:u,endDate:l,metric:d},f){if(!c)throw new Error("Parameter `id` is required when calling `getTimeseries`.");const h="/3/abtests/{id}/timeseries".replace("{id}",encodeURIComponent(c)),g={};return void 0!==u&&(g.startDate=u.toString()),void 0!==l&&(g.endD
1ate=l.toString()),void 0!==d&&(g.metric=d.toString()),a.request({method:"GET",path:h,queryParameters:g,headers:{}},f)},listABTests({offset:c,limit:u,indexPrefix:l,indexSuffix:d,direction:f}={},h=void 0){const y={};return void 0!==c&&(y.offset=c.toString()),void 0!==u&&(y.limit=u.toString()),void 0!==l&&(y.indexPrefix=l.toString()),void 0!==d&&(y.indexSuffix=d.toString()),void 0!==f&&(y.direction=f.toString()),a.request({method:"GET",path:"/3/abtests",queryParameters:y,headers:{}},h)},stopABTest({id:c},u){if(!c)throw new Error("Parameter `id` is required when calling `stopABTest`.");const h={method:"POST",path:"/3/abtests/{id}/stop".replace("{id}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)}}}({appId:e,apiKey:t,region:n,timeouts:{connect:1e3,read:2e3,write:3e4},logger:vr(),requester:br(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:qe(),requestsCache:qe({serializable:!1}),hostsCache:on({caches:[Un({key:`${gy}-${e}`}),qe()]}),...r})}var my="5.48.2",LI=["de","us"];function _6(e){return[{url:e?"analytics.{region}.algolia.com".replace("{region}",e):"analytics.algolia.com",accept:"readWrite",protocol:"https"}]}function qI(e,t,n,r){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!t||"string"!=typeof t)throw new Error("`apiKey` is missing.");if(n&&("string"!=typeof n||!LI.includes(n)))throw new Error(`\`region\` must be one of the following: ${LI.join(", ")}`);return function b6({appId:e,apiKey:t,authMode:n,algoliaAgents:r,region:o,...i}){const s=mr(e,t,n),a=_r({hosts:_6(o),...i,algoliaAgent:yr({algoliaAgents:r,client:"Abtesting",version:my}),baseHeaders:{"content-type":"text/plain",...s.headers(),...i.baseHeaders},baseQueryParameters:{...s.queryParameters(),...i.baseQueryParameters}});return{transporter:a,appId:e,apiKey:t,clearCache:()=>Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then(()=>{}),get _ua(){return a.algoliaAgent.value},addAlgoliaAgent(c,u){a.algoliaAgent.add({segment:c,version:u})},setClientApiKey({apiKey:c}){n&&"WithinHeaders"!==n?a.baseQueryParameters["x-algolia-api-key"]=c:a.baseHeaders["x-algolia-api-key"]=c},addABTests(c,u){if(!c)throw new Error("Parameter `addABTestsRequest` is required when calling `addABTests`.");if(!c.name)throw new Error("Parameter `addABTestsRequest.name` is required when calling `addABTests`.");if(!c.variants)throw new Error("Parameter `addABTestsRequest.variants` is required when calling `addABTests`.");if(!c.endAt)throw new Error("Parameter `addABTestsRequest.endAt` is required when calling `addABTests`.");return a.request({method:"POST",path:"/2/abtests",queryParameters:{},headers:{},data:c},u)},customDelete({path:c,parameters:u},l){if(!c)throw new Error("Parameter `path` is required when calling `customDelete`.");const p={method:"DELETE",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{}};return a.request(p,l)},customGet({path:c,parameters:u},l){if(!c)throw new Error("Parameter `path` is required when calling `customGet`.");const p={method:"GET",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{}};return a.request(p,l)},customPost({path:c,parameters:u,body:l},d){if(!c)throw new Error("Parameter `path` is required when calling `customPost`.");const g={method:"POST",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{},data:l||{}};return a.request(g,d)},customPut({path:c,parameters:u,body:l},d){if(!c)throw new Error("Parameter `path` is required when calling `customPut`.");const g={method:"PUT",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{},data:l||{}};return a.request(g,d)},deleteABTest({id:c},u){if(!c)throw new Error("Parameter `id` is required when calling `deleteABTest`.");const h={method:"DELETE",path:"/2/abtests/{id}".replace("{id}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},estimateABTest(c,u){if(!c)throw new Error("Parameter `estimateABTestRequest` is required when calling `estimateABTest`.");if(!c.configuration)throw new Error("Parameter `estimateABTestRequest.configuration` is required when calling `estimateABTest`.");if(!c.variants)throw new Error("Parameter `estimateABTestRequest.variants` is required when calling `estimateABTest`.");return a.request({method:"POST",path:"/2/abtests/estimate",queryParameters:{},headers:{},data:c},u)},getABTest({id:c},u){if(!c)throw new Error("Parameter `id` is required when calling `getABTest`.");const h={method:"GET",path:"/2/abtests/{id}".replace("{id}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},listABTests({offset:c,limit:u,indexPrefix:l,indexSuffix:d}={},f=void 0){const g={};return void 0!==c&&(g.offset=c.toString()),void 0!==u&&(g.limit=u.toString()),void 0!==l&&(g.indexPrefix=l.toString()),void 0!==d&&(g.indexSuffix=d.toString()),a.request({method:"GET",path:"/2/abtests",queryParameters:g,headers:{}},f)},stopABTest({id:c},u){if(!c)throw new Error("Parameter `id` is required when calling `stopABTest`.");const h={method:"POST",path:"/2/abtests/{id}/stop".replace("{id}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)}}}({appId:e,apiKey:t,region:n,timeouts:{connect:1e3,read:2e3,write:3e4},logger:vr(),requester:br(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:qe(),requestsCache:qe({serializable:!1}
1),hostsCache:on({caches:[Un({key:`${my}-${e}`}),qe()]}),...r})}var yy="5.48.2",HI=["de","us"];function w6(e){return[{url:e?"analytics.{region}.algolia.com".replace("{region}",e):"analytics.algolia.com",accept:"readWrite",protocol:"https"}]}function BI(e,t,n,r){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!t||"string"!=typeof t)throw new Error("`apiKey` is missing.");if(n&&("string"!=typeof n||!HI.includes(n)))throw new Error(`\`region\` must be one of the following: ${HI.join(", ")}`);return function C6({appId:e,apiKey:t,authMode:n,algoliaAgents:r,region:o,...i}){const s=mr(e,t,n),a=_r({hosts:w6(o),...i,algoliaAgent:yr({algoliaAgents:r,client:"Analytics",version:yy}),baseHeaders:{"content-type":"text/plain",...s.headers(),...i.baseHeaders},baseQueryParameters:{...s.queryParameters(),...i.baseQueryParameters}});return{transporter:a,appId:e,apiKey:t,clearCache:()=>Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then(()=>{}),get _ua(){return a.algoliaAgent.value},addAlgoliaAgent(c,u){a.algoliaAgent.add({segment:c,version:u})},setClientApiKey({apiKey:c}){n&&"WithinHeaders"!==n?a.baseQueryParameters["x-algolia-api-key"]=c:a.baseHeaders["x-algolia-api-key"]=c},customDelete({path:c,parameters:u},l){if(!c)throw new Error("Parameter `path` is required when calling `customDelete`.");const p={method:"DELETE",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{}};return a.request(p,l)},customGet({path:c,parameters:u},l){if(!c)throw new Error("Parameter `path` is required when calling `customGet`.");const p={method:"GET",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{}};return a.request(p,l)},customPost({path:c,parameters:u,body:l},d){if(!c)throw new Error("Parameter `path` is required when calling `customPost`.");const g={method:"POST",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{},data:l||{}};return a.request(g,d)},customPut({path:c,parameters:u,body:l},d){if(!c)throw new Error("Parameter `path` is required when calling `customPut`.");const g={method:"PUT",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{},data:l||{}};return a.request(g,d)},getAddToCartRate({index:c,startDate:u,endDate:l,tags:d},f){if(!c)throw new Error("Parameter `index` is required when calling `getAddToCartRate`.");const g={};return void 0!==c&&(g.index=c.toString()),void 0!==u&&(g.startDate=u.toString()),void 0!==l&&(g.endDate=l.toString()),void 0!==d&&(g.tags=d.toString()),a.request({method:"GET",path:"/2/conversions/addToCartRate",queryParameters:g,headers:{}},f)},getAverageClickPosition({index:c,startDate:u,endDate:l,tags:d},f){if(!c)throw new Error("Parameter `index` is required when calling `getAverageClickPosition`.");const g={};return void 0!==c&&(g.index=c.toString()),void 0!==u&&(g.startDate=u.toString()),void 0!==l&&(g.endDate=l.toString()),void 0!==d&&(g.tags=d.toString()),a.request({method:"GET",path:"/2/clicks/averageClickPosition",queryParameters:g,headers:{}},f)},getClickPositions({index:c,startDate:u,endDate:l,tags:d},f){if(!c)throw new Error("Parameter `index` is required when calling `getClickPositions`.");const g={};return void 0!==c&&(g.index=c.toString()),void 0!==u&&(g.startDate=u.toString()),void 0!==l&&(g.endDate=l.toString()),void 0!==d&&(g.tags=d.toString()),a.request({method:"GET",path:"/2/clicks/positions",queryParameters:g,headers:{}},f)},getClickThroughRate({index:c,startDate:u,endDate:l,tags:d},f){if(!c)throw new Error("Parameter `index` is required when calling `getClickThroughRate`.");const g={};return void 0!==c&&(g.index=c.toString()),void 0!==u&&(g.startDate=u.toString()),void 0!==l&&(g.endDate=l.toString()),void 0!==d&&(g.tags=d.toString()),a.request({method:"GET",path:"/2/clicks/clickThroughRate",queryParameters:g,headers:{}},f)},getConversionRate({index:c,startDate:u,endDate:l,tags:d},f){if(!c)throw new Error("Parameter `index` is required when calling `getConversionRate`.");const g={};return void 0!==c&&(g.index=c.toString()),void 0!==u&&(g.startDate=u.toString()),void 0!==l&&(g.endDate=l.toString()),void 0!==d&&(g.tags=d.toString()),a.request({method:"GET",path:"/2/conversions/conversionRate",queryParameters:g,headers:{}},f)},getNoClickRate({index:c,startDate:u,endDate:l,tags:d},f){if(!c)throw new Error("Parameter `index` is required when calling `getNoClickRate`.");const g={};return void 0!==c&&(g.index=c.toString()),void 0!==u&&(g.startDate=u.toString()),void 0!==l&&(g.endD
1ate=l.toString()),void 0!==d&&(g.tags=d.toString()),a.request({method:"GET",path:"/2/searches/noClickRate",queryParameters:g,headers:{}},f)},getNoResultsRate({index:c,startDate:u,endDate:l,tags:d},f){if(!c)throw new Error("Parameter `index` is required when calling `getNoResultsRate`.");const g={};return void 0!==c&&(g.index=c.toString()),void 0!==u&&(g.startDate=u.toString()),void 0!==l&&(g.endDate=l.toString()),void 0!==d&&(g.tags=d.toString()),a.request({method:"GET",path:"/2/searches/noResultRate",queryParameters:g,headers:{}},f)},getPurchaseRate({index:c,startDate:u,endDate:l,tags:d},f){if(!c)throw new Error("Parameter `index` is required when calling `getPurchaseRate`.");const g={};return void 0!==c&&(g.index=c.toString()),void 0!==u&&(g.startDate=u.toString()),void 0!==l&&(g.endDate=l.toString()),void 0!==d&&(g.tags=d.toString()),a.request({method:"GET",path:"/2/conversions/purchaseRate",queryParameters:g,headers:{}},f)},getRevenue({index:c,startDate:u,endDate:l,tags:d},f){if(!c)throw new Error("Parameter `index` is required when calling `getRevenue`.");const g={};return void 0!==c&&(g.index=c.toString()),void 0!==u&&(g.startDate=u.toString()),void 0!==l&&(g.endDate=l.toString()),void 0!==d&&(g.tags=d.toString()),a.request({method:"GET",path:"/2/conversions/revenue",queryParameters:g,headers:{}},f)},getSearchesCount({index:c,startDate:u,endDate:l,tags:d},f){if(!c)throw new Error("Parameter `index` is required when calling `getSearchesCount`.");const g={};return void 0!==c&&(g.index=c.toString()),void 0!==u&&(g.startDate=u.toString()),void 0!==l&&(g.endDate=l.toString()),void 0!==d&&(g.tags=d.toString()),a.request({method:"GET",path:"/2/searches/count",queryParameters:g,headers:{}},f)},getSearchesNoClicks({index:c,startDate:u,endDate:l,limit:d,offset:f,tags:h},p){if(!c)throw new Error("Parameter `index` is required when calling `getSearchesNoClicks`.");const b={};return void 0!==c&&(b.index=c.toString()),void 0!==u&&(b.startDate=u.toString()),void 0!==l&&(b.endDate=l.toString()),void 0!==d&&(b.limit=d.toString()),void 0!==f&&(b.offset=f.toString()),void 0!==h&&(b.tags=h.toString()),a.request({method:"GET",path:"/2/searches/noClicks",queryParameters:b,headers:{}},p)},getSearchesNoResults({index:c,startDate:u,endDate:l,limit:d,offset:f,tags:h},p){if(!c)throw new Error("Parameter `index` is required when calling `getSearchesNoResults`.");const b={};return void 0!==c&&(b.index=c.toString()),void 0!==u&&(b.startDate=u.toString()),void 0!==l&&(b.endDate=l.toString()),void 0!==d&&(b.limit=d.toString()),void 0!==f&&(b.offset=f.toString()),void 0!==h&&(b.tags=h.toString()),a.request({method:"GET",path:"/2/searches/noResults",queryParameters:b,headers:{}},p)},getStatus({index:c},u){if(!c)throw new Error("Parameter `index` is required when calling `getStatus`.");const f={};return void 0!==c&&(f.index=c.toString()),a.request({method:"GET",path:"/2/status",queryParameters:f,headers:{}},u)},getTopCountries({index:c,startDate:u,endDate:l,limit:d,offset:f,tags:h},p){if(!c)throw new Error("Parameter `index` is required when calling `getTopCountries`.");const b={};return void 0!==c&&(b.index=c.toString()),void 0!==u&&(b.startDate=u.toString()),void 0!==l&&(b.endDate=l.toString()),void 0!==d&&(b.limit=d.toString()),void 0!==f&&(b.offset=f.toString()),void 0!==h&&(b.tags=h.toString()),a.request({method:"GET",path:"/2/countries",queryParameters:b,headers:{}},p)},getTopFilterAttributes({index:c,search:u,startDate:l,endDate:d,limit:f,offset:h,tags:p},g){if(!c)throw new Error("Parameter `index` is required when calling `getTopFilterAttributes`.");const w={};return void 0!==c&&(w.index=c.toString()),void 0!==u&&(w.search=u.toString()),void 0!==l&&(w.startDate=l.toString()),void 0!==d&&(w.endDate=d.toString()),void 0!==f&&(w.limit=f.toString()),void 0!==h&&(w.offset=h.toString()),void 0!==p&&(w.tags=p.toString()),a.request({method:"GET",path:"/2/filters",queryParameters:w,headers:{}},g)},getTopFilterForAttribute({attribute:c,index:u,search:l,startDate:d,endDate:f,limit:h,offset:p,tags:g},y){if(!c)throw new Error("Parameter `attribute` is required when calling `getTopFilterForAttribute`.");if(!u)throw new Error("Parameter `index` is required when calling `getTopFilterForAttribute`.");const b="/2/filters/{attribute}".replace("{attribute}",encodeURIComponent(c)),j={};return void 0!==u&&(j.index=u.toString()),void 0!==l&&(j.search=l.toString()),void 0!==d&&(j.startDate=d.toString()),void 0!==f&&(j.endDate=f.toString()),void 0!==h&&(j.limit=h.toString()),void 0!==p&&(j.offset=p.toString()),void 0!==g&&(j.tags=g.toString()),a.request({method:"GET",path:b,queryParameters:j,headers:{}},y)},getTopFiltersNoResults({index:c,search:u,startDate:l,endDate:d,limit:f,offset:h,tags:p},g){if(!c)throw new Error("Parameter `index` is required when calling `getTopFiltersNoResults`.");const w={};return void 0!==c&&(w.index=c.toString()),void 0!==u&&(w.search=u.toString()),void 0!==l&&(w.startDate=l.toString()),void 0!==d&&(w.endDate=d.toString()),void 0!==f&&(w.limit=f.toString()),void 0!==h&&(w.offset=h.toString()),void 0!==p&&(w.tags=p.toString()),a.request({method:"GET",path:"/2/filters/noResults",queryParameters:w,headers:{}},g)},getTopHits({index:c,search:u,clickAnalytics:l,revenueAnalytics:d,startDate:f,endDate:h,limit:p,offset:g,tags:y},b){if(!c)throw new Error("Parameter `index` is required when calling `getTopHits`.");const x={};return void 0!==c&&(x.index=c.toString()),void 0!==u&&(x.search=u.toString()),void 0!==l&&(x.clickAnalytics=l.toString()),void 0!==d&&(x.revenueAnalytics=d.toString()),void 0!==f&&(x.startDate=f.toString()),void 0!==h&&(x.endDate=h.toString()),void 0!==p&&(x.limit=p.toString()),void 0!==g&&(x.offset=g.toString()),void 0!==y&&(x.tags=y.toString()),a.request({method:"GET",path:"/2/hits",queryParameters:x,headers:{}},b)},getTopSearches({index:c,clickAnalytics:u,revenueAnalytics:l,startDate:d,endDate:f,orderBy:h,direction:p,limit:g,offset:y,tags:b}
1,w){if(!c)throw new Error("Parameter `index` is required when calling `getTopSearches`.");const q={};return void 0!==c&&(q.index=c.toString()),void 0!==u&&(q.clickAnalytics=u.toString()),void 0!==l&&(q.revenueAnalytics=l.toString()),void 0!==d&&(q.startDate=d.toString()),void 0!==f&&(q.endDate=f.toString()),void 0!==h&&(q.orderBy=h.toString()),void 0!==p&&(q.direction=p.toString()),void 0!==g&&(q.limit=g.toString()),void 0!==y&&(q.offset=y.toString()),void 0!==b&&(q.tags=b.toString()),a.request({method:"GET",path:"/2/searches",queryParameters:q,headers:{}},w)},getUsersCount({index:c,startDate:u,endDate:l,tags:d},f){if(!c)throw new Error("Parameter `index` is required when calling `getUsersCount`.");const g={};return void 0!==c&&(g.index=c.toString()),void 0!==u&&(g.startDate=u.toString()),void 0!==l&&(g.endDate=l.toString()),void 0!==d&&(g.tags=d.toString()),a.request({method:"GET",path:"/2/users/count",queryParameters:g,headers:{}},f)}}}({appId:e,apiKey:t,region:n,timeouts:{connect:1e3,read:2e3,write:3e4},logger:vr(),requester:br(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:qe(),requestsCache:qe({serializable:!1}),hostsCache:on({caches:[Un({key:`${yy}-${e}`}),qe()]}),...r})}var vy="5.48.2",UI=["de","us"];function P6(e){return[{url:e?"insights.{region}.algolia.io".replace("{region}",e):"insights.algolia.io",accept:"readWrite",protocol:"https"}]}function $I(e,t,n,r){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!t||"string"!=typeof t)throw new Error("`apiKey` is missing.");if(n&&("string"!=typeof n||!UI.includes(n)))throw new Error(`\`region\` must be one of the following: ${UI.join(", ")}`);return function E6({appId:e,apiKey:t,authMode:n,algoliaAgents:r,region:o,...i}){const s=mr(e,t,n),a=_r({hosts:P6(o),...i,algoliaAgent:yr({algoliaAgents:r,client:"Insights",version:vy}),baseHeaders:{"content-type":"text/plain",...s.headers(),...i.baseHeaders},baseQueryParameters:{...s.queryParameters(),...i.baseQueryParameters}});return{transporter:a,appId:e,apiKey:t,clearCache:()=>Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then(()=>{}),get _ua(){return a.algoliaAgent.value},addAlgoliaAgent(c,u){a.algoliaAgent.add({segment:c,version:u})},setClientApiKey({apiKey:c}){n&&"WithinHeaders"!==n?a.baseQueryParameters["x-algolia-api-key"]=c:a.baseHeaders["x-algolia-api-key"]=c},customDelete({path:c,parameters:u},l){if(!c)throw new Error("Parameter `path` is required when calling `customDelete`.");const p={method:"DELETE",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{}};return a.request(p,l)},customGet({path:c,parameters:u},l){if(!c)throw new Error("Parameter `path` is required when calling `customGet`.");const p={method:"GET",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{}};return a.request(p,l)},customPost({path:c,parameters:u,body:l},d){if(!c)throw new Error("Parameter `path` is required when calling `customPost`.");const g={method:"POST",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{},data:l||{}};return a.request(g,d)},customPut({path:c,parameters:u,body:l},d){if(!c)throw new Error("Parameter `path` is required when calling `customPut`.");const g={method:"PUT",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{},data:l||{}};return a.request(g,d)},deleteUserToken({userToken:c},u){if(!c)throw new Error("Parameter `userToken` is required when calling `deleteUserToken`.");const h={method:"DELETE",path:"/1/usertokens/{userToken}".replace("{userToken}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},pushEvents(c,u){if(!c)throw new Error("Parameter `insightsEvents` is required when calling `pushEvents`.");if(!c.events)throw new Error("Parameter `insightsEvents.events` is required when calling `pushEvents`.");return a.request({method:"POST",path:"/1/events",queryParameters:{},headers:{},data:c},u)}}}({appId:e,apiKey:t,region:n,timeouts:{connect:1e3,read:2e3,write:3e4},logger:vr(),requester:br(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:qe(),requestsCache:qe({serializable:!1}
1),hostsCache:on({caches:[Un({key:`${vy}-${e}`}),qe()]}),...r})}var _y="5.48.2",VI=["eu","us"];function D6(e){return[{url:"personalization.{region}.algolia.com".replace("{region}",e),accept:"readWrite",protocol:"https"}]}function WI(e,t,n,r){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!t||"string"!=typeof t)throw new Error("`apiKey` is missing.");if(!n||n&&("string"!=typeof n||!VI.includes(n)))throw new Error(`\`region\` is required and must be one of the following: ${VI.join(", ")}`);return function S6({appId:e,apiKey:t,authMode:n,algoliaAgents:r,region:o,...i}){const s=mr(e,t,n),a=_r({hosts:D6(o),...i,algoliaAgent:yr({algoliaAgents:r,client:"Personalization",version:_y}),baseHeaders:{"content-type":"text/plain",...s.headers(),...i.baseHeaders},baseQueryParameters:{...s.queryParameters(),...i.baseQueryParameters}});return{transporter:a,appId:e,apiKey:t,clearCache:()=>Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then(()=>{}),get _ua(){return a.algoliaAgent.value},addAlgoliaAgent(c,u){a.algoliaAgent.add({segment:c,version:u})},setClientApiKey({apiKey:c}){n&&"WithinHeaders"!==n?a.baseQueryParameters["x-algolia-api-key"]=c:a.baseHeaders["x-algolia-api-key"]=c},customDelete({path:c,parameters:u},l){if(!c)throw new Error("Parameter `path` is required when calling `customDelete`.");const p={method:"DELETE",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{}};return a.request(p,l)},customGet({path:c,parameters:u},l){if(!c)throw new Error("Parameter `path` is required when calling `customGet`.");const p={method:"GET",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{}};return a.request(p,l)},customPost({path:c,parameters:u,body:l},d){if(!c)throw new Error("Parameter `path` is required when calling `customPost`.");const g={method:"POST",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{},data:l||{}};return a.request(g,d)},customPut({path:c,parameters:u,body:l},d){if(!c)throw new Error("Parameter `path` is required when calling `customPut`.");const g={method:"PUT",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{},data:l||{}};return a.request(g,d)},deleteUserProfile({userToken:c},u){if(!c)throw new Error("Parameter `userToken` is required when calling `deleteUserProfile`.");const h={method:"DELETE",path:"/1/profiles/{userToken}".replace("{userToken}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},getPersonalizationStrategy:c=>a.request({method:"GET",path:"/1/strategies/personalization",queryParameters:{},headers:{}},c),getUserTokenProfile({userToken:c},u){if(!c)throw new Error("Parameter `userToken` is required when calling `getUserTokenProfile`.");const h={method:"GET",path:"/1/profiles/personalization/{userToken}".replace("{userToken}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},setPersonalizationStrategy(c,u){if(!c)throw new Error("Parameter `personalizationStrategyParams` is required when calling `setPersonalizationStrategy`.");if(!c.eventsScoring)throw new Error("Parameter `personalizationStrategyParams.eventsScoring` is required when calling `setPersonalizationStrategy`.");if(!c.facetsScoring)throw new Error("Parameter `personalizationStrategyParams.facetsScoring` is required when calling `setPersonalizationStrategy`.");if(!c.personalizationImpact)throw new Error("Parameter `personalizationStrategyParams.personalizationImpact` is required when calling `setPersonalizationStrategy`.");return a.request({method:"POST",path:"/1/strategies/personalization",queryParameters:{},headers:{},data:c},u)}}}({appId:e,apiKey:t,region:n,timeouts:{connect:1e3,read:2e3,write:3e4},logger:vr(),requester:br(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:qe(),requestsCache:qe({serializable:!1}),hostsCache:on({caches:[Un({key:`${_y}-${e}`}),qe()]}),...r})}var by="5.48.2",zI=["eu","us"];function M6(e){return[{url:"query-suggestions.{region}.algolia.com".replace("{region}",e),accept:"readWrite",protocol:"https"}]}function GI(e,t,n,r){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!t||"string"!=typeof t)throw new Error("`apiKey` is missing.");if(!n||n&&("string"!=typeof n||!zI.includes(n)))throw new Error(`\`region\` is required and must be one of the following: ${zI.join(", ")}`);return function O6({appId:e,apiKey:t,authMode:n,algoliaAgents:r,region:o,...i}){const s=mr(e,t,n),a=_r({hosts:M6(o),...i,algoliaAgent:yr({algoliaAgents:r,client:"QuerySuggestions",version:by}),baseHeaders:{"content-type":"text/plain",...s.headers(),...i.baseHeaders},baseQueryParameters:{...s.queryParameters(),...i.baseQueryParameters}});return{transporter:a,appId:e,apiKey:t,clearCache:()=>Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then(()=>{}),get _ua(){return a.algoliaAgent.value},addAlgoliaAgent(c,u){a.algoliaAgent.add({segment:c,version:u})},setClientApiKey({apiKey:c}){n&&"WithinHeaders"!==n?a.baseQueryParameters["x-algolia-api-key"]=c:a.baseHeaders["x-algolia-api-key"]=c},createConfig(c,u){if(!c)throw new Error("Parameter `configurationWithIndex` is required when calling `createConfig`.");return a.request({method:"POST",path:"/1/configs",queryParameters:{},headers:{},data:c},u)},customDelete({path:c,parameters:u},l){if(!c)throw new Error("Parameter `path` is required when calling `customDelete`.");const p={method:"DELETE",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{}};return a.request(p,l)},customGet({path:c,parameters:u},l){if(!c)throw new Error("Parameter `path` is required when calling `customGet`.");const p={method:"GET",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{}};return a.request(p,l)},customPost({path:c,parameters:u,body:l},d){if(!c)throw new Error("Parameter `path` is required when calling `customPost`.");const g={method:"POST",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{},data:l||{}};return a.request(g,d)},customPut({path:c,parameters:u,body:l},d){if(!c)throw new Error("Parameter `path` is required when calling `customPut`.");const g={method:"PUT",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{},data:l||{}};return a.request(g,d)},deleteConfig({indexName:c},u){if(!c)throw new Error("Parameter `indexName` is required when calling `deleteConfig`.");const h={method:"DELETE",path:"/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},getAllConfigs:c=>a.request({method:"GET",path:"/1/configs",queryParameters:{},headers:{}},c),getConfig({indexName:c},u){if(!c)throw new Error("Parameter `indexName` is required when calling `getConfig`.");const h={method:"GET",path:"/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},getConfigStatus({indexName:c},u){if(!c)throw new Error("Parameter `indexName` is required when calling `getConfigStatus`.");const h={method:"GET",path:"/1/configs/{indexName}/status".replace("{indexName}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},getLogFile({indexName:c},u){if(!c)throw new Error("Parameter `indexName` is required when calling `getLogFile`.");const h={method:"GET",path:"/1/logs/{indexName}".replace("{indexName}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},updateConfig({indexName:c,configuration:u},l){if(!c)throw new Error("Parameter `indexName` is required when calling `updateConfig`.");if(!u)throw new Error("Parameter `configuration` is required when calling `updateConfig`.");if(!u.sourceIndices)throw new Error("Parameter `configuration.sourceIndices` is required when calling `updateConfig`.");const p={method:"PUT",path:"/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(c)),queryParameters:{},headers:{},data:u};return a.request(p,l)}}}({appId:e,apiKey:t,region:n,timeouts:{connect:1e3,read:2e3,write:3e4},logger:vr(),requester:br(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:qe(),requestsCache:qe({serializable:!1}
1),hostsCache:on({caches:[Un({key:`${by}-${e}`}),qe()]}),...r})}var Dc="5.48.2";function I6(e){return[{url:`${e}-dsn.algolia.net`,accept:"read",protocol:"https"},{url:`${e}.algolia.net`,accept:"write",protocol:"https"}].concat(NI([{url:`${e}-1.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-2.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-3.algolianet.com`,accept:"readWrite",protocol:"https"}]))}function QI(e,t,n){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!t||"string"!=typeof t)throw new Error("`apiKey` is missing.");return function T6({appId:e,apiKey:t,authMode:n,algoliaAgents:r,...o}){const i=mr(e,t,n),s=_r({hosts:I6(e),...o,algoliaAgent:yr({algoliaAgents:r,client:"Search",version:Dc}),baseHeaders:{"content-type":"text/plain",...i.headers(),...o.baseHeaders},baseQueryParameters:{...i.queryParameters(),...o.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>{}),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(a,c){s.algoliaAgent.add({segment:a,version:c})},setClientApiKey({apiKey:a}){n&&"WithinHeaders"!==n?s.baseQueryParameters["x-algolia-api-key"]=a:s.baseHeaders["x-algolia-api-key"]=a},waitForTask({indexName:a,taskID:c,maxRetries:u=50,timeout:l=f=>Math.min(200*f,5e3)},d){let f=0;return po({func:()=>this.getTask({indexName:a,taskID:c},d),validate:h=>"published"===h.status,aggregator:()=>f+=1,error:{validate:()=>f>=u,message:()=>`The maximum number of retries exceeded. (${f}/${u})`},timeout:()=>l(f)})},waitForAppTask({taskID:a,maxRetries:c=50,timeout:u=d=>Math.min(200*d,5e3)},l){let d=0;return po({func:()=>this.getAppTask({taskID:a},l),validate:f=>"published"===f.status,aggregator:()=>d+=1,error:{validate:()=>d>=c,message:()=>`The maximum number of retries exceeded. (${d}/${c})`},timeout:()=>u(d)})},waitForApiKey({operation:a,key:c,apiKey:u,maxRetries:l=50,timeout:d=h=>Math.min(200*h,5e3)},f){let h=0;const p={aggregator:()=>h+=1,error:{validate:()=>h>=l,message:()=>`The maximum number of retries exceeded. (${h}/${l})`},timeout:()=>d(h)};if("update"===a){if(!u)throw new Error("`apiKey` is required when waiting for an `update` operation.");return po({...p,func:()=>this.getApiKey({key:c},f),validate:g=>{for(const y of Object.keys(u)){const b=u[y],w=g[y];if(Array.isArray(b)&&Array.isArray(w)){if(b.length!==w.length||b.some((j,x)=>j!==w[x]))return!1}else if(b!==w)return!1}return!0}})}return po({...p,func:()=>this.getApiKey({key:c},f).catch(g=>{if(404!==g.status)throw g}),validate:g=>"add"===a?void 0!==g:void 0===g})},browseObjects({indexName:a,browseParams:c,...u},l){return po({func:d=>this.browse({indexName:a,browseParams:{cursor:d?d.cursor:void 0,hitsPerPage:1e3,...c}},l),validate:d=>void 0===d.cursor,...u})},browseRules({indexName:a,searchRulesParams:c,...u},l){const d={...c,hitsPerPage:c?.hitsPerPage||1e3};return po({func:f=>this.searchRules({indexName:a,searchRulesParams:{...d,page:f?f.page+1:d.page||0}},l),validate:f=>f.hits.length<d.hitsPerPage,...u})},browseSynonyms({indexName:a,searchSynonymsParams:c,...u},l){const d={...c,page:c?.page||0,hitsPerPage:1e3};return po({func:f=>{const h=this.searchSynonyms({indexName:a,searchSynonymsParams:{...d,page:d.page}},l);return d.page+=1,h},validate:f=>f.hits.length<d.hitsPerPage,...u})},chunkedBatch(a,c){var u=this;return dt(function*({indexName:l,objects:d,action:f="addObject",waitForTasks:h,batchSize:p=1e3},g){let y=[];const b=[],w=d.entries();for(const[j,x]of w)y.push({action:f,body:x}),(y.length===p||j===d.length-1)&&(b.push(yield u.batch({indexName:l,batchWriteParams:{requests:y}},g)),y=[]);if(h)for(const j of b)yield u.waitForTask({indexName:l,taskID:j.taskID});return b}).apply(this,arguments)},saveObjects(a,c){var u=this;return dt(function*({indexName:l,objects:d,waitForTasks:f,batchSize:h},p){return yield u.chunkedBatch({indexName:l,objects:d,action:"addObject",waitForTasks:f,batchSize:h},p)}).apply(this,arguments)},deleteObjects(a,c){var u=this;return dt(function*({indexName:l,objectIDs:d,waitForTasks:f,batchSize:h},p){return yield u.chunkedBatch({indexName:l,objects:d.map(g=>({objectID:g})),action:"deleteObject",waitForTasks:f,batchSize:h},p)}).apply(this,arguments)},partialUpdateObjects(a,c){var u=this;return dt(function*({indexName:l,objects:d,createIfNotExists:f,waitForTasks:h,batchSize:p},g){return yield u.chunkedBatch({indexName:l,objects:d,action:f?"partialUpdateObject":"partialUpdateObjectNoCreate",batchSize:p,waitForTasks:h},g)}).apply(this,arguments)}
1,replaceAllObjects(a,c){var u=this;return dt(function*({indexName:l,objects:d,batchSize:f,scopes:h},p){const y=`${l}_tmp_${Math.floor(1e6*Math.random())+1e5}`;void 0===h&&(h=["settings","rules","synonyms"]);try{let b=yield u.operationIndex({indexName:l,operationIndexParams:{operation:"copy",destination:y,scope:h}},p);const w=yield u.chunkedBatch({indexName:y,objects:d,waitForTasks:!0,batchSize:f},p);yield u.waitForTask({indexName:y,taskID:b.taskID}),b=yield u.operationIndex({indexName:l,operationIndexParams:{operation:"copy",destination:y,scope:h}},p),yield u.waitForTask({indexName:y,taskID:b.taskID});const j=yield u.operationIndex({indexName:y,operationIndexParams:{operation:"move",destination:l}},p);return yield u.waitForTask({indexName:y,taskID:j.taskID}),{copyOperationResponse:b,batchResponses:w,moveOperationResponse:j}}catch(b){throw yield u.deleteIndex({indexName:y}),b}}).apply(this,arguments)},indexExists(a){var c=this;return dt(function*({indexName:u}){try{yield c.getSettings({indexName:u})}catch(l){if(l instanceof Qd&&404===l.status)return!1;throw l}return!0}).apply(this,arguments)},searchForHits(a,c){return this.search(a,c)},searchForFacets(a,c){return this.search(a,c)},addApiKey(a,c){if(!a)throw new Error("Parameter `apiKey` is required when calling `addApiKey`.");if(!a.acl)throw new Error("Parameter `apiKey.acl` is required when calling `addApiKey`.");return s.request({method:"POST",path:"/1/keys",queryParameters:{},headers:{},data:a},c)},addOrUpdateObject({indexName:a,objectID:c,body:u},l){if(!a)throw new Error("Parameter `indexName` is required when calling `addOrUpdateObject`.");if(!c)throw new Error("Parameter `objectID` is required when calling `addOrUpdateObject`.");if(!u)throw new Error("Parameter `body` is required when calling `addOrUpdateObject`.");const p={method:"PUT",path:"/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(a)).replace("{objectID}",encodeURIComponent(c)),queryParameters:{},headers:{},data:u};return s.request(p,l)},appendSource(a,c){if(!a)throw new Error("Parameter `source` is required when calling `appendSource`.");if(!a.source)throw new Error("Parameter `source.source` is required when calling `appendSource`.");return s.request({method:"POST",path:"/1/security/sources/append",queryParameters:{},headers:{},data:a},c)},assignUserId({xAlgoliaUserID:a,assignUserIdParams:c},u){if(!a)throw new Error("Parameter `xAlgoliaUserID` is required when calling `assignUserId`.");if(!c)throw new Error("Parameter `assignUserIdParams` is required when calling `assignUserId`.");if(!c.cluster)throw new Error("Parameter `assignUserIdParams.cluster` is required when calling `assignUserId`.");const d={};return void 0!==a&&(d["X-Algolia-User-ID"]=a.toString()),s.request({method:"POST",path:"/1/clusters/mapping",queryParameters:{},headers:d,data:c},u)},batch({indexName:a,batchWriteParams:c},u){if(!a)throw new Error("Parameter `indexName` is required when calling `batch`.");if(!c)throw new Error("Parameter `batchWriteParams` is required when calling `batch`.");if(!c.requests)throw new Error("Parameter `batchWriteParams.requests` is required when calling `batch`.");const h={method:"POST",path:"/1/indexes/{indexName}/batch".replace("{indexName}",encodeURIComponent(a)),queryParameters:{},headers:{},data:c};return s.request(h,u)},batchAssignUserIds({xAlgoliaUserID:a,batchAssignUserIdsParams:c},u){if(!a)throw new Error("Parameter `xAlgoliaUserID` is required when calling `batchAssignUserIds`.");if(!c)throw new Error("Parameter `batchAssignUserIdsParams` is required when calling `batchAssignUserIds`.");if(!c.cluster)throw new Error("Parameter `batchAssignUserIdsParams.cluster` is required when calling `batchAssignUserIds`.");if(!c.users)throw new Error("Parameter `batchAssignUserIdsParams.users` is required when calling `batchAssignUserIds`.");const d={};return void 0!==a&&(d["X-Algolia-User-ID"]=a.toString()),s.request({method:"POST",path:"/1/clusters/mapping/batch",queryParameters:{},headers:d,data:c},u)},batchDictionaryEntries({dictionaryName:a,batchDictionaryEntriesParams:c},u){if(!a)throw new Error("Parameter `dictionaryName` is required when calling `batchDictionaryEntries`.");if(!c)throw new Error("Parameter `batchDictionaryEntriesParams` is required when calling `batchDictionaryEntries`.");if(!c.requests)throw new Error("Parameter `batchDictionaryEntriesParams.requests` is required when calling `batchDictionaryEntries`.");const h={method:"POST",path:"/1/dictionaries/{dictionaryName}/batch".replace("{dictionaryName}",encodeURIComponent(a)),queryParameters:{},headers:{},data:c};return s.request(h,u)},browse({indexName:a,browseParams:c},u){if(!a)throw new Error("Parameter `indexName` is required when calling `browse`.");const h={method:"POST",path:"/1/indexes/{indexName}/browse".replace("{indexName}",encodeURIComponent(a)),queryParameters:{},headers:{},data:c||{},useReadTransporter:!0};return s.request(h,u)},clearObjects({indexName:a},c){if(!a)throw new Error("Parameter `indexName` is required when calling `clearObjects`.");const f={method:"POST",path:"/1/indexes/{indexName}/clear".replace("{indexName}",encodeURIComponent(a)),queryParameters:{},headers:{}};return s.request(f,c)},clearRules({indexName:a,forwardToReplicas:c},u){if(!a)throw new Error("Parameter `indexName` is required when calling `clearRules`.");const l="/1/indexes/{indexName}/rules/clear".replace("{indexName}",encodeURIComponent(a)),f={};return void 0!==c&&(f.forwardToReplicas=c.toString()),s.request({method:"POST",path:l,queryParameters:f,headers:{}},u)},clearSynonyms({indexName:a,forwardToReplicas:c},u){if(!a)throw new Error("Parameter `indexName` is required when calling `clearSynonyms`.");const l="/1/indexes/{indexName}/synonyms/clear".replace("{indexName}",encodeURIComponent(a)),f={};return void 0!==c&&(f.forwardToReplicas=c.toString()),s.request({method:"POST",path:l,queryParameters:f,headers:{}},u)},customDelete({path:a,parameters:c},u){if(!a)throw new Error("Parameter `path` is required when calling `customDelete`.");const h={method:"DELETE",path:"/{path}".replace("{path}",a),queryParameters:c||{},headers:{}};return s.request(h,u)},customGet({path:a,parameters:c},u){if(!a)throw new Error("Parameter `path` is required when calling `customGet`.");const h={method:"GET",path:"/{path}".replace("{path}",a),queryParameters:c||{},headers:{}};return s.request(h,u)},customPost({path:a,parameters:c,body:u},l){if(!a)throw new Error("Parameter `path` is required when calling `customPost`.");const p={method:"POST",path:"/{path}".replace("{path}",a),queryParameters:c||{},headers:{},data:u||{}};return s.request(p,l)},customPut({path:a,parameters:c,body:u},l){if(!a)throw new Error("Parameter `path` is required when calling `customPut`.");const p={method:"PUT",path:"/{path}".replace("{path}",a),queryParameters:c||{},headers:{},data:u||{}};return s.request(p,l)},deleteApiKey({key:a},c){if(!a)throw new Error("Parameter `key` is required when calling `deleteApiKey`.");const f={method:"DELETE",path:"/1/keys/{key}".replace("{key}",encodeURIComponent(a)),queryParameters:{},headers:{}};return s.request(f,c)},deleteBy({indexName:a,deleteByParams:c},u){if(!a)throw new Error("Parameter `indexName` is required when calling `deleteBy`.");if(!c)throw new Error("Parameter `deleteByParams` is required when calling `deleteBy`.");const h={method:"POST",path:"/1/indexes/{indexName}/deleteByQuery".replace("{indexName}",encodeURIComponent(a)),queryParameters:{},headers:{},data:c};return s.request(h,u)},deleteIndex({indexName:a},c){if(!a)throw new Error("Parameter `indexName` is required when calling `deleteIndex`.");const f={method:"DELETE",path:"/1/indexes/{indexName}".replace("{indexName}",encodeURIComponent(a)),queryParameters:{},headers:{}};return s.request(f,c)},deleteObject({indexName:a,objectID:c},u){if(!a)throw new Error("Parameter `indexName` is required when calling `deleteObject`.");if(!c)throw new Error("Parameter `objectID` is required when calling `deleteObject`.");const h={method:"DELETE",path:"/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(a)).replace("{objectID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return s.request(h,u)},deleteRule({indexName:a,objectID:c,forwardToReplicas:u},l){if(!a)throw new Error("Parameter `indexName` is required when calling `deleteRule`.");if(!c)throw new Error("Parameter `objectID` is required when calling `deleteRule`.");const d="/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(a)).replace("{objectID}",encodeURIComponent(c)),h={};return void 0!==u&&(h.forwardToReplicas=u.toString()),s.request({method:"DELETE",path:d,queryParameters:h,headers:{}},l)},deleteSource({source:a},c){if(!a)throw new Error("Parameter `source` is required when calling `deleteSource`.");const f={method:"DELETE",path:"/1/security/sources/{source}".replace("{source}",encodeURIComponent(a)),queryParameters:{},headers:{}};return s.request(f,c)},deleteSynonym({indexName:a,objectID:c,forwardToReplicas:u},l){if(!a)throw new Error("Parameter `indexName` is required when calling `deleteSynonym`.");if(!c)throw new Error("Parameter `objectID` is required when calling `deleteSynonym`.");const d="/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(a)).replace("{objectID}",encodeURIComponent(c)),h={};return void 0!==u&&(h.forwardToReplicas=u.toString()),s.request({method:"DELETE",path:d,queryParameters:h,headers:{}},l)},getApiKey({key:a},c){if(!a)throw new Error("Parameter `key` is required when calling `getApiKey`.");const f={method:"GET",path:"/1/keys/{key}".replace("{key}",encodeURIComponent(a)),queryParameters:{},headers:{}};return s.request(f,c)},getAppTask({taskID:a},c){if(!a)throw new Error("Parameter `taskID` is required when calling `getAppTask`.");const f={method:"GET",path:"/1/task/{taskID}".replace("{taskID}",encodeURIComponent(a)),queryParameters:{},headers:{}};return s.request(f,c)},getDictionaryLanguages:a=>s.request({method:"GET",path:"/1/dictionaries/*/languages",queryParameters:{},headers:{}},a),getDictionarySettings:a=>s.request({method:"GET",path:"/1/dictionaries/*/settings",queryParameters:{},headers:{}},a),getLogs({offset:a,length:c,indexName:u,type:l}={},d=void 0){const p={};return void 0!==a&&(p.offset=a.toString()),void 0!==c&&(p.length=c.toString()),void 0!==u&&(p.indexName=u.toString()),void 0!==l&&(p.type=l.toString()),s.request({method:"GET",path:"/1/logs",queryParameters:p,headers:{}},d)},getObject({indexName:a,objectID:c,attributesToRetrieve:u},l){if(!a)throw new Error("Parameter `indexName` is required when calling `getObject`.");if(!c)throw new Error("Parameter `objectID` is required when calling `getObject`.");const d="/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(a)).replace("{objectID}",encodeURIComponent(c)),h={};return void 0!==u&&(h.attributesToRetrieve=u.toString()),s.request({method:"GET",path:d,queryParameters:h,headers:{}},l)},getObjects(a,c){if(!a)throw new Error("Parameter `getObjectsParams` is required when calling `getObjects`.");if(!a.requests)throw new Error("Parameter `getObjectsParams.requests` is required when calling `getObjects`.");return s.request({method:"POST",path:"/1/indexes/*/objects",queryParameters:{},headers:{},data:a,useReadTransporter:!0,cacheable:!0},c)},getRule({indexName:a,objectID:c},u){if(!a)throw new Error("Parameter `indexName` is required when calling `getRule`.");if(!c)throw new Error("Parameter `objectID` is required when calling `getRule`.");const h={method:"GET",path:"/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(a)).replace("{objectID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return s.request(h,u)},getSettings({indexName:a,getVersion:c},u){if(!a)throw new Error("Parameter `indexName` is required when calling `getSettings`.");const l="/1/indexes/{indexName}/settings".replace("{indexName}",encodeURIComponent(a)),f={};return void 0!==c&&(f.getVersion=c.toString()),s.request({method:"GET",path:l,queryParameters:f,headers:{}},u)},getSources:a=>s.request({method:"GET",path:"/1/security/sources",queryParameters:{},headers:{}},a),getSynonym({indexName:a,objectID:c},u){if(!a)throw new Error("Parameter `indexName` is required when calling `getSynonym`.");if(!c)throw new Error("Parameter `objectID` is required when calling `getSynonym`.");const h={method:"GET",path:"/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(a)).replace("{objectID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return s.request(h,u)},getTask({indexName:a,taskID:c},u){if(!a)throw new Error("Parameter `indexName` is required when calling `getTask`.");if(!c)throw new Error("Parameter `taskID` is required when calling `getTask`.");const h={method:"GET",path:"/1/indexes/{indexName}/task/{taskID}".replace("{indexName}",encodeURIComponent(a)).replace("{taskID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return s.request(h,u)},getTopUserIds:a=>s.request({method:"GET",path:"/1/clusters/mapping/top",queryParameters:{},headers:{}},a),getUserId({userID:a},c){if(!a)throw new Error("Parameter `userID` is required when calling `getUserId`.");const f={method:"GET",path:"/1/clusters/mapping/{userID}".replace("{userID}",encodeURIComponent(a)),queryParameters:{},headers:{}};return s.request(f,c)},hasPendingMappings({getClusters:a}={},c=void 0){const d={};return void 0!==a&&(d.getClusters=a.toString()),s.request({method:"GET",path:"/1/clusters/mapping/pending",queryParameters:d,headers:{}},c)},listApiKeys:a=>s.request({method:"GET",path:"/1/keys",queryParameters:{},headers:{}}
1,a),listClusters:a=>s.request({method:"GET",path:"/1/clusters",queryParameters:{},headers:{}},a),listIndices({page:a,hitsPerPage:c}={},u=void 0){const f={};return void 0!==a&&(f.page=a.toString()),void 0!==c&&(f.hitsPerPage=c.toString()),s.request({method:"GET",path:"/1/indexes",queryParameters:f,headers:{}},u)},listUserIds({page:a,hitsPerPage:c}={},u=void 0){const f={};return void 0!==a&&(f.page=a.toString()),void 0!==c&&(f.hitsPerPage=c.toString()),s.request({method:"GET",path:"/1/clusters/mapping",queryParameters:f,headers:{}},u)},multipleBatch(a,c){if(!a)throw new Error("Parameter `batchParams` is required when calling `multipleBatch`.");if(!a.requests)throw new Error("Parameter `batchParams.requests` is required when calling `multipleBatch`.");return s.request({method:"POST",path:"/1/indexes/*/batch",queryParameters:{},headers:{},data:a},c)},operationIndex({indexName:a,operationIndexParams:c},u){if(!a)throw new Error("Parameter `indexName` is required when calling `operationIndex`.");if(!c)throw new Error("Parameter `operationIndexParams` is required when calling `operationIndex`.");if(!c.operation)throw new Error("Parameter `operationIndexParams.operation` is required when calling `operationIndex`.");if(!c.destination)throw new Error("Parameter `operationIndexParams.destination` is required when calling `operationIndex`.");const h={method:"POST",path:"/1/indexes/{indexName}/operation".replace("{indexName}",encodeURIComponent(a)),queryParameters:{},headers:{},data:c};return s.request(h,u)},partialUpdateObject({indexName:a,objectID:c,attributesToUpdate:u,createIfNotExists:l},d){if(!a)throw new Error("Parameter `indexName` is required when calling `partialUpdateObject`.");if(!c)throw new Error("Parameter `objectID` is required when calling `partialUpdateObject`.");if(!u)throw new Error("Parameter `attributesToUpdate` is required when calling `partialUpdateObject`.");const f="/1/indexes/{indexName}/{objectID}/partial".replace("{indexName}",encodeURIComponent(a)).replace("{objectID}",encodeURIComponent(c)),p={};return void 0!==l&&(p.createIfNotExists=l.toString()),s.request({method:"POST",path:f,queryParameters:p,headers:{},data:u},d)},removeUserId({userID:a},c){if(!a)throw new Error("Parameter `userID` is required when calling `removeUserId`.");const f={method:"DELETE",path:"/1/clusters/mapping/{userID}".replace("{userID}",encodeURIComponent(a)),queryParameters:{},headers:{}};return s.request(f,c)},replaceSources({source:a},c){if(!a)throw new Error("Parameter `source` is required when calling `replaceSources`.");return s.request({method:"PUT",path:"/1/security/sources",queryParameters:{},headers:{},data:a},c)},restoreApiKey({key:a},c){if(!a)throw new Error("Parameter `key` is required when calling `restoreApiKey`.");const f={method:"POST",path:"/1/keys/{key}/restore".replace("{key}",encodeURIComponent(a)),queryParameters:{},headers:{}};return s.request(f,c)},saveObject({indexName:a,body:c},u){if(!a)throw new Error("Parameter `indexName` is required when calling `saveObject`.");if(!c)throw new Error("Parameter `body` is required when calling `saveObject`.");const h={method:"POST",path:"/1/indexes/{indexName}".replace("{indexName}",encodeURIComponent(a)),queryParameters:{},headers:{},data:c};return s.request(h,u)},saveRule({indexName:a,objectID:c,rule:u,forwardToReplicas:l},d){if(!a)throw new Error("Parameter `indexName` is required when calling `saveRule`.");if(!c)throw new Error("Parameter `objectID` is required when calling `saveRule`.");if(!u)throw new Error("Parameter `rule` is required when calling `saveRule`.");if(!u.objectID)throw new Error("Parameter `rule.objectID` is required when calling `saveRule`.");if(!u.consequence)throw new Error("Parameter `rule.consequence` is required when calling `saveRule`.");const f="/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(a)).replace("{objectID}",encodeURIComponent(c)),p={};return void 0!==l&&(p.forwardToReplicas=l.toString()),s.request({method:"PUT",path:f,queryParameters:p,headers:{},data:u},d)},saveRules({indexName:a,rules:c,forwardToReplicas:u,clearExistingRules:l},d){if(!a)throw new Error("Parameter `indexName` is required when calling `saveRules`.");if(!c)throw new Error("Parameter `rules` is required when calling `saveRules`.");const f="/1/indexes/{indexName}/rules/batch".replace("{indexName}",encodeURIComponent(a)),p={};return void 0!==u&&(p.forwardToReplicas=u.toString()),void 0!==l&&(p.clearExistingRules=l.toString()),s.request({method:"POST",path:f,queryParameters:p,headers:{},data:c},d)},saveSynonym({indexName:a,objectID:c,synonymHit:u,forwardToReplicas:l},d){if(!a)throw new Error("Parameter `indexName` is required when calling `saveSynonym`.");if(!c)throw new Error("Parameter `objectID` is required when calling `saveSynonym`.");if(!u)throw new Error("Parameter `synonymHit` is required when calling `saveSynonym`.");if(!u.objectID)throw new Error("Parameter `synonymHit.objectID` is required when calling `saveSynonym`.");if(!u.type)throw new Error("Parameter `synonymHit.type` is required when calling `saveSynonym`.");const f="/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(a)).replace("{objectID}",encodeURIComponent(c)),p={};return void 0!==l&&(p.forwardToReplicas=l.toString()),s.request({method:"PUT",path:f,queryParameters:p,headers:{},data:u},d)},saveSynonyms({indexName:a,synonymHit:c,forwardToReplicas:u,replaceExistingSynonyms:l},d){if(!a)throw new Error("Parameter `indexName` is required when calling `saveSynonyms`.");if(!c)throw new Error("Parameter `synonymHit` is required when calling `saveSynonyms`.");const f="/1/indexes/{indexName}/synonyms/batch".replace("{indexName}",encodeURIComponent(a)),p={};return void 0!==u&&(p.forwardToReplicas=u.toString()),void 0!==l&&(p.replaceExistingSynonyms=l.toString()),s.request({method:"POST",path:f,queryParameters:p,headers:{},data:c},d)},search(a,c){if(a&&Array.isArray(a)&&(a={requests:a.map(({params:p,...g})=>"facet"===g.type?{...g,...p,type:"facet"}:{...g,...p,facet:void 0,maxFacetHits:void 0,facetQuery:void 0})}),!a)throw new Error("Parameter `searchMethodParams` is required when calling `search`.");if(!a.requests)throw new Error("Parameter `searchMethodParams.requests` is required when calling `search`.");return s.request({method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:a,useReadTransporter:!0,cacheable:!0},c)},searchDictionaryEntries({dictionaryName:a,searchDictionaryEntriesParams:c},u){if(!a)throw new Error("Parameter `dictionaryName` is required when calling `searchDictionaryEntries`.");if(!c)throw new Error("Parameter `searchDictionaryEntriesParams` is required when calling `searchDictionaryEntries`.");if(!c.query)throw new Error("Parameter `searchDictionaryEntriesParams.query` is required when calling `searchDictionaryEntries`.");const h={method:"POST",path:"/1/dictionaries/{dictionaryName}/search".replace("{dictionaryName}",encodeURIComponent(a)),queryParameters:{},headers:{},data:c,useReadTransporter:!0,cacheable:!0};return s.request(h,u)},searchForFacetValues({indexName:a,facetName:c,searchForFacetValuesRequest:u},l){if(!a)throw new Error("Parameter `indexName` is required when calling `searchForFacetValues`.");if(!c)throw new Error("Parameter `facetName` is required when calling `searchForFacetValues`.");const p={method:"POST",path:"/1/indexes/{indexName}/facets/{facetName}/query".replace("{indexName}",encodeURIComponent(a)).replace("{facetName}",encodeURIComponent(c)),queryParameters:{},headers:{},data:u||{},useReadTransporter:!0,cacheable:!0};return s.request(p,l)},searchRules({indexName:a,searchRulesParams:c},u){if(!a)throw new Error("Parameter `indexName` is required when calling `searchRules`.");const h={method:"POST",path:"/1/indexes/{indexName}/rules/search".replace("{indexName}",encodeURIComponent(a)),queryParameters:{},headers:{},data:c||{},useReadTransporter:!0,cacheable:!0};return s.request(h,u)},searchSingleIndex({indexName:a,searchParams:c},u){if(!a)throw new Error("Parameter `indexName` is required when calling `searchSingleIndex`.");const h={method:"POST",path:"/1/indexes/{indexName}/query".replace("{indexName}",encodeURIComponent(a)),queryParameters:{},headers:{},data:c||{},useReadTransporter:!0,cacheable:!0};return s.request(h,u)},searchSynonyms({indexName:a,searchSynonymsParams:c},u){if(!a)throw new Error("Parameter `indexName` is required when calling `searchSynonyms`.");const h={method:"POST",path:"/1/indexes/{indexName}/synonyms/search".replace("{indexName}",encodeURIComponent(a)),queryParameters:{},headers:{},data:c||{},useReadTransporter:!0,cacheable:!0};return s.request(h,u)}
1,searchUserIds(a,c){if(!a)throw new Error("Parameter `searchUserIdsParams` is required when calling `searchUserIds`.");if(!a.query)throw new Error("Parameter `searchUserIdsParams.query` is required when calling `searchUserIds`.");return s.request({method:"POST",path:"/1/clusters/mapping/search",queryParameters:{},headers:{},data:a,useReadTransporter:!0,cacheable:!0},c)},setDictionarySettings(a,c){if(!a)throw new Error("Parameter `dictionarySettingsParams` is required when calling `setDictionarySettings`.");if(!a.disableStandardEntries)throw new Error("Parameter `dictionarySettingsParams.disableStandardEntries` is required when calling `setDictionarySettings`.");return s.request({method:"PUT",path:"/1/dictionaries/*/settings",queryParameters:{},headers:{},data:a},c)},setSettings({indexName:a,indexSettings:c,forwardToReplicas:u},l){if(!a)throw new Error("Parameter `indexName` is required when calling `setSettings`.");if(!c)throw new Error("Parameter `indexSettings` is required when calling `setSettings`.");const d="/1/indexes/{indexName}/settings".replace("{indexName}",encodeURIComponent(a)),h={};return void 0!==u&&(h.forwardToReplicas=u.toString()),s.request({method:"PUT",path:d,queryParameters:h,headers:{},data:c},l)},updateApiKey({key:a,apiKey:c},u){if(!a)throw new Error("Parameter `key` is required when calling `updateApiKey`.");if(!c)throw new Error("Parameter `apiKey` is required when calling `updateApiKey`.");if(!c.acl)throw new Error("Parameter `apiKey.acl` is required when calling `updateApiKey`.");const h={method:"PUT",path:"/1/keys/{key}".replace("{key}",encodeURIComponent(a)),queryParameters:{},headers:{},data:c};return s.request(h,u)}}}({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:vr(),requester:br(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:qe(),requestsCache:qe({serializable:!1}),hostsCache:on({caches:[Un({key:`${Dc}-${e}`}),qe()]}),...n})}var wy="1.48.2",KI=["eu","us"];function R6(e){return[{url:"data.{region}.algolia.com".replace("{region}",e),accept:"readWrite",protocol:"https"}]}function x6(e){return"onDemand"===e.type}function A6(e){return"schedule"===e.type}function N6(e){return"subscription"===e.type}function Cy(e,t,n,r){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!t||"string"!=typeof t)throw new Error("`apiKey` is missing.");if(!n||n&&("string"!=typeof n||!KI.includes(n)))throw new Error(`\`region\` is required and must be one of the following: ${KI.join(", ")}`);return function k6({appId:e,apiKey:t,authMode:n,algoliaAgents:r,region:o,...i}){const s=mr(e,t,n),a=_r({hosts:R6(o),...i,algoliaAgent:yr({algoliaAgents:r,client:"Ingestion",version:wy}),baseHeaders:{"content-type":"text/plain",...s.headers(),...i.baseHeaders},baseQueryParameters:{...s.queryParameters(),...i.baseQueryParameters}});return{transporter:a,appId:e,apiKey:t,clearCache:()=>Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then(()=>{}),get _ua(){return a.algoliaAgent.value},addAlgoliaAgent(c,u){a.algoliaAgent.add({segment:c,version:u})},setClientApiKey({apiKey:c}){n&&"WithinHeaders"!==n?a.baseQueryParameters["x-algolia-api-key"]=c:a.baseHeaders["x-algolia-api-key"]=c},chunkedPush(c,u){var l=this;return dt(function*({indexName:d,objects:f,action:h="addObject",waitForTasks:p,batchSize:g=1e3,referenceIndexName:y},b){let w=[],j=0;const x=[],q=Math.floor(g/10)||g,ae=f.entries();for(const[le,be]of ae)if(w.push(be),(w.length===g||le===f.length-1)&&(x.push(yield l.push({indexName:d,pushTaskPayload:{action:h,records:w},referenceIndexName:y},b)),w=[]),p&&x.length>0&&(x.length%q===0||le===f.length-1)){for(const De of x.slice(j,j+q)){if(!De.eventID)throw new Error("received unexpected response from the push endpoint, eventID must not be undefined");let Ue=0;yield po({func:function(){var ue=dt(function*(){if(void 0===De.eventID||!De.eventID)throw new Error("received unexpected response from the push endpoint, eventID must not be undefined");return l.getEvent({runID:De.runID,eventID:De.eventID}).catch(Me=>{if(404!==Me.status)throw Me})});return function(){return ue.apply(this,arguments)}}(),validate:ue=>void 0!==ue,aggregator:()=>Ue+=1,error:{validate:()=>Ue>=50,message:()=>`The maximum number of retries exceeded. (${Ue}/50)`},timeout:()=>Math.min(500*Ue,5e3)})}j+=q}return x}).apply(this,arguments)},createAuthentication(c,u){if(!c)throw new Error("Parameter `authenticationCreate` is required when calling `createAuthentication`.");if(!c.type)throw new Error("Parameter `authenticationCreate.type` is required when calling `createAuthentication`.");if(!c.name)throw new Error("Parameter `authenticationCreate.name` is required when calling `createAuthentication`.");if(!c.input)throw new Error("Parameter `authenticationCreate.input` is required when calling `createAuthentication`.");return a.request({method:"POST",path:"/1/authentications",queryParameters:{},headers:{},data:c},u)},createDestination(c,u){if(!c)throw new Error("Parameter `destinationCreate` is required when calling `createDestination`.");if(!c.type)throw new Error("Parameter `destinationCreate.type` is required when calling `createDestination`.");if(!c.name)throw new Error("Parameter `destinationCreate.name` is required when calling `createDestination`.");if(!c.input)throw new Error("Parameter `destinationCreate.input` is required when calling `createDestination`.");return a.request({method:"POST",path:"/1/destinations",queryParameters:{},headers:{},data:c},u)},createSource(c,u){if(!c)throw new Error("Parameter `sourceCreate` is required when calling `createSource`.");if(!c.type)throw new Error("Parameter `sourceCreate.type` is required when calling `createSource`.");if(!c.name)throw new Error("Parameter `sourceCreate.name` is required when calling `createSource`.");return a.request({method:"POST",path:"/1/sources",queryParameters:{},headers:{},data:c},u)},createTask(c,u){if(!c)throw new Error("Parameter `taskCreate` is required when calling `createTask`.");if(!c.sourceID)throw new Error("Parameter `taskCreate.sourceID` is required when calling `createTask`.");if(!c.destinationID)throw new Error("Parameter `taskCreate.destinationID` is required when calling `createTask`.");if(!c.action)throw new Error("Parameter `taskCreate.action` is required when calling `createTask`.");return a.request({method:"POST",path:"/2/tasks",queryParameters:{},headers:{},data:c},u)},createTaskV1(c,u){if(!c)throw new Error("Parameter `taskCreate` is required when calling `createTaskV1`.");if(!c.sourceID)throw new Error("Parameter `taskCreate.sourceID` is required when calling `createTaskV1`.");if(!c.destinationID)throw new Error("Parameter `taskCreate.destinationID` is required when calling `createTaskV1`.");if(!c.trigger)throw new Error("Parameter `taskCreate.trigger` is required when calling `createTaskV1`.");if(!c.action)throw new Error("Parameter `taskCreate.action` is required when calling `createTaskV1`.");return a.request({method:"POST",path:"/1/tasks",queryParameters:{},headers:{},data:c},u)},createTransformation(c,u){if(!c)throw new Error("Parameter `transformationCreate` is required when calling `createTransformation`.");if(!c.name)throw new Error("Parameter `transformationCreate.name` is required when calling `createTransformation`.");return a.request({method:"POST",path:"/1/transformations",queryParameters:{},headers:{},data:c},u)},customDelete({path:c,parameters:u},l){if(!c)throw new Error("Parameter `path` is required when calling `customDelete`.");const p={method:"DELETE",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{}};return a.request(p,l)},customGet({path:c,parameters:u},l){if(!c)throw new Error("Parameter `path` is required when calling `customGet`.");const p={method:"GET",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{}};return a.request(p,l)},customPost({path:c,parameters:u,body:l},d){if(!c)throw new Error("Parameter `path` is required when calling `customPost`.");const g={method:"POST",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{},data:l||{}};return a.request(g,d)},customPut({path:c,parameters:u,body:l},d){if(!c)throw new Error("Parameter `path` is required when calling `customPut`.");const g={method:"PUT",path:"/{path}".replace("{path}",c),queryParameters:u||{},headers:{},data:l||{}};return a.request(g,d)},deleteAuthentication({authenticationID:c},u){if(!c)throw new Error("Parameter `authenticationID` is required when calling `deleteAuthentication`.");const h={method:"DELETE",path:"/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},deleteDestination({destinationID:c},u){if(!c)throw new Error("Parameter `destinationID` is required when calling `deleteDestination`.");const h={method:"DELETE",path:"/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},deleteSource({sourceID:c},u){if(!c)throw new Error("Parameter `sourceID` is required when calling `deleteSource`.");const h={method:"DELETE",path:"/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},deleteTask({taskID:c},u){if(!c)throw new Error("Parameter `taskID` is required when calling `deleteTask`.");const h={method:"DELETE",path:"/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},deleteTaskV1({taskID:c},u){if(!c)throw new Error("Parameter `taskID` is required when calling `deleteTaskV1`.");const h={method:"DELETE",path:"/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},deleteTransformation({transformationID:c},u){if(!c)throw new Error("Parameter `transformationID` is required when calling `deleteTransformation`.");const h={method:"DELETE",path:"/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},disableTask({taskID:c},u){if(!c)throw new Error("Parameter `taskID` is required when calling `disableTask`.");const h={method:"PUT",path:"/2/tasks/{taskID}/disable".replace("{taskID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},disableTaskV1({taskID:c},u){if(!c)throw new Error("Parameter `taskID` is required when calling `disableTaskV1`.");const h={method:"PUT",path:"/1/tasks/{taskID}/disable".replace("{taskID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},enableTask({taskID:c},u){if(!c)throw new Error("Parameter `taskID` is required when calling `enableTask`.");const h={method:"PUT",path:"/2/tasks/{taskID}/enable".replace("{taskID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},enableTaskV1({taskID:c},u){if(!c)throw new Error("Parameter `taskID` is required when calling `enableTaskV1`.");const h={method:"PUT",path:"/1/tasks/{taskID}/enable".replace("{taskID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},getAuthentication({authenticationID:c},u){if(!c)throw new Error("Parameter `authenticationID` is required when calling `getAuthentication`.");const h={method:"GET",path:"/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},getDestination({destinationID:c},u){if(!c)throw new Error("Parameter `destinationID` is required when calling `getDestination`.");const h={method:"GET",path:"/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},getEvent({runID:c,eventID:u},l){if(!c)throw new Error("Parameter `runID` is required when calling `getEvent`.");if(!u)throw new Error("Parameter `eventID` is required when calling `getEvent`.");const p={method:"GET",path:"/1/runs/{runID}/events/{eventID}".replace("{runID}",encodeURIComponent(c)).replace("{eventID}",encodeURIComponent(u)),queryParameters:{},headers:{}};return a.request(p,l)},getRun({runID:c},u){if(!c)throw new Error("Parameter `runID` is required when calling `getRun`.");const h={method:"GET",path:"/1/runs/{runID}".replace("{runID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},getSource({sourceID:c},u){if(!c)throw new Error("Parameter `sourceID` is required when calling `getSource`.");const h={method:"GET",path:"/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},getTask({taskID:c},u){if(!c)throw new Error("Parameter `taskID` is required when calling `getTask`.");const h={method:"GET",path:"/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},getTaskV1({taskID:c},u){if(!c)throw new Error("Parameter `taskID` is required when calling `getTaskV1`.");const h={method:"GET",path:"/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},getTransformation({transformationID:c},u){if(!c)throw new Error("Parameter `transformationID` is required when calling `getTransformation`.");const h={method:"GET",path:"/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return a.request(h,u)},listAuthentications({itemsPerPage:c,page:u,type:l,platform:d,sort:f,order:h}={},p=void 0){const b={};return void 0!==c&&(b.itemsPerPage=c.toString()),void 0!==u&&(b.page=u.toString()),void 0!==l&&(b.type=l.toString()),void 0!==d&&(b.platform=d.toString()),void 0!==f&&(b.sort=f.toString()),void 0!==h&&(b.order=h.toString()),a.request({method:"GET",path:"/1/authentications",queryParameters:b,headers:{}},p)},listDestinations({itemsPerPage:c,page:u,type:l,authenticationID:d,transformationID:f,sort:h,order:p}={},g=void 0){const w={};return void 0!==c&&(w.itemsPerPage=c.toString()),void 0!==u&&(w.page=u.toString()),void 0!==l&&(w.type=l.toString()),void 0!==d&&(w.authenticationID=d.toString()),void 0!==f&&(w.transformationID=f.toString()),void 0!==h&&(w.sort=h.toString()),void 0!==p&&(w.order=p.toString()),a.request({method:"GET",path:"/1/destinations",queryParameters:w,headers:{}},g)},listEvents({runID:c,itemsPerPage:u,page:l,status:d,type:f,sort:h,order:p,startDate:g,endDate:y},b){if(!c)throw new Error("Parameter `runID` is required when calling `listEvents`.");const w="/1/runs/{runID}/events".replace("{runID}",encodeURIComponent(c)),x={};return void 0!==u&&(x.itemsPerPage=u.toString()),void 0!==l&&(x.page=l.toString()),void 0!==d&&(x.status=d.toString()),void 0!==f&&(x.type=f.toString()),void 0!==h&&(x.sort=h.toString()),void 0!==p&&(x.order=p.toString()),void 0!==g&&(x.startDate=g.toString()),void 0!==y&&(x.endDate=y.toString()),a.request({method:"GET",path:w,queryParameters:x,headers:{}},b)}
1,listRuns({itemsPerPage:c,page:u,status:l,type:d,taskID:f,sort:h,order:p,startDate:g,endDate:y}={},b=void 0){const x={};return void 0!==c&&(x.itemsPerPage=c.toString()),void 0!==u&&(x.page=u.toString()),void 0!==l&&(x.status=l.toString()),void 0!==d&&(x.type=d.toString()),void 0!==f&&(x.taskID=f.toString()),void 0!==h&&(x.sort=h.toString()),void 0!==p&&(x.order=p.toString()),void 0!==g&&(x.startDate=g.toString()),void 0!==y&&(x.endDate=y.toString()),a.request({method:"GET",path:"/1/runs",queryParameters:x,headers:{}},b)},listSources({itemsPerPage:c,page:u,type:l,authenticationID:d,sort:f,order:h}={},p=void 0){const b={};return void 0!==c&&(b.itemsPerPage=c.toString()),void 0!==u&&(b.page=u.toString()),void 0!==l&&(b.type=l.toString()),void 0!==d&&(b.authenticationID=d.toString()),void 0!==f&&(b.sort=f.toString()),void 0!==h&&(b.order=h.toString()),a.request({method:"GET",path:"/1/sources",queryParameters:b,headers:{}},p)},listTasks({itemsPerPage:c,page:u,action:l,enabled:d,sourceID:f,sourceType:h,destinationID:p,triggerType:g,withEmailNotifications:y,sort:b,order:w}={},j=void 0){const ae={};return void 0!==c&&(ae.itemsPerPage=c.toString()),void 0!==u&&(ae.page=u.toString()),void 0!==l&&(ae.action=l.toString()),void 0!==d&&(ae.enabled=d.toString()),void 0!==f&&(ae.sourceID=f.toString()),void 0!==h&&(ae.sourceType=h.toString()),void 0!==p&&(ae.destinationID=p.toString()),void 0!==g&&(ae.triggerType=g.toString()),void 0!==y&&(ae.withEmailNotifications=y.toString()),void 0!==b&&(ae.sort=b.toString()),void 0!==w&&(ae.order=w.toString()),a.request({method:"GET",path:"/2/tasks",queryParameters:ae,headers:{}},j)},listTasksV1({itemsPerPage:c,page:u,action:l,enabled:d,sourceID:f,destinationID:h,triggerType:p,sort:g,order:y}={},b=void 0){const x={};return void 0!==c&&(x.itemsPerPage=c.toString()),void 0!==u&&(x.page=u.toString()),void 0!==l&&(x.action=l.toString()),void 0!==d&&(x.enabled=d.toString()),void 0!==f&&(x.sourceID=f.toString()),void 0!==h&&(x.destinationID=h.toString()),void 0!==p&&(x.triggerType=p.toString()),void 0!==g&&(x.sort=g.toString()),void 0!==y&&(x.order=y.toString()),a.request({method:"GET",path:"/1/tasks",queryParameters:x,headers:{}},b)},listTransformations({itemsPerPage:c,page:u,sort:l,order:d,type:f}={},h=void 0){const y={};return void 0!==c&&(y.itemsPerPage=c.toString()),void 0!==u&&(y.page=u.toString()),void 0!==l&&(y.sort=l.toString()),void 0!==d&&(y.order=d.toString()),void 0!==f&&(y.type=f.toString()),a.request({method:"GET",path:"/1/transformations",queryParameters:y,headers:{}},h)},push({indexName:c,pushTaskPayload:u,watch:l,referenceIndexName:d},f){if(!c)throw new Error("Parameter `indexName` is required when calling `push`.");if(!u)throw new Error("Parameter `pushTaskPayload` is required when calling `push`.");if(!u.action)throw new Error("Parameter `pushTaskPayload.action` is required when calling `push`.");if(!u.records)throw new Error("Parameter `pushTaskPayload.records` is required when calling `push`.");const h="/1/push/{indexName}".replace("{indexName}",encodeURIComponent(c)),g={};void 0!==l&&(g.watch=l.toString()),void 0!==d&&(g.referenceIndexName=d.toString());const y={method:"POST",path:h,queryParameters:g,headers:{},data:u};return f={timeouts:{connect:18e4,read:18e4,write:18e4,...f?.timeouts}},a.request(y,f)},pushTask({taskID:c,pushTaskPayload:u,watch:l},d){if(!c)throw new Error("Parameter `taskID` is required when calling `pushTask`.");if(!u)throw new Error("Parameter `pushTaskPayload` is required when calling `pushTask`.");if(!u.action)throw new Error("Parameter `pushTaskPayload.action` is required when calling `pushTask`.");if(!u.records)throw new Error("Parameter `pushTaskPayload.records` is required when calling `pushTask`.");const f="/2/tasks/{taskID}/push".replace("{taskID}",encodeURIComponent(c)),p={};void 0!==l&&(p.watch=l.toString());const g={method:"POST",path:f,queryParameters:p,headers:{},data:u};return d={timeouts:{connect:18e4,read:18e4,write:18e4,...d?.timeouts}},a.request(g,d)},replaceTask({taskID:c,taskReplace:u},l){if(!c)throw new Error("Parameter `taskID` is required when calling `replaceTask`.");if(!u)throw new Error("Parameter `taskReplace` is required when calling `replaceTask`.");if(!u.destinationID)throw new Error("Parameter `taskReplace.destinationID` is required when calling `replaceTask`.");if(!u.action)throw new Error("Parameter `taskReplace.action` is required when calling `replaceTask`.");const p={method:"PUT",path:"/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(c)),queryParameters:{},headers:{},data:u};return a.request(p,l)},runSource({sourceID:c,runSourcePayload:u},l){if(!c)throw new Error("Parameter `sourceID` is required when calling `runSource`.");const p={method:"POST",path:"/1/sources/{sourceID}/run".replace("{sourceID}",encodeURIComponent(c)),queryParameters:{},headers:{},data:u||{}};return a.request(p,l)},runTask({taskID:c,runTaskPayload:u},l){if(!c)throw new Error("Parameter `taskID` is required when calling `runTask`.");const p={method:"POST",path:"/2/tasks/{taskID}/run".replace("{taskID}",encodeURIComponent(c)),queryParameters:{},headers:{},data:u||{}};return a.request(p,l)},runTaskV1({taskID:c,runTaskPayload:u},l){if(!c)throw new Error("Parameter `taskID` is required when calling `runTaskV1`.");const p={method:"POST",path:"/1/tasks/{taskID}/run".replace("{taskID}",encodeURIComponent(c)),queryParameters:{},headers:{},data:u||{}};return a.request(p,l)},searchAuthentications(c,u){if(!c)throw new Error("Parameter `authenticationSearch` is required when calling `searchAuthentications`.");if(!c.authenticationIDs)throw new Error("Parameter `authenticationSearch.authenticationIDs` is required when calling `searchAuthentications`.");return a.request({method:"POST",path:"/1/authentications/search",queryParameters:{},headers:{},data:c},u)},searchDestinations(c,u){if(!c)throw new Error("Parameter `destinationSearch` is required when calling `searchDestinations`.");if(!c.destinationIDs)throw new Error("Parameter `destinationSearch.destinationIDs` is required when calling `searchDestinations`.");return a.request({method:"POST",path:"/1/destinations/search",queryParameters:{},headers:{},data:c},u)},searchSources(c,u){if(!c)throw new Error("Parameter `sourceSearch` is required when calling `searchSources`.");if(!c.sourceIDs)throw new Error("Parameter `sourceSearch.sourceIDs` is required when calling `searchSources`.");return a.request({method:"POST",path:"/1/sources/search",queryParameters:{},headers:{},data:c},u)},searchTasks(c,u){if(!c)throw new Error("Parameter `taskSearch` is required when calling `searchTasks`.");if(!c.taskIDs)throw new Error("Parameter `taskSearch.taskIDs` is required when calling `searchTasks`.");return a.request({method:"POST",path:"/2/tasks/search",queryParameters:{},headers:{},data:c},u)},searchTasksV1(c,u){if(!c)throw new Error("Parameter `taskSearch` is required when calling `searchTasksV1`.");if(!c.taskIDs)throw new Error("Parameter `taskSearch.taskIDs` is required when calling `searchTasksV1`.");return a.request({method:"POST",path:"/1/tasks/search",queryParameters:{},headers:{},data:c},u)},searchTransformations(c,u){if(!c)throw new Error("Parameter `transformationSearch` is required when calling `searchTransformations`.");if(!c.transformationIDs)throw new Error("Parameter `transformationSearch.transformationIDs` is required when calling `searchTransformations`.");return a.request({method:"POST",path:"/1/transformations/search",queryParameters:{},headers:{},data:c},u)},triggerDockerSourceDiscover({sourceID:c},u){if(!c)throw new Error("Parameter `sourceID` is required when calling `triggerDockerSourceDiscover`.");const h={method:"POST",path:"/1/sources/{sourceID}/discover".replace("{sourceID}",encodeURIComponent(c)),queryParameters:{},headers:{}};return u={timeouts:{connect:18e4,read:18e4,write:18e4,...u?.timeouts}},a.request(h,u)},tryTransformation(c,u){if(!c)throw new Error("Parameter `transformationTry` is required when calling `tryTransformation`.");if(!c.sampleRecord)throw new Error("Parameter `transformationTry.sampleRecord` is required when calling `tryTransformation`.");return a.request({method:"POST",path:"/1/transformations/try",queryParameters:{},headers:{},data:c},u)},tryTransformationBeforeUpdate({transformationID:c,transformationTry:u},l){if(!c)throw new Error("Parameter `transformationID` is required when calling `tryTransformationBeforeUpdate`.");if(!u)throw new Error("Parameter `transformationTry` is required when calling `tryTransformationBeforeUpdate`.");if(!u.sampleRecord)throw new Error("Parameter `transformationTry.sampleRecord` is required when calling `tryTransformationBeforeUpdate`.");const p={method:"POST",path:"/1/transformations/{transformationID}/try".replace("{transformationID}",encodeURIComponent(c)),queryParameters:{},headers:{},data:u};return a.request(p,l)},updateAuthentication({authenticationID:c,authenticationUpdate:u},l){if(!c)throw new Error("Parameter `authenticationID` is required when calling `updateAuthentication`.");if(!u)throw new Error("Parameter `authenticationUpdate` is required when calling `updateAuthentication`.");const p={method:"PATCH",path:"/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(c)),queryParameters:{},headers:{},data:u};return a.request(p,l)},updateDestination({destinationID:c,destinationUpdate:u},l){if(!c)throw new Error("Parameter `destinationID` is required when calling `updateDestination`.");if(!u)throw new Error("Parameter `destinationUpdate` is required when calling `updateDestination`.");const p={method:"PATCH",path:"/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(c)),queryParameters:{},headers:{},data:u};return a.request(p,l)},updateSource({sourceID:c,sourceUpdate:u},l){if(!c)throw new Error("Parameter `sourceID` is required when calling `updateSource`.");if(!u)throw new Error("Parameter `sourceUpdate` is required when calling `updateSource`.");const p={method:"PATCH",path:"/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(c)),queryParameters:{},headers:{},data:u};return a.request(p,l)},updateTask({taskID:c,taskUpdate:u},l){if(!c)throw new Error("Parameter `taskID` is required when calling `updateTask`.");
1if(!u)throw new Error("Parameter `taskUpdate` is required when calling `updateTask`.");const p={method:"PATCH",path:"/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(c)),queryParameters:{},headers:{},data:u};return a.request(p,l)},updateTaskV1({taskID:c,taskUpdate:u},l){if(!c)throw new Error("Parameter `taskID` is required when calling `updateTaskV1`.");if(!u)throw new Error("Parameter `taskUpdate` is required when calling `updateTaskV1`.");const p={method:"PATCH",path:"/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(c)),queryParameters:{},headers:{},data:u};return a.request(p,l)},updateTransformation({transformationID:c,transformationCreate:u},l){if(!c)throw new Error("Parameter `transformationID` is required when calling `updateTransformation`.");if(!u)throw new Error("Parameter `transformationCreate` is required when calling `updateTransformation`.");if(!u.name)throw new Error("Parameter `transformationCreate.name` is required when calling `updateTransformation`.");const p={method:"PUT",path:"/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(c)),queryParameters:{},headers:{},data:u};return a.request(p,l)},validateSource(c,u=void 0){const h={method:"POST",path:"/1/sources/validate",queryParameters:{},headers:{},data:c||{}};return u={timeouts:{connect:18e4,read:18e4,write:18e4,...u?.timeouts}},a.request(h,u)},validateSourceBeforeUpdate({sourceID:c,sourceUpdate:u},l){if(!c)throw new Error("Parameter `sourceID` is required when calling `validateSourceBeforeUpdate`.");if(!u)throw new Error("Parameter `sourceUpdate` is required when calling `validateSourceBeforeUpdate`.");const p={method:"POST",path:"/1/sources/{sourceID}/validate".replace("{sourceID}",encodeURIComponent(c)),queryParameters:{},headers:{},data:u};return l={timeouts:{connect:18e4,read:18e4,write:18e4,...l?.timeouts}},a.request(p,l)}}}({appId:e,apiKey:t,region:n,timeouts:{connect:25e3,read:25e3,write:25e3},logger:vr(),requester:br(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:qe(),requestsCache:qe({serializable:!1}),hostsCache:on({caches:[Un({key:`${wy}-${e}`}),qe()]}),...r})}var Py="1.48.2";function ZI(e,t,n){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!t||"string"!=typeof t)throw new Error("`apiKey` is missing.");return function j6({appId:e,apiKey:t,authMode:n,algoliaAgents:r,...o}){const i=mr(e,t,n),s=_r({hosts:[{url:"status.algolia.com",accept:"readWrite",protocol:"https"}],...o,algoliaAgent:yr({algoliaAgents:r,client:"Monitoring",version:Py}),baseHeaders:{"content-type":"text/plain",...i.headers(),...o.baseHeaders},baseQueryParameters:{...i.queryParameters(),...o.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>{}),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(a,c){s.algoliaAgent.add({segment:a,version:c})},setClientApiKey({apiKey:a}){n&&"WithinHeaders"!==n?s.baseQueryParameters["x-algolia-api-key"]=a:s.baseHeaders["x-algolia-api-key"]=a},customDelete({path:a,parameters:c},u){if(!a)throw new Error("Parameter `path` is required when calling `customDelete`.");const h={method:"DELETE",path:"/{path}".replace("{path}",a),queryParameters:c||{},headers:{}};return s.request(h,u)},customGet({path:a,parameters:c},u){if(!a)throw new Error("Parameter `path` is required when calling `customGet`.");const h={method:"GET",path:"/{path}".replace("{path}",a),queryParameters:c||{},headers:{}};return s.request(h,u)},customPost({path:a,parameters:c,body:u},l){if(!a)throw new Error("Parameter `path` is required when calling `customPost`.");const p={method:"POST",path:"/{path}".replace("{path}",a),queryParameters:c||{},headers:{},data:u||{}};return s.request(p,l)},customPut({path:a,parameters:c,body:u},l){if(!a)throw new Error("Parameter `path` is required when calling `customPut`.");const p={method:"PUT",path:"/{path}".replace("{path}",a),queryParameters:c||{},headers:{},data:u||{}};return s.request(p,l)},getClusterIncidents({clusters:a}
1,c){if(!a)throw new Error("Parameter `clusters` is required when calling `getClusterIncidents`.");const f={method:"GET",path:"/1/incidents/{clusters}".replace("{clusters}",encodeURIComponent(a)),queryParameters:{},headers:{}};return s.request(f,c)},getClusterStatus({clusters:a},c){if(!a)throw new Error("Parameter `clusters` is required when calling `getClusterStatus`.");const f={method:"GET",path:"/1/status/{clusters}".replace("{clusters}",encodeURIComponent(a)),queryParameters:{},headers:{}};return s.request(f,c)},getIncidents:a=>s.request({method:"GET",path:"/1/incidents",queryParameters:{},headers:{}},a),getIndexingTime({clusters:a},c){if(!a)throw new Error("Parameter `clusters` is required when calling `getIndexingTime`.");const f={method:"GET",path:"/1/indexing/{clusters}".replace("{clusters}",encodeURIComponent(a)),queryParameters:{},headers:{}};return s.request(f,c)},getLatency({clusters:a},c){if(!a)throw new Error("Parameter `clusters` is required when calling `getLatency`.");const f={method:"GET",path:"/1/latency/{clusters}".replace("{clusters}",encodeURIComponent(a)),queryParameters:{},headers:{}};return s.request(f,c)},getMetrics({metric:a,period:c},u){if(!a)throw new Error("Parameter `metric` is required when calling `getMetrics`.");if(!c)throw new Error("Parameter `period` is required when calling `getMetrics`.");const h={method:"GET",path:"/1/infrastructure/{metric}/period/{period}".replace("{metric}",encodeURIComponent(a)).replace("{period}",encodeURIComponent(c)),queryParameters:{},headers:{}};return s.request(h,u)},getReachability({clusters:a},c){if(!a)throw new Error("Parameter `clusters` is required when calling `getReachability`.");const f={method:"GET",path:"/1/reachability/{clusters}/probes".replace("{clusters}",encodeURIComponent(a)),queryParameters:{},headers:{}};return s.request(f,c)},getServers:a=>s.request({method:"GET",path:"/1/inventory/servers",queryParameters:{},headers:{}},a),getStatus:a=>s.request({method:"GET",path:"/1/status",queryParameters:{},headers:{}},a)}}({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:vr(),requester:br(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:qe(),requestsCache:qe({serializable:!1}),hostsCache:on({caches:[Un({key:`${Py}-${e}`}),qe()]}),...n})}var Ey="5.48.2";function L6(e){return[{url:`${e}-dsn.algolia.net`,accept:"read",protocol:"https"},{url:`${e}.algolia.net`,accept:"write",protocol:"https"}].concat(NI([{url:`${e}-1.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-2.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-3.algolianet.com`,accept:"readWrite",protocol:"https"}]))}function YI(e,t,n){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!t||"string"!=typeof t)throw new Error("`apiKey` is missing.");return function q6({appId:e,apiKey:t,authMode:n,algoliaAgents:r,...o}){const i=mr(e,t,n),s=_r({hosts:L6(e),...o,algoliaAgent:yr({algoliaAgents:r,client:"Recommend",version:Ey}),baseHeaders:{"content-type":"text/plain",...i.headers(),...o.baseHeaders},baseQueryParameters:{...i.queryParameters(),...o.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>{}),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(a,c){s.algoliaAgent.add({segment:a,version:c})},setClientApiKey({apiKey:a}){n&&"WithinHeaders"!==n?s.baseQueryParameters["x-algolia-api-key"]=a:s.baseHeaders["x-algolia-api-key"]=a},batchRecommendRules({indexName:a,model:c,recommendRule:u},l){if(!a)throw new Error("Parameter `indexName` is required when calling `batchRecommendRules`.");if(!c)throw new Error("Parameter `model` is required when calling `batchRecommendRules`.");const p={method:"POST",path:"/1/indexes/{indexName}/{model}/recommend/rules/batch".replace("{indexName}",encodeURIComponent(a)).replace("{model}",encodeURIComponent(c)),queryParameters:{},headers:{},data:u||{}};return s.request(p,l)},customDelete({path:a,parameters:c},u){if(!a)throw new Error("Parameter `path` is required when calling `customDelete`.");const h={method:"DELETE",path:"/{path}".replace("{path}",a),queryParameters:c||{},headers:{}};return s.request(h,u)},customGet({path:a,parameters:c},u){if(!a)throw new Error("Parameter `path` is required when calling `customGet`.");const h={method:"GET",path:"/{path}".replace("{path}",a),queryParameters:c||{},headers:{}};return s.request(h,u)},customPost({path:a,parameters:c,body:u},l){if(!a)throw new Error("Parameter `path` is required when calling `customPost`.");const p={method:"POST",path:"/{path}".replace("{path}",a),queryParameters:c||{},headers:{},data:u||{}};return s.request(p,l)},customPut({path:a,parameters:c,body:u},l){if(!a)throw new Error("Parameter `path` is required when calling `customPut`.");const p={method:"PUT",path:"/{path}".replace("{path}",a),queryParameters:c||{},headers:{},data:u||{}};return s.request(p,l)},deleteRecommendRule({indexName:a,model:c,objectID:u},l){if(!a)throw new Error("Parameter `indexName` is required when calling `deleteRecommendRule`.");if(!c)throw new Error("Parameter `model` is required when calling `deleteRecommendRule`.");if(!u)throw new Error("Parameter `objectID` is required when calling `deleteRecommendRule`.");const p={method:"DELETE",path:"/1/indexes/{indexName}/{model}/recommend/rules/{objectID}".replace("{indexName}",encodeURIComponent(a)).replace("{model}",encodeURIComponent(c)).replace("{objectID}",encodeURIComponent(u)),queryParameters:{},headers:{}};return s.request(p,l)},getRecommendRule({indexName:a,model:c,objectID:u},l){if(!a)throw new Error("Parameter `indexName` is required when calling `getRecommendRule`.");if(!c)throw new Error("Parameter `model` is required when calling `getRecommendRule`.");if(!u)throw new Error("Parameter `objectID` is required when calling `getRecommendRule`.");const p={method:"GET",path:"/1/indexes/{indexName}/{model}/recommend/rules/{objectID}".replace("{indexName}",encodeURIComponent(a)).replace("{model}",encodeURIComponent(c)).replace("{objectID}",encodeURIComponent(u)),queryParameters:{},headers:{}};return s.request(p,l)},getRecommendStatus({indexName:a,model:c,taskID:u},l){if(!a)throw new Error("Parameter `indexName` is required when calling `getRecommendStatus`.");if(!c)throw new Error("Parameter `model` is required when calling `getRecommendStatus`.");if(!u)throw new Error("Parameter `taskID` is required when calling `getRecommendStatus`.");const p={method:"GET",path:"/1/indexes/{indexName}/{model}/task/{taskID}".replace("{indexName}",encodeURIComponent(a)).replace("{model}",encodeURIComponent(c)).replace("{taskID}",encodeURIComponent(u)),queryParameters:{},headers:{}};return s.request(p,l)},getRecommendations(a,c){if(a&&Array.isArray(a)&&(a={requests:a}),!a)throw new Error("Parameter `getRecommendationsParams` is required when calling `getRecommendations`.");if(!a.requests)throw new Error("Parameter `getRecommendationsParams.requests` is required when calling `getRecommendations`.");return s.request({method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:a,useReadTransporter:!0,cacheable:!0},c)},searchRecommendRules({indexName:a,model:c,searchRecommendRulesParams:u},l){if(!a)throw new Error("Parameter `indexName` is required when calling `searchRecommendRules`.");if(!c)throw new Error("Parameter `model` is required when calling `searchRecommendRules`.");const p={method:"POST",path:"/1/indexes/{indexName}/{model}/recommend/rules/search".replace("{indexName}",encodeURIComponent(a)).replace("{model}",encodeURIComponent(c)),queryParameters:{},headers:{},data:u||{},useReadTransporter:!0,cacheable:!0};return s.request(p,l)}}}({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:vr(),requester:br(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:qe(),requestsCache:qe({serializable:!1}
1),hostsCache:on({caches:[Un({key:`${Ey}-${e}`}),qe()]}),...n})}var JI=Object.defineProperty,H6=Object.getOwnPropertyDescriptor,B6=Object.getOwnPropertyNames,U6=Object.prototype.hasOwnProperty,XI=(e,t)=>{for(var n in t)JI(e,n,{get:t[n],enumerable:!0})},eT=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of B6(t))!U6.call(e,o)&&o!==n&&JI(e,o,{get:()=>t[o],enumerable:!(r=H6(t,o))||r.enumerable});return e},tr=(e,t,n)=>(eT(e,t,"default"),n&&eT(n,t,"default")),tT={};XI(tT,{algoliasearch:()=>Dy,apiClientVersion:()=>Dc});var $n={};function Dy(e,t,n){if(!e||"string"!=typeof e)throw new Error("`appId` is missing.");if(!t||"string"!=typeof t)throw new Error("`apiKey` is missing.");const r=QI(e,t,n);let o;if(n?.transformation){if(!n.transformation.region)throw new Error("`region` must be provided when leveraging the transformation pipeline");o=Cy(e,t,n.transformation.region,n)}return{...r,saveObjectsWithTransformation(i,s){return dt(function*({indexName:a,objects:c,waitForTasks:u},l){if(!o)throw new Error("`transformation.region` must be provided at client instantiation before calling this method.");if(!n?.transformation?.region)throw new Error("`region` must be provided when leveraging the transformation pipeline");return o.chunkedPush({indexName:a,objects:c,action:"addObject",waitForTasks:u},l)}).apply(this,arguments)},partialUpdateObjectsWithTransformation(i,s){return dt(function*({indexName:a,objects:c,createIfNotExists:u,waitForTasks:l},d){if(!o)throw new Error("`transformation.region` must be provided at client instantiation before calling this method.");if(!n?.transformation?.region)throw new Error("`region` must be provided when leveraging the transformation pipeline");return o.chunkedPush({indexName:a,objects:c,action:u?"partialUpdateObject":"partialUpdateObjectNoCreate",waitForTasks:l},d)}).apply(this,arguments)},replaceAllObjectsWithTransformation(i,s){var a=this;return dt(function*({indexName:c,objects:u,batchSize:l,scopes:d},f){if(!o)throw new Error("`transformation.region` must be provided at client instantiation before calling this method.");if(!n?.transformation?.region)throw new Error("`region` must be provided when leveraging the transformation pipeline");const p=`${c}_tmp_${Math.floor(1e6*Math.random())+1e5}`;void 0===d&&(d=["settings","rules","synonyms"]);try{let g=yield a.operationIndex({indexName:c,operationIndexParams:{operation:"copy",destination:p,scope:d}},f);const y=yield o.chunkedPush({indexName:p,objects:u,waitForTasks:!0,batchSize:l,referenceIndexName:c},f);yield a.waitForTask({indexName:p,taskID:g.taskID}),g=yield a.operationIndex({indexName:c,operationIndexParams:{operation:"copy",destination:p,scope:d}},f),yield a.waitForTask({indexName:p,taskID:g.taskID});const b=yield a.operationIndex({indexName:p,operationIndexParams:{operation:"move",destination:c}},f);return yield a.waitForTask({indexName:p,taskID:b.taskID}),{copyOperationResponse:g,watchResponses:y,moveOperationResponse:b}}catch(g){throw yield a.deleteIndex({indexName:p}),g}}).apply(this,arguments)},get _ua(){return r.transporter.algoliaAgent.value},initAbtesting:i=>qI(i.appId||e,i.apiKey||t,i.region,i.options),initAbtestingV3:i=>jI(i.appId||e,i.apiKey||t,i.region,i.options),initAnalytics:i=>BI(i.appId||e,i.apiKey||t,i.region,i.options),initIngestion:i=>Cy(i.appId||e,i.apiKey||t,i.region,i.options),initInsights:i=>$I(i.appId||e,i.apiKey||t,i.region,i.options),initMonitoring:(i={})=>ZI(i.appId||e,i.apiKey||t,i.options),initPersonalization:i=>WI(i.appId||e,i.apiKey||t,i.region,i.options),initQuerySuggestions:i=>GI(i.appId||e,i.apiKey||t,i.region,i.options),initRecommend:(i={})=>YI(i.appId||e,i.apiKey||t,i.options)}}XI($n,{apiClientVersion:()=>Dc}),tr($n,V),tr($n,G),tr($n,U),tr($n,S),tr($n,A),tr($n,N),tr($n,W),tr($n,Y),tr($n,$),tr($n,X),tr(tT,$n);var $6=M(340),sn=M(950);function Sy(e){return(Sy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function go(e){return typeof window>"u"?(0,(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{fallback:function(){}}).fallback)():e({window})}function Lt(){}function rT(e,t){for(var n,r=0;r<e.length;r++)if(t(n=e[r],r,e))return n}function Sc(e){return(Sc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function oT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function _i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?oT(Object(n),!0).forEach(function(r){Q6(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oT(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Q6(e,t,n){return t=function K6(e){var t=function Z6(e,t){if("object"!=Sc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Sc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Sc(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mo(e,t){return function X6(e){if(Array.isArray(e))return e}(e)||function J6(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(l){u=!0,o=l}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}(e,t)||iT(e,t)||function Y6(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iT(e,t){if(e){if("string"==typeof e)return My(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return My(e,t)}}function My(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var oz="https://cdn.jsdelivr.net/npm/search-insights@".concat("2.17.2","/dist/search-insights.min.js");function aT(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.insightsClient,n=e.insightsInitParams,r=e.onEvent,o=e.$$internal,i=void 0!==o&&o,s=e.$$automatic,a=void 0!==s&&s,c=t;!t&&null!==t&&go(function(l){var d=l.window,f=d.AlgoliaAnalyticsObject||"aa";"string"==typeof f&&(c=d[f]),c||(d.AlgoliaAnalyticsObject=f,d[f]||(d[f]=function(){d[f].queue||(d[f].queue=[]);for(var h=arguments.length,p=new Array(h),g=0;g<h;g++)p[g]=arguments[g];d[f].queue.push(p)},d[f].version="2.17.2",d[f].shouldAddScript=!0),c=d[f])});var u=c||Lt;return function(l){var d=l.instantSearchInstance,f=d.middleware.filter(function(De){return"ais.insights"===De.instance.$$type&&De.instance.$$internal}).map(function(De){return De.creator});d.unuse.apply(d,function ez(e){return function rz(e){if(Array.isArray(e))return My(e)}(e)||function nz(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||iT(e)||function tz(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(f));var le,be,h=function z6(e){if(e.appId&&e.apiKey)return[e.appId,e.apiKey];if(e.transporter){var t=e.transporter,n=t.headers||t.baseHeaders,r=t.queryParameters||t.baseQueryParameters,o="x-algolia-application-id",i="x-algolia-api-key";return[n[o]||r[o],n[i]||r[i]]}return[e.applicationID,e.apiKey]}(d.client),p=mo(h,2),g=p[0],y=p[1],b=void 0,w=void 0,j=void 0,x=u.queue;if(Array.isArray(x)){var q=["setUserToken","init"].map(function(De){var Ue=rT(x.slice().reverse(),function(kt){return mo(kt,1)[0]===De})||[];return mo(Ue,2)[1]}),ae=mo(q,2);w=ae[0],b=ae[1]}return u("getUserToken",null,function(De,Ue){j=uT(Ue)}),(n||!cT(u))&&u("init",_i({appId:g,apiKey:y,partial:!0},n)),{$$type:"ais.insights",$$internal:i,$$automatic:a,onStateChange:function(){},subscribe:function(){if(u.shouldAddScript){var Ue="[insights middleware]: could not load search-insights.js. Please load it manually following https://alg.li/insights-init";try{var ue=document.createElement("script");ue.async=!0,ue.src=oz,ue.onerror=function(){d.emit("error",new Error(Ue))},document.body.appendChild(ue),u.shouldAddScript=!1}catch{u.shouldAddScript=!1,d.emit("error",new Error(Ue))}}},started:function(){u("addAlgoliaAgent","insights-middleware"),be=d.mainHelper;var Ue=u.queue;if(Array.isArray(Ue)){var ue=["setUserToken","init"].map(function(Et){var _n=rT(Ue.slice().reverse(),function(yf){return mo(yf,1)[0]===Et})||[];return mo(_n,2)[1]}),Me=mo(ue,2);w=Me[0],b=Me[1]}le=function iz(e){var t,n,r=(null===(t=e._initialResults)||void 0===t||null===(n=t[e.indexName])||void 0===n?void 0:n.state)||{},o=e.mainHelper.state;return{userToken:r.userToken||o.userToken,clickAnalytics:r.clickAnalytics||o.clickAnalytics}}(d),a||be.overrideStateWithoutTriggeringChangeEvent(_i(_i({},be.state),{},{clickAnalytics:!0})),i||d.scheduleSearch();var kt=function(_n){var $r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],Er=uT(_n);if(Er){var yf=be.state.userToken;$r?vf():setTimeout(vf,0)}function vf(){be.overrideStateWithoutTriggeringChangeEvent(_i(_i({},be.state),{},{userToken:Er})),yf&&yf!==_n&&d.scheduleSearch()}};function Rt(Et){kt(Et,!0),u("setUserToken",Et)}var cn=void 0,lu=function nT(){return function W6(e){if("object"===(typeof document>"u"?"undefined":Sy(document))&&"string"==typeof document.cookie)for(var t="".concat(e,"="),n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1);if(0===o.indexOf(t))return o.substring(t.length,o.length)}}("_ALGOLIA")}();if(lu)cn=lu;else{var mf="anonymous-".concat(function G6(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}());cn=mf}var Wn,ea=le.userToken;if(null!=n&&n.userToken&&(Wn=n.userToken),Wn)Rt(Wn);else if(ea)Rt(ea);else if(j)Rt(j);else if(w)Rt(w);else if(cn){var ta,_v;Rt(cn),(null!=n&&n.useCookie||null!==(ta=b)&&void 0!==ta&&ta.useCookie)&&function sz(e,t){var r=new Date;r.setTime(r.getTime()+(t||15552e6));var o="expires=".concat(r.toUTCString());document.cookie="_ALGOLIA=".concat(e,";").concat(o,";path=/")}
1(cn,n?.cookieDuration||(null===(_v=b)||void 0===_v?void 0:_v.cookieDuration))}u("onUserTokenChange",function(Et){return kt(Et,!0)},{immediate:!0});var bv=u;cT(u)&&(bv=function(_n,$r){return u(_n,$r,{headers:{"X-Algolia-Application-Id":g,"X-Algolia-API-Key":y}})});var MR,wv=new Set;d.mainHelper.derivedHelpers[0].on("result",function(Et){var _n=Et.results;_n&&(!_n.queryID||_n.queryID!==MR)&&(MR=_n.queryID,wv.clear())}),d.sendEventToInsights=function(Et){if(r)r(Et,bv);else if(Et.insightsMethod){if("viewedObjectIDs"===Et.insightsMethod){var _n=Et.payload,$r=_n.objectIDs.filter(function(Er){return!wv.has(Er)});if(0===$r.length)return;$r.forEach(function(Er){return wv.add(Er)}),_n.objectIDs=$r}Et.payload.algoliaSource=["instantsearch"],a&&Et.payload.algoliaSource.push("instantsearch-automatic"),"internal"===Et.eventModifier&&Et.payload.algoliaSource.push("instantsearch-internal"),bv(Et.insightsMethod,Et.payload)}}},unsubscribe:function(){u("onUserTokenChange",void 0),d.sendEventToInsights=Lt,be&&le&&(be.overrideStateWithoutTriggeringChangeEvent(_i(_i({},be.state),le)),d.scheduleSearch())}}}}function cT(e){var n=mo((e.version||"").split(".").map(Number),2),r=n[0],o=n[1];return r>=3||2===r&&o>=6||1===r&&o>=10}function uT(e){if(e)return"number"==typeof e?e.toString():e}function Mc(e,t,n){var r=t.getHelper();return{uiState:n,helper:r,parent:t,instantSearchInstance:e,state:r.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,scopedResults:[],searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}function lT(e,t,n){var r=t.getResultsForWidget(n),o=t.getHelper();return{helper:o,parent:t,instantSearchInstance:e,results:r,scopedResults:t.getScopedResults(),state:r&&"_state"in r?r._state:o.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}function dT(e,t,n){var r=Mc(t,t.mainIndex,t._initialUiState);e.forEach(function(o){var i={};if(o.getWidgetRenderState){var s=o.getWidgetRenderState(r);s&&s.widgetParams&&(i=s.widgetParams)}var a=Object.keys(i).filter(function(c){return void 0!==i[c]});n.widgets.push({type:o.$$type,widgetType:o.$$widgetType,params:a}),"ais.index"===o.$$type&&dT(o.getWidgets(),t,n)})}function cz(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).$$internal,n=void 0!==t&&t;return function(r){var o=r.instantSearchInstance,i={widgets:[]},s=document.createElement("meta"),a=document.querySelector("head");return s.name="instantsearch:widgets",{$$type:"ais.metadata",$$internal:n,onStateChange:function(){},subscribe:function(){setTimeout(function(){var u=o.client;i.ua=u.transporter&&u.transporter.userAgent?u.transporter.userAgent.value:u._ua,dT(o.mainIndex.getWidgets(),o,i),o.middleware.forEach(function(l){return i.widgets.push({middleware:!0,type:l.instance.$$type,internal:l.instance.$$internal})}),s.content=JSON.stringify(i),a.appendChild(s)},0)},started:function(){},unsubscribe:function(){s.remove()}}}}var fT=M(898);function Oc(e){return(Oc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function hT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,pT(r.key),r)}}function an(e,t,n){return(t=pT(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pT(e){var t=function dz(e,t){if("object"!=Oc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Oc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Oc(t)?t:String(t)}var gT=function(t){t&&(window.document.title=t)},fz=function(){function e(t){var n=this,r=t.windowTitle,o=t.writeDelay,i=void 0===o?400:o,s=t.createURL,a=t.parseURL,c=t.getLocation,u=t.start,l=t.dispose,d=t.push,f=t.cleanUrlOnDispose;(function uz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),an(this,"$$type","ais.browser"),an(this,"windowTitle",void 0),an(this,"writeDelay",void 0),an(this,"_createURL",void 0),an(this,"parseURL",void 0),an(this,"getLocation",void 0),an(this,"writeTimer",void 0),an(this,"_onPopState",void 0),an(this,"inPopState",!1),an(this,"isDisposed",!1),an(this,"latestAcknowledgedHistory",0),an(this,"_start",void 0),an(this,"_dispose",void 0),an(this,"_push",void 0),an(this,"_cleanUrlOnDispose",void 0),this.windowTitle=r,this.writeTimer=void 0,this.writeDelay=i,this._createURL=s,this.parseURL=a,this.getLocation=c,this._start=u,this._dispose=l,this._push=d,this._cleanUrlOnDispose=typeof f>"u"||f,go(function(h){var p=h.window,g=n.windowTitle&&n.windowTitle(n.read());gT(g),n.latestAcknowledgedHistory=p.history.length})}return function lz(e,t,n){t&&hT(e.prototype,t),n&&hT(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(e,[{key:"read",value:function(){return this.parseURL({qsModule:fT,location:this.getLocation()})}},{key:"write",value:function(n){var r=this;go(function(o){var i=o.window,s=r.createURL(n),a=r.windowTitle&&r.windowTitle(n);r.writeTimer&&clearTimeout(r.writeTimer),r.writeTimer=setTimeout(function(){gT(a),r.shouldWrite(s)&&(r._push?r._push(s):i.history.pushState(n,a||"",s),r.latestAcknowledgedHistory=i.history.length),r.inPopState=!1,r.writeTimer=void 0},r.writeDelay)})}}
1,{key:"onUpdate",value:function(n){var r=this;this._start&&this._start(function(){n(r.read())}),this._onPopState=function(){r.writeTimer&&(clearTimeout(r.writeTimer),r.writeTimer=void 0),r.inPopState=!0,n(r.read())},go(function(o){o.window.addEventListener("popstate",r._onPopState)})}},{key:"createURL",value:function(n){return this._createURL({qsModule:fT,routeState:n,location:this.getLocation()})}},{key:"dispose",value:function(){var n=this;this._dispose&&this._dispose(),this.isDisposed=!0,go(function(r){n._onPopState&&r.window.removeEventListener("popstate",n._onPopState)}),this.writeTimer&&clearTimeout(this.writeTimer),this._cleanUrlOnDispose&&this.write({})}},{key:"start",value:function(){this.isDisposed=!1}},{key:"shouldWrite",value:function(n){var r=this;return go(function(o){var i=o.window;return!(r.isDisposed&&!r._cleanUrlOnDispose||r.inPopState||r.isDisposed&&r.latestAcknowledgedHistory!==i.history.length||n===i.location.href)})}}]),e}();function Ic(e){return(Ic="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}var pz=["configure"];function mT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Kd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mT(Object(n),!0).forEach(function(r){Oy(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mT(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Oy(e,t,n){return t=function gz(e){var t=function mz(e,t){if("object"!=Ic(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ic(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ic(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yT(e){return function yz(e,t){if(null==e)return{};var r,o,n=function vz(e,t){if(null==e)return{};var o,i,n={},r=Object.keys(e);for(i=0;i<r.length;i++)!(t.indexOf(o=r[i])>=0)&&(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)!(t.indexOf(r=i[o])>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,pz)}function vT(e){return e!==Object(e)}function Zd(e,t){if(e===t)return!0;if(vT(e)||vT(t)||"function"==typeof e||"function"==typeof t)return e===t;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];if(!(o in t)||!Zd(e[o],t[o]))return!1}return!0}function Tc(e){return(Tc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function _T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Yd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_T(Object(n),!0).forEach(function(r){bT(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_T(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function bT(e,t,n){return t=function bz(e){var t=function wz(e,t){if("object"!=Tc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Tc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Tc(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ws(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map(function(o){return function Pz(e){var n=e.connector;return["https://www.algolia.com/doc/api-reference/widgets/",e.name,"/js/",void 0!==n&&n?"#connector":""].join("")}(o)}).join(", ");return function(o){return[o,"See documentation: ".concat(r)].filter(
1Boolean).join("\n\n")}}function Vn(e){return"ais.index"===e.$$type}function Rc(e){return(Rc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}var Sz=["facets","disjunctiveFacets","facetsRefinements","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacets","hierarchicalFacetsRefinements","ruleContexts"];function wT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function wr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wT(Object(n),!0).forEach(function(r){Mz(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wT(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Mz(e,t,n){return t=function Oz(e){var t=function Iz(e,t){if("object"!=Rc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Rc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Rc(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Jd=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.reduce(function(o,i){var s=function(t,n){return t.setQueryParameters({hierarchicalFacetsRefinements:wr(wr({},t.hierarchicalFacetsRefinements),n.hierarchicalFacetsRefinements)})}(o,i),c=function(t,n){return n.tagRefinements.reduce(function(r,o){return r.addTagRefinement(o)},t)}(function(t,n){return t.setQueryParameters({hierarchicalFacets:n.hierarchicalFacets.reduce(function(r,o){var i=function Ez(e,t){if(!Array.isArray(e))return-1;for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}(r,function(a){return a.name===o.name});if(-1===i)return r.concat(o);var s=r.slice();return s.splice(i,1,o),s},t.hierarchicalFacets)})}(s,i),i),u=function(t,n){return t.setQueryParameters({numericRefinements:wr(wr({},t.numericRefinements),n.numericRefinements)})}(c,i),l=function(t,n){return t.setQueryParameters({disjunctiveFacetsRefinements:wr(wr({},t.disjunctiveFacetsRefinements),n.disjunctiveFacetsRefinements)})}(u,i),d=function(t,n){return t.setQueryParameters({facetsExcludes:wr(wr({},t.facetsExcludes),n.facetsExcludes)})}(l,i),f=function(t,n){return t.setQueryParameters({facetsRefinements:wr(wr({},t.facetsRefinements),n.facetsRefinements)})}(d,i),h=function(t,n){return n.disjunctiveFacets.reduce(function(r,o){return r.addDisjunctiveFacet(o)},t)}(f,i),p=function(t,n){var r=function Dz(e){return e.filter(function(t,n,r){return r.indexOf(t)===n})}([].concat(t.ruleContexts).concat(n.ruleContexts).filter(Boolean));return r.length>0?t.setQueryParameters({ruleContexts:r}):t}(h,i),g=function(t,n){return n.facets.reduce(function(r,o){return r.addFacet(o)},t)}(p,i);return function(t,n){var h=function Tz(e,t){if(null==e)return{};var r,o,n=function Rz(e,t){if(null==e)return{};var o,i,n={},r=Object.keys(e);for(i=0;i<r.length;i++)!(t.indexOf(o=r[i])>=0)&&(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)!(t.indexOf(r=i[o])>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(n,Sz);return t.setQueryParameters(h)}(g,i)})},CT=0;function xc(e){return(xc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}var Wz=["initialSearchParameters"],zz=["initialRecommendParameters"];function PT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Cr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?PT(Object(n),!0).forEach(function(r){zs(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PT(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function zs(e,t,n){return t=function Gz(e){var t=function Qz(e,t){if("object"!=xc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=xc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xc(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ET(e){return function Jz(e){if(Array.isArray(e))return Iy(e)}(e)||function Yz(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function Zz(e,t){if(e){if("string"==typeof e)return Iy(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Iy(e,t)}}(e)||function Kz(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Iy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function DT(e,t){if(null==e)return{};var r,o,n=function Xz(e,t){if(null==e)return{};var o,i,n={},r=Object.keys(e);for(i=0;i<r.length;i++)!(t.indexOf(o=r[i])>=0)&&(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)!(t.indexOf(r=i[o])>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var Ac=Ws({name:"index-widget"});function ST(e,t){var n=t.state,r=t.recommendState,o=t.isPageReset,i=t._uiState;n!==e.state&&(e.state=n,e.emit("change",{state:e.state,results:e.lastResults,isPageReset:o,_uiState:i})),r!==e.recommendState&&(e.recommendState=r)}function Nc(e,t){return e.reduce(function(r,o){return Vn(o)||!o.getWidgetUiState&&!o.getWidgetState?r:o.getWidgetUiState?o.getWidgetUiState(r,t):o.getWidgetState(r,t)},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})}function kc(e,t){var n=t.initialSearchParameters,r=DT(t,Wz);return e.reduce(function(o,i){return!i.getWidgetSearchParameters||Vn(i)?o:"search"===i.dependsOn&&i.getWidgetParameters?i.getWidgetParameters(o,r):i.getWidgetSearchParameters(o,r)},n)}function MT(e,t){var n=t.initialRecommendParameters,r=DT(t,zz);return e.reduce(function(o,i){return!Vn(i)&&"recommend"===i.dependsOn&&i.getWidgetParameters?i.getWidgetParameters(o,r):o},n)}function OT(e){var t=e.filter(Vn);0!==t.length&&t.forEach(function(n){var r=n.getHelper();ST(r,{state:r.state.resetPage(),recommendState:r.recommendState,isPageReset:!0}),OT(n.getWidgets())})}function IT(e){return e.filter(Vn).reduce(function(n,r){return n.concat.apply(n,[{indexId:r.getIndexId(),results:r.getResults(),helper:r.getHelper()}].concat(ET(IT(r.getWidgets()))))},[])}const bi=function(t){if(void 0===t||void 0===t.indexName)throw new Error(Ac("The `indexName` option is required."));var n=t.indexName,r=t.indexId,o=void 0===r?n:r,i=[],s={},a=null,c=null,u=null,l=null,d=null,f=!1,h=!1;return{$$type:"ais.index",$$widgetType:"ais.index",getIndexName:function(){return n},getIndexId:function(){return o},getHelper:function(){return u},getResults:function(){var g;return null!==(g=l)&&void 0!==g&&g.lastResults?(l.lastResults._state=u.state,l.lastResults):null},getResultsForWidget:function(g){var y;return"recommend"!==g.dependsOn||Vn(g)||void 0===g.$$id?this.getResults():null!==(y=u)&&void 0!==y&&y.lastRecommendResults?u.lastRecommendResults[g.$$id]:null},getPreviousState:function(){return d},getScopedResults:function(){var g=this.getParent();return IT(g?g.getWidgets():0===n.length?this.getWidgets():[this])},getParent:function(){return c},createURL:function(g){return a._createURL(zs({},o,"function"==typeof g?g(s):Nc(i,{searchParameters:g,helper:u})))},getWidgets:function(){return i},addWidgets:function(g){var y=this;if(!Array.isArray(g))throw new Error(Ac("The `addWidgets` method expects an array of widgets."));if(g.some(function(b){return"function"!=typeof b.init&&"function"!=typeof b.render}))throw new Error(Ac("The widget definition expects a `render` and/or an `init` method."));return g.forEach(function(b){Vn(b)||(a&&"recommend"===b.dependsOn?a._hasRecommendWidget=!0:a?a._hasSearchWidget=!0:"recommend"===b.dependsOn?f=!0:h=!0,function Vz(e){"recommend"===e.dependsOn&&(e.$$id=CT++)}(b))}
1),i=i.concat(g),a&&g.length&&(ST(u,{state:kc(i,{uiState:s,initialSearchParameters:u.state}),recommendState:MT(i,{uiState:s,initialRecommendParameters:u.recommendState}),_uiState:s}),g.forEach(function(b){b.getRenderState&&Ty({renderState:b.getRenderState(a.renderState[y.getIndexId()]||{},Mc(a,y,a._initialUiState)),instantSearchInstance:a,parent:y})}),g.forEach(function(b){b.init&&b.init(Mc(a,y,a._initialUiState))}),a.scheduleSearch()),this},removeWidgets:function(g){var y=this;if(!Array.isArray(g))throw new Error(Ac("The `removeWidgets` method expects an array of widgets."));if(g.some(function(q){return"function"!=typeof q.dispose}))throw new Error(Ac("The widget definition expects a `dispose` method."));if((i=i.filter(function(q){return-1===g.indexOf(q)})).forEach(function(q){Vn(q)||(a&&"recommend"===q.dependsOn?a._hasRecommendWidget=!0:a?a._hasSearchWidget=!0:"recommend"===q.dependsOn?f=!0:h=!0)}),a&&g.length){var b=g.reduce(function(q,ae){var le=ae.dispose({helper:u,state:q.cleanedSearchState,recommendState:q.cleanedRecommendState,parent:y});return le instanceof sn.RecommendParameters?q.cleanedRecommendState=le:le&&(q.cleanedSearchState=le),q},{cleanedSearchState:u.state,cleanedRecommendState:u.recommendState}),w=b.cleanedSearchState,j=b.cleanedRecommendState,x=kc(i,a.future.preserveSharedStateOnUnmount?{uiState:s,initialSearchParameters:new sn.SearchParameters({index:this.getIndexName()})}:{uiState:Nc(i,{searchParameters:w,helper:u}),initialSearchParameters:w});s=Nc(i,{searchParameters:x,helper:u}),u.setState(x),u.recommendState=j,i.length&&a.scheduleSearch()}return this},init:function(g){var b,y=this,w=g.instantSearchInstance,x=g.uiState;if(null===u){a=w,c=g.parent;var q=w.mainHelper,ae=kc(i,{uiState:s=x[o]||{},initialSearchParameters:new sn.SearchParameters({index:n})}),le=MT(i,{uiState:s,initialRecommendParameters:new sn.RecommendParameters});(u=sn({},ae.index,ae)).recommendState=le,u.search=function(){return w.onStateChange?(w.onStateChange({uiState:w.mainIndex.getWidgetUiState({}),setUiState:function(Me){return w.setUiState(Me,!1)}}),q):q.search()},u.searchWithoutTriggeringOnStateChange=function(){return q.search()},u.searchForFacetValues=function(ue,Me,kt,Rt){var cn=u.state.setQueryParameters(Rt);return q.searchForFacetValues(ue,Me,kt,cn)},l=q.derive(function(){return Jd.apply(void 0,[q.state].concat(ET(function $z(e){for(var t=e.getParent(),n=[e.getHelper().state];null!==t;)n=[t.getHelper().state].concat(n),t=t.getParent();return n}(y))))},function(){return y.getHelper().recommendState});var be=null===(b=w._initialResults)||void 0===b?void 0:b[this.getIndexId()];if(null!=be&&be.results){var De=new sn.SearchResults(new sn.SearchParameters(be.state),be.results);l.lastResults=De,u.lastResults=De}if(null!=be&&be.recommendResults){var Ue=new sn.RecommendResults(new sn.RecommendParameters({params:be.recommendResults.params}),be.recommendResults.results);l.lastRecommendResults=Ue,u.lastRecommendResults=Ue}u.on("change",function(ue){ue.isPageReset&&OT(i)}),l.on("search",function(){w.scheduleStalledRender()}),l.on("result",function(ue){var Me=ue.results;w.scheduleRender(),u.lastResults=Me,d=Me?._state}
1),l.on("recommend:result",function(ue){var Me=ue.recommend;w.scheduleRender(),u.lastRecommendResults=Me.results}),i.forEach(function(ue){ue.getRenderState&&Ty({renderState:ue.getRenderState(w.renderState[y.getIndexId()]||{},Mc(w,y,x)),instantSearchInstance:w,parent:y})}),i.forEach(function(ue){ue.init&&ue.init(Mc(w,y,x))}),u.on("change",function(ue){s=Nc(i,{searchParameters:ue.state,helper:u},ue._uiState||{}),w.onStateChange||w.onInternalStateChange()}),be&&w.scheduleRender(),f&&(w._hasRecommendWidget=!0),h&&(w._hasSearchWidget=!0)}},render:function(g){var y,b=this,w=g.instantSearchInstance;"error"===w.status&&!w.mainHelper.hasPendingRequests()&&d&&u.setState(d);var j=this.getResults()||null!==(y=l)&&void 0!==y&&y.lastRecommendResults?i:i.filter(Vn);(j=j.filter(function(x){return!x.shouldRender||x.shouldRender({instantSearchInstance:w})})).forEach(function(x){x.getRenderState&&Ty({renderState:x.getRenderState(w.renderState[b.getIndexId()]||{},lT(w,b,x)),instantSearchInstance:w,parent:b})}),j.forEach(function(x){x.render&&x.render(lT(w,b,x))})},dispose:function(){var y,b,g=this;i.forEach(function(w){w.dispose&&u&&w.dispose({helper:u,state:u.state,recommendState:u.recommendState,parent:g})}),a=null,c=null,null===(y=u)||void 0===y||y.removeAllListeners(),u=null,null===(b=l)||void 0===b||b.detach(),l=null},getWidgetUiState:function(g){return i.filter(Vn).reduce(function(y,b){return b.getWidgetUiState(y)},Cr(Cr({},g),{},zs({},o,Cr(Cr({},g[o]),s))))},getWidgetState:function(g){return this.getWidgetUiState(g)},getWidgetSearchParameters:function(g,y){return kc(i,{uiState:y.uiState,initialSearchParameters:g})},refreshUiState:function(){s=Nc(i,{searchParameters:this.getHelper().state,helper:this.getHelper()},s)},setIndexUiState:function(g){var y="function"==typeof g?g(s):g;a.setUiState(function(b){return Cr(Cr({},b),{},zs({},o,y))})}}};function Ty(e){var t=e.renderState,n=e.instantSearchInstance,r=e.parent,o=r?r.getIndexId():n.mainIndex.getIndexId();n.renderState=Cr(Cr({},n.renderState),{},zs({},o,Cr(Cr({},n.renderState[o]),t)))}var Fc=function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.descendantName,o=n.modifierName,i=r?"-".concat(r):"",s=o?"--".concat(o):"";return"".concat("ais","-").concat(t).concat(i).concat(s)}};function yo(e,t){return(Array.isArray(t)?t:t.split(".")).reduce(function(r,o){return r&&r[o]},e)}var nG={"&":"&","<":"<",">":">",'"':""","'":"'"},TT=/[&<>"']/g,rG=RegExp(TT.source),iG={"&":"&","<":"<",">":">",""":'"',"'":"'"},RT=/&(amp|quot|lt|gt|#39);/g,sG=RegExp(RT.source);function jc(e){return e&&sG.test(e)?e.replace(RT,function(t){return iG[t]}):e}function Ry(e){return(Ry="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function xT(e){if(!function cG(e){return"object"===Ry(e)&&null!==e}(e)||"[object Object]"!==function aG(e){return null===e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}(e))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Lc(e){return(Lc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function xy(){return xy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xy.apply(this,arguments)}function AT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Gs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?AT(Object(n),!0).forEach(function(r){NT(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AT(Object(n)).forEac
1h(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function NT(e,t,n){return t=function lG(e){var t=function dG(e,t){if("object"!=Lc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Lc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Lc(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xd={highlightPreTag:"__ais-highlight__",highlightPostTag:"__/ais-highlight__"};function kT(e){return function oG(e){return e&&rG.test(e)?e.replace(TT,function(t){return nG[t]}):e}(e).replace(new RegExp(Xd.highlightPreTag,"g"),"<mark>").replace(new RegExp(Xd.highlightPostTag,"g"),"</mark>")}function ef(e){return xT(e)&&"string"!=typeof e.value?Object.keys(e).reduce(function(t,n){return Gs(Gs({},t),{},NT({},n,ef(e[n])))},{}):Array.isArray(e)?e.map(ef):Gs(Gs({},e),{},{value:kT(e.value)})}var hG=Fc("Highlight");function FT(e){return e.map(function(r){return r.isHighlighted?"<mark>"+r.value+"</mark>":r.value}).join("")}var gG=new RegExp(/\w/i);function mG(e,t){var n,r,o=e[t],i=(null===(n=e[t+1])||void 0===n?void 0:n.isHighlighted)||!0,s=(null===(r=e[t-1])||void 0===r?void 0:r.isHighlighted)||!0;return gG.test(jc(o.value))||s!==i?o.isHighlighted:s}function qc(e){return(qc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function jT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function tf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jT(Object(n),!0).forEach(function(r){yG(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jT(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function yG(e,t,n){return t=function vG(e){var t=function _G(e,t){if("object"!=qc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=qc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==qc(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function LT(e){return e.some(function(t){return t.isHighlighted})?e.map(function(t,n){return tf(tf({},t),{},{isHighlighted:!mG(e,n)})}):e.map(function(t){return tf(tf({},t),{},{isHighlighted:!1})})}function Qs(e){var r=e.split("<mark>"),o=r.shift(),i=o?[{value:o,isHighlighted:!1}]:[];return r.forEach(function(s){var a=s.split("</mark>");i.push({value:a[0],isHighlighted:!0}),""!==a[1]&&i.push({value:a[1],isHighlighted:!1})}),i}var bG=Fc("ReverseHighlight"),CG=Fc("Snippet"),EG=Fc("ReverseSnippet");function qT(e){return btoa(encodeURIComponent(JSON.stringify(e)))}function Ay(e){return(Ay="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function Hc(e){return(Hc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function HT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Br(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?HT(Object(n),!0).forEach(function(r){TG(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HT(Object(n)).forEac
1h(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function TG(e,t,n){return t=function RG(e){var t=function xG(e,t){if("object"!=Hc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Hc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Hc(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function AG(e){var t=e.numberLocale;return{formatNumber:function(r,o){return function IG(e,t){return e.toLocaleString(t)}(Number(o(r)),t)},highlight:function(r,o){try{return o(function pG(e){var n=e.highlightedTagName,r=void 0===n?"mark":n,i=e.cssClasses,s=void 0===i?{}:i,u=(yo(e.hit._highlightResult,e.attribute)||{}).value,l=void 0===u?"":u,d=hG({descendantName:"highlighted"})+(s.highlighted?" ".concat(s.highlighted):"");return l.replace(new RegExp("<mark>","g"),"<".concat(r,' class="').concat(d,'">')).replace(new RegExp("</mark>","g"),"</".concat(r,">"))}(Br(Br({},JSON.parse(r)),{},{hit:this})))}catch{throw new Error('\nThe highlight helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseHighlight:function(r,o){try{return o(function wG(e){var n=e.highlightedTagName,r=void 0===n?"mark":n,i=e.cssClasses,s=void 0===i?{}:i,u=(yo(e.hit._highlightResult,e.attribute)||{}).value,l=void 0===u?"":u,d=bG({descendantName:"highlighted"})+(s.highlighted?" ".concat(s.highlighted):"");return FT(LT(Qs(l))).replace(new RegExp("<mark>","g"),"<".concat(r,' class="').concat(d,'">')).replace(new RegExp("</mark>","g"),"</".concat(r,">"))}(Br(Br({},JSON.parse(r)),{},{hit:this})))}catch{throw new Error('\n The reverseHighlight helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},snippet:function(r,o){try{return o(function PG(e){var n=e.highlightedTagName,r=void 0===n?"mark":n,i=e.cssClasses,s=void 0===i?{}:i,u=(yo(e.hit._snippetResult,e.attribute)||{}).value,l=void 0===u?"":u,d=CG({descendantName:"highlighted"})+(s.highlighted?" ".concat(s.highlighted):"");return l.replace(new RegExp("<mark>","g"),"<".concat(r,' class="').concat(d,'">')).replace(new RegExp("</mark>","g"),"</".concat(r,">"))}(Br(Br({},JSON.parse(r)),{},{hit:this})))}catch{throw new Error('\nThe snippet helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseSnippet:function(r,o){try{return o(function DG(e){var n=e.highlightedTagName,r=void 0===n?"mark":n,i=e.cssClasses,s=void 0===i?{}:i,u=(yo(e.hit._snippetResult,e.attribute)||{}).value,l=void 0===u?"":u,d=EG({descendantName:"highlighted"})+(s.highlighted?" ".concat(s.highlighted):"");return FT(LT(Qs(l))).replace(new RegExp("<mark>","g"),"<".concat(r,' class="').concat(d,'">')).replace(new RegExp("</mark>","g"),"</".concat(r,">"))}(Br(Br({},JSON.parse(r)),{},{hit:this})))}catch{throw new Error('\n The reverseSnippet helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},insights:function(r,o){try{var i=JSON.parse(r);return o(function OG(e,t){return function MG(e){var r,t=e.method,n=e.payload;if("object"!==Ay(n))throw new Error("The insights helper expects the payload to be an object.");try{r=qT(n)}catch{throw new Error("Could not JSON serialize the payload object.")}return'data-insights-method="'.concat(t,'" data-insights-payload="').concat(r,'"')}({method:e,payload:t})}(i.method,Br({objectIDs:[this.objectID]},i.payload)))}catch{throw new Error('\nThe insights helper expects a JSON object of the format:\n{ "method": "method-name", "payload": { "eventName": "name of the event" } }')}}}}var NG=Promise.resolve();function Bc(e){var t=null,n=!1,r=function(){for(var i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];null===t&&(t=NG.then(function(){t=null,n?n=!1:e.apply(void 0,s)}))};return r.wait=function(){if(null===t)throw new Error("The deferred function should be called before calling `wait()`");return t},r.cancel=function(){null!==t&&(n=!0)},r}function Uc(e){return(Uc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function BT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function UT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function $c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?UT(Object(n),!0).forEach(function(r){$T(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UT(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $T(e,t,n){return t=function HG(e){var t=function BG(e,t){if("object"!=Uc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Uc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Uc(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $G(e){return e.split("&").reduce(function(t,n){var o=function kG(e,t){return function qG(e){if(Array.isArray(e))return e}(e)||function LG(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(l){u=!0,o=l}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}(e,t)||function jG(e,t){if(e){if("string"==typeof e)return BT(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return BT(e,t)}}(e,t)||function FG(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(n.split("="),2),s=o[1];return t[o[0]]=s?decodeURIComponent(s):"",t},{})}function Ny(e){return Object.keys(e).map(function(r){return function(o){for(var i=arguments.length,s=new Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];var c=0;return o.replace(/%s/g,function(){return encodeURIComponent(s[c++])})}("%s=%s",r,(o=e[r],"[object Object]"===Object.prototype.toString.call(o)||"[object Array]"===Object.prototype.toString.call(o)?JSON.stringify(e[r]):e[r]));var o}).join("&")}function Vc(e){return(Vc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function VT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function WT(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?VT(Object(n),!0).forEach(function(r){VG(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VT(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function VG(e,t,n){return t=function WG(e){var t=function zG(e,t){if("object"!=Vc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Vc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Vc(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ky(e,t){var n=e[t.getIndexId()]||{};t.getHelper().setState(t.getWidgetSearchParameters(t.getHelper().state,{uiState:n})),t.getWidgets().filter(Vn).forEach(function(r){return ky(e,r)})}function Ks(e){return(Ks="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function zT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Fy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?zT(Object(n),!0).forEach(function(r){Qe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zT(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function GT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,QT(r.key),r)}}function jy(e,t){return(jy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r})(e,t)}function $e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nf(e){return(nf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)})(e)}function Qe(e,t,n){return(t=QT(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function QT(e){var t=function t9(e,t){if("object"!=Ks(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ks(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ks(t)?t:String(t)}var nr=Ws({name:"instantsearch"});function n9(){return"#"}var r9={preserveSharedStateOnUnmount:!1,persistHierarchicalRootCount:!1},o9=function(e){!function YG(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jy(e,t)}(n,e);var t=function JG(e){var t=function e9(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,r=nf(e);if(t){var i=nf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return function XG(e,t){if(t&&("object"===Ks(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return $e(e)}(this,o)}}(n);function n(r){var i;(function KG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,n),Qe($e(i=t.call(this)),"client",void 0),Qe($e(i),"indexName",void 0),Qe($e(i),"compositionID",void 0),Qe($e(i),"insightsClient",void 0),Qe($e(i),"onStateChange",null),Qe($e(i),"future",void 0),Qe($e(i),"helper",void 0),Qe($e(i),"mainHelper",void 0),Qe($e(i),"mainIndex",void 0),Qe($e(i),"started",void 0),Qe($e(i),"templatesConfig",void 0),Qe($e(i),"renderState",{}),Qe($e(i),"_stalledSearchDelay",void 0),Qe($e(i),"_searchStalledTimer",void 0),Qe($e(i),"_initialUiState",void 0),Qe($e(i),"_initialResults",void 0),Qe($e(i),"_createURL",void 0),Qe($e(i),"_searchFunction",void 0),Qe($e(i),"_mainHelperSearch",void 0),Qe($e(i),"_hasSearchWidget",!1),Qe($e(i),"_hasRecommendWidget",!1),Qe($e(i),"_insights",void 0),Qe($e(i),"middleware",[]),Qe($e(i),"sendEventToInsights",void 0),Qe($e(i),"status","idle"),Qe($e(i),"error",void 0),Qe($e(i),"scheduleSearch",Bc(function(){i.started&&i.mainHelper.search()})),Qe($e(i),"scheduleRender",Bc(function(){var kt,Rt=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];null!==(kt=i.mainHelper)&&void 0!==kt&&kt.hasPendingRequests()||(clearTimeout(i._searchStalledTimer),i._searchStalledTimer=null,Rt&&(i.status="idle",i.error=void 0)),i.mainIndex.render({instantSearchInstance:$e(i)}),i.emit("render")})),Qe($e(i),"onInternalStateChange",Bc(function(){var kt=i.mainIndex.getWidgetUiState({});i.middleware.forEach(function(Rt){Rt.instance.onStateChange({uiState:kt})})})),i.setMaxListeners(100);var s=r.indexName,a=void 0===s?"":s,c=r.compositionID,u=r.numberLocale,l=r.initialUiState,d=void 0===l?{}:l,f=r.routing,h=void 0===f?null:f,p=r.insights,g=void 0===p?void 0:p,y=r.searchFunction,b=r.stalledSearchDelay,w=void 0===b?200:b,j=r.searchClient,x=void 0===j?null:j,q=r.insightsClient,ae=void 0===q?null:q,le=r.onStateChange,be=void 0===le?null:le,De=r.future,Ue=void 0===De?Fy(Fy({},r9),r.future||{}):De;if(null===x)throw new Error(nr("The `searchClient` option is required."));if("function"!=typeof x.search)throw new Error("The `searchClient` must implement a `search` method.\n\nSee: https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/backend-instantsearch/js/");if("function"==typeof x.addAlgoliaAgent&&x.addAlgoliaAgent("instantsearch.js (".concat("4.77.3",")")),ae&&"function"!=typeof ae)throw new Error(nr("The `insightsClient` option should be a function."));if(i.client=x,i.future=Ue,i.insightsClient=ae,i.indexName=a,i.compositionID=c,i.helper=null,i.mainHelper=null,i.mainIndex=bi({indexName:i.compositionID||i.indexName}),i.onStateChange=be,i.started=!1,i.templatesConfig={helpers:AG({numberLocale:u}),compileOptions:{}},i._stalledSearchDelay=w,i._searchStalledTimer=null,i._createURL=n9,i._initialUiState=d,i._initialResults=null,i._insights=g,y&&(i._searchFunction=y),i.sendEventToInsights=Lt,h){var ue="boolean"==typeof h?{}:h;ue.$$internal=!0,i.use(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.router,r=void 0===n?function hz(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.createURL,r=e.parseURL,i=e.writeDelay,c=e.getLocation;return new fz({createURL:void 0===t?function(p){var b=p.location,w=b.protocol,j=b.hostname,x=b.port,q=void 0===x?"":x,ae=b.pathname,le=b.hash,be=p.qsModule.stringify(p.routeState),De=""===q?"":":".concat(q);return be?"".concat(w,"//").concat(j).concat(De).concat(ae,"?").concat(be).concat(le):"".concat(w,"//").concat(j).concat(De).concat(ae).concat(le)}:t,parseURL:void 0===r?function(p){return p.qsModule.parse(p.location.search.slice(1),{arrayLimit:99})}:r,writeDelay:void 0===i?400:i,windowTitle:e.windowTitle,getLocation:void 0===c?function(){return go(function(p){return p.window.location},{fallback:function(){throw new Error("You need to provide `getLocation` to the `history` router in environments where `window` does not exist.")}})}:c,start:e.start,dispose:e.dispose,push:e.push,cleanUrlOnDispose:e.cleanUrlOnDispose})}():n,o=t.stateMapping,i=void 0===o?function _z(){return{$$type:"ais.simple",stateToRoute:function(t){return Object.keys(t).reduce(function(n,r){return Kd(Kd({},n),{},Oy({},r,yT(t[r])))},{})},routeToState:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(t).reduce(function(n,r){return Kd(Kd({},n),{},Oy({},r,yT(t[r])))},{})}}}():o,s=t.$$internal,a=void 0!==s&&s;return function(c){var u=c.instantSearchInstance;u._createURL=function l(h){var p=0===u.mainIndex.getWidgets().length?u._initialUiState:u.mainIndex.getWidgetUiState({}),g=Object.keys(h).reduce(function(b,w){return Yd(Yd({},b),{},bT({},w,h[w]))},p),y=i.stateToRoute(g);return r.createURL(y)};var d=void 0,f=u._initialUiState;return{$$type:"ais.router({router:".concat(r.$$type||"__unknown__",", stateMapping:").concat(i.$$type||"__unknown__","})"),$$internal:a,onStateChange:function(p){var y=i.stateToRoute(p.uiState);(void 0===d||!Zd(d,y))&&(r.write(y),d=y)},subscribe:function(){u._initialUiState=Yd(Yd({},f),i.routeToState(r.read())),r.onUpdate(function(p){u.mainIndex.getWidgets().length>0&&u.setUiState(i.routeToState(p))})},started:function(){var p;null===(p=r.start)||void 0===p||p.call(r)},unsubscribe:function(){r.dispose()}}}}(ue))}if(g){var Me="boolean"==typeof g?{}:g;Me.$$internal=!0,i.use(aT(Me))}return function az(){return go(function(e){var t,n;return(null===(t=e.window.navigator)||void 0===t||null===(n=t.userAgent)||void 0===n?void 0:n.indexOf("Algolia Crawler"))>-1},{fallback:function(){return!1}})}()&&i.use(cz({$$internal:!0})),i}return function ZG(e,t,n){t&>(e.prototype,t),n&>(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{key:"_isSearchStalled",get:function(){return"stalled"===this.status}},{key:"use",value:function(){for(var o=this,i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];var c=s.map(function(u){var l=Fy({$$type:"__unknown__",$$internal:!1,subscribe:Lt,started:Lt,unsubscribe:Lt,onStateChange:Lt},u({instantSearchInstance:o}));return o.middleware.push({creator:u,instance:l}),l});
1return this.started&&c.forEach(function(u){u.subscribe(),u.started()}),this}},{key:"unuse",value:function(){for(var o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];return this.middleware.filter(function(a){return i.includes(a.creator)}).forEach(function(a){return a.instance.unsubscribe()}),this.middleware=this.middleware.filter(function(a){return!i.includes(a.creator)}),this}},{key:"EXPERIMENTAL_use",value:function(){return this.use.apply(this,arguments)}},{key:"addWidget",value:function(o){return this.addWidgets([o])}},{key:"addWidgets",value:function(o){if(!Array.isArray(o))throw new Error(nr("The `addWidgets` method expects an array of widgets. Please use `addWidget`."));if(o.some(function(i){return"function"!=typeof i.init&&"function"!=typeof i.render}))throw new Error(nr("The widget definition expects a `render` and/or an `init` method."));if(this.compositionID&&o.some(Vn))throw new Error(nr("The `index` widget cannot be used with a composition-based InstantSearch implementation."));return this.mainIndex.addWidgets(o),this}},{key:"removeWidget",value:function(o){return this.removeWidgets([o])}},{key:"removeWidgets",value:function(o){if(!Array.isArray(o))throw new Error(nr("The `removeWidgets` method expects an array of widgets. Please use `removeWidget`."));if(o.some(function(i){return"function"!=typeof i.dispose}))throw new Error(nr("The widget definition expects a `dispose` method."));return this.mainIndex.removeWidgets(o),this}},{key:"start",value:function(){var o=this;if(this.started)throw new Error(nr("The `start` method has already been called once."));var i=this.mainHelper||sn(this.client,this.indexName,void 0,{persistHierarchicalRootCount:this.future.persistHierarchicalRootCount});if(this.compositionID&&(i.searchForFacetValues=i.searchForCompositionFacetValues.bind(i)),i.search=function(){return o.status="loading",o.scheduleRender(!1),o._hasSearchWidget&&(o.compositionID?i.searchWithComposition():i.searchOnlyWithDerivedHelpers()),o._hasRecommendWidget&&i.recommend(),i},this._searchFunction){var s={search:function(){return new Promise(Lt)}};this._mainHelperSearch=i.search.bind(i),i.search=function(){var c=o.mainIndex.getHelper(),u=sn(s,c.state.index,c.state);return u.once("search",function(l){c.overrideStateWithoutTriggeringChangeEvent(l.state),o._mainHelperSearch()}),u.on("change",function(l){c.setState(l.state)}),o._searchFunction(u),i}}if(i.on("error",function(c){var u=c.error;if(!(u instanceof Error)){var l=u;u=Object.keys(l).reduce(function(d,f){return d[f]=l[f],d},new Error(l.message))}u.error=u,o.error=u,o.status="error",o.scheduleRender(!1),o.emit("error",u)}),this.mainHelper=i,this.middleware.forEach(function(c){c.instance.subscribe()}),this.mainIndex.init({instantSearchInstance:this,parent:null,uiState:this._initialUiState}),this._initialResults){(function UG(e,t){if(t&&("transporter"in e&&!e._cacheHydrated||e._useCache&&"function"==typeof e.addAlgoliaAgent)){var n=[Object.keys(t).reduce(function(s,a){var c=t[a],u=c.state,l=c.requestParams,d=c.results,f=d&&u?d.map(function(h,p){return $c({indexName:u.index||h.index},null!=l&&l[p]||h.params?{params:Ny(l?.[p]||$G(h.params))}:{})}):[];return s.concat(f)},[])],r=Object.keys(t).reduce(function(s,a){var c=t[a].results;return c?s.concat(c):s},[]);if("transporter"in e&&!e._cacheHydrated){e._cacheHydrated=!0;var o=e.search.bind(e);e.search=function(s){for(var a=arguments.length,c=new Array(a>1?a-1:0),u=1;u<a;u++)c[u-1]=arguments[u];var l=Array.isArray(s)?s.map(function(d){return $c($c({},d),{},{params:Ny(d.params)})}):Ny(s.requestBody.params);return e.transporter.responsesCache.get({method:"search",args:[l].concat(c)},function(){return o.apply(void 0,[s].concat(c))})},e.transporter.responsesCache.set({method:"search",args:n},{results:r})}if(!("transporter"in e)){var i="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:n}));e.cache=$c($c({},e.cache),{},$T({},i,JSON.stringify({results:Object.keys(t).map(function(s){return t[s].results})})))}}})(this.client,this._initialResults),function GG(e,t){var n=Object.keys(t).reduce(function(r,o){var i=t[o];return i.recommendResults?WT(WT({},r),i.recommendResults.results):r},{});e._recommendCache=n}(this.mainHelper,this._initialResults);var a=this.scheduleSearch;this.scheduleSearch=Bc(Lt),Bc(function(){o.scheduleSearch=a})()}else this.mainIndex.getWidgets().length>0&&this.scheduleSearch();this.helper=this.mainIndex.getHelper(),this.started=!0,this.middleware.forEach(function(c){c.instance.started()}),typeof this._insights>"u"&&i.derivedHelpers[0].once("result",function(){o.mainIndex.getScopedResults().some(function(u){var l=u.results;return l?._automaticInsights})&&o.use(aT({$$internal:!0,$$automatic:!0}))})}},{key:"dispose",value:function(){var o;this.scheduleSearch.cancel(),this.scheduleRender.cancel(),clearTimeout(this._searchStalledTimer),this.removeWidgets(this.mainIndex.getWidgets()),this.mainIndex.dispose(),this.started=!1,this.removeAllListeners(),null===(o=this.mainHelper)||void 0===o||o.removeAllListeners(),this.mainHelper=null,this.helper=null,this.middleware.forEach(function(i){i.instance.unsubscribe()})}},{key:"scheduleStalledRender",value:function(){var o=this;this._searchStalledTimer||(this._searchStalledTimer=setTimeout(function(){o.status="stalled",o.scheduleRender()},this._stalledSearchDelay))}},{key:"setUiState",value:function(o){var i=this,s=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this.mainHelper)throw new Error(nr("The `start` method needs to be called before `setUiState`."));this.mainIndex.refreshUiState();var a="function"==typeof o?o(this.mainIndex.getWidgetUiState({})):o;this.onStateChange&&s?this.onStateChange({uiState:a,setUiState:function(u){ky("function"==typeof u?u(a):u,i.mainIndex),i.scheduleSearch(),i.onInternalStateChange()}}):(ky(a,this.mainIndex),this.scheduleSearch(),this.onInternalStateChange())}},{key:"getUiState",value:function(){return this.started&&this.mainIndex.refreshUiState(),this.mainIndex.getWidgetUiState({})}},{key:"createURL",value:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.started)throw new Error(nr("The `start` method needs to be called before `createURL`."));return this._createURL(o)}},{key:"refresh",value:function(){if(!this.mainHelper)throw new Error(nr("The `start` method needs to be called before `refresh`."));this.mainHelper.clearCache().search()}}]),n}($6);const i9=o9,KT="19VLEMMEYT",ZT="fafedafe9316558f22359130d35de574",YT="BST5NZLPCS",JT="0d47917b42eab7e0bad5b34535ed4fc2";var He=function(e){return e.PRODUCTS_PHONES="products_phones",e.PRODUCTS_PHONES_QUERY_SUGGESTIONS="products_phones_query_suggestions",e.PRODUCTS_ACCESSORIES="products_accessories",e.ARTICLES="articles",e.STORES="stores",e.NEWS="news",e.BLOGS="blogs",e}(He||{}),wt=function(e){return e.WIRELESS="wireless",e.SWITCH="switch",e.HOME_SERVICES="homeservices",e.BUSINESS="business",e.ENTERPRISE="enterprise",e.CSB="csb",e.COMPANY="company",e}(wt||{}
1),Ly=function(e){return e.CLICKED_OBJECT_IDS_AFTER_SEARCH="clickedObjectIDsAfterSearch",e.CONVERTED_OBJECT_IDS_AFTER_SEARCH="convertedObjectIDsAfterSearch",e.ADDED_TO_CART_OBJECT_IDS_AFTER_SEARCH="addedToCartObjectIDsAfterSearch",e.PURCHASED_OBJECT_IDS_AFTER_SEARCH="purchasedObjectIDsAfterSearch",e.CLICKED_OBJECT_IDS="clickedObjectIDs",e.CONVERTED_OBJECT_IDS="convertedObjectIDs",e.ADDED_TO_CART_OBJECT_IDS="addedToCartObjectIDs",e.PURCHASED_OBJECT_IDS="purchasedObjectIDs",e.VIEWED_OBJECT_IDS="viewedObjectIDs",e.CLICKED_FILTERS="clickedFilters",e.CONVERTED_FILTERS="convertedFilters",e.VIEWED_FILTERS="viewedFilters",e}(Ly||{});function at(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(r,o){return Array.isArray(o)?r.concat(o):r.concat([o])},[]).filter(Boolean).join(" ")}var Wc,ft,XT,wi,e0,t0,n0,r0,qy,Hy,By,zc={},i0=[],a9=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Gc=Array.isArray;function Pr(e,t){for(var n in t)e[n]=t[n];return e}function Uy(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Be(e,t,n){var r,o,i,s={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:s[i]=t[i];if(arguments.length>2&&(s.children=arguments.length>3?Wc.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===s[i]&&(s[i]=e.defaultProps[i]);return Qc(e,s,r,o,null)}function Qc(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++XT,__i:-1,__u:0};return null==o&&null!=ft.vnode&&ft.vnode(i),i}function Ci(e){return e.children}function Pi(e,t){this.props=e,this.context=t}function Zs(e,t){if(null==t)return e.__?Zs(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?Zs(e):null}function a0(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return a0(e)}}function $y(e){(!e.__d&&(e.__d=!0)&&wi.push(e)&&!rf.__r++||e0!=ft.debounceRendering)&&((e0=ft.debounceRendering)||t0)(rf)}function rf(){for(var e,t,n,r,o,i,s,a=1;wi.length;)wi.length>a&&wi.sort(n0),e=wi.shift(),a=wi.length,e.__d&&(n=void 0,r=void 0,o=(r=(t=e).__v).__e,i=[],s=[],t.__P&&((n=Pr({},r)).__v=r.__v+1,ft.vnode&&ft.vnode(n),Vy(t.__P,n,r,t.__n,t.__P.namespaceURI,32&r.__u?[o]:null,i,o??Zs(r),!!(32&r.__u),s),n.__v=r.__v,n.__.__k[n.__i]=n,f0(i,n,s),r.__e=r.__=null,n.__e!=o&&a0(n)));rf.__r=0}function c0(e,t,n,r,o,i,s,a,c,u,l){var d,f,h,p,g,y,b,w=r&&r.__k||i0,j=t.length;for(c=function c9(e,t,n,r,o){var i,s,a,c,u,l=n.length,d=l,f=0;for(e.__k=new Array(o),i=0;i<o;i++)null!=(s=t[i])&&"boolean"!=typeof s&&"function"!=typeof s?("string"==typeof s||"number"==typeof s||"bigint"==typeof s||s.constructor==String?s=e.__k[i]=Qc(null,s,null,null,null):Gc(s)?s=e.__k[i]=Qc(Ci,{children:s},null,null,null):void 0===s.constructor&&s.__b>0?s=e.__k[i]=Qc(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):e.__k[i]=s,c=i+f,s.__=e,s.__b=e.__b+1,a=null,-1!=(u=s.__i=l9(s,n,c,d))&&(d--,(a=n[u])&&(a.__u|=2)),null==a||null==a.__v?(-1==u&&(o>l?f--:o<l&&f++),"function"!=typeof s.type&&(s.__u|=4)):u!=c&&(u==c-1?f--:u==c+1?f++:(u>c?f--:f++,s.__u|=4))):e.__k[i]=null;if(d)for(i=0;i<l;i++)null!=(a=n[i])&&!(2&a.__u)&&(a.__e==r&&(r=Zs(a)),p0(a,a));return r}(n,t,w,c,j),d=0;d<j;d++)null!=(h=n.__k[d])&&(f=-1==h.__i?zc:w[h.__i]||zc,h.__i=d,y=Vy(e,h,f,o,i,s,a,c,u,l),p=h.__e,h.ref&&f.ref!=h.ref&&(f.ref&&zy(f.ref,null,h),l.push(h.ref,h.__c||p,h)),null==g&&null!=p&&(g=p),(b=!!(4&h.__u))||f.__k===h.__k?c=u0(h,c,e,b):"function"==typeof h.type&&void 0!==y?c=y:p&&(c=p.nextSibling),h.__u&=-7);return n.__e=g,c}function u0(e,t,n,r){var o,i;if("function"==typeof e.type){for(o=e.__k,i=0;o&&i<o.length;i++)o[i]&&(o[i].__=e,t=u0(o[i],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=Zs(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function l9(e,t,n,r){var o,i,s,a=e.key,c=e.type,u=t[n],l=null!=u&&!(2&u.__u);if(null===u&&null==a||l&&a==u.key&&c==u.type)return n;if(r>(l?1:0))for(o=n-1,i=n+1;o>
1=0||i<t.length;)if(null!=(u=t[s=o>=0?o--:i++])&&!(2&u.__u)&&a==u.key&&c==u.type)return s;return-1}function l0(e,t,n){"-"==t[0]?e.setProperty(t,n??""):e[t]=null==n?"":"number"!=typeof n||a9.test(t)?n:n+"px"}function of(e,t,n,r,o){var i,s;e:if("style"==t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||l0(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||l0(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])i=t!=(t=t.replace(r0,"$1")),s=t.toLowerCase(),t=s in e||"onFocusOut"==t||"onFocusIn"==t?s.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=qy,e.addEventListener(t,i?By:Hy,i)):e.removeEventListener(t,i?By:Hy,i);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=n??"";break e}catch{}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function d0(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=qy++;else if(t.t<n.u)return;
1return n(ft.event?ft.event(t):t)}}}function Vy(e,t,n,r,o,i,s,a,c,u){var l,d,f,h,p,g,y,b,w,j,x,q,ae,le,be,De,Ue,ue=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(c=!!(32&n.__u),i=[a=t.__e=n.__e]),(l=ft.__b)&&l(t);e:if("function"==typeof ue)try{if(b=t.props,w="prototype"in ue&&ue.prototype.render,j=(l=ue.contextType)&&r[l.__c],x=l?j?j.props.value:l.__:r,n.__c?y=(d=t.__c=n.__c).__=d.__E:(w?t.__c=d=new ue(b,x):(t.__c=d=new Pi(b,x),d.constructor=ue,d.render=f9),j&&j.sub(d),d.state||(d.state={}),d.__n=r,f=d.__d=!0,d.__h=[],d._sb=[]),w&&null==d.__s&&(d.__s=d.state),w&&null!=ue.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=Pr({},d.__s)),Pr(d.__s,ue.getDerivedStateFromProps(b,d.__s))),h=d.props,p=d.state,d.__v=t,f)w&&null==ue.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),w&&null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(w&&null==ue.getDerivedStateFromProps&&b!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(b,x),t.__v==n.__v||!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(b,d.__s,x)){for(t.__v!=n.__v&&(d.props=b,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(Me){Me&&(Me.__=t)}),q=0;q<d._sb.length;q++)d.__h.push(d._sb[q]);d._sb=[],d.__h.length&&s.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(b,d.__s,x),w&&null!=d.componentDidUpdate&&d.__h.push(function(){d.componentDidUpdate(h,p,g)})}if(d.context=x,d.props=b,d.__P=e,d.__e=!1,ae=ft.__r,le=0,w){for(d.state=d.__s,d.__d=!1,ae&&ae(t),l=d.render(d.props,d.state,d.context),be=0;be<d._sb.length;be++)d.__h.push(d._sb[be]);d._sb=[]}else do{d.__d=!1,ae&&ae(t),l=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++le<25);d.state=d.__s,null!=d.getChildContext&&(r=Pr(Pr({},r),d.getChildContext())),w&&!f&&null!=d.getSnapshotBeforeUpdate&&(g=d.getSnapshotBeforeUpdate(h,p)),De=l,null!=l&&l.type===Ci&&null==l.key&&(De=h0(l.props.children)),a=c0(e,Gc(De)?De:[De],t,n,r,o,i,s,a,c,u),d.base=t.__e,t.__u&=-161,d.__h.length&&s.push(d),y&&(d.__E=d.__=null)}catch(Me){if(t.__v=null,c||null!=i)if(Me.then){for(t.__u|=c?160:128;a&&8==a.nodeType&&a.nextSibling;)a=a.nextSibling;i[i.indexOf(a)]=null,t.__e=a}else{for(Ue=i.length;Ue--;)Uy(i[Ue]);Wy(t)}else t.__e=n.__e,t.__k=n.__k,Me.then||Wy(t);ft.__e(Me,t,n)}else null==i&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):a=t.__e=function d9(e,t,n,r,o,i,s,a,c){var u,l,d,f,h,p,g,y=n.props||zc,b=t.props,w=t.type;if("svg"==w?o="http://www.w3.org/2000/svg":"math"==w?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=i)for(u=0;u<i.length;u++)if((h=i[u])&&"setAttribute"in h==!!w&&(w?h.localName==w:3==h.nodeType)){e=h,i[u]=null;break}if(null==e){if(null==w)return document.createTextNode(b);e=document.createElementNS(o,w,b.is&&b),a&&(ft.__m&&ft.__m(t,i),a=!1),i=null}if(null==w)y===b||a&&e.data==b||(e.data=b);else{if(i=i&&Wc.call(e.childNodes),!a&&null!=i)for(y={},u=0;u<e.attributes.length;u++)y[(h=e.attributes[u]).name]=h.value;for(u in y)if(h=y[u],"children"!=u)if("dangerouslySetInnerHTML"==u)d=h;else if(!(u in b)){if("value"==u&&"defaultValue"in b||"checked"==u&&"defaultChecked"in b)continue;of(e,u,null,h,o)}for(u in b)h=b[u],"children"==u?f=h:"dangerouslySetInnerHTML"==u?l=h:"value"==u?p=h:"checked"==u?g=h:a&&"function"!=typeof h||y[u]===h||of(e,u,h,y[u],o);if(l)a||d&&(l.__html==d.__html||l.__html==e.innerHTML)||(e.innerHTML=l.__html),t.__k=[];else if(d&&(e.innerHTML=""),c0("template"==t.type?e.content:e,Gc(f)?f:[f],t,n,r,"foreignObject"==w?"http://www.w3.org/1999/xhtml":o,i,s,i?i[0]:n.__k&&Zs(n,0),a,c),null!=i)for(u=i.length;u--;)Uy(i[u]);a||(u="value","progress"==w&&null==p?e.removeAttribute("value"):null!=p&&(p!==e[u]||"progress"==w&&!p||"option"==w&&p!=y[u])&&of(e,u,p,y[u],o),u="checked",null!=g&&g!=e[u]&&of(e,u,g,y[u],o))}return e}(n.__e,t,n,r,o,i,s,c,u);return(l=ft.diffed)&&l(t),128&t.__u?void 0:a}function Wy(e){e&&e.__c&&(e.__c.__e=!0),e&&e.__k&&e.__k.forEach(Wy)}function f0(e,t,n){for(var r=0;r<n.length;r++)zy(n[r],n[++r],n[++r]);ft.__c&&ft.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){ft.__e(i,o.__v)}})}function h0(e){return"object"!=typeof e||null==e||e.__b&&e.__b>0?e:Gc(e)?e.map(h0):Pr({},e)}function zy(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(o){ft.__e(o,n)}}function p0(e,t,n){var r,o;
vendor: 1,387 bytes, line 1
1if(ft.unmount&&ft.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||zy(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){ft.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&p0(r[o],t,n||"function"!=typeof e.type);n||Uy(e.__e),e.__c=e.__=e.__e=void 0}function f9(e,t,n){return this.constructor(e,n)}function Gy(e,t,n){var r,o,i,s;t==document&&(t=document.documentElement),ft.__&&ft.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],s=[],Vy(t,e=(!r&&n||t).__k=Be(Ci,null,[e]),o||zc,zc,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?Wc.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,s),f0(i,e,s)}Wc=i0.slice,ft={__e:function(e,t,n,r){for(var o,i,s;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),s=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),s=o.__d),s)return o.__E=o}catch(a){e=a}throw e}},XT=0,Pi.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=Pr({},this.state),"function"==typeof e&&(e=e(Pr({},n),this.props)),e&&Pr(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),$y(this))},Pi.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),$y(this))},Pi.prototype.render=Ci,wi=[],t0="function"==typeof Promise?Promise.prototype.then.bind(Prom
1ise.resolve()):setTimeout,n0=function(e,t){return e.__v.__b-t.__v.__b},rf.__r=0,r0=/(PointerCapture)$|Capture$/i,qy=0,Hy=d0(!1),By=d0(!0);var g0=M(603),m0=function(e,t,n,r){var o;t[0]=0;for(var i=1;i<t.length;i++){var s=t[i++],a=t[i]?(t[0]|=s?1:2,n[t[i++]]):t[++i];3===s?r[0]=a:4===s?r[1]=Object.assign(r[1]||{},a):5===s?(r[1]=r[1]||{})[t[++i]]=a:6===s?r[1][t[++i]]+=a+"":s?(o=e.apply(a,m0(e,a,n,["",null])),r.push(o),a[0]?t[0]|=2:(t[i-2]=0,t[i]=o)):r.push(a)}return r},y0=new Map,g9=function p9(e){var t=y0.get(this);return t||y0.set(this,t=new Map),(t=m0(this,t.get(e)||(t.set(e,t=function(n){for(var r,o,i=1,s="",a="",c=[0],u=function(f){1===i&&(f||(s=s.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?c.push(0,f,s):3===i&&(f||s)?(c.push(3,f,s),i=2):2===i&&"..."===s&&f?c.push(4,f,0):2===i&&s&&!f?c.push(5,0,!0,s):i>=5&&((s||!f&&5===i)&&(c.push(i,0,s,o),i=6),f&&(c.push(i,f,0,o),i=6)),s=""},l=0;l<n.length;l++){l&&(1===i&&u(),u(l));for(var d=0;d<n[l].length;d++)r=n[l][d],1===i?"<"===r?(u(),c=[c],i=3):s+=r:4===i?"--"===s&&">"===r?(i=1,s=""):s=r+s[0]:a?r===a?a="":s+=r:'"'===r||"'"===r?a=r:">"===r?(u(),i=1):i&&("="===r?(i=5,o=s,s=""):"/"===r&&(i<5||">"===n[l][d+1])?(u(),3===i&&(c=c[0]),i=c,(c=c[0]).push(2,0,i),i=0):" "===r||"\t"===r||"\n"===r||"\r"===r?(u(),i=2):s+=r),3===i&&"!--"===s&&(i=4,c=c[0])}return u(),c}(e)),t),arguments,[])).length>1?t:t[0]}.bind(Be);function Qy(){return Qy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qy.apply(null,arguments)}var v9=["parts","highlightedTagName","nonHighlightedTagName","separator","className","classNames"],sf=function b9(e){var t=e.createElement,n=e.Fragment,r=function _9(e){var t=e.createElement;return function(r){var o=r.classNames,a=r.isHighlighted;return t(a?r.highlightedTagName:r.nonHighlightedTagName,{className:a?o.highlighted:o.nonHighlighted},r.children)}}({createElement:t,Fragment:n});return function(i){var s=i.parts,a=i.highlightedTagName,c=void 0===a?"mark":a,u=i.nonHighlightedTagName,l=void 0===u?"span":u,d=i.separator,f=void 0===d?", ":d,h=i.className,p=i.classNames,g=void 0===p?{}:p,y=function y9(e,t){if(null==e)return{};var n,r,o=function m9(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)-1===t.indexOf(n=i[r])&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(i,v9);return t("span",Qy({},y,{className:at(g.root,h)}),s.map(function(b,w){var j=w===s.length-1;return t(n,{key:w},b.map(function(x,q){return t(r,{key:q,classNames:g,highlightedTagName:c,nonHighlightedTagName:l,isHighlighted:x.isHighlighted},x.value)}),!j&&t("span",{className:g.separator},f))}))}}({createElement:Be,Fragment:Ci}),w9=["classNames"];function Ky(){return Ky=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ky.apply(this,arguments)}function E9(e){var t=e.classNames,n=void 0===t?{}:t,r=function C9(e,t){if(null==e)return{};var r,o,n=function P9(e,t){if(null==e)return{};var o,i,n={},r=Object.keys(e);for(i=0;i<r.length;i++)!(t.indexOf(o=r[i])>=0)&&(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)!(t.indexOf(r=i[o])>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,w9);return Be(sf,Ky({classNames:{root:at("ais-Highlight",n.root),highlighted:at("ais-Highlight-highlighted",n.highlighted),nonHighlighted:at("ais-Highlight-nonHighlighted",n.nonHighlighted),separator:at("ais-Highlight-separator",n.separator)}},r))}function af(e){return Array.isArray(e)?e:[e]}var D9=["hit","attribute","cssClasses"];function Zy(){return Zy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zy.apply(this,arguments)}
1function O9(e){var t=e.hit,n=e.attribute,r=e.cssClasses;return Be(E9,Zy({},function S9(e,t){if(null==e)return{};var r,o,n=function M9(e,t){if(null==e)return{};var o,i,n={},r=Object.keys(e);for(i=0;i<r.length;i++)!(t.indexOf(o=r[i])>=0)&&(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)!(t.indexOf(r=i[o])>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,D9),{parts:af(yo(t._highlightResult,n)||[]).map(function(c){return Qs(jc(c.value||""))}),classNames:r}))}var I9=["classNames"];function Yy(){return Yy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yy.apply(this,arguments)}function x9(e){var t=e.classNames,n=void 0===t?{}:t,r=function T9(e,t){if(null==e)return{};var r,o,n=function R9(e,t){if(null==e)return{};var o,i,n={},r=Object.keys(e);for(i=0;i<r.length;i++)!(t.indexOf(o=r[i])>=0)&&(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)!(t.indexOf(r=i[o])>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,I9);return Be(sf,Yy({classNames:{root:at("ais-ReverseHighlight",n.root),highlighted:at("ais-ReverseHighlight-highlighted",n.highlighted),nonHighlighted:at("ais-ReverseHighlight-nonHighlighted",n.nonHighlighted),separator:at("ais-ReverseHighlight-separator",n.separator)}},r))}function Kc(e){return(Kc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}var A9=["hit","attribute","cssClasses"],N9=["isHighlighted"];function Jy(){return Jy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jy.apply(this,arguments)}function v0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function _0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v0(Object(n),!0).forEach(function(r){k9(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function k9(e,t,n){return t=function F9(e){var t=function j9(e,t){if("object"!=Kc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Kc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Kc(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b0(e,t){if(null==e)return{};var r,o,n=function L9(e,t){if(null==e)return{};var o,i,n={},r=Object.keys(e);for(i=0;i<r.length;i++)!(t.indexOf(o=r[i])>=0)&&(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)!(t.indexOf(r=i[o])>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function q9(e){var t=e.hit,n=e.attribute,r=e.cssClasses;return Be(x9,Jy({},b0(e,A9),{parts:af(yo(t._highlightResult,n)||[]).map(function(c){return Qs(jc(c.value||"")).map(function(l){var d=l.isHighlighted;return _0(_0({},b0(l,N9)),{},{isHighlighted:!d})})}),classNames:r}))}var H9=["classNames"];function Xy(){return Xy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xy.apply(this,arguments)}function $9(e){var t=e.classNames,n=void 0===t?{}:t,r=function B9(e,t){if(null==e)return{};var r,o,n=function U9(e,t){if(null==e)return{};var o,i,n={},r=Object.keys(e);for(i=0;i<r.length;i++)!(t.indexOf(o=r[i])>=0)&&(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)!(t.indexOf(r=i[o])>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,H9);return Be(sf,Xy({classNames:{root:at("ais-Snippet",n.root),highlighted:at
1("ais-Snippet-highlighted",n.highlighted),nonHighlighted:at("ais-Snippet-nonHighlighted",n.nonHighlighted),separator:at("ais-Snippet-separator",n.separator)}},r))}var V9=["hit","attribute","cssClasses"];function ev(){return ev=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ev.apply(this,arguments)}function G9(e){var t=e.hit,n=e.attribute,r=e.cssClasses;return Be($9,ev({},function W9(e,t){if(null==e)return{};var r,o,n=function z9(e,t){if(null==e)return{};var o,i,n={},r=Object.keys(e);for(i=0;i<r.length;i++)!(t.indexOf(o=r[i])>=0)&&(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)!(t.indexOf(r=i[o])>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,V9),{parts:af(yo(t._snippetResult,n)||[]).map(function(c){return Qs(jc(c.value||""))}),classNames:r}))}var Q9=["classNames"];function tv(){return tv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tv.apply(this,arguments)}function Y9(e){var t=e.classNames,n=void 0===t?{}:t,r=function K9(e,t){if(null==e)return{};var r,o,n=function Z9(e,t){if(null==e)return{};var o,i,n={},r=Object.keys(e);for(i=0;i<r.length;i++)!(t.indexOf(o=r[i])>=0)&&(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)!(t.indexOf(r=i[o])>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,Q9);return Be(sf,tv({classNames:{root:at("ais-ReverseSnippet",n.root),highlighted:at("ais-ReverseSnippet-highlighted",n.highlighted),nonHighlighted:at("ais-ReverseSnippet-nonHighlighted",n.nonHighlighted),separator:at("ais-ReverseSnippet-separator",n.separator)}},r))}function Zc(e){return(Zc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}var J9=["hit","attribute","cssClasses"],X9=["isHighlighted"];function nv(){return nv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nv.apply(this,arguments)}function w0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function C0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w0(Object(n),!0).forEach(function(r){e7(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function e7(e,t,n){return t=function t7(e){var t=function n7(e,t){if("object"!=Zc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Zc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Zc(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P0(e,t){if(null==e)return{};var r,o,n=function r7(e,t){if(null==e)return{};var o,i,n={},r=Object.keys(e);for(i=0;i<r.length;i++)!(t.indexOf(o=r[i])>=0)&&(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)!(t.indexOf(r=i[o])>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function o7(e){var t=e.hit,n=e.attribute,r=e.cssClasses;return Be(Y9,nv({},P0(e,J9),{parts:af(yo(t._snippetResult,n)||[]).map(function(c){return Qs(jc(c.value||"")).map(function(l){var d=l.isHighlighted;return C0(C0({},P0(l,X9)),{},{isHighlighted:!d})})}),classNames:r}))}function Ys(e){return(Ys="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function E0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function cf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?E0(Object(n),!0).forEach(function(r){D0(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function D0(e,t,n){return t=function i7(e){var t=function s7(e,t){if("object"!=Ys(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ys(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ys(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rv(){return rv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rv.apply(this,arguments)}function Ei(e){return(Ei="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function ov(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function S0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,R0(r.key),r)}}function O0(e,t,n){return t&&M0(e.prototype,t),n&&M0(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function I0(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&iv(e,t)}function iv(e,t){return(iv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r})(e,t)}function T0(e){var t=function g7(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,r=uf(e);if(t){var i=uf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return function p7(e,t){if(t&&("object"===Ei(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return sv(e)}(this,o)}}function sv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uf(e){return(uf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)})(e)}function av(e,t,n){return(t=R0(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R0(e){var t=function m7(e,t){if("object"!=Ei(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Ei(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ei(t)?t:String(t)}var y7=function(e){I0(n,e);var t=T0(n);function n(){var r;S0(this,n);for(var o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];return av(sv(r=t.call.apply(t,[this].concat(i))),"ref",{current:null}),av(sv(r),"nodes",[]),r}return O0(n,[{key:"componentDidMount",value:function(){var o=new DocumentFragment,i=document.createElement("div");i.innerHTML=this.props.content,this.nodes=function u7(e){return function h7(e){if(Array.isArray(e))return ov(e)}(e)||function f7(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function d7(e,t){if(e){if("string"==typeof e)return ov(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ov(e,t)}}(e)||function l7(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}
1(i.childNodes),this.nodes.forEach(function(s){return o.appendChild(s)}),this.ref.current.replaceWith(o)}},{key:"componentWillUnmount",value:function(){this.nodes.forEach(function(o){o instanceof Element?o.outerHTML="":o.nodeValue=""}),this.nodes[0].nodeValue&&(this.nodes[0].nodeValue="")}},{key:"render",value:function(){return Be("div",{ref:this.ref})}}]),n}(Pi),x0=function(e){I0(n,e);var t=T0(n);function n(){return S0(this,n),t.apply(this,arguments)}return O0(n,[{key:"shouldComponentUpdate",value:function(o){return!Zd(this.props.data,o.data)||this.props.templateKey!==o.templateKey||!Zd(this.props.rootProps,o.rootProps)}},{key:"render",value:function(){var s="fragment"===this.props.rootTagName?Ci:this.props.rootTagName,u=function c7(e){var n=e.templateKey,r=e.compileOptions,o=e.helpers,i=e.data,s=e.bindEvent,a=e.sendEvent,c=e.templates[n];if("string"!=typeof c&&"function"!=typeof c)throw new Error("Template must be 'string' or 'function', was '".concat(Ys(c),"' (key: ").concat(n,")"));if("function"==typeof c){var u=s||{};return u.html=g9,u.sendEvent=a,u.components={Highlight:O9,ReverseHighlight:q9,Snippet:G9,ReverseSnippet:o7},c(i,u)}var l=function a7(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return Object.keys(e).reduce(function(r,o){return cf(cf({},r),{},D0({},o,function(){var i=this;return function(s){return e[o].call(n,s,function(u){return g0.compile(u,t).render(i)})}}))},{})}(o,r,i);return g0.compile(c,r).render(cf(cf({},i),{},{helpers:l})).replace(/[ \n\r\t\f\xA0]+/g,function(d){return d.replace(/(^|\xA0+)[^\xA0]+/g,"$1 ")}).trim()}({templates:this.props.templates,templateKey:this.props.templateKey,compileOptions:this.props.useCustomCompileOptions[this.props.templateKey]?this.props.templatesConfig.compileOptions:{},helpers:this.props.templatesConfig.helpers,data:this.props.data,bindEvent:this.props.bindEvent,sendEvent:this.props.sendEvent});return null===u?null:"object"===Ei(u)?Be(s,this.props.rootProps,u):s===Ci?Be(y7,{content:u,key:Math.random()}):Be(s,rv({},this.props.rootProps,{dangerouslySetInnerHTML:{__html:u}}))}}]),n}(Pi);av(x0,"defaultProps",{data:{},rootTagName:"div",useCustomCompileOptions:{},templates:{},templatesConfig:{}});const cv=x0;function Js(e){return(Js="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function A0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,N0(r.key),r)}}function uv(e,t){return(uv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r})(e,t)}function vo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lf(e){return(lf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)})(e)}function _o(e,t,n){return(t=N0(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N0(e){var t=function D7(e,t){if("object"!=Js(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Js(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Js(t)?t:String(t)}var S7={query:"",showSubmit:!0,showReset:!0,showLoadingIndicator:!0,autofocus:!1,searchAsYouType:!0,ignoreCompositionEvents:!1,isSearchStalled:!1,disabled:!1,ariaLabel:"Search",onChange:Lt,onSubmit:Lt,onReset:Lt,refine:Lt},k0=function(e){!function w7(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&uv(e,t)}(n,e);var t=function C7(e){var t=function E7(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var o,r=lf(e);if(t){var i=lf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return function P7(e,t){if(t&&("object"===Js(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return vo(e)}(this,o)}}(n);function n(){var r;!function _7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);for(var o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];return _o(vo(r=t.call.apply(t,[this].concat(i))),"state",{query:r.props.query,focused:!1}),_o(vo(r),"input",{current:null}
1),_o(vo(r),"onInput",function(a){var c=r.props,d=c.onChange,f=a.target.value;r.props.ignoreCompositionEvents&&a.isComposing||(c.searchAsYouType&&(0,c.refine)(f),r.setState({query:f}),d(a))}),_o(vo(r),"onSubmit",function(a){var c=r.props,u=c.searchAsYouType,l=c.refine,d=c.onSubmit;return a.preventDefault(),a.stopPropagation(),r.input.current&&r.input.current.blur(),u||l(r.state.query),d(a),!1}),_o(vo(r),"onReset",function(a){var c=r.props,u=c.refine,l=c.onReset;r.input.current&&r.input.current.focus(),u(""),r.setState({query:""}),l(a)}),_o(vo(r),"onBlur",function(){r.setState({focused:!1})}),_o(vo(r),"onFocus",function(){r.setState({focused:!0})}),r}return function b7(e,t,n){t&&A0(e.prototype,t),n&&A0(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{key:"resetInput",value:function(){this.setState({query:""})}},{key:"componentWillReceiveProps",value:function(o){!this.state.focused&&o.query!==this.state.query&&this.setState({query:o.query})}},{key:"render",value:function(){var o=this.props,i=o.cssClasses,c=o.showSubmit,u=o.showReset,l=o.showLoadingIndicator,d=o.templates,f=o.isSearchStalled;return Be("div",{className:i.root},Be("form",{action:"",role:"search",className:i.form,noValidate:!0,onSubmit:this.onSubmit,onReset:this.onReset},Be("input",{ref:this.input,value:this.state.query,disabled:this.props.disabled,className:i.input,type:"search",placeholder:o.placeholder,autoFocus:o.autofocus,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:"false",maxLength:512,onInput:this.onInput,oncompositionend:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,"aria-label":o.ariaLabel}),Be(cv,{templateKey:"submit",rootTagName:"button",rootProps:{className:i.submit,type:"submit",title:"Submit the search query",hidden:!c},templates:d,data:{cssClasses:i}}),Be(cv,{templateKey:"reset",rootTagName:"button",rootProps:{className:i.reset,type:"reset",title:"Clear the search query",hidden:!(u&&this.state.query.trim()&&!f)},templates:d,data:{cssClasses:i}}),l&&Be(cv,{templateKey:"loadingIndicator",rootTagName:"span",rootProps:{className:i.loadingIndicator,hidden:!f},templates:d,data:{cssClasses:i}})))}}]),n}(Pi);_o(k0,"defaultProps",S7);const M7=k0;function F0(e,t){if(void 0===e||"function"!=typeof e)throw new Error("The render function is not valid (received type ".concat(function O7(e){return Object.prototype.toString.call(e).slice(8,-1)}(e),").\n\n").concat(t))}function Yc(e){return(Yc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function j0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function bo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j0(Object(n),!0).forEach(function(r){I7(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function I7(e,t,n){return t=function T7(e){var t=function R7(e,t){if("object"!=Yc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Yc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Yc(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x7=Ws({name:"search-box",connector:!0}),A7=function(t,n){return n(t)};var L7=Be("path",{d:"M8.114 10L.944 2.83 0 1.885 1.886 0l.943.943L10 8.113l7.17-7.17.944-.943L20 1.886l-.943.943-7.17 7.17 7.17 7.17.943.944L18.114 20l-.943-.943-7.17-7.17-7.17 7.17-.944.943L0 18.114l.943-.943L8.113 10z"}),q7=Be("path",{d:"M26.804 29.01c-2.832 2.34-6.465 3.746-10.426 3.746C7.333 32.756 0 25.424 0 16.378 0 7.333 7.333 0 16.378 0c9.046 0 16.378 7.333 16.378 16.378 0 3.96-1.406 7.594-3.746 10.426l10.534 10.534c.607.607.61 1.59-.004 2.202-.61.61-1.597.61-2.202.004L26.804 29.01zm-10.426.627c7.323 0 13.26-5.936 13.26-13.26 0-7.32-5.937-13.257-13.26-13.257C9.056 3.12 3.12 9.056 3.12 16.378c0 7.323 5.936 13.26 13.258 13.26z"}),H7=Be("g",{fill:"none","fill-rule":"evenodd"},Be("g",{transform:"translate(1 1)","stroke-width":"2"},Be("circle",{"stroke-opacity":".5",cx:"18",cy:"18",r:"18"}),Be("path",{d:"M36 18c0-9.94-8.06-18-18-18"},Be("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indef
1inite"}))));const U7={reset:function(t){return Be("svg",{className:t.cssClasses.resetIcon,viewBox:"0 0 20 20",width:"10",height:"10","aria-hidden":"true"},L7)},submit:function(t){return Be("svg",{className:t.cssClasses.submitIcon,width:"10",height:"10",viewBox:"0 0 40 40","aria-hidden":"true"},q7)},loadingIndicator:function(t){return Be("svg",{"aria-label":"Results are loading",className:t.cssClasses.loadingIcon,width:"16",height:"16",viewBox:"0 0 38 38",stroke:"#444","aria-hidden":"true"},H7)}};function Jc(e){return(Jc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function L0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function df(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L0(Object(n),!0).forEach(function(r){$7(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $7(e,t,n){return t=function V7(e){var t=function W7(e,t){if("object"!=Jc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Jc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Jc(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var z7=Ws({name:"search-box"}),Ur=Fc("SearchBox");const K7=function(t){var n=t||{},r=n.container,o=n.placeholder,i=void 0===o?"":o,s=n.cssClasses,a=void 0===s?{}:s,c=n.autofocus,u=void 0!==c&&c,l=n.searchAsYouType,d=void 0===l||l,f=n.ignoreCompositionEvents,h=void 0!==f&&f,p=n.showReset,g=void 0===p||p,y=n.showSubmit,b=void 0===y||y,w=n.showLoadingIndicator,j=void 0===w||w,x=n.queryHook,q=n.templates,ae=void 0===q?{}:q;if(!r)throw new Error(z7("The `container` option is required."));var le=function j7(e){var t="string"==typeof e,n=t?document.querySelector(e):e;if(!function F7(e){return e instanceof HTMLElement||!!e&&e.nodeType>0}(n)){var r="Container must be `string` or `HTMLElement`.";throw t&&(r+=" Unable to find ".concat(e)),new Error(r)}return n}(r),be={root:at(Ur(),a.root),form:at(Ur({descendantName:"form"}),a.form),input:at(Ur({descendantName:"input"}),a.input),submit:at(Ur({descendantName:"submit"}),a.submit),submitIcon:at(Ur({descendantName:"submitIcon"}),a.submitIcon),reset:at(Ur({descendantName:"reset"}),a.reset),resetIcon:at(Ur({descendantName:"resetIcon"}),a.resetIcon),loadingIndicator:at(Ur({descendantName:"loadingIndicator"}),a.loadingIndicator),loadingIcon:at(Ur({descendantName:"loadingIcon"}),a.loadingIcon)},De=df(df({},U7),ae),Ue=function(t){var n=t.containerNode,r=t.cssClasses,o=t.placeholder,i=t.templates,s=t.autofocus,a=t.searchAsYouType,c=t.ignoreCompositionEvents,u=t.showReset,l=t.showSubmit,d=t.showLoadingIndicator;return function(f){Gy(Be(M7,{query:f.query,placeholder:o,autofocus:s,refine:f.refine,searchAsYouType:a,ignoreCompositionEvents:c,templates:i,showSubmit:l,showReset:u,showLoadingIndicator:d,isSearchStalled:f.isSearchStalled,cssClasses:r}),n)}}({containerNode:le,cssClasses:be,placeholder:i,templates:De,autofocus:u,searchAsYouType:d,ignoreCompositionEvents:h,showReset:g,showSubmit:b,showLoadingIndicator:j});return df(df({},function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Lt;return F0(t,x7()),function(r){var a,c,i=(r||{}).queryHook,s=void 0===i?A7:i;return{$$type:"ais.searchBox",init:function(l){var d=l.instantSearchInstance;t(bo(bo({},this.getWidgetRenderState(l)),{},{instantSearchInstance:d}),!0)},render:function(l){var d=l.instantSearchInstance;t(bo(bo({},this.getWidgetRenderState(l)),{},{instantSearchInstance:d}),!1)},dispose:function(l){var d=l.state;return n(),d.setQueryParameter("query",void 0)},getRenderState:function(l,d){return bo(bo({},l),{},{searchBox:this.getWidgetRenderState(d)})},getWidgetRenderState:function(l){var d=l.helper;return a||(a=function(g){s(g,function(y){return d.setQuery(y).search()})},c=function(){d.setQuery("").search()}),{query:l.state.query||"",refine:a,clear:c,widgetParams:r,isSearchStalled:"stalled"===l.instantSearchInstance.status}},getWidgetUiState:function(l,d){var h=d.searchParameters.query||"";return""===h||l&&l.query===h?l:bo(bo({},l),{},{query:h})},getWidgetSearchParameters:function(l,d){return l.setQueryParameter("query",d.uiState.query||"")}}}}(Ue,function(){return Gy(null,le)})({queryHook:x})),{},{$$widgetType:"ais.searchBox"})};let Di=!1;
1const q0={responsesCache:on({caches:[qe(),TI()]}),hostsCache:qe()},H0=Dy(KT,ZT,{requestsCache:Un({key:"algolia-prod-cache-key"}),...q0}),B0=Dy(YT,JT,{requestsCache:Un({key:"algolia-uat-cache-key"}),...q0}),Z7={...H0,search:e=>e.every(({params:n})=>!n.query)&&!Di?Promise.resolve({results:e.map(()=>({hits:[],nbHits:0,nbPages:0,page:0,processingTimeMS:0,hitsPerPage:0,exhaustiveNbHits:!1,query:"",params:""}))}):H0.search(e)},Y7={...B0,search:e=>e.every(({params:n})=>!n.query)&&!Di?Promise.resolve({results:e.map(()=>({hits:[],nbHits:0,nbPages:0,page:0,processingTimeMS:0,hitsPerPage:0,exhaustiveNbHits:!1,query:"",params:""}))}):B0.search(e)};let lv=(()=>{class e{constructor(){this.searchActive=!1,this.instantSearchInstance=new i9({searchClient:this.checkWindowLocationForPROD()?Z7:Y7,future:{preserveSharedStateOnUnmount:!0},insights:!0,indexName:He.ARTICLES})}checkWindowLocationForPROD(){return"https://www.cspire.com"===window.location.origin}initSearchAnalytics(){this.getWindowAlgoliaAnalyticsTrackAvailability()&&(this.checkWindowLocationForPROD()?this.windowAA("init",{appId:KT,apiKey:ZT,useCookie:!0}):this.windowAA("init",{appId:YT,apiKey:JT,useCookie:!0}))}initSearchBar(n,r,o){if(this.initSearchAnalytics(),!document.getElementById(n))return void console.warn(`Search container with ID ${n} not found. Retrying... Check that you have added this ID if the search bar is missing.`);let s;this.setAlgoliaUserToken(),this.addWidgets([K7({container:`#${n}`,placeholder:"Search C Spire",searchAsYouType:!0,showReset:!0,queryHook(u,l){clearTimeout(s),s=setTimeout(()=>l(u),200)}})]),this.isStarted()||this.start();const c=document.querySelector(".ais-SearchBox-input");if(c){c.addEventListener("focus",()=>{!Di&&(!r||r&&""!==c.value)&&(Di=!0,this.instantSearchInstance.helper&&this.instantSearchInstance.helper.search())},{once:!0}),c.addEventListener("keydown",d=>{"Enter"===d.key&&this.searchSubmitToHelpSite(o,c.value)});const u=new URLSearchParams(document.location.search);if(u.has(He.ARTICLES+"[query]")){const d=this.instantSearchInstance.renderState[He.ARTICLES]?.searchBox;d&&d.refine(u.get(He.ARTICLES+"[query]"))}const l=document.querySelector(".ais-SearchBox-submit");l&&l.addEventListener("click",()=>{this.searchSubmitToHelpSite(o,c.value)})}}searchSubmitToHelpSite(n,r){if(r){let o=n;n===wt.ENTERPRISE&&(o=wt.BUSINESS),n===wt.COMPANY&&(o=wt.WIRELESS),window.location.href="/help/"+o+"/?"+He.ARTICLES+"%5Bquery%5D="+r}}hasSearchedItems(){return!!this.instantSearchInstance.renderState[He.ARTICLES]?.searchBox?.query}getSearchQuery(){const n=this.instantSearchInstance?.renderState[He.ARTICLES]?.searchBox?.query;return n||""}setSearchActive(n){Di=n,Di&&this.instantSearchInstance.helper?.search()}getUserInteracted(){return Di}start(){this.instantSearchInstance.start()}dispose(){this.instantSearchInstance.dispose()}addWidgets(n){this.instantSearchInstance.addWidgets(n)}removeWidgets(n){this.instantSearchInstance.removeWidgets(n)}buildCustomHitList(n,r){const o=[];return n.forEach(i=>{o.push({...i,index:r})}),o}getWindowAAObject(){this.windowAA=window.aa}getWindowAlgoliaAnalyticsTrackAvailability(){return this.getWindowAAObject(),typeof this.windowAA<"u"&&"function"==typeof this.windowAA}extractGoogleAnalyticsUserIdFromCookie(n){if(n){const r=n.split(".");if(r){const o=r.slice(-2);if(2===o?.length)return o.join("-")}}}getBrowserCookie(n){if("object"!=typeof document||"string"!=typeof document.cookie)return;const r=n+"=",i=decodeURIComponent(document.cookie).split(";");for(let s=0;s<i.length;s++){let a=i[s];for(;" "===a.charAt(0);)a=a.substring(1);if(0===a.indexOf(r))return a.substring(r.length,a.length)}}getGoogleAnalyticsUserIdFromBrowserCookie(n){const r=this.getBrowserCookie(n);if(r)return this.extractGoogleAnalyticsUserIdFromCookie(r)}setAlgoliaUserToken(){this.getWindowAlgoliaAnalyticsTrackAvailability()&&this.windowAA("setUserToken",this.getGoogleAnalyticsUserIdFromBrowserCookie("_ga"))}getAlgoliaUserToken(){return new Promise((n,r)=>{this.getWindowAlgoliaAnalyticsTrackAvailability()||r(),this.windowAA("getUserToken",{},(o,i)=>{o&&r(o),n(i)})})}isStarted(){return this.instantSearchInstance.started}sendObjectClickedEvent(n){if(this.getWindowAlgoliaAnalyticsTrackAvailability()){const r=this.hasSearchedItems();this.getAlgoliaUserToken().then(o=>
1{r?this.windowAA(Ly.CLICKED_OBJECT_IDS_AFTER_SEARCH,{userToken:o,eventName:r?"Item Clicked After Search":"Item Clicked",index:n.index,queryID:n.__queryID,objectIDs:[n.objectID],positions:[n.__position]}):this.windowAA(Ly.CLICKED_OBJECT_IDS,{userToken:o,eventName:"Item Clicked",index:n.index,objectIDs:[n.objectID]})}).catch(()=>{})}}isSessionStorageEnabled(){try{const n="__storage__test";return window.sessionStorage.setItem(n,""),window.sessionStorage.removeItem(n),!0}catch{return!1}}getBanners(){const n=this.instantSearchInstance?.renderState[He.ARTICLES];if(n){const r=n.hits;if(r&&r.banner)return r.banner}return null}satelliteTrack(n){try{const o=window._satellite;typeof o<"u"&&o.track&&"function"==typeof o.track&&o.track(n)}catch{}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=me({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),J7=(()=>{class e{constructor(){this.csSitewideSearchService=se(lv),this.initialized=!1,this.providedLob=gr(),this.showMobileMenu=gr(!1),this.isMMA=gr(!1),this.isHelpSite=gr(!1),this.searchContainerId=gr("cs-navbar-algolia-sitewide-search-bar"),L_(()=>{this.showMobileMenu();const r=this.providedLob();!this.initialized||!r||zi(()=>{this.csSitewideSearchService.dispose();const o=this.isMMA()||this.isHelpSite();this.csSitewideSearchService.initSearchBar(this.searchContainerId(),o,r)})})}ngAfterViewInit(){setTimeout(()=>{this.initialized=!0;const n=this.providedLob();if(!n)return;const r=this.isMMA()||this.isHelpSite();this.csSitewideSearchService.initSearchBar(this.searchContainerId(),r,n)},0)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=_g({type:e,selectors:[["lib-cs-sitewide-search-bar"]],inputs:{providedLob:[1,"providedLob"],showMobileMenu:[1,"showMobileMenu"],isMMA:[1,"isMMA"],isHelpSite:[1,"isHelpSite"],searchContainerId:[1,"searchContainerId"]},decls:2,vars:1,consts:[[1,"cs-sitewide-search-web"],[1,"ais-InstantSearch",3,"id"]],template:function(r,o){1&r&&(Ce(0,"div",0),Zt(1,"div",1),Ie()),2&r&&(Ne(),tn("id",o.searchContainerId()))},styles:[".cs-sitewide-search-web{max-width:800px;margin:0 auto}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.ais-SearchBox-form{position:relative}.ais-SearchBox-input{height:48px!important;padding:12px 48px 12px 24px!important;margin:0!important;color:#131e29!important;font-size:14px!important;font-weight:300!important;border:1px solid #f0f2f7!important;letter-spacing:.025rem!important;width:100%!important;font-family:Montserrat,sans-serif!important;border-radius:80px!important;background-color:#f7f9fb!important;outline:none!important;line-height:normal!important;box-shadow:none!important}@media(max-width:1125px){.ais-SearchBox-input{font-size:16px!important}}.ais-SearchBox-input::placeholder,.ais-SearchBox-input:-moz-placeholder,.ais-SearchBox-input::-moz-placeholder{font-weight:300;color:#6c7279;opacity:1}.search-split-layout-left mark,.search-split-layout-right mark{background-color:#d9f7ff;border-radius:2px;padding:2px}.ais-SearchBox-submit,.ais-SearchBox-reset{position:absolute;top:10px;height:28px;background:none;border:none;appearance:none;outline:none;width:30px;justify-content:center;align-items:center}.ais-SearchBox-submit:hover,.ais-SearchBox-reset:hover{cursor:pointer}.ais-SearchBox-submit:not([hidden]),.ais-SearchBox-reset:not([hidden]){display:flex}.ais-SearchBox-submit{right:12px;display:flex;justify-content:center;align-items:center}.ais-SearchBox-submit .ais-SearchBox-submitIcon{width:15px;height:15px}.ais-SearchBox-reset{right:42px;border-right:1px solid #C8CBD2}\n"],encapsulation:2})}}return e})();function Xc(e){return(Xc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function U0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function qt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?U0(Object(n),!0).forEach(function(r){$0(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $0(e,t,n){return t=function X7(e){var t=function eQ(e,t){if("object"!=Xc(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Xc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Xc(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tQ=Ws({name:"configure",connector:!0});function V0(e,t){return e.setQueryParameters(Object.keys(t.searchParameters).reduce(function(n,r){return qt(qt({},n),{},$0({},r,void 0))},{}))}function eu(e){return(eu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function W0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function z0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W0(Object(n),!0).forEach(function(r){oQ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function oQ(e,t,n){return t=function iQ(e){var t=function sQ(e,t){if("object"!=eu(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=eu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eu(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Si=function(t){return z0(z0({},function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Lt,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Lt;return function(r){if(!r||!xT(r.searchParameters))throw new Error(tQ("The `searchParameters` option expects an object."));var o={};return{$$type:"ais.configure",init:function(a){var c=a.instantSearchInstance;t(qt(qt({},this.getWidgetRenderState(a)),{},{instantSearchInstance:c}),!0)},render:function(a){var c=a.instantSearchInstance;t(qt(qt({},this.getWidgetRenderState(a)),{},{instantSearchInstance:c}),!1)},dispose:function(a){var c=a.state;return n(),V0(c,r)},getRenderState:function(a,c){var u,l=this.getWidgetRenderState(c);return qt(qt({},a),{},{configure:qt(qt({},l),{},{widgetParams:qt(qt({},l.widgetParams),{},{searchParameters:Jd(new sn.SearchParameters(null===(u=a.configure)||void 0===u?void 0:u.widgetParams.searchParameters),new sn.SearchParameters(l.widgetParams.searchParameters)).getQueryParams()})})})},getWidgetRenderState:function(a){return o.refine||(o.refine=function i(s){return function(a){var c=V0(s.state,r),u=Jd(c,new sn.SearchParameters(a));r.searchParameters=a,s.setState(u).search()}}(a.helper)),{refine:o.refine,widgetParams:r}},getWidgetSearchParameters:function(a,c){return Jd(a,new sn.SearchParameters(qt(qt({},c.uiState.configure),r.searchParameters)))},getWidgetUiState:function(a){return qt(qt({},a),{},{configure:qt(qt({},a.configure),r.searchParameters)})}}}}(Lt)({searchParameters:t})),{},{$$widgetType:"ais.configure"})};function G0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function dv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G0(Object(n),!0).forEach(function(r){cQ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G0(Object(n)).forEac
1h(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function cQ(e,t,n){return t=function uQ(e){var t=function lQ(e,t){if("object"!=Xs(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Xs(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Xs(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Q0(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xs(e){return(Xs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function K0(e){var t=e.getIndex,n=e.widgetType,o=e.args,i=e.instantSearchInstance;if(1===o.length&&"object"===Xs(o[0]))return[o[0]];var a=function dQ(e,t){return function gQ(e){if(Array.isArray(e))return e}(e)||function pQ(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,s,a=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(l){u=!0,o=l}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}(e,t)||function hQ(e,t){if(e){if("string"==typeof e)return Q0(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Q0(e,t)}}(e,t)||function fQ(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o[0].split(":"),2),c=a[0],u=a[1],l=o[1],d=o[2],f=o[3]||{};if(!l)return[];if(("click"===c||"conversion"===c)&&!d)return[];var h=Array.isArray(l)?l:[l];if(0===h.length)return[];var p=h[0].__queryID,g=function mQ(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,n=[],r=0;r<Math.ceil(e.length/t);r++)n.push(e.slice(r*t,(r+1)*t));return n}(h),y=g.map(function(w){return w.map(function(j){return j.objectID})}),b=g.map(function(w){return w.map(function(j){return j.__position})});return"view"===c?"idle"!==i.status?[]:g.map(function(w,j){return{insightsMethod:"viewedObjectIDs",widgetType:n,eventType:c,payload:dv({eventName:d||"Hits Viewed",index:t(),objectIDs:y[j]},f),hits:w,eventModifier:u}}):"click"===c?g.map(function(w,j){return{insightsMethod:"clickedObjectIDsAfterSearch",widgetType:n,eventType:c,payload:dv({eventName:d||"Hit Clicked",index:t(),queryID:p,objectIDs:y[j],positions:b[j]},f),hits:w,eventModifier:u}}):"conversion"===c?g.map(function(w,j){return{insightsMethod:"convertedObjectIDsAfterSearch",widgetType:n,eventType:c,payload:dv({eventName:d||"Hit Converted",index:t(),queryID:p,objectIDs:y[j]},f),hits:w,eventModifier:u}}):[]}function tu(e){return(tu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function Z0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Y0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z0(Object(n),!0).forEach(function(r){_Q(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function _Q(e,t,n){return t=function bQ(e){var t=function wQ(e,t){if("object"!=tu(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=tu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==tu(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nu(e){return(nu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function J0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function X0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?J0(Object(n),!0).forEach(function(r){PQ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function PQ(e,t,n){return t=function EQ(e){var t=function DQ(e,t){if("object"!=nu(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=nu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==nu(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ru(e){return(ru="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function eR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function wo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eR(Object(n),!0).forEach(function(r){tR(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eR(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function tR(e,t,n){return t=function MQ(e){var t=function OQ(e,t){if("object"!=ru(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=ru(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ru(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var IQ=Ws({name:"hits",connector:!0});const Mi=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Lt;return F0(t,IQ()),function(r){var u,l,o=r||{},i=o.escapeHTML,s=void 0===i||i,a=o.transformItems,c=void 0===a?function(d){return d}:a;return{$$type:"ais.hits",init:function(f){t(wo(wo({},this.getWidgetRenderState(f)),{},{instantSearchInstance:f.instantSearchInstance}),!0)},render:function(f){var h=this.getWidgetRenderState(f);t(wo(wo({},h),{},{instantSearchInstance:f.instantSearchInstance}),!1),h.sendEvent("view:internal",h.items)},getRenderState:function(f,h){return wo(wo({},f),{},{hits:this.getWidgetRenderState(h)})},getWidgetRenderState:function(f){var h,p,g,y=f.results,b=f.helper,w=f.instantSearchInstance;if(u||(u=function yQ(e){var t=e.instantSearchInstance,n=e.getIndex,r=e.widgetType,o={},i=void 0;return function(){for(var c=arguments.length,u=new Array(c),l=0;l<c;l++)u[l]=arguments[l];K0({widgetType:r,getIndex:n,methodName:"sendEvent",args:u,instantSearchInstance:t}).forEach(function(f){"click"===f.eventType&&"internal"===f.eventModifier&&o[f.eventType]||(o[f.eventType]=!0,t.sendEventToInsights(f))}),clearTimeout(i),i=setTimeout(function(){o={}},0)}}({instantSearchInstance:w,getIndex:function(){return b.getIndex()},widgetType:this.$$type})),l||(l=function vQ(e){var t=e.getIndex,n=e.widgetType,r=e.instantSearchInstance;return function(){for(var s=arguments.length,a=new Array(s),c=0;c<s;c++)a[c]=arguments[c];var u=K0({widgetType:n,getIndex:t,methodName:"bindEvent",args:a,instantSearchInstance:r});return u.length?"data-insights-event=".concat(qT(u)):""}}({getIndex:function(){return b.getIndex()},widgetType:this.$$type,instantSearchInstance:w})),!y)return{hits:[],items:[],results:void 0,banner:void 0,sendEvent:u,bindEvent:l,widgetParams:r};s&&y.hits.length>0&&(y.hits=function fG(e){return void 0===e.__escaped&&((e=e.map(function(t){var n=xy({},(function uG(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),t));return n._highlightResult&&(n._highlightResult=ef(n._highlightResult)),n._snippetResult&&(n._snippetResult=ef(n._snippetResult)),n})).__escaped=!0),e}(y.hits));
1var j=function CQ(e,t,n){return e.map(function(r,o){return Y0(Y0({},r),{},{__position:n*t+o+1})})}(y.hits,y.page,y.hitsPerPage),x=function SQ(e,t){return t?e.map(function(n){return X0(X0({},n),{},{__queryID:t})}):e}(j,y.queryID),q=c(x,{results:y});return{hits:q,items:q,results:y,banner:null===(h=y.renderingContent)||void 0===h||null===(p=h.widgets)||void 0===p||null===(g=p.banners)||void 0===g?void 0:g[0],sendEvent:u,bindEvent:l,widgetParams:r}},dispose:function(f){var h=f.state;return n(),s?h.setQueryParameters(Object.keys(Xd).reduce(function(p,g){return wo(wo({},p),{},tR({},g,void 0))},{})):h},getWidgetSearchParameters:function(f,h){return s?f.setQueryParameters(Xd):f}}}};let aR=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=me({token:e,factory:function(r){let o=null;return o=r?new(r||e):Se(VQ),o},providedIn:"root"})}return e})(),VQ=(()=>{class e extends aR{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(null==r)return null;switch(n){case Sn.NONE:return r;case Sn.HTML:return dr(r,"HTML")?Dn(r):Qw(this._doc,String(r)).toString();case Sn.STYLE:return dr(r,"Style")?Dn(r):r;case Sn.SCRIPT:if(dr(r,"Script"))return Dn(r);throw new K(5200,!1);case Sn.URL:return dr(r,"URL")?Dn(r):yl(String(r));case Sn.RESOURCE_URL:if(dr(r,"ResourceURL"))return Dn(r);throw new K(5201,!1);default:throw new K(5202,!1)}}bypassSecurityTrustHtml(n){return function P1(e){return new y1(e)}(n)}bypassSecurityTrustStyle(n){return function E1(e){return new v1(e)}(n)}bypassSecurityTrustScript(n){return function D1(e){return new _1(e)}(n)}bypassSecurityTrustUrl(n){return function S1(e){return new b1(e)}(n)}bypassSecurityTrustResourceUrl(n){return function M1(e){return new w1(e)}(n)}static \u0275fac=function(r){return new(r||e)(Se(Nn))};static \u0275prov=me({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),WQ=(()=>{class e{constructor(){this.sanitizer=se(aR)}transform(n){if(n){n=(n=(n=(n=n.replace(/&/g,"&")).replace(/</g,"<")).replace(/>/g,">")).replace(/<(?!\/?(?:mark|pre))[^>]+>/g,"");const r=this.sanitizer.sanitize(Sn.HTML,n);return null===r?n:this.sanitizer.bypassSecurityTrustHtml(r)}return null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=Kt({name:"safeHtml",type:e,pure:!0})}}return e})(),zQ=(()=>{class e{transform(n){const r=String(n);if(!n)return"";try{const o=n.includes("<mark>");let i,s;return o&&(i=n.indexOf("<mark>"),s=(n=n.replace(/<mark>/g,"")).indexOf("</mark>"),n=n.replace(/<\/mark>/g,"")),(n=(n=(n=this.capitalizeWords(n)).replace(/Ipad/g,"iPad")).replace(/Iphone/g,"iPhone")).includes("Tcl")&&(n=n.toUpperCase()),n.includes("Samsung")&&n.includes("Fe")&&(n=n.replace(/Fe/g,"FE")),n=n.replace(/5g/g,"5G"),o&&(n=n.slice(0,i)+"<mark>"+n.slice(i,s)+"</mark>"+n.slice(s)),n}catch{return r}}capitalizeWords(n){return n.toLowerCase().split(" ").map(i=>0===i.length?"":i.charAt(0).toUpperCase()+i.slice(1)).join(" ")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=Kt({name:"productPipe",type:e,pure:!0})}}return e})();const GQ=["scrollableWrapper"],fv=(e,t)=>t.objectID,QQ=(e,t)=>t.colorHex;function KQ(e,t){if(1&e){const n=Xn();Ce(0,"a",18),Fs(1,"productPipe"),Fs(2,"safeHtml"),qn("click",function(){const o=Kn(n).$implicit;return Zn(Ze(2).sendObjectClickedEvent(o))}),Ie()}if(2&e){const n=t.$implicit;tn("href",Ze(2).createPopularSearchUrl(n),Nr)("innerHTML",js(2,4,js(1,2,null==n._highlightResult||null==n._highlightResult.query?null:n._highlightResult.query.value)),cs)}}function ZQ(e,t){if(1&e&&(Ce(0,"div",3)(1,"div",9)(2,"div",10),Nt(3," Popular Searches "),Ie(),Ce(4,"div",11)(5,"div",12),Rs(6,KQ,3,6,"a",13,fv),Ie()()(),Ce(8,"div",9)(9,"div",10),Nt(10," Popular Brands "),Ie(),Ce(11,"div",11)(12,"div",12)(13,"a",14),Nt(14," Apple "),Ie(),Ce(15,"a",15),Nt(16," Samsung "),Ie(),Ce(17,"a",16),Nt(18," Google "),Ie(),Ce(19,"a",17),Nt(20," TCL "),Ie()()()()()),2&e){const n=Ze();Ne(6),xs(n.productQuerySuggestions())}}function YQ(e,t){if(1&e&&Zt(0,"img",21),2&e){const n=Ze(2);tn("src",n.image.urls[0].url,Nr)("alt",n.image.title?n.image.title:"")}}function JQ(e,t){if(1&e){const n=Xn();Ce(0,"a",20),qn("click",function(){Kn(n);const o=Ze();return Zn(Ze().sendBannerClickObject(o))}),Mt(1,YQ,1,2,"img",21),Ie()}if(2&e){const n=Ze();tn("href",n.link.url,Nr),Ne(),Ot(n.image&&n.image.urls&&n.image.urls.length>0&&n.image.urls[0]&&n.image.urls[0].url?1:-1)}}function XQ(e,t){if(1&e&&Zt(0,"img",21),2&e){const n=Ze(2);tn("src",n.image.urls[0].url,Nr)("alt",n.image.title?n.image.title:"")}}function eK(e,t){if(1&e&&Mt(0,XQ,1,2,"img",21),2&e){const n=Ze();Ot(n.image&&n.image.urls&&n.image.urls.length>0&&n.image.urls[0]&&n.image.urls[0].url?0:-1)}}function tK(e,t){if(1&e&&(Ce(0,"div",5),Mt(1,JQ,2,2,"a",19),Mt(2,eK,1,1),Ie()),2&e){const n=t;Ne(),Ot(n.link&&n.link.url&&n.image?1:-1),Ne(),Ot(n.link?-1:2)}}function nK(e,t){1&e&&Nt(0," Top Results ")}function rK(e,t){1&e&&Nt(0),2&e&&uc(" ",Ze(2).isHelpSite()?"product results":"Popular Devices"," ")}function oK(e,t){if(1&e){const n=Xn();Ce(0,"div",28),qn("click",function(){return Kn(n),Zn(Ze(2).browseAllPhones())}),Ce(1,"div",29),Nt(2," Shop All Devices "),Ie(),Ce(3,"div",30),vh(),Ce(4,"svg",31),Zt(5,"path",32),Ie()()()}}function iK(e,t){if(1&e){const n=Xn();Ce(0,"div",24)(1,"div",33),qn("click",function(){return Kn(n),Zn(Ze(2).scrollPrevious())}),Zt(2,"div",34),Ie()()}}function sK(e,t){1&e&&Zt(0,"div",41),2&e&&lm("background-color",t.$implicit.colorHex)}function aK(e,t){if(1&e&&(Ce(0,"div",39),Rs(1,sK,1,2,"div",40,QQ),Ie()),2&e){const n=Ze().$implicit;Ne(),xs(n.color)}}function cK(e,t){if(1&e){const n=Xn();Ce(0,"a",35),qn("click",function(){const o=Kn(n).$implicit;return Zn(Ze(2).sendObjectClickedEvent(o))}),Ce(1,"div",36),Zt(2,"img",21),Ie(),Ce(3,"div",37),Zt(4,"div",38),Mt(5,aK,3,0,"div",39),Ie()()}
1if(2&e){const n=t.$implicit,r=Ze(2);tn("href",r.createProductUrl(n),Nr),Ne(2),tn("src",n.imageUrl,Nr)("alt",n.displayName),Ne(2),yn("long-name",r.getProductDisplayNameLength(n)>40),tn("innerHTML",r.getProductDisplayName(n),cs),Ne(),Ot(n.color?5:-1)}}function uK(e,t){if(1&e){const n=Xn();Ce(0,"div",42)(1,"div",33),qn("click",function(){return Kn(n),Zn(Ze(2).scrollNext())}),Zt(2,"div",43),Ie()()}2&e&&yn("help-site",Ze(2).isHelpSite())}function lK(e,t){if(1&e){const n=Xn();Ce(0,"div",9)(1,"div",10),Mt(2,nK,1,0),Mt(3,rK,1,1),Ie(),Ce(4,"div",11),Mt(5,oK,6,0,"div",22),Ce(6,"div",23),Mt(7,iK,3,0,"div",24),Ce(8,"div",25,0),qn("scroll",function(){return Kn(n),Zn(Ze().getMaxScrolled())}),Rs(10,cK,6,7,"a",26,fv),Ie(),Mt(12,uK,3,2,"div",27),Ie()()()}if(2&e){let n,r,o,i;const s=Ze();yn("help-site",s.isHelpSite()),Ne(),yn("help-site",s.isHelpSite()),Ne(),Ot(s.getHasSearchedItems()?2:-1),Ne(),Ot(s.getHasSearchedItems()?-1:3),Ne(2),Ot(s.getHasSearchedItems()||s.isHelpSite()?-1:5),Ne(2),Ot((null==(n=s.articleHitResults())?null:n.length)>0&&!s.minScrolled()?7:-1),Ne(),yn("wrap",(null==(r=s.articleHitResults())?null:r.length)<=0),Ne(2),xs(null==(o=s.productHitResults())?null:o.slice(0,s.isHelpSite()?4:6)),Ne(2),Ot((null==(i=s.articleHitResults())?null:i.length)>0&&!s.maxScrolled()?12:-1)}}function dK(e,t){if(1&e){const n=Xn();Ce(0,"div",53),Fs(1,"safeHtml"),qn("click",function(){const o=Kn(n).$implicit;return Zn(Ze(4).browseSupportArticlesByKeyword(o))}),Ie()}2&e&&tn("innerHTML",js(1,1,t.$implicit),cs)}function fK(e,t){if(1&e&&(Ce(0,"div",49),Rs(1,dK,2,3,"div",52,vD),Ie()),2&e){const n=Ze().$implicit;Ne(),xs(n.keywords)}}function hK(e,t){if(1&e&&(Zt(0,"div",54),Fs(1,"safeHtml")),2&e){const n=Ze().$implicit;yn("help-site",Ze(2).isHelpSite())("long-description",(null==n._highlightResult||null==n._highlightResult.description||null==n._highlightResult.description.value?null:n._highlightResult.description.value.length)>250),tn("innerHTML",js(1,5,null==n._highlightResult||null==n._highlightResult.description?null:n._highlightResult.description.value),cs)}}function pK(e,t){1&e&&(Ce(0,"div",51),Zt(1,"div",55),Ie())}function gK(e,t){if(1&e){const n=Xn();Ce(0,"a",45),qn("click",function(){const o=Kn(n).$implicit;return Zn(Ze(2).sendObjectClickedEvent(o))}),Ce(1,"div",46)(2,"div",47),Zt(3,"div",48),Fs(4,"safeHtml"),Mt(5,fK,3,0,"div",49),Ie(),Mt(6,hK,2,7,"div",50),Ie(),Mt(7,pK,2,0,"div",51),Ie()}if(2&e){const n=t.$implicit,r=Ze(2);yn("help-site",r.isHelpSite()),tn("href",r.createArticleUrl(n),Nr),Ne(3),yn("help-site",r.isHelpSite()),tn("innerHTML",js(4,9,null==n._highlightResult||null==n._highlightResult.title?null:n._highlightResult.title.value),cs),Ne(2),Ot((null==n.keywords?null:n.keywords.length)>0&&!r.isHelpSite()?5:-1),Ne(),Ot(null!=n._highlightResult&&null!=n._highlightResult.description&&n._highlightResult.description.value?6:-1),Ne(),Ot(r.isHelpSite()?-1:7)}}function mK(e,t){if(1&e){const n=Xn();Ce(0,"div",28),qn("click",function(){return Kn(n),Zn(Ze(2).browseSupportArticles())}),Ce(1,"div",29),Nt(2," Visit Support Page "),Ie(),Ce(3,"div",30),vh(),Ce(4,"svg",31),Zt(5,"path",32),Ie()()()}}function yK(e,t){if(1&e&&(Ce(0,"div",9)(1,"div",10),Nt(2),Ie(),Ce(3,"div",11),Rs(4,gK,8,11,"a",44,fv),Mt(6,mK,6,0,"div",22),Ie()()),2&e){let n;const r=Ze();yn("help-site",r.isHelpSite())("not-wireless",r.providedLob()!==r.LOB.WIRELESS),Ne(),yn("help-site",r.isHelpSite()),Ne(),uc(" ",r.isHelpSite()?"search results":r.providedLob()!==r.LOB.HOME_SERVICES&&r.providedLob()!==r.LOB.BUSINESS&&r.providedLob()!==r.LOB.ENTERPRISE&&r.providedLob()?"Top Support Articles":"Top Results"," "),Ne(2),xs(null==(n=r.articleHitResults())?null:n.slice(0,r.isHelpSite()?10:5)),Ne(2),Ot(r.isHelpSite()?-1:6)}}function vK(e,t){if(1&e&&(Ce(0,"div",8)(1,"div"),Nt(2," Uh oh! We couldn't find a match for \""),Ce(3,"strong"),Nt(4),Ie(),Nt(5,'." Consider checking your spelling or using a more generic term.'),Zt(6,"br"),Nt(7," If you still can't find what you're searching for, contact us for assistance. "),Ie(),Ce(8,"div",56)(9,"div",57)(10,"div",58)(11,"a",59),Nt(12," chat now "),Ie()()(),Ce(13,"div",60),Nt(14," OR CALL ANY TIME "),Ce(15,"span",61),Nt(16,"1-855-277-4735"),Ie()()()()),2&e){const n=Ze();
1Ne(4),fm(n.getSearchQuery())}}let _K=(()=>{class e{constructor(){this.csSitewideSearchService=se(lv),this.initialized=!1,this.providedLob=gr(),this.isSearchActive=gr(!0),this.isHelpSite=gr(!1),this.showMobileMenu=gr(!1),this.isMMA=gr(!1),this.scrollableWrapper=l8("scrollableWrapper"),this.LOB=wt,this.productHitResults=Ho([]),this.productQuerySuggestions=Ho(void 0),this.articleHitResults=Ho([]),this.bannerHitResult=Ho(null),this.maxScrolled=Ho(!1),this.minScrolled=Ho(!0),L_(()=>{this.showMobileMenu(),this.providedLob(),this.initialized&&zi(()=>{setTimeout(()=>{this.destroySearch(),this.initSearchResults()})})})}ngAfterViewInit(){setTimeout(()=>{this.initialized=!0,this.initSearchResults()})}initSearchResults(){((this.providedLob()===wt.WIRELESS||!this.providedLob())&&!this.isHelpSite()||this.isWirelessHelpSite())&&this.addWirelessProductsToSearch(),this.addArticlesToSearch(),this.addOthersToSearch()}addWirelessProductsToSearch(){this.csSitewideSearchService.addWidgets([bi({indexName:He.PRODUCTS_PHONES_QUERY_SUGGESTIONS}).addWidgets([Si({hitsPerPage:6,analytics:!0,clickAnalytics:!0,facetFilters:[]}),Mi(({items:n})=>{this.productQuerySuggestions.set([...this.csSitewideSearchService.buildCustomHitList(n,He.PRODUCTS_PHONES_QUERY_SUGGESTIONS)])})({})])]),this.csSitewideSearchService.addWidgets([bi({indexName:He.PRODUCTS_PHONES}).addWidgets([Si({hitsPerPage:this.isHelpSite()?4:6,analytics:!0,clickAnalytics:!0,facetFilters:[]}),Mi(({items:n})=>{this.productHitResults.set([...this.csSitewideSearchService.buildCustomHitList(n,He.PRODUCTS_PHONES)])})({})])]),this.csSitewideSearchService.addWidgets([bi({indexName:He.PRODUCTS_ACCESSORIES}).addWidgets([Si({hitsPerPage:this.isHelpSite()?4:6,analytics:!0,clickAnalytics:!0,facetFilters:[]}),Mi(({items:n})=>{this.productHitResults.update(r=>[...r,...this.csSitewideSearchService.buildCustomHitList(n,He.PRODUCTS_ACCESSORIES)])})({})])])}addArticlesToSearch(){let n=this.providedLob();this.providedLob()===wt.COMPANY&&(n=wt.WIRELESS);const r=[];this.providedLob()&&r.push(`lob:${n}`),this.csSitewideSearchService.addWidgets([Si({hitsPerPage:this.isHelpSite()?10:5,analytics:!0,clickAnalytics:!0,facetFilters:r}),Mi(({items:o})=>{this.bannerHitResult.set(this.csSitewideSearchService.getBanners());const i=o.filter(s=>{if(s.lob)return s.lob.includes(n)});this.articleHitResults.set([...this.csSitewideSearchService.buildCustomHitList(i,He.ARTICLES)])})({})])}addOthersToSearch(){this.csSitewideSearchService.addWidgets([bi({indexName:He.NEWS}).addWidgets([Si({hitsPerPage:this.isHelpSite()?4:6,analytics:!0,clickAnalytics:!0,facetFilters:[]}),Mi(({items:n})=>{this.articleHitResults.update(r=>[...r,...this.csSitewideSearchService.buildCustomHitList(n,He.NEWS)])})({})])]),this.csSitewideSearchService.addWidgets([bi({indexName:He.STORES}).addWidgets([Si({hitsPerPage:this.isHelpSite()?4:6,analytics:!0,clickAnalytics:!0,facetFilters:[]}),Mi(({items:n})=>{this.articleHitResults.update(r=>[...r,...this.csSitewideSearchService.buildCustomHitList(n,He.STORES)])})({})])]),this.csSitewideSearchService.addWidgets([bi({indexName:He.BLOGS}).addWidgets([Si({hitsPerPage:this.isHelpSite()?4:6,analytics:!0,clickAnalytics:!0,facetFilters:[]}),Mi(({items:n})=>{this.articleHitResults.update(r=>[...r,...this.csSitewideSearchService.buildCustomHitList(n,He.BLOGS)])})({})])])}destroySearch(){this.productHitResults.set([]),this.productQuerySuggestions.set([]),this.articleHitResults.set([])}getHasSearchedItems(){return this.csSitewideSearchService.hasSearchedItems()}getSearchQuery(){return this.csSitewideSearchService.getSearchQuery()}getProductDisplayName(n){let r="",o="";return n._highlightResult?(r=n._highlightResult.manufacturerDisplayName?n._highlightResult.manufacturerDisplayName.value:n.manufacturerDisplayName,o=n._highlightResult.displayName?n._highlightResult.displayName.value:n.displayName.value):(r=n.manufacturerDisplayName,o=n.displayName),"ACCESSORY"===n.itemClassType?o:r+" "+o}getProductDisplayNameLength(n){return n.manufacturerDisplayName&&n.displayName?n.manufacturerDisplayName.length+n.displayName.length:0}prepopulateQueryParams(){let n=new URLSearchParams(document.location.search);return n.has(He.ARTICLES+"[query]")&&n.delete(He.ARTICLES+"[query]"),n.toString()}createPopularSearchUrl(n){let r=this.providedLob();return this.providedLob()===wt.ENTERPRISE&&(r=wt.BUSINESS),(this.providedLob()===wt.COMPANY||!this.providedLob())&&(r=wt.WIRELESS),"/help/"+r+"/?"+He.ARTICLES+"%5Bquery%5D="+n.query}createProductUrl(n){const r=this.prepopulateQueryParams();return["PHONE","TABLET","WEARABLE","HOTSPOT"].includes(n.itemClassType)?r?.length>0?"/buy/devices/details/"+n.id+"?"+r.toString():"/buy/devices/details/"+n.id:r?.length>0?"/buy/accessories/details/"+n.id+"&"+r.toString():"/buy/accessories/details/"+n.id}createArticleUrl(n){const r=this.prepopulateQueryParams();return r?.length>0?n.objectID+"?"+r.toString():n.objectID}sendObjectClickedEvent(n){this.csSitewideSearchService.sendObjectClickedEvent(n),this.csSitewideSearchService.isSessionStorageEnabled()&&(window.sessionStorage.setItem("__qId",n.__queryID),window.sessionStorage.setItem("__qIndex",n.index))}
1browseSupportArticles(){const n=new URLSearchParams(document.location.search);let r=this.providedLob();if(this.providedLob()===wt.ENTERPRISE&&(r=wt.BUSINESS),(this.providedLob()===wt.COMPANY||!this.providedLob())&&(r=wt.WIRELESS),n)return n.has(He.ARTICLES+"[query]")&&n.delete(He.ARTICLES+"[query]"),void(window.location.href="/help/"+r+"/?"+n.toString());window.location.href="/help/"+r+"/"}browseSupportArticlesByKeyword(n){const r=new URLSearchParams(document.location.search);let o=this.providedLob();this.providedLob()===wt.ENTERPRISE&&(o=wt.BUSINESS),(this.providedLob()===wt.COMPANY||!this.providedLob())&&(o=wt.WIRELESS),r.has(He.ARTICLES+"[query]")&&r.delete(He.ARTICLES+"[query]"),window.location.href="/help/"+o+"/?"+He.ARTICLES+"%5Bquery%5D="+n+"&"+r.toString()}browseAllPhones(){const n=new URLSearchParams(document.location.search);n.has(He.ARTICLES+"[query]")&&n.delete(He.ARTICLES+"[query]"),n.toString().length>0?window.location.href="/buy/devices?"+n.toString():window.location.href="/buy/devices"}getMaxScrolled(){const n=this.scrollableWrapper();if(n){const r=n.nativeElement;this.maxScrolled.set(Math.abs(r.scrollWidth-r.clientWidth-r.scrollLeft)<=0),this.minScrolled.set(Math.abs(r.scrollLeft)<=0)}}scrollPrevious(){const n=this.scrollableWrapper();n&&n.nativeElement.scrollBy({left:-300,behavior:"smooth"})}scrollNext(){const n=this.scrollableWrapper();n&&n.nativeElement.scrollBy({left:300,behavior:"smooth"})}isWirelessHelpSite(){return this.isHelpSite()&&(this.providedLob()===wt.WIRELESS||!this.providedLob())}shouldShowProducts(){return!this.isHelpSite()||this.isWirelessHelpSite()}getUserInteracted(){return this.csSitewideSearchService.getUserInteracted()}shouldHideSearch(){return!this.isSearchActive()&&!this.isMMA()||""===this.getSearchQuery()&&this.isMMA()}hasBannerImageUrl(n){return!!(n.image?.urls&&n.image.urls.length>0&&n.image.urls[0].url)}sendBannerClickObject(n){n.link&&this.csSitewideSearchService.satelliteTrack("_AlgoliaBannerClicked")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=_g({type:e,selectors:[["lib-cs-sitewide-search-results"]],viewQuery:function(r,o){1&r&&sm(o.scrollableWrapper,GQ,5),2&r&&ZD()},inputs:{providedLob:[1,"providedLob"],isSearchActive:[1,"isSearchActive"],isHelpSite:[1,"isHelpSite"],showMobileMenu:[1,"showMobileMenu"],isMMA:[1,"isMMA"]},decls:8,vars:12,consts:[["scrollableWrapper",""],[1,"search-split-layout",3,"hidden"],[1,"search-split-layout-wrapper"],[1,"search-split-layout-left"],[1,"search-split-layout-right"],[1,"banner"],[1,"section",3,"help-site"],[1,"section",3,"help-site","not-wireless"],[1,"no-results"],[1,"section"],[1,"section-title"],[1,"section-content"],[1,"search-item-wrapper"],[1,"search-item",3,"href","innerHTML"],["href","/buy/devices?productManufacturer=Apple",1,"search-item"],["href","/buy/devices?productManufacturer=Samsung",1,"search-item"],["href","/buy/devices?productManufacturer=Google",1,"search-item"],["href","/buy/devices?productManufacturer=TCL",1,"search-item"],[1,"search-item",3,"click","href","innerHTML"],[3,"href"],[3,"click","href"],[3,"src","alt"],[1,"more-support-articles"],[1,"scrollable-wrapper"],[1,"previous"],[1,"card-wrapper",3,"scroll"],[1,"card",3,"href"],[1,"next",3,"help-site"],[1,"more-support-articles",3,"click"],[1,"link"],[1,"arrow-svg"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M12 4L10.59 5.41L16.17 11H4V13H16.17L10.59 18.59L12 20L20 12L12 4Z","fill","#00C0F3"],[1,"arrow-wrapper",3,"click"],[1,"arrow","arrow-md","left"],[1,"card",3,"click","href"],[1,"image"],[1,"info"],[1,"name",3,"innerHTML"],[1,"color-wrapper"],[1,"color",3,"background-color"],[1,"color"],[1,"next"],[1,"arrow","arrow-md","right"],["target","_blank",1,"article-wrapper",3,"href","help-site"],["target","_blank",1,"article-wrapper",3,"click","href"],[1,"article"],[1,"article-title-wrapper"],[1,"article-title",3,"innerHTML"],[1,"article-keywords"],[1,"article-description",3,"innerHTML","help-site","long-description"],[1,"article-link"],[1,"article-keyword",3,"innerHTML"],[1,"article-keyword",3,"click","innerHTML"],[1,"article-description",3,"innerHTML"],[1,"arrow","right","arrow-thin"],[1,"contact-options"],[1,"button-wrapper"],[1,"button","button--branded-outline"],[1,"button__link","chat_link"],[1,"contact-number"],[1,"cs-blue"]],template:function(r,o){if(1&r&&(Ce(0,"div",1)(1,"div",2),Mt(2,Z
1Q,21,0,"div",3),Ce(3,"div",4),Mt(4,tK,3,2,"div",5),Mt(5,lK,13,11,"div",6),Mt(6,yK,7,8,"div",7),Ie()(),Mt(7,vK,17,1,"div",8),Ie()),2&r){let i,s,a,c,u,l;yn("help-site",o.isHelpSite())("no-padding",o.shouldHideSearch()),tn("hidden",o.shouldHideSearch()),Ne(2),Ot(!((null==(i=o.productQuerySuggestions())?null:i.length)>0)||o.isHelpSite()||o.providedLob()!==o.LOB.WIRELESS&&o.providedLob()?-1:2),Ne(),yn("full-width",(null==(s=o.productQuerySuggestions())?null:s.length)<=0||o.isHelpSite()||o.providedLob()!==o.LOB.WIRELESS),Ne(),Ot((a=o.bannerHitResult())?4:-1,a),Ne(),Ot((null==(c=o.productHitResults())?null:c.length)>0&&o.shouldShowProducts()&&(o.providedLob()===o.LOB.WIRELESS||!o.providedLob())?5:-1),Ne(),Ot((null==(u=o.articleHitResults())?null:u.length)>0?6:-1),Ne(),Ot(0===(null==(l=o.productHitResults())?null:l.length)&&0===(null==(l=o.articleHitResults())?null:l.length)&&o.getUserInteracted()&&o.getHasSearchedItems()?7:-1)}},dependencies:[WQ,zQ],styles:['@charset "UTF-8";.arrow[_ngcontent-%COMP%]{border:solid black;border-width:0 3px 3px 0;display:inline-block;padding:3px;transition:1s ease-in-out}.arrow.arrow-sm[_ngcontent-%COMP%]{padding:3px}.arrow.arrow-md[_ngcontent-%COMP%]{padding:5px}.arrow.arrow-lg[_ngcontent-%COMP%]{padding:7px}.arrow.arrow-xl[_ngcontent-%COMP%]{padding:9px}.arrow.arrow-thin[_ngcontent-%COMP%]{border-width:0 2px 2px 0}.arrow.arrow-thick[_ngcontent-%COMP%]{border-width:0 4px 4px 0}.arrow.right[_ngcontent-%COMP%]{transform:rotate(-45deg);-ms-transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}.arrow.left[_ngcontent-%COMP%]{transform:rotate(135deg);-ms-transform:rotate(135deg);-webkit-transform:rotate(135deg)}.arrow.up[_ngcontent-%COMP%]{transform:rotate(-135deg);-ms-transform:rotate(-135deg);-webkit-transform:rotate(-135deg)}.arrow.down[_ngcontent-%COMP%]{transform:rotate(45deg);-ms-transform:rotate(45deg);-webkit-transform:rotate(45deg)}.button[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.button__link[_ngcontent-%COMP%]{display:block;cursor:pointer;font-family:montserrat,Arial,sans-serif;font-size:1rem;padding:1rem 2rem;line-height:1.25;font-weight:400;text-align:center;-webkit-user-select:none;user-select:none;border:1px solid transparent;border-radius:.25rem}.button__link[_ngcontent-%COMP%] [_ngcontent-%COMP%]:disabled{opacity:.65}.button--primary[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#fff;background-color:#28c2fe;border-color:#28c2fe;transition:.6s ease-in}.button--primary[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#fff;background-color:#10b8fd}.button--primary[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{background-color:#e4e8f0;color:#9e9e9e}.button--primary-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{background-color:#e4e8f0;color:#9e9e9e;cursor:default}.button--primary-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#e4e8f0}.button--inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{transition:.6s ease-in}.button--inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#f04f23;color:#fff;border-color:#f04f23}.button--inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{background-color:#b1b1b1;color:#fff;border-color:#b1b1b1;opacity:.65}.button--inverse-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{background-color:#b1b1b1;color:#fff;border-color:#b1b1b1;opacity:.65;cursor:default}.button--inverse-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#b1b1b1;color:#fff;border-color:#b1b1b1}.button--secondary[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#f04f23;background-color:#fff;border-color:#f04f23;transition:.6s ease-in}.button--secondary[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#fff;background-color:#f04f23}.button--secondary[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{opacity:.65}.button--secondary-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{opacity:.65;cursor:default}.button--secondary-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#fff;color:#f04f23}.button--tertiary[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#fff;background-color:#07467f;border-color:#07467f;transition:.6s ease-in}.button--tertiary[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#fff;background-color:#05325b}.button--tertiary[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{color:#fff;opacity:.65}.button--tertiary-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#fff;opacity:.65;
1cursor:default}.button--tertiary-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#07467f}.button--orange[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{background-color:#f04f23;color:#fff;border-color:#f04f23;transition:.6s ease-in}.button--orange[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#f04f23;background-color:#fff}.button--orange[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{color:#fff;opacity:.65}.button--orange-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{background-color:#fff;color:#f04f23;border-color:#f04f23;transition:.6s ease-in}.button--orange-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#fff;background-color:#f04f23}.button--gray[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#fff;background-color:#505050;border-color:#505050;transition:.6s ease-in}.button--gray[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#fff;background-color:#3d3d3d}.button--gray[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{color:#fff;opacity:.65}.button--gray-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#fff;opacity:.65;cursor:default}.button--gray-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#505050}.button--gray-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{background-color:#fff;color:#505050;border-color:#505050;transition:.6s ease-in}.button--gray-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#fff;background-color:#505050}.button--gray-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{opacity:.65}.button--gray-inverse-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{opacity:.65;cursor:default}.button--success[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#fff;background-color:#28a745;border-color:#28a745;transition:.6s ease-in}.button--success[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#fff;background-color:#218838}.button--success[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{color:#fff;opacity:.65}.button--success-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#fff;opacity:.65;cursor:default}.button--success-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#28a745}.button--success-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{background-color:#fff;color:#28a745;border-color:#28a745;transition:.6s ease-in}.button--success-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#fff;background-color:#28a745}.button--success-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{opacity:.65}.button--success-inverse-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{opacity:.65;cursor:default}.button--success-inverse-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#28a745}.button--danger[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#fff;background-color:#dc3545;border-color:#dc3545;transition:.6s ease-in}.button--danger[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#fff;background-color:#c82333}.button--danger[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{color:#fff;opacity:.65}.button--danger-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#fff;opacity:.65;cursor:default}.button--danger-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#dc3545}.button--danger-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{background-color:#fff;color:#dc3545;border-color:#dc3545;transition:.6s ease-in}.button--danger-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#fff;background-color:#dc3545}.button--danger-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{opacity:.65}.button--danger-inverse-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{opacity:.65;
1cursor:default}.button--danger-inverse-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#dc3545}.button--warning[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{background-color:#ffc107;border-color:#ffc107;color:#212529;transition:.6s ease-in}.button--warning[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#e0a800;color:#212529}.button--warning[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{opacity:.65;color:#212529}.button--warning-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{opacity:.65;cursor:default;color:#212529}.button--warning-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#ffc107;color:#212529}.button--warning-outline[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{background-color:#fff;border-color:#ffc107;color:#ffc107;transition:.6s ease-in}.button--warning-outline[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#ffc107;color:#212529}.button--warning-outline[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{opacity:.65;color:#ffc107}.button--warning-outline-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{opacity:.65;cursor:default;color:#ffc107}.button--warning-outline-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#ffc107;color:#ffc107}.button--info[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#fff;background-color:#117a8b;border-color:#117a8b;transition:.6s ease-in}.button--info[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#fff;background-color:#138496}.button--info[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{color:#fff;opacity:.65}.button--info-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#fff;opacity:.65;cursor:default}.button--info-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#117a8b}.button--info-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{background-color:#fff;color:#117a8b;border-color:#117a8b;transition:.6s ease-in}.button--info-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#fff;background-color:#117a8b}.button--info-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{opacity:.65}.button--info-inverse-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{opacity:.65;cursor:default}.button--info-inverse-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#fff}.button--light[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#212529;background-color:#dae0e5;transition:.6s ease-in}.button--light[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{opacity:.65}.button--light-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{opacity:.65;cursor:default}.button--dark[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#fff;background-color:#121212;border-color:#0b0b0b;transition:.6s ease-in}.button--dark[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#fff;background-color:#212529}.button--dark[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{color:#fff;opacity:.65}.button--dark-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#fff;opacity:.65;cursor:default}.button--dark-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#121212}.button--dark-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{background-color:#fff;color:#121212;border-color:#121212;transition:.6s ease-in}.button--dark-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#fff;background-color:#121212}.button--dark-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{opacity:.65}.button--dark-inverse-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{opacity:.65;cursor:default}.button--dark-inverse-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#fff}.button--rounded[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{border-radius:1.75rem}.button--branded[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#fff;background-color:#28c2fe;border-color:#28c2fe;border:3px solid #28c2fe;border-radius:25px;padding:10px 25px 12px!important;text-transform:uppercase;transition:.6s ease-in;line-height:20px!important;letter-spacing:unset!important;font-size:16px!important;font-optical-sizing:auto;font-style:normal!important;font-weight:700!important;font-family:Barlow Semi Condensed,Arial,sans-serif!important}.button--branded[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-transform:uppercase;font-optical-sizing:auto;font-style:normal!important;font-weight:700!important;font-family:Barlow Semi Condensed,Arial,sans-serif!important}.button--branded[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#fff;background-color:#f04f23;border-color:#f04f23}.button--branded[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:focus{outline:none}.button--branded[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{background-color:#36c3fd;border-color:#36c3fd;color:#fff;opacity:.65}.button--branded-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{border:3px solid #98A4AE;border-radius:25px;padding:10px 25px 12px!important;text-transform:uppercase;transition:.6s ease-in;line-height:20px!important;letter-spacing:unset!important;font-size:16px!important;font-optical-sizing:auto;font-style:normal!important;font-weight:700!important;font-family:Barlow Semi Condensed,Arial,sans-serif!important}.button--branded-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#fff;color:#28c2fe}.button--branded-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{background-color:#98a4ae;color:#fff;border-color:#98a4ae;opacity:.65}.button--branded-inverse[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:focus{outline:none}.button--branded-inverse-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{background-color:#98a4ae;color:#fff;border-color:#98a4ae;opacity:.65;
1cursor:default;transition:.6s ease-in}.button--branded-inverse-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{background-color:#98a4ae;color:#fff;border-color:#98a4ae}.button--branded-inverse-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:focus{outline:none}.button--branded-outline[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#28c2fe;border:3px solid #28c2fe;border-radius:25px;padding:10px 25px 12px!important;text-transform:uppercase;background-color:transparent;transition:.6s ease-in;font-size:16px!important;line-height:20px!important;letter-spacing:unset!important;font-optical-sizing:auto;font-style:normal!important;font-weight:700!important;font-family:Barlow Semi Condensed,Arial,sans-serif!important}.button--branded-outline[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#f04f23;border-color:#f04f23}.button--branded-outline[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:focus{outline:none}.button--branded-outline[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:disabled{background-color:#fff;color:#9e9e9e}.button--branded-outline-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#9e9e9e;border-color:#e4e8f0;cursor:default}.button--branded-outline-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{border-color:#e4e8f0}.button--branded-outline-disabled[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:focus{outline:none}.button--branded-orange[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#f04f23;border:3px solid #F04F23;border-radius:25px;padding:10px 25px 12px!important;text-transform:uppercase;background-color:transparent;transition:.6s ease-in;font-size:16px!important;line-height:20px!important;letter-spacing:unset!important;font-optical-sizing:auto;font-style:normal!important;font-weight:700!important;font-family:Barlow Semi Condensed,Arial,sans-serif!important}.button--branded-orange[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#fff;background-color:#f04f23}.button--branded-orange[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:focus{outline:none}.button--branded-orange-solid[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#fff;border:3px solid #F04F23;border-radius:25px;padding:10px 25px 12px!important;text-transform:uppercase;background-color:#f04f23;transition:.6s ease-in;font-size:16px!important;line-height:20px!important;letter-spacing:unset!important;font-optical-sizing:auto;font-style:normal!important;font-weight:700!important;font-family:Barlow Semi Condensed,Arial,sans-serif!important}.button--branded-orange-solid[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#f04f23;background-color:#fff}.button--branded-orange-solid[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:focus{outline:none}
1.button--branded-navy[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#0f3d58;border:3px solid #0F3D58;border-radius:25px;padding:10px 25px 12px!important;text-transform:uppercase;background-color:transparent;transition:.6s ease-in;font-size:16px!important;line-height:20px!important;letter-spacing:unset!important;font-optical-sizing:auto;font-style:normal!important;font-weight:700!important;font-family:Barlow Semi Condensed,Arial,sans-serif!important}.button--branded-navy[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#f04f23;border-color:#f04f23}.button--branded-navy[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:focus{outline:none}.button--branded-underline[_ngcontent-%COMP%]{border-bottom:3px solid #F04F23;margin-bottom:4px}.button--branded-underline[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{color:#0f3d58;padding:5px 0!important;background:transparent;text-transform:uppercase;text-decoration:none;height:unset!important;min-height:unset!important;transition:.6s ease-in;font-optical-sizing:auto;font-style:normal!important;font-weight:700!important;font-family:Barlow Semi Condensed,Arial,sans-serif!important}.button--branded-underline[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:hover{color:#f04f23}.button--branded-underline[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]:focus{outline:none}.arrow-button[_ngcontent-%COMP%]{width:50px;height:50px;position:fixed;bottom:0;display:inline-block;left:0;right:0;margin:0 auto;z-index:10;transition:opacity .5s ease-in;opacity:1;animation:_ngcontent-%COMP%_fadeinout 2s infinite}@keyframes _ngcontent-%COMP%_fadeinout{0%{opacity:0}50%{opacity:1}to{opacity:0}}.cs-sitewide-search-web[_ngcontent-%COMP%]{max-width:800px;margin:0 auto}.no-results[_ngcontent-%COMP%]{text-align:center;font-size:16px;margin-bottom:40px;color:#6c7279;line-height:26px;font-optical-sizing:auto;font-style:normal!important;font-weight:500!important;font-family:Montserrat,Arial,sans-serif!important}.no-results[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-optical-sizing:auto;font-style:normal!important;font-weight:700!important;font-family:Montserrat,Arial,sans-serif!important}.no-results[_ngcontent-%COMP%] .contact-options[_ngcontent-%COMP%]{display:flex;gap:40px;justify-content:center;align-items:center;margin-top:40px}@media(max-width:1125px){.no-results[_ngcontent-%COMP%] .contact-options[_ngcontent-%COMP%]{flex-direction:column}}.no-results[_ngcontent-%COMP%] .contact-options[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{width:200px}.no-results[_ngcontent-%COMP%] .contact-options[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{width:100%}.no-results[_ngcontent-%COMP%] .contact-options[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%] .button[_ngcontent-%COMP%] .button__link[_ngcontent-%COMP%]{width:100%;box-sizing:border-box}.no-results[_ngcontent-%COMP%] .contact-options[_ngcontent-%COMP%] .contact-number[_ngcontent-%COMP%]{font-optical-sizing:auto;font-style:normal!important;font-weight:700!important;font-family:Barlow Semi Condensed,Arial,sans-serif!important;color:#6c7279;line-height:26px;text-transform:uppercase}.no-results[_ngcontent-%COMP%] .contact-options[_ngcontent-%COMP%] .contact-number[_ngcontent-%COMP%] .cs-blue[_ngcontent-%COMP%]{color:#00c0f3}.search-split-layout[_ngcontent-%COMP%]{position:absolute;left:0;right:0;top:82px;background:#fff;border-bottom:1px solid #ddd;box-shadow:0 4px 5px #00000026;padding:24px}@media(max-width:1125px){.search-split-layout[_ngcontent-%COMP%]{border-bottom:none;box-shadow:none}}@media(min-width:1126px){.search-split-layout[_ngcontent-%COMP%]{overflow-y:auto;max-height:calc(100vh - 106px)}}.search-split-layout.help-site[_ngcontent-%COMP%]{position:static;border-bottom:none;box-shadow:none;padding:0;background:transparent}@media(min-width:1126px){.search-split-layout.help-site[_ngcontent-%COMP%]{overflow-y:unset;max-height:unset}}.search-split-layout.no-padding[_ngcontent-%COMP%]{padding:0}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-wrapper[_ngcontent-%COMP%]{max-width:1440px;margin:0 auto;display:flex;gap:40px}@media(max-width:1125px){.search-split-layout[_ngcontent-%COMP%] .search-split-layout-wrapper[_ngcontent-%COMP%]{flex-direction:column}}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%]{width:25%;display:flex;flex-direction:column;gap:40px}@media(max-width:1125px){.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%]{width:100%}}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%]{width:75%;display:flex;flex-direction:column;gap:40px}@media(max-width:1125px){.search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%]{width:100%}}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-right.full-width[_ngcontent-%COMP%]{width:100%}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-right.full-width[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%]{max-width:unset}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .banner[_ngcontent-%COMP%]{width:100%;max-width:1000px;margin:0 auto}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .banner[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .banner[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:auto;border-radius:16px;margin:0 auto;display:block;max-width:100%}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] mark[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] mark[_ngcontent-%COMP%]{background-color:#d9f7ff;border-radius:2px;padding:2px}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;width:100%;max-width:1000px;margin:0 auto}@media(min-width:948px){.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section.help-site[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section.not-wireless[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section.help-site[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section.not-wireless[_ngcontent-%COMP%]{align-items:center;gap:20px}}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{font-optical-sizing:auto;font-style:normal!important;font-weight:600!important;font-family:Barlow Semi Condensed,Arial,sans-serif!important;line-height:18px;font-size:16px;text-transform:uppercase;color:#c8cbd2;width:100%;max-width:1000px}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-title.help-site[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-title.help-site[_ngcontent-%COMP%]{font-optical-sizing:auto;font-style:normal!important;font-weight:400!important;font-family:Comfortaa,Arial,sans-serif!important;font-size:32px;text-transform:none;color:#0f3d58;text-align:center}@media(max-width:948px){.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-title.help-site[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-title.help-site[_ngcontent-%COMP%]{font-size:26px}}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%]{font-optical-sizing:auto;font-style:normal!important;font-weight:400!important;font-family:Montserrat,Arial,sans-serif!important;font-size:14px;line-height:normal;color:#0f3d58;position:relative;max-width:948px}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%]{display:flex;gap:24px;align-items:center;border-top:1px solid #E4E8F0;padding:16px 8px;transition:.25s ease-in-out background-color;text-decoration:none}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper.help-site[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper.help-site[_ngcontent-%COMP%]{border-top:none}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%]:last-child, .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%]:last-child{border-bottom:1px solid #E4E8F0}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%]:last-child.help-site, .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%]:last-child.help-site{border-bottom:none}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%]:hover, .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:#f7f9fb}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%]:hover .article[_ngcontent-%COMP%] .article-description.long-description[_ngcontent-%COMP%]:after, .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%]:hover .article[_ngcontent-%COMP%] .article-description.long-description[_ngcontent-%COMP%]:after{background:linear-gradient(to right,#fff0,#f7f9fb 50%,#f7f9fb)}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px;flex-grow:1;max-width:1000px}@media(max-width:956px){.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%]{max-width:none}}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-title-wrapper[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-title-wrapper[_ngcontent-%COMP%]{display:flex;gap:16px}@media(max-width:1125px){.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-title-wrapper[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-title-wrapper[_ngcontent-%COMP%]{flex-direction:column;gap:4px}}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-title-wrapper[_ngcontent-%COMP%] .article-title[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-title-wrapper[_ngcontent-%COMP%] .article-title[_ngcontent-%COMP%]{font-optical-sizing:auto;font-style:normal!important;font-weight:500!important;font-family:Montserrat,Arial,sans-serif!important;color:#0f3d58;font-size:16px;line-height:24px}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-title-wrapper[_ngcontent-%COMP%] .article-title.help-site[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-title-wrapper[_ngcontent-%COMP%] .article-title.help-site[_ngcontent-%COMP%]{color:#00c0f3;font-optical-sizing:auto;font-style:normal!important;font-weight:400!important;font-family:Barlow Semi Condensed,Arial,sans-serif!important;font-size:24px}@media(max-width:948px){.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-title-wrapper[_ngcontent-%COMP%] .article-title.help-site[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-title-wrapper[_ngcontent-%COMP%] .article-title.help-site[_ngcontent-%COMP%]{font-size:20px}}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COM
1P%] .article[_ngcontent-%COMP%] .article-title-wrapper[_ngcontent-%COMP%] .article-keywords[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-title-wrapper[_ngcontent-%COMP%] .article-keywords[_ngcontent-%COMP%]{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-title-wrapper[_ngcontent-%COMP%] .article-keywords[_ngcontent-%COMP%]:hover, .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-title-wrapper[_ngcontent-%COMP%] .article-keywords[_ngcontent-%COMP%]:hover{cursor:pointer}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-title-wrapper[_ngcontent-%COMP%] .article-keywords[_ngcontent-%COMP%] .article-keyword[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-title-wrapper[_ngcontent-%COMP%] .article-keywords[_ngcontent-%COMP%] .article-keyword[_ngcontent-%COMP%]{font-optical-sizing:auto;font-style:normal!important;font-weight:400!important;font-family:Montserrat,Arial,sans-serif!important;font-size:8px;line-height:20px;padding:0 8px 1px;border-radius:4px;background-color:#d9f7ff;color:#0b2b3e}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-description[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-description[_ngcontent-%COMP%]{font-optical-sizing:auto;font-style:normal!important;font-weight:400!important;font-family:Montserrat,Arial,sans-serif!important;color:#6c7279;font-size:13px;line-height:20px;position:relative;overflow:hidden;text-overflow:ellipsis;max-height:40px}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-description.long-description[_ngcontent-%COMP%]:after, .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-description.long-description[_ngcontent-%COMP%]:after{content:"\\2026";box-sizing:content-box;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;float:right;position:absolute;top:20px;left:calc(100% - 10px);width:3em;margin-left:-3em;padding-right:5px;text-align:right;background-size:100% 100%;transition:.25s ease-in-out;background:linear-gradient(to right,#fff0,#fff 50%,#fff)}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-description.help-site[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-description.help-site[_ngcontent-%COMP%]{color:#000;font-size:16px}@media(max-width:948px){.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-description.help-site[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article[_ngcontent-%COMP%] .article-description.help-site[_ngcontent-%COMP%]{font-size:14px}}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article-link[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article-link[_ngcontent-%COMP%]{padding-right:8px}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article-link[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .article-wrapper[_ngcontent-%COMP%] .article-link[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{border-color:#00c0f3}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .search-item-wrapper[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .search-item-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .search-item-wrapper[_ngcontent-%COMP%] .search-item[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .search-item-wrapper[_ngcontent-%COMP%] .search-item[_ngcontent-%COMP%]{font-optical-sizing:auto;font-style:normal!important;font-weight:400!important;font-family:Montserrat,Arial,sans-serif!important;height:44px;font-size:14px;line-height:normal;color:#0f3d58;border-bottom:1px solid #E4E8F0;display:flex;align-items:center;padding:12px 0;text-decoration:none;box-sizing:border-box;transition:.25s ease-in-out}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .search-item-wrapper[_ngcontent-%COMP%] .search-item[_ngcontent-%COMP%]:hover, .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .search-item-wrapper[_ngcontent-%COMP%] .search-item[_ngcontent-%COMP%]:hover{font-optical-sizing:auto;font-style:normal!important;font-weight:600!important;font-family:Montserrat,Arial,sans-serif!important;cursor:pointer;color:#00c0f3;text-decoration:underline}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%]{position:relative}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .previous[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .next[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .previous[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .next[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;width:42px;display:flex;justify-content:center;align-items:center;z-index:1}@media(min-width:948px){.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .previous.help-site[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .next.help-site[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .previous.help-site[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .next.help-site[_ngcontent-%COMP%]{display:none}}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .previous[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .next[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .previous[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .next[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%]{width:42px;height:42px;border-radius:42px;background:#ffffffd9;display:flex;justify-content:center;align-items:center}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .previous[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%]:hover, .search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .next[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%]:hover, .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .previous[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%]:hover, .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .next[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%]:hover{cursor:pointer}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .previous[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .next[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .previous[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .next[_ngcontent-%COMP%] .arrow-wrapper[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{border-color:#98a4ae}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .previous[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .previous[_ngcontent-%COMP%]{left:0;background:linear-gradient(90deg,#fff,#fff0)}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .next[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .next[_ngcontent-%COMP%]{right:0;background:linear-gradient(270deg,#fff,#fff0)}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%]{display:flex;gap:12px;width:100%;overflow-x:auto;white-space:nowrap;-ms-overflow-style:none;scrollbar-width:none}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar, .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper.wrap[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper.wrap[_ngcontent-%COMP%]{flex-wrap:wrap;overflow-x:unset;white-space:unset}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_
1ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:16px;padding:24px 16px;min-width:212px;max-width:212px;width:100%;background-color:#f6f6f6;border-radius:10px;box-sizing:border-box;text-decoration:none;border:2px solid transparent;transition:.25s ease-in-out;box-shadow:none}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:hover, .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:hover{border-color:#00c0f3;background-color:#fff;box-shadow:0 0 8px 1px #00c0f333}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:hover .info[_ngcontent-%COMP%] .name.long-name[_ng
1content-%COMP%]:after, .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:hover .info[_ngcontent-%COMP%] .name.long-name[_ngcontent-%COMP%]:after{background:linear-gradient(to right,#fff0,#fff 50%,#fff)}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .image[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{display:flex;justify-content:center}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:140px}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .info[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .name[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-optical-sizing:auto;font-style:normal!important;font-weight:500!important;font-family:Montserrat,Arial,sans-serif!important;white-space:normal;text-align:center;color:#131e29;font-size:14px;line-height:normal;overflow:hidden;text-overflow:ellipsis;max-height:34px;position:relative}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .name.long-name[_ng
1content-%COMP%]:after, .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .name.long-name[_ngcontent-%COMP%]:after{content:"\\2026";box-sizing:content-box;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;float:right;position:absolute;top:17px;left:100%;width:3em;margin-left:-3em;padding-right:5px;text-align:right;background-size:100% 100%;transition:.25s ease-in-out;background:linear-gradient(to right,#fff0,#f6f6f6 50%,#f6f6f6)}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .color-wrapper[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .color-wrapper[_ngcontent-%COMP%]{display:flex;gap:8px;justify-content:center}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .color-wrapper[_ngcontent-%COMP%] .color[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .scrollable-wrapper[_ngcontent-%COMP%] .card-wrapper[_ngcontent-%COMP%] .card[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .color-wrapper[_ngcontent-%COMP%] .color[_ngcontent-%COMP%]{width:16px;height:16px;border:1px solid #D3D8DC;border-radius:16px}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .more-support-articles[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .more-support-articles[_ngcontent-%COMP%]{display:flex;gap:4px;align-items:center;justify-content:flex-end;margin-bottom:12px}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .more-support-articles[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]:hover, .search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .more-support-articles[_ngcontent-%COMP%] .arrow-svg[_ngcontent-%COMP%]:hover, .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .more-support-articles[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]:hover, .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .more-support-articles[_ngcontent-%COMP%] .arrow-svg[_ngcontent-%COMP%]:hover{cursor:pointer}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .more-support-articles[_ngcontent-%COMP%] .link[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .more-support-articles[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{color:#0f3d58;font-size:14px;line-height:normal;font-optical-sizing:auto;font-style:normal!important;font-weight:600!important;font-family:Montserrat,Arial,sans-serif!important}.search-split-layout[_ngcontent-%COMP%] .search-split-layout-left[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .more-support-articles[_ngcontent-%COMP%] .arrow-svg[_ngcontent-%COMP%], .search-split-layout[_ngcontent-%COMP%] .search-split-layout-right[_ngcontent-%COMP%] .section[_ngcontent-%COMP%] .section-content[_ngcontent-%COMP%] .more-support-articles[_ngcontent-%COMP%] .arrow-svg[_ngcontent-%COMP%]{display:flex;align-items:center}.ais-SearchBox-form[_ngcontent-%COMP%]{position:relative}.ais-SearchBox-input[_ngcontent-%COMP%]{height:48px!important;padding:12px 16px 12px 48px!important;margin:0!important;color:#131e29!important;font-size:14px!important;font-weight:300!important;border:1px solid #f0f2f7!important;letter-spacing:.025rem!important;width:100%!important;font-family:Montserrat,sans-serif!important;border-radius:80px!important;background-color:#f7f9fb!important;outline:none!important;line-height:normal!important;box-shadow:none!important}@media(max-width:1125px){.ais-SearchBox-input[_ngcontent-%COMP%]{font-size:16px!important}}.ais-SearchBox-input[_ngcontent-%COMP%]::placeholder, .ais-SearchBox-input[_ngcontent-%COMP%]:-moz-placeholder, .ais-SearchBox-input[_ngcontent-%COMP%]::-moz-placeholder{font-weight:300;color:#6c7279;opacity:1}.ais-SearchBox-submit[_ngcontent-%COMP%], .ais-SearchBox-reset[_ngcontent-%COMP%]{position:absolute;top:0;height:100%;background:none;border:none;appearance:none;outline:none}.ais-SearchBox-submit[_ngcontent-%COMP%]{left:0;width:40px;
1display:flex;justify-content:center;align-items:center}.ais-SearchBox-submit[_ngcontent-%COMP%] .ais-SearchBox-submitIcon[_ngcontent-%COMP%]{width:15px;height:15px}.ais-SearchBox-reset[_ngcontent-%COMP%]{right:12px}']})}}return e})();function cR(...e){return MI(e,PI(e))}class rr{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof rr?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new rr;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof rr?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}addHeaderEntry(t,n){const r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class DK{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}class SK{encodeKey(t){return uR(t)}encodeValue(t){return uR(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const OK=/%(\d[a-f0-9])/gi,IK={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function uR(e){return encodeURIComponent(e).replace(OK,(t,n)=>IK[n]??t)}function ff(e){return`${e}`}class Po{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new SK,t.fromString){if(t.fromObject)throw new K(2805,!1);this.map=function MK(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(ff):[ff(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}
1keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new Po({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}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 n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(ff(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(ff(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function lR(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function dR(e){return typeof Blob<"u"&&e instanceof Blob}function fR(e){return typeof FormData<"u"&&e instanceof FormData}const su="Content-Type",hR="text/plain",pR="application/json",gR=`${pR}, ${hR}, */*`;class au{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){let i;if(this.url=n,this.method=t.toUpperCase(),function TK(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),"number"==typeof i.timeout){if(i.timeout<1||!Number.isInteger(i.timeout))throw new K(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new rr,this.context??=new DK,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new Po,this.urlWithParams=n}serializeBody(){return null===this.body?null:"string"==typeof this.body||lR(this.body)||dR(this.body)||fR(this.body)||function RK(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Po?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||fR(this.body)?null:dR(this.body)?this.body.type||null:lR(this.body)?null:"string"==typeof this.body?hR:this.body instanceof Po?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?pR:null}clone(t={}){const n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,f=t.integrity||this.integrity,h=t.referrerPolicy||this.referrerPolicy,p=t.transferCache??this.transferCache,g=t.timeout??this.timeout,y=void 0!==t.body?t.body:this.body,b=t.withCredentials??this.withCredentials,w=t.reportProgress??this.reportProgress;let j=t.headers||this.headers,x=t.params||this.params;const q=t.context??this.context;return void 0!==t.setHeaders&&(j=Object.keys(t.setHeaders).reduce((ae,le)=>ae.set(le,t.setHeaders[le]),j)),t.setParams&&(x=Object.keys(t.setParams).reduce((ae,le)=>ae.set(le,t.setParams[le]),x)),new au(n,r,y,{params:x,headers:j,context:q,reportProgress:w,responseType:o,withCredentials:b,transferCache:p,keepalive:i,cache:a,priority:s,timeout:g,mode:c,redirect:u,credentials:l,referrer:d,integrity:f,referrerPolicy:h})}}
1var Eo=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Eo||{});class hv{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new rr,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}}class pf extends hv{constructor(t={}){super(t)}type=Eo.ResponseHeader;clone(t={}){return new pf({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 cu extends hv{body;constructor(t={}){super(t),this.body=void 0!==t.body?t.body:null}type=Eo.Response;clone(t={}){return new cu({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,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}}class Oi extends hv{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),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}}const yR=new re(""),jK=/^\)\]\}',?\n/;let vR=(()=>{class e{xhrFactory;tracingService=se(ds,{optional:!0});constructor(n){this.xhrFactory=n}maybePropagateTrace(n){return this.tracingService?.propagate?this.tracingService.propagate(n):n}handle(n){if("JSONP"===n.method)throw new K(-2800,!1);const r=this.xhrFactory;return cR(null).pipe(OI(()=>new Ut(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,b)=>s.setRequestHeader(y,b.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept",gR),!n.headers.has(su)){const y=n.detectContentTypeHeader();null!==y&&s.setRequestHeader(su,y)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){const y=n.responseType.toLowerCase();s.responseType="json"!==y?y:"text"}const a=n.serializeBody();let c=null;const u=()=>{if(null!==c)return c;const y=s.statusText||"OK",b=new rr(s.getAllResponseHeaders());return c=new pf({headers:b,status:s.status,statusText:y,url:s.responseURL||n.url}),c},l=this.maybePropagateTrace(()=>{let{headers:y,status:b,statusText:w,url:j}=u(),x=null;204!==b&&(x=typeof s.response>"u"?s.responseText:s.response),0===b&&(b=x?200:0);let q=b>=200&&b<300;if("json"===n.responseType&&"string"==typeof x){const ae=x;x=x.replace(jK,"");try{x=""!==x?JSON.parse(x):null}catch(le){x=ae,q&&(q=!1,x={error:le,text:x})}}q?(i.next(new cu({body:x,headers:y,status:b,statusText:w,url:j||void 0})),i.complete()):i.error(new Oi({error:x,headers:y,status:b,statusText:w,url:j||void 0}))}),d=this.maybePropagateTrace(y=>{const{url:b}=u(),w=new Oi({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:b||void 0});i.error(w)});let f=d;n.timeout&&(f=this.maybePropagateTrace(y=>{const{url:b}=u(),w=new Oi({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:b||void 0});i.error(w)}));let h=!1;const p=this.maybePropagateTrace(y=>{h||(i.next(u()),h=!0);let b={type:Eo.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(b.total=y.total),"text"===n.responseType&&s.responseText&&(b.partialText=s.responseText),i.next(b)}),g=this.maybePropagateTrace(y=>{let b={type:Eo.UploadProgress,loaded:y.loaded};y.lengthComputable&&(b.total=y.total),i.next(b)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",f),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",p),null!==a&&s.upload&&s.upload.addEventListener("progress",g)),s.send(a),i.next({type:Eo.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",f),n.reportProgress&&(s.removeEventListener("progress",p),null!==a&&s.upload&&s.upload.removeEventListener("progress",g)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(Se(V_))};static \u0275prov=me({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function _R(e,t){return t(e)}const uu=new re("",{factory:()=>[]}),BK=new re(""),bR=new re("",{factory:()=>!0});let gf=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=me({token:e,factory:function(r){let o=null;return o=r?new(r||e):Se(vR),o},providedIn:"root"})}return e})(),mv=(()=>{class e{backend;injector;chain=null;pendingTasks=se(F_);contributeToStability=se(bR);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(uu),...this.injector.get(BK,[])]));this.chain=r.reduceRight((o,i)=>
1function qK(e,t,n){return(r,o)=>th(n,()=>t(r,i=>e(i,o)))}(o,i,this.injector),_R)}if(this.contributeToStability){const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(function bK(e){return Uo((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}(r))}return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(Se(gf),Se(wn))};static \u0275prov=me({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=me({token:e,factory:function(r){let o=null;return o=r?new(r||e):Se(mv),o},providedIn:"root"})}return e})();function vv(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}let $K=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof au)i=n;else{let c,u;c=o.headers instanceof rr?o.headers:new rr(o.headers),o.params&&(u=o.params instanceof Po?o.params:new Po({fromObject:o.params})),i=new au(n,r,void 0!==o.body?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}const s=cR(i).pipe(function wK(e,t){return Dt(t)?Gd(e,t,1):Gd(e,1)}(c=>this.handler.handle(c)));if(n instanceof au||"events"===o.observe)return s;const a=s.pipe(function CK(e,t){return Uo((n,r)=>{let o=0;n.subscribe($o(r,i=>e.call(t,i,o++)&&r.next(i)))})}(c=>c instanceof cu));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Qi(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new K(2806,!1);return c.body}));case"blob":return a.pipe(Qi(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new K(2807,!1);return c.body}));case"text":return a.pipe(Qi(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new K(2808,!1);return c.body}));default:return a.pipe(Qi(c=>c.body))}case"response":return a;default:throw new K(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new Po).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,vv(o,r))}post(n,r,o={}){return this.request("POST",n,vv(o,r))}put(n,r,o={}){return this.request("PUT",n,vv(o,r))}static \u0275fac=function(r){return new(r||e)(Se(yv))};static \u0275prov=me({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const CR=new re("",{factory:()=>!0}),PR=new re("",{factory:()=>"XSRF-TOKEN"}),ER=new re("",{factory:()=>"X-XSRF-TOKEN"});let KK=(()=>{class e{cookieName=se(PR);doc=se(Nn);lastCookieString="";lastToken=null;parseCount=0;getToken(){const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=$_(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=me({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ZK=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=me({token:e,factory:function(r){let o=null;return o=r?new(r||e):Se(KK),o},providedIn:"root"})}return e})();function YK(e,t){if(!se(CR)||"GET"===e.method||"HEAD"===e.method)return t(e);try{const o=se(U_).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch{return t(e)}const n=se(ZK).getToken(),r=se(ER);return null!=n&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function JK(...e){const t=[$K,mv,{provide:yv,useExisting:mv},{provide:gf,useFactory:()=>se(yR,{optional:!0})??se(vR)},{provide:uu,useValue:YK,multi:!0}];for(const n of e)t.push(...n.\u0275providers);return function zf(e){return{\u0275providers:e}}(t)}const SR=JSON.parse('{"UU":"@cspire/cs-sitewide-search-web","rE":"21.5.0"}');let XK=(()=>{class e{constructor(n){this.injector=n}ngDoBootstrap(n){if(console.info("WebComponents loaded from "+SR.UU+". Version: "+SR.rE),!customElements.get("lib-cs-sitewide-search-bar")){const r=II(J7,{injector:this.injector});customElements.define("lib-cs-sitewide-search-bar",r)}if(!customElements.get("lib-cs-sitewide-search-results")){const r=II(_K,{injector:this.injector});customElements.define("lib-cs-sitewide-search-results",r)}}static{this.\u0275fac=function(r){return new(r||e)(Se(Pn))}}static{this.\u0275mod=Za({type:e})}static{this.\u0275inj=Ri({providers:[JK(),lv],imports:[Z5]})}}return e})();K5().bootstrapModule(XK).catch(e=>console.error(e))},950(oe,ie,M){"use strict";var V=M(648),G=M(730),U=M(732),S=M(92),A=M(778);function N(W,Y,$,X){return new V(W,Y,$,X)}N.version=M(455),N.AlgoliaSearchHelper=V,N.SearchParameters=S,N.RecommendParameters=G,N.SearchResults=A,N.RecommendResults=U,oe.exports=N},421(oe,ie,M){"use strict";var V=M(340);function U(S,A,N){this.main=S,this.fn=A,this.recommendFn=N,this.lastResults=null,this.lastRecommendResults=null}M(77)(U,V),U.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},U.prototype.getModifiedState=function(S){return this.fn(S)},U.prototype.getModifiedRecommendState=function(S){return this.recommendFn(S)},oe.exports=U},730(oe){"use strict";function ie(M){this.params=(M=M||{}).params||[]}ie.prototype={constructor:ie,addParams:function(M){var V=this.params.slice();return V.push(M),new ie({params:V})}
vendor: 24,623 bytes, line 1
1,removeParams:function(M){return new ie({params:this.params.filter(function(V){return V.$$id!==M})})},addFrequentlyBoughtTogether:function(M){return this.addParams(Object.assign({},M,{model:"bought-together"}))},addRelatedProducts:function(M){return this.addParams(Object.assign({},M,{model:"related-products"}))},addTrendingItems:function(M){return this.addParams(Object.assign({},M,{model:"trending-items"}))},addTrendingFacets:function(M){return this.addParams(Object.assign({},M,{model:"trending-facets"}))},addLookingSimilar:function(M){return this.addParams(Object.assign({},M,{model:"looking-similar"}))},_buildQueries:function(M,V){return this.params.filter(function(G){return void 0===V[G.$$id]}).map(function(G){var U=Object.assign({},G,{indexName:M,threshold:G.threshold||0});return delete U.$$id,U})}},oe.exports=ie},732(oe){"use strict";function ie(M,V){this._state=M,this._rawResults={};var G=this;M.params.forEach(function(U){var S=U.$$id;G[S]=V[S],G._rawResults[S]=V[S]})}ie.prototype={constructor:ie},oe.exports=ie},87(oe,ie,M){"use strict";var V=M(921),G=M(856),U=M(524),S={addRefinement:function(N,W,Y){if(S.isRefined(N,W,Y))return N;var $=""+Y,X=N[W]?N[W].concat($):[$],z={};return z[W]=X,V(z,N)},removeRefinement:function(N,W,Y){if(void 0===Y)return S.clearRefinement(N,function(X,z){return W===z});var $=""+Y;return S.clearRefinement(N,function(X,z){return W===z&&$===X})},toggleRefinement:function(N,W,Y){if(void 0===Y)throw new Error("toggleRefinement should be used with a value");return S.isRefined(N,W,Y)?S.removeRefinement(N,W,Y):S.addRefinement(N,W,Y)},clearRefinement:function(N,W,Y){if(void 0===W)return G(N)?{}:N;if("string"==typeof W)return U(N,[W]);if("function"==typeof W){var $=!1,X=Object.keys(N).reduce(function(z,ee){var P=N[ee]||[],m=P.filter(function(v){return!W(v,ee,Y)});return m.length!==P.length&&($=!0),z[ee]=m,z},{});return $?X:N}},isRefined:function(N,W,Y){var $=!!N[W]&&N[W].length>0;return void 0!==Y&&$?-1!==N[W].indexOf(""+Y):$}};oe.exports=S},92(oe,ie,M){"use strict";var V=M(921),G=M(522),U=M(512),S=M(9),A=M(856),N=M(524),W=M(846),Y=M(799),$=M(87);function X(P,m){return Array.isArray(P)&&Array.isArray(m)?P.length===m.length&&P.every(function(v,C){return X(m[C],v)}):P===m}function ee(P){var m=P?ee._parseNumbers(P):{};void 0!==m.userToken&&!Y(m.userToken)&&console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=m.facets||[],this.disjunctiveFacets=m.disjunctiveFacets||[],this.hierarchicalFacets=m.hierarchicalFacets||[],this.facetsRefinements=m.facetsRefinements||{},this.facetsExcludes=m.facetsExcludes||{},this.disjunctiveFacetsRefinements=m.disjunctiveFacetsRefinements||{},this.numericRefinements=m.numericRefinements||{},this.tagRefinements=m.tagRefinements||[],this.hierarchicalFacetsRefinements=m.hierarchicalFacetsRefinements||{};var v=this;Object.keys(m).forEach(function(C){-1===ee.PARAMETERS.indexOf(C)&&void 0!==m[C]&&(v[C]=m[C])})}ee.PARAMETERS=Object.keys(new ee),ee._parseNumbers=function(P){if(P instanceof ee)return P;var m={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach(function(D){var _=P[D];if("string"==typeof _){var O=parseFloat(_);m[D]=isNaN(O)?_:O}}),Array.isArray(P.insideBoundingBox)&&(m.insideBoundingBox=P.insideBoundingBox.map(function(D){return Array.isArray(D)?D.map(function(_){return parseFloat(_)}):D})),P.numericRefinements){var C={};Object.keys(P.numericRefinements).forEach(function(D){var _=P.numericRefinements[D]||{};C[D]={},Object.keys(_).forEach(function(O){var F=_[O].map(function(L){return Array.isArray(L)?L.map(function(I){return"string"==typeof I?parseFloat(I):I}):"string"==typeof L?parseFloat(L):L});C[D][O]=F})}),m.numericRefinements=C}return S(P,m)},ee.make=function(m){var v=new ee(m);return(m.hierarchicalFacets||[]).forEach(function(D){if(D.rootPath){var _=v.getHierarchicalRefinement(D.name);_.length>0&&0!==_[0].indexOf(D.rootPath)&&(v=v.clearRefinements(D.name)),0===(_=v.getHierarchicalRefinement(D.name)).length&&(v=v.toggleHierarchicalFacetRefinement(D.name,D.rootPath))}}),v},ee.validate=function(P,m){var v=m||{};return P.tagFilters&&v.tagRefinements&&v.tagRefinements.length>0?new Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):P.tagRefinements.length>0&&v.tagFilters?new Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):P.numericFilters&&v.numericRefinements&&A(v.numericRefinements)?new Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):A(P.numericRefinements)&&v.numericFilters?new Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},ee.prototype={constructor:ee,clearRefinements:function(m){var v={numericRefinements:this._clearNumericRefinements(m),facetsRefinements:$.clearRefinement(this.facetsRefinements,m,"conjunctiveFacet"),facetsExcludes:$.clearRefinement(this.facetsExcludes,m,"exclude"),disjunctiveFacetsRefinements:$.clearRefinement(this.disjunctiveFacetsRefinements,m,"disjunctiveFacet"),hierarchicalFacetsRefinements:$.clearRefinement(this.hierarchicalFacetsRefinements,m,"hierarchicalFacet")};return v.numericRefinements===this.numericRefinements&&v.facetsRefinements===this.facetsRefinements&&v.facetsExcludes===this.facetsExcludes&&v.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&v.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(v)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(m){return m===this.index?this:this.setQueryParameters({index:m})},setQuery:function(m){return m===this.query?this:this.setQueryParameters({query:m})},setPage:function(m){return m===this.page?this:this.setQueryParameters({page:m})},setFacets:function(m){return this.setQueryParameters({facets:m})},setDisjunctiveFacets:function(m){return this.setQueryParameters({disjunctiveFacets:m})},setHitsPerPage:function(m){return this.hitsPerPage===m?this:this.setQueryParameters({hitsPerPage:m})},setTypoTolerance:function(m){return this.typoTolerance===m?this:this.setQueryParameters({typoTolerance:m})},addNumericRefinement:function(P,m,v){var C=W(v);if(this.isNumericRefined(P,m,C))return this;var D=S({},this.numericRefinements);return D[P]=S({},D[P]),D[P][m]?(D[P][m]=D[P][m].slice(),D[P][m].push(C)):D[P][m]=[C],this.setQueryParameters({numericRefinements:D})},getConjunctiveRefinements:function(P){return this.isConjunctiveFacet(P)&&this.facetsRefinements[P]||[]},getDisjunctiveRefinements:function(P){return this.isDisjunctiveFacet(P)&&this.disjunctiveFacetsRefinements[P]||[]},getHierarchicalRefinement:function(P){return this.hierarchicalFacetsRefinements[P]||[]},getExcludeRefinements:function(P){return this.isConjunctiveFacet(P)&&this.facetsExcludes[P]||[]},removeNumericRefinement:function(P,m,v){var C=v;return void 0!==C?this.isNumericRefined(P,m,C)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(D,_){return _===P&&D.op===m&&X(D.val,W(C))})}):this:void 0!==m?this.isNumericRefined(P,m)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(D,_){return _===P&&D.op===m})}):this:this.isNumericRefined(P)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(D,_){return _===P})}):this},getNumericRefinements:function(P){return this.numericRefinements[P]||{}},getNumericRefinement:function(P,m){return this.numericRefinements[P]&&this.numericRefinements[P][m]},_clearNumericRefinements:function(m){if(void 0===m)return A(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof m)return N(this.numericRefinements,[m]);if("function"==typeof m){var v=!1,C=this.numericRefinements,D=Object.keys(C).reduce(function(_,O){var k=C[O],F={};return k=k||{},Object.keys(k).forEach(function(L){var I=k[L]||[],T=[];I.forEach(function(E){m({val:E,op:L},O,"numeric")||T.push(E)}),T.length!==I.length&&(v=!0),F[L]=T}),_[O]=F,_},{});return v?D:this.numericRefinements}},addFacet:function(m){return this.isConjunctiveFacet(m)?this:this.setQueryParameters({facets:this.facets.concat([m])})},addDisjunctiveFacet:function(m){return this.isDisjunctiveFacet(m)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([m])})},addHierarchicalFacet:function(m){if(this.isHierarchicalFacet(m.name))throw new Error("Cannot declare two hierarchical facets with the same name: `"+m.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([m])})},addFacetRefinement:function(m,v){if(!this.isConjunctiveFacet(m))throw new Error(m+" is not defined in the facets attribute of the helper configuration");return $.isRefined(this.facetsRefinements,m,v)?this:this.setQueryParameters({facetsRefinements:$.addRefinement(this.facetsRefinements,m,v)})},addExcludeRefinement:function(m,v){if(!this.isConjunctiveFacet(m))throw new Error(m+" is not defined in the facets attribute of the helper configuration");return $.isRefined(this.facetsExcludes,m,v)?this:this.setQueryParameters({facetsExcludes:$.addRefinement(this.facetsExcludes,m,v)})},addDisjunctiveFacetRefinement:function(m,v){if(!this.isDisjunctiveFacet(m))throw new Error(m+" is not defined in the disjunctiveFacets attribute of the helper configuration");return $.isRefined(this.disjunctiveFacetsRefinements,m,v)?this:this.setQueryParameters({disjunctiveFacetsRefinements:$.addRefinement(this.disjunctiveFacetsRefinements,m,v)})},addTagRefinement:function(m){if(this.isTagRefined(m))return this;var v={tagRefinements:this.tagRefinements.concat(m)};return this.setQueryParameters(v)},removeFacet:function(m){return this.isConjunctiveFacet(m)?this.clearRefinements(m).setQueryParameters({facets:this.facets.filter(function(v){return v!==m})}):this},removeDisjunctiveFacet:function(m){return this.isDisjunctiveFacet(m)?this.clearRefinements(m).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter(function(v){return v!==m})}):this},removeHierarchicalFacet:function(m){return this.isHierarchicalFacet(m)?this.clearRefinements(m).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter(function(v){return v.name!==m})}):this},removeFacetRefinement:function(m,v){if(!this.isConjunctiveFacet(m))throw new Error(m+" is not defined in the facets attribute of the helper configuration");return $.isRefined(this.facetsRefinements,m,v)?this.setQueryParameters({facetsRefinements:$.removeRefinement(this.facetsRefinements,m,v)}):this},removeExcludeRefinement:function(m,v){if(!this.isConjunctiveFacet(m))throw new Error(m+" is not defined in the facets attribute of the helper configuration");return $.isRefined(this.facetsExcludes,m,v)?this.setQueryParameters({facetsExcludes:$.removeRefinement(this.facetsExcludes,m,v)}):this},removeDisjunctiveFacetRefinement:function(m,v){if(!this.isDisjunctiveFacet(m))throw new Error(m+" is not defined in the disjunctiveFacets attribute of the helper configuration");return $.isRefined(this.disjunctiveFacetsRefinements,m,v)?this.setQueryParameters({disjunctiveFacetsRefinements:$.removeRefinement(this.disjunctiveFacetsRefinements,m,v)}):this},removeTagRefinement:function(m){if(!this.isTagRefined(m))return this;var v={tagRefinements:this.tagRefinements.filter(function(C){return C!==m})};return this.setQueryParameters(v)},toggleRefinement:function(m,v){return this.toggleFacetRefinement(m,v)},toggleFacetRefinement:function(m,v){if(this.isHierarchicalFacet(m))return this.toggleHierarchicalFacetRefinement(m,v);if(this.isConjunctiveFacet(m))return this.toggleConjunctiveFacetRefinement(m,v);if(this.isDisjunctiveFacet(m))return this.toggleDisjunctiveFacetRefinement(m,v);throw new Error("Cannot refine the undeclared facet "+m+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(m,v){if(!this.isConjunctiveFacet(m))throw new Error(m+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:$.toggleRefinement(this.facetsRefinements,m,v)})},toggleExcludeFacetRefinement:function(m,v){if(!this.isConjunctiveFacet(m))throw new Error(m+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:$.toggleRefinement(this.facetsExcludes,m,v)})},toggleDisjunctiveFacetRefinement:function(m,v){if(!this.isDisjunctiveFacet(m))throw new Error(m+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:$.toggleRefinement(this.disjunctiveFacetsRefinements,m,v)})},toggleHierarchicalFacetRefinement:function(m,v){if(!this.isHierarchicalFacet(m))throw new Error(m+" is not defined in the hierarchicalFacets attribute of the helper configuration");var C=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(m)),D={},_=void 0!==this.hierarchicalFacetsRefinements[m]&&this.hierarchicalFacetsRefinements[m].length>0&&(this.hierarchicalFacetsRefinements[m][0]===v||0===this.hierarchicalFacetsRefinements[m][0].indexOf(v+C));return D[m]=_?-1===v.indexOf(C)?[]:[v.slice(0,v.lastIndexOf(C))]:[v],this.setQueryParameters({hierarchicalFacetsRefinements:V(D,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(P,m){if(this.isHierarchicalFacetRefined(P))throw new Error(P+" is already refined.");if(!this.isHierarchicalFacet(P))throw new Error(P+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var v={};return v[P]=[m],this.setQueryParameters({hierarchicalFacetsRefinements:V(v,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(P){if(!this.isHierarchicalFacetRefined(P))return this;var m={};return m[P]=[],this.setQueryParameters({hierarchicalFacetsRefinements:V(m,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(m){return this.isTagRefined(m)?this.removeTagRefinement(m):this.addTagRefinement(m)},isDisjunctiveFacet:function(P){return this.disjunctiveFacets.indexOf(P)>-1},isHierarchicalFacet:function(P){return void 0!==this.getHierarchicalFacetByName(P)},isConjunctiveFacet:function(P){return this.facets.indexOf(P)>-1},isFacetRefined:function(m,v){return!!this.isConjunctiveFacet(m)&&$.isRefined(this.facetsRefinements,m,v)},isExcludeRefined:function(m,v){return!!this.isConjunctiveFacet(m)&&$.isRefined(this.facetsExcludes,m,v)},isDisjunctiveFacetRefined:function(m,v){return!!this.isDisjunctiveFacet(m)&&$.isRefined(this.disjunctiveFacetsRefinements,m,v)},isHierarchicalFacetRefined:function(m,v){if(!this.isHierarchicalFacet(m))return!1;var C=this.getHierarchicalRefinement(m);return v?-1!==C.indexOf(v):C.length>0},isNumericRefined:function(m,v,C){if(void 0===C&&void 0===v)return!!this.numericRefinements[m];var D=this.numericRefinements[m]&&void 0!==this.numericRefinements[m][v];if(void 0===C||!D)return D;var _=W(C),O=void 0!==function z(P,m){return G(P,function(v){return X(v,m)})}(this.numericRefinements[m][v],_);return D&&O},isTagRefined:function(m){return-1!==this.tagRefinements.indexOf(m)},getRefinedDisjunctiveFacets:function(){var m=this,v=U(Object.keys(this.numericRefinements).filter(function(C){return Object.keys(m.numericRefinements[C]).length>0}),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter(function(C){return m.disjunctiveFacetsRefinements[C].length>0}).concat(v).concat(this.getRefinedHierarchicalFacets()).sort()},getRefinedHierarchicalFacets:function(){var m=this;return U(this.hierarchicalFacets.map(function(v){return v.name}),Object.keys(this.hierarchicalFacetsRefinements).filter(function(v){return m.hierarchicalFacetsRefinements[v].length>0})).sort()},getUnrefinedDisjunctiveFacets:function(){var P=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter(function(m){return-1===P.indexOf(m)})},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var m=this.managedParameters,v={},C=this;return Object.keys(this).forEach(function(D){var _=C[D];-1===m.indexOf(D)&&void 0!==_&&(v[D]=_)}),v},setQueryParameter:function(m,v){if(this[m]===v)return this;var C={};return C[m]=v,this.setQueryParameters(C)},setQueryParameters:function(m){if(!m)return this;var v=ee.validate(this,m);if(v)throw v;var C=this,D=ee._parseNumbers(m),_=Object.keys(this).reduce(function(k,F){return k[F]=C[F],k},{}),O=Object.keys(D).reduce(function(k,F){var I=void 0!==D[F];return void 0===k[F]||I?(I&&(k[F]=D[F]),k):N(k,[F])},_);return new this.constructor(O)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(P){return P.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(P){return P.separator||" > "},_getHierarchicalRootPath:function(P){return P.rootPath||null},_getHierarchicalShowParentLevel:function(P){return"boolean"!=typeof P.showParentLevel||P.showParentLevel},getHierarchicalFacetByName:function(P){return G(this.hierarchicalFacets,function(m){return m.name===P})},getHierarchicalFacetBreadcrumb:function(P){if(!this.isHierarchicalFacet(P))return[];var m=this.getHierarchicalRefinement(P)[0];if(!m)return[];var v=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(P));return m.split(v).map(function(D){return D.trim()})},toString:function(){return JSON.stringify(this,null,2)}},oe.exports=ee},334(oe,ie,M){"use strict";oe.exports=function W(z){return function(P,m){var v=z.hierarchicalFacets[m],C=z.hierarchicalFacetsRefinements[v.name]&&z.hierarchicalFacetsRefinements[v.name][0]||"",D=z._getHierarchicalFacetSeparator(v),_=z._getHierarchicalRootPath(v),O=z._getHierarchicalShowParentLevel(v),k=U(z._getHierarchicalFacetSortBy(v)),F=P.every(function(T){return T.exhaustive}),L=function Y(z,ee,P,m,v){return function(D,_,O){var k=D;if(O>0){var F=0;for(k=D;F<O;){var L=k&&Array.isArray(k.data)?k.data:[];k=G(L,function(T){return T.isRefined}),F++}}if(k){var I=Object.keys(_.data).map(function(T){return[T,_.data[T]]}).filter(function(T){return function $(z,ee,P,m,v,C){return(!v||0===z.indexOf(v)&&v!==z)&&(!v&&-1===z.indexOf(m)||v&&z.split(m).length-v.split(m).length===1||-1===z.indexOf(m)&&-1===P.indexOf(m)||0===P.indexOf(z)||0===z.indexOf(ee+m)&&(C||0===z.indexOf(P)))}(T[0],k.path||P,v,ee,P,m)});k.data=S(I.map(function(T){return function X(z,ee,P,m,v){var C=ee.split(P);return{name:C[C.length-1].trim(),path:ee,escapedValue:A(ee),count:z,isRefined:m===ee||0===m.indexOf(ee+P),exhaustive:v,data:null}}(T[1],T[0],ee,N(v),_.exhaustive)}),z[0],z[1])}return D}}(k,D,_,O,C),I=P;return _&&(I=P.slice(_.split(D).length)),I.reduce(L,{name:z.hierarchicalFacets[m].name,count:null,isRefined:!0,path:null,escapedValue:null,exhaustive:F,data:null})}};var V=M(118),G=M(522),U=M(74),S=M(780),A=V.escapeFacetValue,N=V.unescapeFacetValue},778(oe,ie,M){"use strict";var V=M(976),G=M(921),U=M(118),S=M(522),A=M(348),N=M(74),W=M(358),Y=M(780),$=U.escapeFacetValue,X=U.unescapeFacetValue,z=M(334);function ee(E){var R={};return E.forEach(function(H,Q){R[H]=Q}),R}function P(E,R,H){R&&R[H]&&(E.stats=R[H])}function v(E,R,H){var Q=R[0]||{};this._rawResults=R;var ne=this;Object.keys(Q).forEach(function(te){ne[te]=Q[te]});var J=G(H,{persistHierarchicalRootCount:!1});Object.keys(J).forEach(function(te){ne[te]=J[te]}),this.processingTimeMS=R.reduce(function(te,ke){return void 0===ke.processingTimeMS?te:te+ke.processingTimeMS},0),this.disjunctiveFacets=[],this.hierarchicalFacets=E.hierarchicalFacets.map(function(){return[]}),this.facets=[];var xe=E.getRefinedDisjunctiveFacets(),Ve=ee(E.facets),Oe=ee(E.disjunctiveFacets),ve=1,Te=Q.facets||{};Object.keys(Te).forEach(function(te){var ke=Te[te],We=function m(E,R){return S(E,function(Q){return(Q.attributes||[]).indexOf(R)>-1})}(E.hierarchicalFacets,te);if(We){var Fe=We.attributes.indexOf(te),rt=A(E.hierarchicalFacets,function(ht){return ht.name===We.name});ne.hierarchicalFacets[rt][Fe]={attribute:te,data:ke,exhaustive:Q.exhaustiveFacetsCount}}else{var xt,un=-1!==E.disjunctiveFacets.indexOf(te),ot=-1!==E.facets.indexOf(te);un&&(ne.disjunctiveFacets[xt=Oe[te]]={name:te,data:ke,exhaustive:Q.exhaustiveFacetsCount},P(ne.disjunctiveFacets[xt],Q.facets_stats,te)),ot&&(ne.facets[xt=Ve[te]]={name:te,data:ke,exhaustive:Q.exhaustiveFacetsCount},P(ne.facets[xt],Q.facets_stats,te))}}),this.hierarchicalFacets=V(this.hierarchicalFacets),xe.forEach(function(te){var ke=R[ve],We=ke&&ke.facets?ke.facets:{},Fe=E.getHierarchicalFacetByName(te);Object.keys(We).forEach(function(rt){var ot,un=We[rt];if(Fe){ot=A(E.hierarchicalFacets,function(ct){return ct.name===Fe.name});var xt=A(ne.hierarchicalFacets[ot],function(ct){return ct.attribute===rt});if(-1===xt)return;ne.hierarchicalFacets[ot][xt].data=ne.persistHierarchicalRootCount?W(ne.hierarchicalFacets[ot][xt].data,un):G(un,ne.hierarchicalFacets[ot][xt].data)}else ne.disjunctiveFacets[ot=Oe[rt]]={name:rt,data:W(Q.facets&&Q.facets[rt]||{},un),exhaustive:ke.exhaustiveFacetsCount},P(ne.disjunctiveFacets[ot],ke.facets_stats,rt),E.disjunctiveFacetsRefinements[rt]&&E.disjunctiveFacetsRefinements[rt].forEach(function(ct){!ne.disjunctiveFacets[ot].data[ct]&&E.disjunctiveFacetsRefinements[rt].indexOf(X(ct))>-1&&(ne.disjunctiveFacets[ot].data[ct]=0)})}),ve++}),E.getRefinedHierarchicalFacets().forEach(function(te){var ke=E.getHierarchicalFacetByName(te),We=E._getHierarchicalFacetSeparator(ke),Fe=E.getHierarchicalRefinement(te);0===Fe.length||Fe[0].split(We).length<2||R.slice(ve).forEach(function(rt){var un=rt&&rt.facets?rt.facets:{};Object.keys(un).forEach(function(ot){var xt=un[ot],ht=A(E.hierarchicalFacets,function(or){return or.name===ke.name}),ct=A(ne.hierarchicalFacets[ht],function(or){return or.attribute===ot});if(-1!==ct){var ln={};if(Fe.length>0&&!ne.persistHierarchicalRootCount){var On=Fe[0].split(We)[0];ln[On]=ne.hierarchicalFacets[ht][ct].data[On]}ne.hierarchicalFacets[ht][ct].data=G(ln,xt,ne.hierarchicalFacets[ht][ct].data)}}),ve++})}),Object.keys(E.facetsExcludes).forEach(function(te){var ke=E.facetsExcludes[te],We=Ve[te];ne.facets[We]={name:te,data:Te[te],exhaustive:Q.exhaustiveFacetsCount},ke.forEach(function(Fe){ne.facets[We]=ne.facets[We]||{name:te},ne.facets[We].data=ne.facets[We].data||{},ne.facets[We].data[Fe]=0})}),this.hierarchicalFacets=this.hierarchicalFacets.map(z(E)),this.facets=V(this.facets),this.disjunctiveFacets=V(this.disjunctiveFacets),this._state=E}function C(E,R){function H(Te){return Te.name===R}if(E._state.isConjunctiveFacet(R)){var Q=S(E.facets,H);return Q?Object.keys(Q.data).map(function(Te){var te=$(Te);return{name:Te,escapedValue:te,count:Q.data[Te],isRefined:E._state.isFacetRefined(R,te),isExcluded:E._state.isExcludeRefined(R,Te)}}):[]}if(E._state.isDisjunctiveFacet(R)){var ne=S(E.disjunctiveFacets,H);return ne?Object.keys(ne.data).map(function(Te){var te=$(Te);return{name:Te,escapedValue:te,count:ne.data[Te],isRefined:E._state.isDisjunctiveFacetRefined(R,te)}}):[]}if(E._state.isHierarchicalFacet(R)){var J=S(E.hierarchicalFacets,H);if(!J)return J;var xe=E._state.getHierarchicalFacetByName(R),Ve=E._state._getHierarchicalFacetSeparator(xe),Oe=X(E._state.getHierarchicalRefinement(R)[0]||"");0===Oe.indexOf(xe.rootPath)&&(Oe=Oe.replace(xe.rootPath+Ve,""));var ve=Oe.split(Ve);return ve.unshift(R),D(J,ve,0),J}}function D(E,R,H){E.isRefined=E.name===(R[H]&&R[H].trim()),E.data&&E.data.forEach(function(Q){D(Q,R,H+1)})}function _(E,R,H,Q){if(Q=Q||0,Array.isArray(R))return E(R,H[Q]);if(!R.data||0===R.data.length)return R;var ne=R.data.map(function(Ve){return _(E,Ve,H,Q+1)}),J=E(ne,H[Q]);return G({data:J},R)}function L(E,R){var H=S(E,function(Q){return Q.name===R});return H&&H.stats}function I(E,R,H,Q,ne){var J=S(ne,function(Oe){return Oe.name===H});return{type:R,attributeName:H,name:Q,count:J&&J.data&&J.data[Q]?J.data[Q]:0,exhaustive:J&&J.exhaustive||!1}}
1v.prototype.getFacetByName=function(E){function R(H){return H.name===E}return S(this.facets,R)||S(this.disjunctiveFacets,R)||S(this.hierarchicalFacets,R)},v.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],v.prototype.getFacetValues=function(E,R){var H=C(this,E);if(H){var Q=G(R,{sortBy:v.DEFAULT_SORT,facetOrdering:!(R&&R.sortBy)}),ne=this;return _(function(Ve,Oe){if(Q.facetOrdering){var ve=function F(E,R){return E.renderingContent&&E.renderingContent.facetOrdering&&E.renderingContent.facetOrdering.values&&E.renderingContent.facetOrdering.values[R]}(ne,Oe);if(ve)return function k(E,R){var H=[],Q=[],ne=R.hide||[],xe=(R.order||[]).reduce(function(ve,Te,te){return ve[Te]=te,ve},{});E.forEach(function(ve){var Te=ve.path||ve.name,te=ne.indexOf(Te)>-1;te||void 0===xe[Te]?te||Q.push(ve):H[xe[Te]]=ve}),H=H.filter(function(ve){return ve});var Oe,Ve=R.sortRemainingBy;return"hidden"===Ve?H:H.concat(Y(Q,(Oe="alpha"===Ve?[["path","name"],["asc","asc"]]:[["count"],["desc"]])[0],Oe[1]))}(Ve,ve)}if(Array.isArray(Q.sortBy)){var Te=N(Q.sortBy,v.DEFAULT_SORT);return Y(Ve,Te[0],Te[1])}if("function"==typeof Q.sortBy)return function O(E,R){return R.sort(E)}(Q.sortBy,Ve);throw new Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")},H,Array.isArray(H)?[E]:ne._state.getHierarchicalFacetByName(H.name).attributes)}},v.prototype.getFacetStats=function(E){return this._state.isConjunctiveFacet(E)?L(this.facets,E):this._state.isDisjunctiveFacet(E)?L(this.disjunctiveFacets,E):void 0},v.prototype.getRefinements=function(){var E=this._state,R=this,H=[];return Object.keys(E.facetsRefinements).forEach(function(Q){E.facetsRefinements[Q].forEach(function(ne){H.push(I(0,"facet",Q,ne,R.facets))})}),Object.keys(E.facetsExcludes).forEach(function(Q){E.facetsExcludes[Q].forEach(function(ne){H.push(I(0,"exclude",Q,ne,R.facets))})}),Object.keys(E.disjunctiveFacetsRefinements).forEach(function(Q){E.disjunctiveFacetsRefinements[Q].forEach(function(ne){H.push(I(0,"disjunctive",Q,ne,R.disjunctiveFacets))})}),Object.keys(E.hierarchicalFacetsRefinements).forEach(function(Q){E.hierarchicalFacetsRefinements[Q].forEach(function(ne){H.push(function T(E,R,H,Q){var ne=E.getHierarchicalFacetByName(R),J=E._getHierarchicalFacetSeparator(ne),xe=H.split(J),Ve=S(Q,function(ke){return ke.name===R}),Oe=xe.reduce(function(ke,We){var Fe=ke&&S(ke.data,function(rt){return rt.name===We});return void 0!==Fe?Fe:ke},Ve);return{type:"hierarchical",attributeName:R,name:Oe&&Oe.path||"",count:Oe&&Oe.count||0,exhaustive:Oe&&Oe.exhaustive||!1}}(E,Q,ne,R.hierarchicalFacets))})}),Object.keys(E.numericRefinements).forEach(function(Q){var ne=E.numericRefinements[Q];Object.keys(ne).forEach(function(J){ne[J].forEach(function(xe){H.push({type:"numeric",attributeName:Q,name:xe,numericValue:xe,operator:J})})})}),E.tagRefinements.forEach(function(Q){H.push({type:"tag",attributeName:"_tags",name:Q})}),H},oe.exports=v},648(oe,ie,M){"use strict";var V=M(340),G=M(421),U=M(118).escapeFacetValue,S=M(77),A=M(9),N=M(856),W=M(524),Y=M(730),$=M(732),X=M(247),z=M(92),ee=M(778),P=M(728),m=M(455);function v(_,O,k,F){"function"==typeof _.addAlgoliaAgent&&_.addAlgoliaAgent("JS Helper ("+m+")"),this.setClient(_);var L=k||{};L.index=O,this.state=z.make(L),this.recommendState=new Y({params:L.recommendState}),this.lastResults=null,this.lastRecommendResults=null,this._queryId=0,this._recommendQueryId=0,this._lastQueryIdReceived=-1,this._lastRecommendQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0,this._currentNbRecommendQueries=0,this._searchResultsOptions=F,this._recommendCache={}}function C(_){if(_<0)throw new Error("Page requested below 0.");return this._change({state:this.state.setPage(_),isPageReset:!1}),this}function D(){return this.state.page}S(v,V),v.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},v.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},v.prototype.searchWithComposition=function(){return this._runComposition({onlyWithDerivedHelpers:!0}),this},v.prototype.recommend=function(){return this._recommend(),this},v.prototype.getQuery=function(){return X._getHitsSearchParams(this.state)},v.prototype.searchOnce=function(_,O){var k=_?this.state.setQueryParameters(_):this.state,F=X._getQueries(k.index,k),L=this;
vendor: 15,512 bytes, line 1
1if(this._currentNbQueries++,this.emit("searchOnce",{state:k}),!O)return this.client.search(F).then(function(I){return L._currentNbQueries--,0===L._currentNbQueries&&L.emit("searchQueueEmpty"),{content:new ee(k,I.results),state:k,_originalResponse:I}},function(I){throw L._currentNbQueries--,0===L._currentNbQueries&&L.emit("searchQueueEmpty"),I});this.client.search(F).then(function(I){L._currentNbQueries--,0===L._currentNbQueries&&L.emit("searchQueueEmpty"),O(null,new ee(k,I.results),k)}).catch(function(I){L._currentNbQueries--,0===L._currentNbQueries&&L.emit("searchQueueEmpty"),O(I,null,k)})},v.prototype.findAnswers=function(_){console.warn("[algoliasearch-helper] answers is no longer supported");var O=this.state,k=this.derivedHelpers[0];if(!k)return Promise.resolve([]);var F=k.getModifiedState(O),L=A({attributesForPrediction:_.attributesForPrediction,nbHits:_.nbHits},{params:W(X._getHitsSearchParams(F),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),I="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw new Error(I);var T=this.client.initIndex(F.index);if("function"!=typeof T.findAnswers)throw new Error(I);return T.findAnswers(F.query,_.queryLanguages,L)},v.prototype.searchForFacetValues=function(_,O,k,F){var L="function"==typeof this.client.searchForFacetValues&&"function"!=typeof this.client.searchForFacets,I="function"==typeof this.client.initIndex;if(!L&&!I&&"function"!=typeof this.client.search)throw new Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var T=this.state.setQueryParameters(F||{}),E=T.isDisjunctiveFacet(_),R=X.getSearchForFacetQuery(_,O,k,T);this._currentNbQueries++;var Q,H=this;return L?Q=this.client.searchForFacetValues([{indexName:T.index,params:R}]):I?Q=this.client.initIndex(T.index).searchForFacetValues(R):(delete R.facetName,Q=this.client.search([{type:"facet",facet:_,indexName:T.index,params:R}]).then(function(J){return J.results[0]})),this.emit("searchForFacetValues",{state:T,facet:_,query:O}),Q.then(function(J){return H._currentNbQueries--,0===H._currentNbQueries&&H.emit("searchQueueEmpty"),(J=Array.isArray(J)?J[0]:J).facetHits.forEach(function(xe){xe.escapedValue=U(xe.value),xe.isRefined=E?T.isDisjunctiveFacetRefined(_,xe.escapedValue):T.isFacetRefined(_,xe.escapedValue)}),J},function(ne){throw H._currentNbQueries--,0===H._currentNbQueries&&H.emit("searchQueueEmpty"),ne})},v.prototype.searchForCompositionFacetValues=function(_,O,k,F){if("function"!=typeof this.client.searchForFacetValues)throw new Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues");var L=this.state.setQueryParameters(F||{}),I=L.isDisjunctiveFacet(_);this._currentNbQueries++;var E,T=this;return E=this.client.searchForFacetValues({compositionID:L.index,facetName:_,searchForFacetValuesRequest:{params:{query:O,maxFacetHits:k,searchQuery:X._getCompositionHitsSearchParams(L)}}}),this.emit("searchForFacetValues",{state:L,facet:_,query:O}),E.then(function(H){return T._currentNbQueries--,0===T._currentNbQueries&&T.emit("searchQueueEmpty"),(H=H.results[0]).facetHits.forEach(function(Q){Q.escapedValue=U(Q.value),Q.isRefined=I?L.isDisjunctiveFacetRefined(_,Q.escapedValue):L.isFacetRefined(_,Q.escapedValue)}),H},function(R){throw T._currentNbQueries--,0===T._currentNbQueries&&T.emit("searchQueueEmpty"),R})},v.prototype.setQuery=function(_){return this._change({state:this.state.resetPage().setQuery(_),isPageReset:!0}),this},v.prototype.clearRefinements=function(_){return this._change({state:this.state.resetPage().clearRefinements(_),isPageReset:!0}),this},v.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},v.prototype.addDisjunctiveFacetRefinement=function(_,O){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(_,O),isPageReset:!0}),this},v.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},v.prototype.addHierarchicalFacetRefinement=function(_,O){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(_,O),isPageReset:!0}),this},v.prototype.addNumericRefinement=function(_,O,k){return this._change({state:this.state.resetPage().addNumericRefinement(_,O,k),isPageReset:!0}),this},v.prototype.addFacetRefinement=function(_,O){return this._change({state:this.state.resetPage().addFacetRefinement(_,O),isPageReset:!0}),this},v.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},v.prototype.addFacetExclusion=function(_,O){return this._change({state:this.state.resetPage().addExcludeRefinement(_,O),isPageReset:!0}),this},v.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},v.prototype.addTag=function(_){return this._change({state:this.state.resetPage().addTagRefinement(_),isPageReset:!0}),this},v.prototype.addFrequentlyBoughtTogether=function(_){return this._recommendChange({state:this.recommendState.addFrequentlyBoughtTogether(_)}),this},v.prototype.addRelatedProducts=function(_){return this._recommendChange({state:this.recommendState.addRelatedProducts(_)}),this},v.prototype.addTrendingItems=function(_){return this._recommendChange({state:this.recommendState.addTrendingItems(_)}),this},v.prototype.addTrendingFacets=function(_){return this._recommendChange({state:this.recommendState.addTrendingFacets(_)}),this},v.prototype.addLookingSimilar=function(_){return this._recommendChange({state:this.recommendState.addLookingSimilar(_)}),this},v.prototype.removeNumericRefinement=function(_,O,k){return this._change({state:this.state.resetPage().removeNumericRefinement(_,O,k),isPageReset:!0}),this},v.prototype.removeDisjunctiveFacetRefinement=function(_,O){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(_,O),isPageReset:!0}),this},v.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},v.prototype.removeHierarchicalFacetRefinement=function(_){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(_),isPageReset:!0}),this},v.prototype.removeFacetRefinement=function(_,O){return this._change({state:this.state.resetPage().removeFacetRefinement(_,O),isPageReset:!0}),this},v.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},v.prototype.removeFacetExclusion=function(_,O){return this._change({state:this.state.resetPage().removeExcludeRefinement(_,O),isPageReset:!0}),this},v.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},v.prototype.removeTag=function(_){return this._change({state:this.state.resetPage().removeTagRefinement(_),isPageReset:!0}),this},v.prototype.removeFrequentlyBoughtTogether=function(_){return this._recommendChange({state:this.recommendState.removeParams(_)}),this},v.prototype.removeRelatedProducts=function(_){return this._recommendChange({state:this.recommendState.removeParams(_)}),this},v.prototype.removeTrendingItems=function(_){return this._recommendChange({state:this.recommendState.removeParams(_)}),this},v.prototype.removeTrendingFacets=function(_){return this._recommendChange({state:this.recommendState.removeParams(_)}),this},v.prototype.removeLookingSimilar=function(_){return this._recommendChange({state:this.recommendState.removeParams(_)}),this},v.prototype.toggleFacetExclusion=function(_,O){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(_,O),isPageReset:!0}),this},v.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},v.prototype.toggleRefinement=function(_,O){return this.toggleFacetRefinement(_,O)},v.prototype.toggleFacetRefinement=function(_,O){return this._change({state:this.state.resetPage().toggleFacetRefinement(_,O),isPageReset:!0}),this},v.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},v.prototype.toggleTag=function(_){return this._change({state:this.state.resetPage().toggleTagRefinement(_),isPageReset:!0}),this},v.prototype.nextPage=function(){return this.setPage((this.state.page||0)+1)},v.prototype.previousPage=function(){return this.setPage((this.state.page||0)-1)},v.prototype.setCurrentPage=C,v.prototype.setPage=C,v.prototype.setIndex=function(_){return this._change({state:this.state.resetPage().setIndex(_),isPageReset:!0}),this},v.prototype.setQueryParameter=function(_,O){return this._change({state:this.state.resetPage().setQueryParameter(_,O),isPageReset:!0}),this},v.prototype.setState=function(_){return this._change({state:z.make(_),isPageReset:!1}),this},v.prototype.overrideStateWithoutTriggeringChangeEvent=function(_){return this.state=new z(_),this},v.prototype.hasRefinements=function(_){return!!N(this.state.getNumericRefinements(_))||(this.state.isConjunctiveFacet(_)?this.state.isFacetRefined(_):this.state.isDisjunctiveFacet(_)?this.state.isDisjunctiveFacetRefined(_):!!this.state.isHierarchicalFacet(_)&&this.state.isHierarchicalFacetRefined(_))},v.prototype.isExcluded=function(_,O){return this.state.isExcludeRefined(_,O)},v.prototype.isDisjunctiveRefined=function(_,O){return this.state.isDisjunctiveFacetRefined(_,O)},v.prototype.hasTag=function(_){return this.state.isTagRefined(_)},v.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},v.prototype.getIndex=function(){return this.state.index},v.prototype.getCurrentPage=D,v.prototype.getPage=D,v.prototype.getTags=function(){return this.state.tagRefinements},v.prototype.getRefinements=function(_){var O=[];this.state.isConjunctiveFacet(_)?(this.state.getConjunctiveRefinements(_).forEach(function(T){O.push({value:T,type:"conjunctive"})}),this.state.getExcludeRefinements(_).forEach(function(T){O.push({value:T,type:"exclude"})})):this.state.isDisjunctiveFacet(_)&&this.state.getDisjunctiveRefinements(_).forEach(function(T){O.push({value:T,type:"disjunctive"})});var I=this.state.getNumericRefinements(_);return Object.keys(I).forEach(function(T){O.push({value:I[T],operator:T,type:"numeric"})}),O},v.prototype.getNumericRefinement=function(_,O){return this.state.getNumericRefinement(_,O)},v.prototype.getHierarchicalFacetBreadcrumb=function(_){return this.state.getHierarchicalFacetBreadcrumb(_)},v.prototype._search=function(_){var O=this.state,k=[],F=[];_.onlyWithDerivedHelpers||(F=X._getQueries(O.index,O),k.push({state:O,queriesCount:F.length,helper:this}),this.emit("search",{state:O,results:this.lastResults}));var L=this.derivedHelpers.map(function(E){var R=E.getModifiedState(O),H=R.index?X._getQueries(R.index,R):[];return k.push({state:R,queriesCount:H.length,helper:E}),E.emit("search",{state:R,results:E.lastResults}),H}),I=Array.prototype.concat.apply(F,L),T=this._queryId++;if(this._currentNbQueries++,!I.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,k,T));try{this.client.search(I).then(this._dispatchAlgoliaResponse.bind(this,k,T)).catch(this._dispatchAlgoliaError.bind(this,T))}catch(E){this.emit("error",{error:E})}},v.prototype._runComposition=function(){var _=this.state,O=[],F=this.derivedHelpers.map(function(E){var R=E.getModifiedState(_),H=X._getCompositionQueries(R);return O.push({state:R,queriesCount:H.length,helper:E}),E.emit("search",{state:R,results:E.lastResults}),H}),L=Array.prototype.concat.apply([],F),I=this._queryId++;if(this._currentNbQueries++,!L.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,O,I));if(L.length>1)throw new Error("Only one query is allowed when using a composition.");var T=L[0];try{this.client.search(T).then(this._dispatchAlgoliaResponse.bind(this,O,I)).catch(this._dispatchAlgoliaError.bind(this,I))}catch(E){this.emit("error",{error:E})}},v.prototype._recommend=function(){var _=this.state,O=this.recommendState,k=this.getIndex(),F=[{state:O,index:k,helper:this}],L=O.params.map(function(H){return H.$$id});this.emit("fetch",{recommend:{state:O,results:this.lastRecommendResults}});var I=this._recommendCache,T=this.derivedHelpers.map(function(H){var Q=H.getModifiedState(_).index;if(!Q)return[];var ne=H.getModifiedRecommendState(new Y);return F.push({state:ne,index:Q,helper:H}),L=Array.prototype.concat.apply(L,ne.params.map(function(J){return J.$$id})),H.emit("fetch",{recommend:{state:ne,results:H.lastRecommendResults}}),ne._buildQueries(Q,I)}),E=Array.prototype.concat.apply(this.recommendState._buildQueries(k,I),T);if(0!==E.length){if(E.length>0&&typeof this.client.getRecommendations>"u")return void console.warn("Please update algoliasearch/lite to the latest version in order to use recommend widgets.");var R=this._recommendQueryId++;this._currentNbRecommendQueries++;try{this.client.getRecommendations(E).then(this._dispatchRecommendResponse.bind(this,R,F,L)).catch(this._dispatchRecommendError.bind(this,R))}catch(H){this.emit("error",{error:H})}}},v.prototype._dispatchAlgoliaResponse=function(_,O,k){var F=this;if(!(O<this._lastQueryIdReceived)){this._currentNbQueries-=O-this._lastQueryIdReceived,this._lastQueryIdReceived=O,0===this._currentNbQueries&&this.emit("searchQueueEmpty");var L=k.results.slice(),I=Object.keys(k).reduce(function(T,E){return"results"!==E&&(T[E]=k[E]),T},{});Object.keys(I).length<=0&&(I=void 0),_.forEach(function(T){var E=T.state,H=T.helper,Q=L.splice(0,T.queriesCount);E.index?(H.lastResults=new ee(E,Q,F._searchResultsOptions),void 0!==I&&(H.lastResults._rawContent=I),H.emit("result",{results:H.lastResults,state:E})):H.emit("result",{results:null,state:E})})}},v.prototype._dispatchRecommendResponse=function(_,O,k,F){if(!(_<this._lastRecommendQueryIdReceived)){this._currentNbRecommendQueries-=_-this._lastRecommendQueryIdReceived,this._lastRecommendQueryIdReceived=_,0===this._currentNbRecommendQueries&&this.emit("recommendQueueEmpty");var L=this._recommendCache,I={};k.filter(function(E){return void 0===L[E]}).forEach(function(E,R){I[E]||(I[E]=[]),I[E].push(R)}),Object.keys(I).forEach(function(E){var R=I[E],H=F.results[R[0]];L[E]=1!==R.length?Object.assign({},H,{hits:P(R.map(function(Q){return F.results[Q].hits}))}):H});var T={};k.forEach(function(E){T[E]=L[E]}),O.forEach(function(E){var R=E.state,H=E.helper;E.index?(H.lastRecommendResults=new $(R,T),H.emit("recommend:result",{recommend:{results:H.lastRecommendResults,state:R}})):H.emit("recommend:result",{results:null,state:R})})}},v.prototype._dispatchAlgoliaError=function(_,O){_<this._lastQueryIdReceived||(this._currentNbQueries-=_-this._lastQueryIdReceived,this._lastQueryIdReceived=_,this.emit("error",{error:O}),0===this._currentNbQueries&&this.emit("searchQueueEmpty"))},v.prototype._dispatchRecommendError=function(_,O){_<this._lastRecommendQueryIdReceived||(this._currentNbRecommendQueries-=_-this._lastRecommendQueryIdReceived,this._lastRecommendQueryIdReceived=_,this.emit("error",{error:O}),0===this._currentNbRecommendQueries&&this.emit("recommendQueueEmpty"))},v.prototype.containsRefinement=function(_,O,k,F){return _||0!==O.length||0!==k.length||0!==F.length},v.prototype._hasDisjunctiveRefinements=function(_){return this.state.disjunctiveRefinements[_]&&this.state.disjunctiveRefinements[_].length>0},v.prototype._change=function(_){var O=_.state,k=_.isPageReset;
1O!==this.state&&(this.state=O,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:k}))},v.prototype._recommendChange=function(_){var O=_.state;O!==this.recommendState&&(this.recommendState=O,this.emit("recommend:change",{search:{results:this.lastResults,state:this.state},recommend:{results:this.lastRecommendResults,state:this.recommendState}}))},v.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},v.prototype.setClient=function(_){return this.client===_||("function"==typeof _.addAlgoliaAgent&&_.addAlgoliaAgent("JS Helper ("+m+")"),this.client=_),this},v.prototype.getClient=function(){return this.client},v.prototype.derive=function(_,O){var k=new G(this,_,O);return this.derivedHelpers.push(k),k},v.prototype.detachDerivedHelper=function(_){var O=this.derivedHelpers.indexOf(_);if(-1===O)throw new Error("Derived helper already detached");this.derivedHelpers.splice(O,1)},v.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},oe.exports=v},976(oe){"use strict";oe.exports=function(M){return Array.isArray(M)?M.filter(Boolean):[]}},921(oe){"use strict";oe.exports=function(){return Array.prototype.slice.call(arguments).reduceRight(function(V,G){return Object.keys(Object(G)).forEach(function(U){void 0!==G[U]&&(void 0!==V[U]&&delete V[U],V[U]=G[U])}),V},{})}},118(oe){"use strict";oe.exports={escapeFacetValue:function ie(V){return"string"!=typeof V?V:String(V).replace(/^-/,"\\-")},unescapeFacetValue:function M(V){return"string"!=typeof V?V:V.replace(/^\\-/,"-")}}},522(oe){"use strict";oe.exports=function(M,V){if(Array.isArray(M))for(var G=0;G<M.length;G++)if(V(M[G]))return M[G]}},348(oe){"use strict";oe.exports=function(M,V){if(!Array.isArray(M))return-1;for(var G=0;G<M.length;G++)if(V(M[G]))return G;return-1}},530(oe){oe.exports=function(M){return M.reduce(function(V,G){return V.concat(G)},[])}},74(oe,ie,M){"use strict";var V=M(522);oe.exports=function(U,S){var A=(S||[]).map(function(N){return N.split(":")});return U.reduce(function(W,Y){var $=Y.split(":"),X=V(A,function(z){return z[0]===$[0]});return $.length>1||!X?(W[0].push($[0]),W[1].push($[1]),W):(W[0].push(X[0]),W[1].push(X[1]),W)},[[],[]])}},77(oe){"use strict";oe.exports=function ie(M,V){M.prototype=Object.create(V.prototype,{constructor:{value:M,enumerable:!1,writable:!0,configurable:!0}})}},512(oe){"use strict";oe.exports=function ie(M,V){return M.filter(function(G,U){return V.indexOf(G)>-1&&M.indexOf(G)===U})}},9(oe){"use strict";function ie(U){return"object"==typeof U&&null!==U?V(Array.isArray(U)?[]:{},U):U}function M(U){return"function"==typeof U||Array.isArray(U)||"[object Object]"===Object.prototype.toString.call(U)}function V(U,S){if(U===S)return U;for(var A in S)if(Object.prototype.hasOwnProperty.call(S,A)&&"__proto__"!==A&&"constructor"!==A){var N=S[A],W=U[A];typeof W<"u"&&typeof N>"u"||(U[A]=M(W)&&M(N)?V(W,N):ie(N))}return U}oe.exports=function G(U){M(U)||(U={});for(var S=1,A=arguments.length;S<A;S++){var N=arguments[S];M(N)&&V(U,N)}return U}},358(oe){"use strict";oe.exports=function ie(){return Array.prototype.slice.call(arguments).reduceRight(function(V,G){return Object.keys(Object(G)).forEach(function(U){var A=G[U];void 0!==A&&A>=("number"==typeof V[U]?V[U]:0)&&(void 0!==V[U]&&delete V[U],V[U]=A)}),V},{})}},856(oe){"use strict";oe.exports=function ie(M){return M&&Object.keys(M).length>0}},524(oe){"use strict";oe.exports=function ie(M,V){if(null===M)return{};var S,A,G={},U=Object.keys(M);for(A=0;A<U.length;A++)!(V.indexOf(S=U[A])>=0)&&(G[S]=M[S]);return G}},780(oe){"use strict";function ie(V,G){if(V!==G){var U=void 0!==V,S=null===V,A=void 0!==G,N=null===G;if(!N&&V>G||S&&A||!U)return 1;if(!S&&V<G||N&&U||!A)return-1}return 0}oe.exports=function M(V,G,U){if(!Array.isArray(V))return[];Array.isArray(U)||(U=[]);var S=V.map(function(A,N){return{criteria:G.map(function(W){return A[W]}),index:N,value:A}});return S.sort(function(N,W){for(var Y=-1;++Y<N.criteria.length;){var $=ie(N.criteria[Y],W.criteria[Y]);if($)return Y>=U.length?$:"desc"===U[Y]?-$:$}return N.index-W.index}),S.map(function(A){return A.value})}},846(oe){"use strict";oe.exports=function ie(M){if("number"==typeof M)return M;
vendor: 14,394 bytes, line 1
1if("string"==typeof M)return parseFloat(M);if(Array.isArray(M))return M.map(ie);throw new Error("The value should be a number, a parsable string or an array of those.")}},247(oe,ie,M){"use strict";var V=M(9);function G(S){return Object.keys(S).sort().reduce(function(A,N){return A[N]=S[N],A},{})}var U={_getQueries:function(A,N){var W=[];return W.push({indexName:A,params:U._getHitsSearchParams(N)}),N.getRefinedDisjunctiveFacets().forEach(function(Y){W.push({indexName:A,params:U._getDisjunctiveFacetSearchParams(N,Y)})}),N.getRefinedHierarchicalFacets().forEach(function(Y){var $=N.getHierarchicalFacetByName(Y),X=N.getHierarchicalRefinement(Y),z=N._getHierarchicalFacetSeparator($);if(X.length>0&&X[0].split(z).length>1){var ee=X[0].split(z).slice(0,-1).reduce(function(m,v,C){return m.concat({attribute:$.attributes[C],value:0===C?v:[m[m.length-1].value,v].join(z)})},[]);ee.forEach(function(P,m){var v=U._getDisjunctiveFacetSearchParams(N,P.attribute,0===m);function C(O){return $.attributes.some(function(k){return k===O.split(":")[0]})}var D=(v.facetFilters||[]).reduce(function(O,k){if(Array.isArray(k)){var F=k.filter(function(L){return!C(L)});F.length>0&&O.push(F)}return"string"==typeof k&&!C(k)&&O.push(k),O},[]),_=ee[m-1];m>0?v.facetFilters=D.concat(_.attribute+":"+_.value):D.length>0?v.facetFilters=D:delete v.facetFilters,W.push({indexName:A,params:v})})}}),W},_getCompositionQueries:function(A){return[{compositionID:A.index,requestBody:{params:U._getCompositionHitsSearchParams(A)}}]},_getHitsSearchParams:function(S){var A=S.facets.concat(S.disjunctiveFacets).concat(U._getHitsHierarchicalFacetsAttributes(S)).sort(),N=U._getFacetFilters(S),W=U._getNumericFilters(S),Y=U._getTagFilters(S),$={};return A.length>0&&($.facets=A.indexOf("*")>-1?["*"]:A),Y.length>0&&($.tagFilters=Y),N.length>0&&($.facetFilters=N),W.length>0&&($.numericFilters=W),G(V({},S.getQueryParams(),$))},_getCompositionHitsSearchParams:function(S){var A=S.facets.concat(S.disjunctiveFacets.map(function(z){return"disjunctive("+z+")"})).concat(U._getHitsHierarchicalFacetsAttributes(S)).sort(),N=U._getFacetFilters(S),W=U._getNumericFilters(S),Y=U._getTagFilters(S),$={};A.length>0&&($.facets=A.indexOf("*")>-1?["*"]:A),Y.length>0&&($.tagFilters=Y),N.length>0&&($.facetFilters=N),W.length>0&&($.numericFilters=W);var X=S.getQueryParams();return delete X.highlightPreTag,delete X.highlightPostTag,delete X.index,G(V({},X,$))},_getDisjunctiveFacetSearchParams:function(S,A,N){var W=U._getFacetFilters(S,A,N),Y=U._getNumericFilters(S,A),$=U._getTagFilters(S),X={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};$.length>0&&(X.tagFilters=$);var z=S.getHierarchicalFacetByName(A);return X.facets=z?U._getDisjunctiveHierarchicalFacetAttribute(S,z,N):A,Y.length>0&&(X.numericFilters=Y),W.length>0&&(X.facetFilters=W),G(V({},S.getQueryParams(),X))},_getNumericFilters:function(S,A){if(S.numericFilters)return S.numericFilters;var N=[];return Object.keys(S.numericRefinements).forEach(function(W){var Y=S.numericRefinements[W]||{};Object.keys(Y).forEach(function($){A!==W&&(Y[$]||[]).forEach(function(z){if(Array.isArray(z)){var ee=z.map(function(P){return W+$+P});N.push(ee)}else N.push(W+$+z)})})}),N},_getTagFilters:function(S){return S.tagFilters?S.tagFilters:S.tagRefinements.join(",")},_getFacetFilters:function(S,A,N){var W=[],Y=S.facetsRefinements||{};Object.keys(Y).sort().forEach(function(ee){(Y[ee]||[]).slice().sort().forEach(function(m){W.push(ee+":"+m)})});var $=S.facetsExcludes||{};Object.keys($).sort().forEach(function(ee){($[ee]||[]).sort().forEach(function(m){W.push(ee+":-"+m)})});var X=S.disjunctiveFacetsRefinements||{};Object.keys(X).sort().forEach(function(ee){var P=X[ee]||[];if(ee!==A&&P&&0!==P.length){var m=[];P.slice().sort().forEach(function(v){m.push(ee+":"+v)}),W.push(m)}});var z=S.hierarchicalFacetsRefinements||{};return Object.keys(z).sort().forEach(function(ee){var m=(z[ee]||[])[0];if(void 0!==m){var _,O,v=S.getHierarchicalFacetByName(ee),C=S._getHierarchicalFacetSeparator(v),D=S._getHierarchicalRootPath(v);if(A===ee){if(-1===m.indexOf(C)||!D&&!0===N||D&&D.split(C).length===m.split(C).length)return;D?(O=D.split(C).length-1,m=D):(O=m.split(C).length-2,m=m.slice(0,m.lastIndexOf(C))),_=v.attributes[O]}else O=m.split(C).length-1,_=v.attributes[O];_&&W.push([_+":"+m])}}),W},_getHitsHierarchicalFacetsAttributes:function(S){return S.hierarchicalFacets.reduce(function(W,Y){var $=S.getHierarchicalRefinement(Y.name)[0];if(!$)return W.push(Y.attributes[0]),W;var X=S._getHierarchicalFacetSeparator(Y),z=$.split(X).length,ee=Y.attributes.slice(0,z+1);return W.concat(ee)},[])},_getDisjunctiveHierarchicalFacetAttribute:function(S,A,N){var W=S._getHierarchicalFacetSeparator(A);if(!0===N){var Y=S._getHierarchicalRootPath(A),$=0;return Y&&($=Y.split(W).length),[A.attributes[$]]}var z=(S.getHierarchicalRefinement(A.name)[0]||"").split(W).length-1;return A.attributes.slice(0,z+1)},getSearchForFacetQuery:function(S,A,N,W){var Y=W.isDisjunctiveFacet(S)?W.clearRefinements(S):W,$={facetQuery:A,facetName:S};return"number"==typeof N&&($.maxFacetHits=N),G(V({},U._getHitsSearchParams(Y),$))}};oe.exports=U},799(oe){"use strict";oe.exports=function(M){return null!==M&&/^[a-zA-Z0-9_-]{1,64}$/.test(M)}},728(oe,ie,M){"use strict";var V=M(522),G=M(530);oe.exports=function S(A){var N={};return A.forEach(function($){$.forEach(function(X,z){N[X.objectID]=N[X.objectID]?{indexSum:N[X.objectID].indexSum+z,count:N[X.objectID].count+1}:{indexSum:z,count:1}})}),function U(A,N){var W=[];return Object.keys(A).forEach(function(Y){A[Y].count<2&&(A[Y].indexSum+=100),W.push({objectID:Y,avgOfIndices:A[Y].indexSum/N})}),W.sort(function(Y,$){return Y.avgOfIndices>$.avgOfIndices?1:-1})}(N,A.length).reduce(function($,X){var z=V(G(A),function(ee){return ee.objectID===X.objectID});return z?$.concat(z):$},[])}},455(oe){"use strict";oe.exports="3.24.1"},17(oe,ie){!function(M){var V=/\S/,G=/\"/g,U=/\n/g,S=/\r/g,A=/\\/g,N=/\u2028/,W=/\u2029/;function Y(I){"}"===I.n.substr(I.n.length-1)&&(I.n=I.n.substring(0,I.n.length-1))}function $(I){return I.trim?I.trim():I.replace(/^\s*|\s*$/g,"")}function X(I,T,E){if(T.charAt(E)!=I.charAt(0))return!1;for(var R=1,H=I.length;R<H;R++)if(T.charAt(E+R)!=I.charAt(R))return!1;return!0}M.tags={"#":1,"^":2,"<":3,$:4,"/":5,"!":6,">":7,"=":8,_v:9,"{":10,"&":11,_t:12},M.scan=function(T,E){var R=T.length,J=0,xe=null,Ve=null,Oe="",ve=[],Te=!1,te=0,ke=0,We="{{",Fe="}}";function rt(){Oe.length>0&&(ve.push({tag:"_t",text:new String(Oe)}),Oe="")}function ot(ht,ct){if(rt(),ht&&function un(){for(var ht=!0,ct=ke;ct<ve.length;ct++)if(!(ht=M.tags[ve[ct].tag]<M.tags._v||"_t"==ve[ct].tag&&null===ve[ct].text.match(V)))return!1;return ht}())for(var On,ln=ke;ln<ve.length;ln++)ve[ln].text&&((On=ve[ln+1])&&">"==On.tag&&(On.indent=ve[ln].text.toString()),ve.splice(ln,1));else ct||ve.push({tag:"\n"});Te=!1,ke=ve.length}function xt(ht,ct){var ln="="+Fe,On=ht.indexOf(ln,ct),or=$(ht.substring(ht.indexOf("=",ct)+1,On)).split(" ");return We=or[0],Fe=or[or.length-1],On+ln.length-1}for(E&&(E=E.split(" "),We=E[0],Fe=E[1]),te=0;te<R;te++)0==J?X(We,T,te)?(--te,rt(),J=1):"\n"==T.charAt(te)?ot(Te):Oe+=T.charAt(te):1==J?("="==(xe=(Ve=M.tags[T.charAt((te+=We.length-1)+1)])?T.charAt(te+1):"_v")?(te=xt(T,te),J=0):(Ve&&te++,J=2),Te=te):X(Fe,T,te)?(ve.push({tag:xe,n:$(Oe),otag:We,ctag:Fe,i:"/"==xe?Te-We.length:te+Fe.length}),Oe="",te+=Fe.length-1,J=0,"{"==xe&&("}}"==Fe?te++:Y(ve[ve.length-1]))):Oe+=T.charAt(te);return ot(Te,!0),ve};var z={_t:!0,"\n":!0,$:!0,"/":!0};function ee(I,T,E,R){var ne,H=[],Q=null,J=null;for(ne=E[E.length-1];I.length>0;){if(J=I.shift(),ne&&"<"==ne.tag&&!(J.tag in z))throw new Error("Illegal content in < super tag.");if(M.tags[J.tag]<=M.tags.$||P(J,R))E.push(J),J.nodes=ee(I,0,E,R);else{if("/"==J.tag){if(0===E.length)throw new Error("Closing tag without opener: /"+J.n);if(Q=E.pop(),J.n!=Q.n&&!m(J.n,Q.n,R))throw new Error("Nesting error: "+Q.n+" vs. "+J.n);return Q.end=J.i,H}"\n"==J.tag&&(J.last=0==I.length||"\n"==I[0].tag)}H.push(J)}if(E.length>0)throw new Error("missing closing tag: "+E.pop().n);return H}function P(I,T){for(var E=0,R=T.length;E<R;E++)if(T[E].o==I.n)return I.tag="#",!0}function m(I,T,E){for(var R=0,H=E.length;R<H;R++)if(E[R].c==I&&E[R].o==T)return!0}function C(I){var T=[];for(var E in I.partials)T.push('"'+_(E)+'":{name:"'+_(I.partials[E].name)+'", '+C(I.partials[E])+"}");return"partials: {"+T.join(",")+"}, subs: "+function v(I){var T=[];for(var E in I)T.push('"'+_(E)+'": function(c,p,t,i) {'+I[E]+"}");return"{ "+T.join(",")+" }"}(I.subs)}M.stringify=function(I,T,E){return"{code: function (c,p,i) { "+M.wrapMain(I.code)+" },"+C(I)+"}"};var D=0;function _(I){return I.replace(A,"\\\\").replace(G,'\\"').replace(U,"\\n").replace(S,"\\r").replace(N,"\\u2028").replace(W,"\\u2029")}function O(I){return~I.indexOf(".")?"d":"f"}function k(I,T){var R="<"+(T.prefix||"")+I.n+D++;return T.partials[R]={name:I.n,partials:{}},T.code+='t.b(t.rp("'+_(R)+'",c,p,"'+(I.indent||"")+'"));',R}function F(I,T){T.code+="t.b(t.t(t."+O(I.n)+'("'+_(I.n)+'",c,p,0)));'}function L(I){return"t.b("+I+");"}M.generate=function(I,T,E){D=0;var R={code:"",subs:{},partials:{}};return M.walk(I,R),E.asString?this.stringify(R,T,E):this.makeTemplate(R,T,E)},M.wrapMain=function(I){return'var t=this;t.b(i=i||"");'+I+"return t.fl();"},M.template=M.Template,M.makeTemplate=function(I,T,E){var R=this.makePartials(I);return R.code=new Function("c","p","i",this.wrapMain(I.code)),new this.template(R,T,this,E)},M.makePartials=function(I){var T,E={subs:{},partials:I.partials,name:I.name};for(T in E.partials)E.partials[T]=this.makePartials(E.partials[T]);for(T in I.subs)E.subs[T]=new Function("c","p","t","i",I.subs[T]);return E},M.codegen={"#":function(I,T){T.code+="if(t.s(t."+O(I.n)+'("'+_(I.n)+'",c,p,1),c,p,0,'+I.i+","+I.end+',"'+I.otag+" "+I.ctag+'")){t.rs(c,p,function(c,p,t){',M.walk(I.nodes,T),T.code+="});c.pop();}"},"^":function(I,T){T.code+="if(!t.s(t."+O(I.n)+'("'+_(I.n)+'",c,p,1),c,p,1,0,0,"")){',M.walk(I.nodes,T),T.code+="};"},">":k,"<":function(I,T){var E={partials:{},code:"",subs:{},inPartial:!0};M.walk(I.nodes,E);var R=T.partials[k(I,T)];R.subs=E.subs,R.partials=E.partials},$:function(I,T){var E={subs:{},code:"",partials:T.partials,prefix:I.n};M.walk(I.nodes,E),T.subs[I.n]=E.code,T.inPartial||(T.code+='t.sub("'+_(I.n)+'",c,p,i);')},"\n":function(I,T){T.code+=L('"\\n"'+(I.last?"":" + i"))},_v:function(I,T){T.code+="t.b(t.v(t."+O(I.n)+'("'+_(I.n)+'",c,p,0)));'},_t:function(I,T){T.code+=L('"'+_(I.text)+'"')},"{":F,"&":F},M.walk=function(I,T){for(var E,R=0,H=I.length;R<H;R++)(E=M.codegen[I[R].tag])&&E(I[R],T);return T},M.parse=function(I,T,E){return ee(I,0,[],(E=E||{}).sectionTags||[])},M.cache={},M.cacheKey=function(I,T){return[I,!!T.asString,!!T.disableLambda,T.delimiters,!!T.modelGet].join("||")},M.compile=function(I,T){var E=M.cacheKey(I,T=T||{}),R=this.cache[E];if(R){var H=R.partials;for(var Q in H)delete H[Q].instance;return R}return R=this.generate(this.parse(this.scan(I,T.delimiters),I,T),I,T),this.cache[E]=R}}(ie)},603(oe,ie,M){var V=M(17);V.Template=M(850).Template,V.template=V.Template,oe.exports=V},850(oe,ie){!function(V){function G(P,m,v){var C;return m&&"object"==typeof m&&(void 0!==m[P]?C=m[P]:v&&m.get&&"function"==typeof m.get&&(C=m.get(P))),C}V.Template=function(P,m,v,C){this.r=(P=P||{}).code||this.r,this.c=v,this.options=C||{},this.text=m||"",this.partials=P.partials||{},this.subs=P.subs||{},this.buf=""},V.Template.prototype={r:function(P,m,v){return""},v:function z(P){return P=X(P),$.test(P)?P.replace(S,"&").replace(A,"<").replace(N,">").replace(W,"'").replace(Y,"""):P},t:X,render:function(m,v,C){return this.ri([m],v||{},C)},ri:function(P,m,v){return this.r(P,m,v)},ep:function(P,m){var v=this.partials[P],C=m[v.name];if(v.instance&&v.base==C)return v.instance;if("string"==typeof C){if(!this.c)throw new Error("No compiler available.");C=this.c.compile(C,this.options)}if(!C)return null;if(this.partials[P].base=C,v.subs){for(key in m.stackText||(m.stackText={}),v.subs)m.stackText[key]||(m.stackText[key]=void 0!==this.activeSub&&m.stackText[this.activeSub]?m.stackText[this.activeSub]:this.text);C=function U(P,m,v,C,D,_){function O(){}function k(){}O.prototype=P,k.prototype=P.subs;var F,L=new O;for(F in L.subs=new k,L.subsText={},L.buf="",L.stackSubs=C=C||{},L.subsText=_,m)C[F]||(C[F]=m[F]);for(F in C)L.subs[F]=C[F];for(F in L.stackPartials=D=D||{},v)D[F]||(D[F]=v[F]);for(F in D)L.partials[F]=D[F];return L}(C,v.subs,v.partials,this.stackSubs,this.stackPartials,m.stackText)}return this.partials[P].instance=C,C},rp:function(P,m,v,C){var D=this.ep(P,v);return D?D.ri(m,v,C):""},rs:function(P,m,v){var C=P[P.length-1];if(ee(C))for(var D=0;D<C.length;D++)P.push(C[D]),v(P,m,this),P.pop();else v(P,m,this)},s:function(P,m,v,C,D,_,O){var k;return(!ee(P)||0!==P.length)&&("function"==typeof P&&(P=this.ms(P,m,v,C,D,_,O)),k=!!P,!C&&k&&m&&m.push("object"==typeof P?P:m[m.length-1]),k)},d:function(P,m,v,C){var D,_=P.split("."),O=this.f(_[0],m,v,C),k=this.options.modelGet,F=null;if("."===P&&ee(m[m.length-2]))O=m[m.length-1];else for(var L=1;L<_.length;L++)void 0!==(D=G(_[L],O,k))?(F=O,O=D):O="";return!(C&&!O)&&(!C&&"function"==typeof O&&(m.push(F),O=this.mv(O,m,v),m.pop()),O)},f:function(P,m,v,C){for(var D=!1,O=!1,k=this.options.modelGet,F=m.length-1;F>=0;F--)if(void 0!==(D=G(P,m[F],k))){O=!0;break}return O?(!C&&"function"==typeof D&&(D=this.mv(D,m,v)),D):!C&&""},ls:function(P,m,v,C,D){var _=this.options.delimiters;return this.options.delimiters=D,this.b(this.ct(X(P.call(m,C)),m,v)),this.options.delimiters=_,!1},ct:function(P,m,v){if(this.options.disableLambda)throw new Error("Lambda features disabled.");return this.c.compile(P,this.options).render(m,v)},b:function(P){this.buf+=P},fl:function(){var P=this.buf;return this.buf="",P},ms:function(P,m,v,C,D,_,O){var F=m[m.length-1],L=P.call(F);return"function"==typeof L?!!C||this.ls(L,F,v,(this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text).substring(D,_),O):L},mv:function(P,m,v){var C=m[m.length-1],D=P.call(C);return"function"==typeof D?this.ct(X(D.call(C)),C,v):D},sub:function(P,m,v,C){var D=this.subs[P];D&&(this.activeSub=P,D(m,v,this,C),this.activeSub=!1)}};var S=/&/g,A=/</g,N=/>/g,W=/\'/g,Y=/\"/g,$=/[&<>\"\']/;function X(P){return String(P??"")}var ee=Array.isArray||function(P){return"[object Array]"===Object.prototype.toString.call(P)}
1}(ie)},606(oe){"use strict";var ie=String.prototype.replace,M=/%20/g;oe.exports={default:"RFC3986",formatters:{RFC1738:function(G){return ie.call(G,M,"+")},RFC3986:function(G){return String(G)}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},898(oe,ie,M){"use strict";var V=M(303),G=M(449),U=M(606);oe.exports={formats:U,parse:G,stringify:V}},449(oe,ie,M){"use strict";var V=M(939),G=Object.prototype.hasOwnProperty,U=Array.isArray,S={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:V.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},A=function(P){return P.replace(/&#(\d+);/g,function(m,v){return String.fromCharCode(parseInt(v,10))})},N=function(P,m){return P&&"string"==typeof P&&m.comma&&P.indexOf(",")>-1?P.split(","):P},z=function(m,v,C,D){if(m){var _=C.allowDots?m.replace(/\.([^.[]+)/g,"[$1]"):m,k=/(\[[^[\]]*])/g,F=C.depth>0&&/(\[[^[\]]*])/.exec(_),L=F?_.slice(0,F.index):_,I=[];if(L){if(!C.plainObjects&&G.call(Object.prototype,L)&&!C.allowPrototypes)return;I[I.length]=L}for(var T=0;C.depth>0&&null!==(F=k.exec(_))&&T<C.depth;){if(T+=1,!C.plainObjects&&G.call(Object.prototype,F[1].slice(1,-1))&&!C.allowPrototypes)return;I[I.length]=F[1]}return F&&(I[I.length]="["+_.slice(F.index)+"]"),function(P,m,v,C){for(var D=C?m:N(m,v),_=P.length-1;_>=0;--_){var O,k=P[_];if("[]"===k&&v.parseArrays)O=[].concat(D);else{O=v.plainObjects?Object.create(null):{};var F="["===k.charAt(0)&&"]"===k.charAt(k.length-1)?k.slice(1,-1):k,L=parseInt(F,10);v.parseArrays||""!==F?!isNaN(L)&&k!==F&&String(L)===F&&L>=0&&v.parseArrays&&L<=v.arrayLimit?(O=[])[L]=D:"__proto__"!==F&&(O[F]=D):O={0:D}}D=O}return D}(I,v,C,D)}};oe.exports=function(P,m){var v=function(m){if(!m)return S;if(null!=m.decoder&&"function"!=typeof m.decoder)throw new TypeError("Decoder has to be a function.");if(typeof m.charset<"u"&&"utf-8"!==m.charset&&"iso-8859-1"!==m.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");return{allowDots:typeof m.allowDots>"u"?S.allowDots:!!m.allowDots,allowPrototypes:"boolean"==typeof m.allowPrototypes?m.allowPrototypes:S.allowPrototypes,arrayLimit:"number"==typeof m.arrayLimit?m.arrayLimit:S.arrayLimit,charset:typeof m.charset>"u"?S.charset:m.charset,charsetSentinel:"boolean"==typeof m.charsetSentinel?m.charsetSentinel:S.charsetSentinel,comma:"boolean"==typeof m.comma?m.comma:S.comma,decoder:"function"==typeof m.decoder?m.decoder:S.decoder,delimiter:"string"==typeof m.delimiter||V.isRegExp(m.delimiter)?m.delimiter:S.delimiter,depth:"number"==typeof m.depth||!1===m.depth?+m.depth:S.depth,ignoreQueryPrefix:!0===m.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof m.interpretNumericEntities?m.interpretNumericEntities:S.interpretNumericEntities,parameterLimit:"number"==typeof m.parameterLimit?m.parameterLimit:S.parameterLimit,parseArrays:!1!==m.parseArrays,plainObjects:"boolean"==typeof m.plainObjects?m.plainObjects:S.plainObjects,strictNullHandling:"boolean"==typeof m.strictNullHandling?m.strictNullHandling:S.strictNullHandling}}(m);if(""===P||null===P||typeof P>"u")return v.plainObjects?Object.create(null):{};for(var C="string"==typeof P?function(m,v){var F,C={},O=(v.ignoreQueryPrefix?m.replace(/^\?/,""):m).split(v.delimiter,v.parameterLimit===1/0?void 0:v.parameterLimit),k=-1,L=v.charset;if(v.charsetSentinel)for(F=0;F<O.length;++F)0===O[F].indexOf("utf8=")&&("utf8=%E2%9C%93"===O[F]?L="utf-8":"utf8=%26%2310003%3B"===O[F]&&(L="iso-8859-1"),k=F,F=O.length);for(F=0;F<O.length;++F)if(F!==k){var R,H,I=O[F],T=I.indexOf("]="),E=-1===T?I.indexOf("="):T+1;-1===E?(R=v.decoder(I,S.decoder,L,"key"),H=v.strictNullHandling?null:""):(R=v.decoder(I.slice(0,E),S.decoder,L,"key"),H=V.maybeMap(N(I.slice(E+1),v),function(Q){return v.decoder(Q,S.decoder,L,"value")})),H&&v.interpretNumericEntities&&"iso-8859-1"===L&&(H=A(H)),I.indexOf("[]=")>-1&&(H=U(H)?[H]:H),C[R]=G.call(C,R)?V.combine(C[R],H):H}return C}(P,v):P,D=v.plainObjects?Object.create(null):{},_=Object.keys(C),O=0;O<_.length;++O){var k=_[O],F=z(k,C[k],v,"string"==typeof P);D=V.merge(D,F,v)}return V.compact(D)}},303(oe,ie,M){"use strict";var V=M(939),G=M(606),U=Object.prototype.hasOwnProperty,S={brackets:function(C){return C+"[]"},comma:"comma",indices:function(C,D){return C+"["+D+"]"},repeat:function(C){return C}},A=Array.isArray,N=String.prototype.split,W=Array.prototype.push,Y=function(v,C){W.apply(v,A(C)?C:[C])},$=Date.prototype.toISOString,X=G.default,z={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:V.encode,encodeValuesOnly:!1,format:X,formatter:G.formatters[X],indices:!1,serializeDate:function(C){return $.call(C)},skipNulls:!1,strictNullHandling:!1},P=function v(C,D,_,O,k,F,L,I,T,E,R,H,Q,ne){var J=C;if("function"==typeof L?J=L(D,J):J instanceof Date?J=E(J):"comma"===_&&A(J)&&(J=V.maybeMap(J,function(ot){return ot instanceof Date?E(ot):ot})),null===J){if(O)return F&&!Q?F(D,z.encoder,ne,"key",R):D;J=""}if(function(C){return"string"==typeof C||"number"==typeof C||"boolean"==typeof C||"symbol"==typeof C||"bigint"==typeof C}(J)||V.isBuffer(J)){if(F){var xe=Q?D:F(D,z.encoder,ne,"key",R);if("comma"===_&&Q){for(var Ve=N.call(String(J),","),Oe="",ve=0;ve<Ve.length;++ve)Oe+=(0===ve?"":",")+H(F(Ve[ve],z.encoder,ne,"value",R));return[H(xe)+"="+Oe]}return[H(xe)+"="+H(F(J,z.encoder,ne,"value",R))]}return[H(D)+"="+H(String(J))]}var te,Te=[];
1if(typeof J>"u")return Te;if("comma"===_&&A(J))te=[{value:J.length>0?J.join(",")||null:void 0}];else if(A(L))te=L;else{var ke=Object.keys(J);te=I?ke.sort(I):ke}for(var We=0;We<te.length;++We){var Fe=te[We],rt="object"==typeof Fe&&typeof Fe.value<"u"?Fe.value:J[Fe];if(!k||null!==rt){var un=A(J)?"function"==typeof _?_(D,Fe):D:D+(T?"."+Fe:"["+Fe+"]");Y(Te,v(rt,un,_,O,k,F,L,I,T,E,R,H,Q,ne))}}return Te};oe.exports=function(v,C){var O,D=v,_=function(C){if(!C)return z;if(null!==C.encoder&&typeof C.encoder<"u"&&"function"!=typeof C.encoder)throw new TypeError("Encoder has to be a function.");var D=C.charset||z.charset;if(typeof C.charset<"u"&&"utf-8"!==C.charset&&"iso-8859-1"!==C.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var _=G.default;if(typeof C.format<"u"){if(!U.call(G.formatters,C.format))throw new TypeError("Unknown format option provided.");_=C.format}var O=G.formatters[_],k=z.filter;return("function"==typeof C.filter||A(C.filter))&&(k=C.filter),{addQueryPrefix:"boolean"==typeof C.addQueryPrefix?C.addQueryPrefix:z.addQueryPrefix,allowDots:typeof C.allowDots>"u"?z.allowDots:!!C.allowDots,charset:D,charsetSentinel:"boolean"==typeof C.charsetSentinel?C.charsetSentinel:z.charsetSentinel,delimiter:typeof C.delimiter>"u"?z.delimiter:C.delimiter,encode:"boolean"==typeof C.encode?C.encode:z.encode,encoder:"function"==typeof C.encoder?C.encoder:z.encoder,encodeValuesOnly:"boolean"==typeof C.encodeValuesOnly?C.encodeValuesOnly:z.encodeValuesOnly,filter:k,format:_,formatter:O,serializeDate:"function"==typeof C.serializeDate?C.serializeDate:z.serializeDate,skipNulls:"boolean"==typeof C.skipNulls?C.skipNulls:z.skipNulls,sort:"function"==typeof C.sort?C.sort:null,strictNullHandling:"boolean"==typeof C.strictNullHandling?C.strictNullHandling:z.strictNullHandling}}(C);"function"==typeof _.filter?D=(0,_.filter)("",D):A(_.filter)&&(O=_.filter);var F=[];if("object"!=typeof D||null===D)return"";var I=S[C&&C.arrayFormat in S?C.arrayFormat:C&&"indices"in C?C.indices?"indices":"repeat":"indices"];O||(O=Object.keys(D)),_.sort&&O.sort(_.sort);for(var T=0;T<O.length;++T){var E=O[T];_.skipNulls&&null===D[E]||Y(F,P(D[E],E,I,_.strictNullHandling,_.skipNulls,_.encode?_.encoder:null,_.filter,_.sort,_.allowDots,_.serializeDate,_.format,_.formatter,_.encodeValuesOnly,_.charset))}var R=F.join(_.delimiter),H=!0===_.addQueryPrefix?"?":"";return _.charsetSentinel&&(H+="iso-8859-1"===_.charset?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),R.length>0?H+R:""}},939(oe,ie,M){"use strict";var V=M(606),G=Object.prototype.hasOwnProperty,U=Array.isArray,S=function(){for(var C=[],D=0;D<256;++D)C[C.length]="%"+((D<16?"0":"")+D.toString(16)).toUpperCase();return C}(),N=function(D,_){for(var O=_&&_.plainObjects?Object.create(null):{},k=0;k<D.length;++k)typeof D[k]<"u"&&(O[k]=D[k]);return O};oe.exports={arrayToObject:N,assign:function(D,_){return Object.keys(_).reduce(function(O,k){return O[k]=_[k],O},D)},combine:function(D,_){return[].concat(D,_)},compact:function(D){for(var _=[{obj:{o:D},prop:"o"}],O=[],k=0;k<_.length;++k)for(var F=_[k],L=F.obj[F.prop],I=Object.keys(L),T=0;T<I.length;++T){var E=I[T],R=L[E];"object"==typeof R&&null!==R&&-1===O.indexOf(R)&&(_[_.length]={obj:L,prop:E},O[O.length]=R)}return function(D){for(;D.length>1;){var _=D.pop(),O=_.obj[_.prop];if(U(O)){for(var k=[],F=0;F<O.length;++F)typeof O[F]<"u"&&(k[k.length]=O[F]);_.obj[_.prop]=k}}}(_),D},decode:function(C,D,_){var O=C.replace(/\+/g," ");if("iso-8859-1"===_)return O.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(O)}catch{return O}},encode:function(D,_,O,k,F){if(0===D.length)return D;var L=D;if("symbol"==typeof D?L=Symbol.prototype.toString.call(D):"string"!=typeof D&&(L=String(D)),"iso-8859-1"===O)return escape(L).replace(/%u[0-9a-f]{4}/gi,function(R){return"%26%23"+parseInt(R.slice(2),16)+"%3B"});for(var I="",T=0;T<L.length;++T){var E=L.charCodeAt(T);45===E||46===E||95===E||126===E||E>=48&&E<=57||E>=65&&E<=90||E>=97&&E<=122||F===V.RFC1738&&(40===E||41===E)?I+=L.charAt(T):E<128?I+=S[E]:E<2048?I+=S[192|E>>6]+S[128|63&E]:E<55296||E>=57344?I+=S[224|E>>12]+S[128|E>>
16&63]+S[128|63&E]:(E=65536+((1023&E)<<10|1023&L.charCodeAt(T+=1)),I+=S[240|E>>18]+S[128|E>>12&63]+S[128|E>>6&63]+S[128|63&E])}return I},isBuffer:function(D){return!(!D||"object"!=typeof D||!(D.constructor&&D.constructor.isBuffer&&D.constructor.isBuffer(D)))},isRegExp:function(D){return"[object RegExp]"===Object.prototype.toString.call(D)},maybeMap:function(D,_){if(U(D)){for(var O=[],k=0;k<D.length;k+=1)O[O.length]=_(D[k]);return O}return _(D)},merge:function C(D,_,O){if(!_)return D;if("object"!=typeof _){if(U(D))D[D.length]=_;else{if(!D||"object"!=typeof D)return[D,_];(O&&(O.plainObjects||O.allowPrototypes)||!G.call(Object.prototype,_))&&(D[_]=!0)}return D}if(!D||"object"!=typeof D)return[D].concat(_);var k=D;return U(D)&&!U(_)&&(k=N(D,O)),U(D)&&U(_)?(_.forEach(function(F,L){if(G.call(D,L)){var I=D[L];I&&"object"==typeof I&&F&&"object"==typeof F?D[L]=C(I,F,O):D[D.length]=F}else D[L]=F}),D):Object.keys(_).reduce(function(F,L){var I=_[L];return F[L]=G.call(F,L)?C(F[L],I,O):I,F},k)}}}},oe=>{oe(oe.s=816)}]);"use strict";(self.webpackChunk_web_components_cs_sitewide_search_web=self.webpackChunk_web_components_cs_sitewide_search_web||[]).push([[461],{61(ke,Ce,ve){ve(935)},935(){var ke=Object.defineProperty,Ce=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,Ie=(t,e,a)=>e in t?ke(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,$e=(t,e)=>{for(var a in e||(e={}))Ye.call(e,a)&&Ie(t,a,e[a]);if(ge)for(var a of ge(e))gt.call(e,a)&&Ie(t,a,e[a]);return t},D=(t,e,a)=>(Ie(t,"symbol"!=typeof e?e+"":e,a),a),ce=globalThis;function te(t){return(ce.__Zone_symbol_prefix||"__zone_symbol__")+t}var be=Object.getOwnPropertyDescriptor,Me=Object.defineProperty,je=Object.getPrototypeOf,vt=Object.create,bt=Array.prototype.slice,Ae="addEventListener",He="removeEventListener",Fe=te(Ae),Ve=te(He),ue="true",he="false",Pe=te("");function xe(t,e){return Zone.current.wrap(t,e)}function Be(t,e,a,n,c){return Zone.current.scheduleMacroTask(t,e,a,n,c)}var A=te,De=typeof window<"u",Se=De?window:void 0,Y=De&&Se||globalThis;function Ge(t,e){for(let a=t.length-1;a>=0;a--)"function"==typeof t[a]&&(t[a]=xe(t[a],e+"_"+a));return t}function Ke(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&typeof t.set>"u")}var Je=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Oe=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"===Y.process.toString(),ze=!Oe&&!Je&&!(!De||!Se.HTMLElement),Qe=typeof Y.process<"u"&&"[object process]"===Y.process.toString()&&!Je&&!(!De||!Se.HTMLElement),Ne={},Rt=A("enable_beforeunload"),et=function(t){if(!(t=t||Y.event))return;let e=Ne[t.type];e||(e=Ne[t.type]=A("ON_PROPERTY"+t.type));const a=this||t.target||Y,n=a[e];let c;return ze&&a===Se&&"error"===t.type?(c=n&&n.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===c&&t.preventDefault()):(c=n&&n.apply(this,arguments),"beforeunload"===t.type&&Y[Rt]&&"string"==typeof c?t.returnValue=c:null!=c&&!c&&t.preventDefault()),c};function tt(t,e,a){let n=be(t,e);if(!n&&a&&be(a,e)&&(n={enumerable:!0,configurable:!0}),!n||!n.configurable)return;const c=A("on"+e+"patched");if(t.hasOwnProperty(c)&&t[c])return;delete n.writable,delete n.value;const l=n.get,v=n.set,d=e.slice(2);let y=Ne[d];y||(y=Ne[d]=A("ON_PROPERTY"+d)),n.set=function(R){let E=this;!E&&t===Y&&(E=Y),E&&("function"==typeof E[y]&&E.removeEventListener(d,et),v?.call(E,null),E[y]=R,"function"==typeof R&&E.addEventListener(d,et,!1))},n.get=function(){let R=this;if(!R&&t===Y&&(R=Y),!R)return null;const E=R[y];if(E)return E;if(l){let w=l.call(this);if(w)return n.set.call(this,w),"function"==typeof R.removeAttribute&&R.removeAttribute(e),w}return null},Me(t,e,n),t[c]=!0}function nt(t,e,a){if(e)for(let n=0;n<e.length;n++)tt(t,"on"+e[n],a);else{const n=[];for(const c in t)"on"==c.slice(0,2)&&n.push(c);for(let c=0;c<n.length;c++)tt(t,n[c],a)}}var re=A("originalInstance");function we(t){const e=Y[t];if(!e)return;Y[A(t)]=e,Y[t]=function(){const c=Ge(arguments,t);switch(c.length){case 0:this[re]=new e;break;case 1:this[re]=new e(c[0]);break;case 2:this[re]=new e(c[0],c[1]);break;case 3:this[re]=new e(c[0],c[1],c[2]);break;case 4:this[re]=new e(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},_e(Y[t],e);const a=new e(function(){});let n;for(n in a)"XMLHttpRequest"===t&&"responseBlob"===n||function(c){"function"==typeof a[c]?Y[t].prototype[c]=function(){return this[re][c].apply(this[re],arguments)}:Me(Y[t].prototype,c,{set:function(l){"function"==typeof l?(this[re][c]=xe(l,t+"."+c),_e(this[re][c],l)):this[re][c]=l},get:function(){return this[re][c]}})}(n);for(n in e)"prototype"!==n&&e.hasOwnProperty(n)&&(Y[t][n]=e[n])}function fe(t,e,a){let n=t;for(;n&&!n.hasOwnProperty(e);)n=je(n);!n&&t[e]&&(n=t);const c=A(e);let l=null;if(n&&(!(l=n[c])||!n.hasOwnProperty(c))&&(l=n[c]=n[e],Ke(n&&be(n,e)))){const d=a(l,c,e);n[e]=function(){return d(this,arguments)},_e(n[e],l)}return l}function St(t,e,a){let n=null;function c(l){const v=l.data;return v.args[v.cbIdx]=function(){l.invoke.apply(this,arguments)},n.apply(v.target,v.args),l}n=fe(t,e,l=>function(v,d){const y=a(v,d);return y.cbIdx>=0&&"function"==typeof d[y.cbIdx]?Be(y.name,d[y.cbIdx],y,c):l.apply(v,d)})}function _e(t,e){t[A("OriginalDelegate")]=e}function rt(t){return"function"==typeof t}function ot(t){return"number"==typeof t}var Ot={useG:!0},ne={},st={},it=new RegExp("^"+Pe+"(\\w+)(true|false)$"),ct=A("propagationStopped");function at(t,e){const a=(e?e(t):t)+he,n=(e?e(t):t)+ue,c=Pe+a,l=Pe+n;ne[t]={},ne[t][he]=c,ne[t][ue]=l}function Nt(t,e,a,n){const c=n&&n.add||Ae,l=n&&n.rm||He,v=n&&n.listeners||"eventListeners",d=n&&n.rmAll||"removeAllListeners",y=A(c),R="."+c+":",E="prependListener",w="."+E+":",I=function(m,_,x){if(m.isRemoved)return;const H=m.callback;let W;"object"==typeof H&&H.handleEvent&&(m.callback=p=>H.handleEvent(p),m.originalDelegate=H);try{m.invoke(m,_,[x])}catch(p){W=p}const B=m.options;
1return B&&"object"==typeof B&&B.once&&_[l].call(_,x.type,m.originalDelegate?m.originalDelegate:m.callback,B),W};function j(m,_,x){if(!(_=_||t.event))return;const H=m||_.target||t,W=H[ne[_.type][x?ue:he]];if(W){const B=[];if(1===W.length){const p=I(W[0],H,_);p&&B.push(p)}else{const p=W.slice();for(let q=0;q<p.length&&(!_||!0!==_[ct]);q++){const S=I(p[q],H,_);S&&B.push(S)}}if(1===B.length)throw B[0];for(let p=0;p<B.length;p++){const q=B[p];e.nativeScheduleMicroTask(()=>{throw q})}}}const K=function(m){return j(this,m,!1)},X=function(m){return j(this,m,!0)};function Q(m,_){if(!m)return!1;let x=!0;_&&void 0!==_.useG&&(x=_.useG);const H=_&&_.vh;let W=!0;_&&void 0!==_.chkDup&&(W=_.chkDup);let B=!1;_&&void 0!==_.rt&&(B=_.rt);let p=m;for(;p&&!p.hasOwnProperty(c);)p=je(p);if(!p&&m[c]&&(p=m),!p||p[y])return!1;const q=_&&_.eventNameToString,S={},C=p[y]=p[c],L=p[A(l)]=p[l],b=p[A(v)]=p[v],J=p[A(d)]=p[d];let ee;_&&_.prepend&&(ee=p[A(_.prepend)]=p[_.prepend]);const V=x?function(i){if(!S.isExisting)return C.call(S.target,S.eventName,S.capture?X:K,S.options)}:function(i){return C.call(S.target,S.eventName,i.invoke,S.options)},M=x?function(i){if(!i.isRemoved){const h=ne[i.eventName];let g;h&&(g=h[i.capture?ue:he]);const P=g&&i.target[g];if(P)for(let T=0;T<P.length;T++)if(P[T]===i){P.splice(T,1),i.isRemoved=!0,i.removeAbortListener&&(i.removeAbortListener(),i.removeAbortListener=null),0===P.length&&(i.allRemoved=!0,i.target[g]=null);break}}if(i.allRemoved)return L.call(i.target,i.eventName,i.capture?X:K,i.options)}:function(i){return L.call(i.target,i.eventName,i.invoke,i.options)},de=_?.diff||function(i,h){const g=typeof h;return"function"===g&&i.callback===h||"object"===g&&i.originalDelegate===h},Te=Zone[A("UNPATCHED_EVENTS")],oe=t[A("PASSIVE_EVENTS")],u=function(i,h,g,P,T=!1,O=!1){return function(){const N=this||t;let Z=arguments[0];_&&_.transferEventName&&(Z=_.transferEventName(Z));let z=arguments[1];if(!z)return i.apply(this,arguments);if(Oe&&"uncaughtException"===Z)return i.apply(this,arguments);let U=!1;if("function"!=typeof z){if(!z.handleEvent)return i.apply(this,arguments);U=!0}if(H&&!H(i,z,N,arguments))return;const Ee=!!oe&&-1!==oe.indexOf(Z),se=function f(i){if("object"==typeof i&&null!==i){const h=$e({},i);return i.signal&&(h.signal=i.signal),h}return i}(function G(i,h){return h?"boolean"==typeof i?{capture:i,passive:!0}:i?"object"==typeof i&&!1!==i.passive?(t=>Ce(t,ve({passive:!0})))($e({},i)):i:{passive:!0}:i}(arguments[2],Ee)),pe=se?.signal;if(pe?.aborted)return;if(Te)for(let le=0;le<Te.length;le++)if(Z===Te[le])return Ee?i.call(N,Z,z,se):i.apply(this,arguments);const We=!!se&&("boolean"==typeof se||se.capture),_t=!(!se||"object"!=typeof se)&&se.once,zt=Zone.current;let Xe=ne[Z];Xe||(at(Z,q),Xe=ne[Z]);const dt=Xe[We?ue:he];let Le,ye=N[dt],Tt=!1;if(ye){if(Tt=!0,W)for(let le=0;le<ye.length;le++)if(de(ye[le],z))return}else ye=N[dt]=[];const Et=N.constructor.name,pt=st[Et];pt&&(Le=pt[Z]),Le||(Le=Et+h+(q?q(Z):Z)),S.options=se,_t&&(S.options.once=!1),S.target=N,S.capture=We,S.eventName=Z,S.isExisting=Tt;const Re=x?Ot:void 0;Re&&(Re.taskData=S),pe&&(S.options.signal=void 0);const ie=zt.scheduleEventTask(Le,z,Re,g,P);if(pe){S.options.signal=pe;const le=()=>ie.zone.cancelTask(ie);i.call(pe,"abort",le,{once:!0}),ie.removeAbortListener=()=>pe.removeEventListener("abort",le)}return S.target=null,Re&&(Re.taskData=null),_t&&(S.options.once=!0),"boolean"!=typeof ie.options&&(ie.options=se),ie.target=N,ie.capture=We,ie.eventName=Z,U&&(ie.originalDelegate=z),O?ye.unshift(ie):ye.push(ie),T?N:void 0}};return p[c]=u(C,R,V,M,B),ee&&(p[E]=u(ee,w,function(i){return ee.call(S.target,S.eventName,i.invoke,S.options)},M,B,!0)),p[l]=function(){const i=this||t;let h=arguments[0];_&&_.transferEventName&&(h=_.transferEventName(h));const g=arguments[2],P=!!g&&("boolean"==typeof g||g.capture),T=arguments[1];if(!T)return L.apply(this,arguments);
1if(H&&!H(L,T,i,arguments))return;const O=ne[h];let N;O&&(N=O[P?ue:he]);const Z=N&&i[N];if(Z)for(let z=0;z<Z.length;z++){const U=Z[z];if(de(U,T))return Z.splice(z,1),U.isRemoved=!0,0!==Z.length||(U.allRemoved=!0,i[N]=null,P||"string"!=typeof h)||(i[Pe+"ON_PROPERTY"+h]=null),U.zone.cancelTask(U),B?i:void 0}return L.apply(this,arguments)},p[v]=function(){const i=this||t;let h=arguments[0];_&&_.transferEventName&&(h=_.transferEventName(h));const g=[],P=lt(i,q?q(h):h);for(let T=0;T<P.length;T++){const O=P[T];g.push(O.originalDelegate?O.originalDelegate:O.callback)}return g},p[d]=function(){const i=this||t;let h=arguments[0];if(h){_&&_.transferEventName&&(h=_.transferEventName(h));const g=ne[h];if(g){const O=i[g[he]],N=i[g[ue]];if(O){const Z=O.slice();for(let z=0;z<Z.length;z++){const U=Z[z];this[l].call(this,h,U.originalDelegate?U.originalDelegate:U.callback,U.options)}}if(N){const Z=N.slice();for(let z=0;z<Z.length;z++){const U=Z[z];this[l].call(this,h,U.originalDelegate?U.originalDelegate:U.callback,U.options)}}}}else{const g=Object.keys(i);for(let P=0;P<g.length;P++){const O=it.exec(g[P]);let N=O&&O[1];N&&"removeListener"!==N&&this[d].call(this,N)}this[d].call(this,"removeListener")}if(B)return this},_e(p[c],C),_e(p[l],L),J&&_e(p[d],J),b&&_e(p[v],b),!0}let $=[];for(let m=0;m<a.length;m++)$[m]=Q(a[m],n);return $}function lt(t,e){if(!e){const l=[];for(let v in t){const d=it.exec(v);let y=d&&d[1];if(y&&(!e||y===e)){const R=t[v];if(R)for(let E=0;E<R.length;E++)l.push(R[E])}}return l}let a=ne[e];a||(at(e),a=ne[e]);const n=t[a[he]],c=t[a[ue]];return n?c?n.concat(c):n.slice():c?c.slice():[]}function Zt(t,e){const a=t.Event;a&&a.prototype&&e.patchMethod(a.prototype,"stopImmediatePropagation",n=>function(c,l){c[ct]=!0,n&&n.apply(c,l)})}var Ze=A("zoneTask");function me(t,e,a,n){let c=null,l=null;a+=n;const v={};function d(R){const E=R.data;E.args[0]=function(){return R.invoke.apply(this,arguments)};const w=c.apply(t,E.args);return ot(w)?E.handleId=w:(E.handle=w,E.isRefreshable=rt(w.refresh)),R}function y(R){const{handle:E,handleId:w}=R.data;return l.call(t,E??w)}c=fe(t,e+=n,R=>function(E,w){var I;if(rt(w[0])){const j={isRefreshable:!1,isPeriodic:"Interval"===n,delay:"Timeout"===n||"Interval"===n?w[1]||0:void 0,args:w},K=w[0];w[0]=function(){try{return K.apply(this,arguments)}finally{const{handle:H,handleId:W,isPeriodic:B,isRefreshable:p}=j;!B&&!p&&(W?delete v[W]:H&&(H[Ze]=null))}};const X=Be(e,w[0],j,d,y);if(!X)return X;const{handleId:Q,handle:$,isRefreshable:m,isPeriodic:_}=X.data;if(Q)v[Q]=X;else if($&&($[Ze]=X,m&&!_)){const x=$.refresh;$.refresh=function(){const{zone:H,state:W}=X;return"notScheduled"===W?(X._state="scheduled",H._updateTaskCount(X,1)):"running"===W&&(X._state="scheduling"),x.call(this)}}return null!=(I=$??Q)?I:X}return R.apply(t,w)}),l=fe(t,a,R=>function(E,w){const I=w[0];let j;ot(I)?(j=v[I],delete v[I]):(j=I?.[Ze],j?I[Ze]=null:j=I),j?.type?j.cancelFn&&j.zone.cancelTask(j):R.apply(t,w)})}function ut(t,e,a){if(!a||0===a.length)return e;const n=a.filter(l=>l.target===t);if(0===n.length)return e;const c=n[0].ignoreProperties;return e.filter(l=>-1===c.indexOf(l))}function ht(t,e,a,n){t&&nt(t,ut(t,e,a),n)}function Ue(t){return Object.getOwnPropertyNames(t).filter(e=>e.startsWith("on")&&e.length>2).map(e=>e.substring(2))}function xt(t,e,a,n,c){const l=Zone.__symbol__(n);if(e[l])return;const v=e[l]=e[n];e[n]=function(d,y,R){return y&&y.prototype&&c.forEach(function(E){const w=`${a}.${n}::`+E,I=y.prototype;try{if(I.hasOwnProperty(E)){const j=t.ObjectGetOwnPropertyDescriptor(I,E);j&&j.value?(j.value=t.wrapWithCurrentZone(j.value,w),t._redefineProperty(y.prototype,E,j)):I[E]&&(I[E]=t.wrapWithCurrentZone(I[E],w))}else I[E]&&(I[E]=t.wrapWithCurrentZone(I[E],w))}catch{}}),v.call(e,d,y,R)},t.attachOriginToPatched(e[n],v)}var ft=function kt(){const e=globalThis,a=!0===e[te("forceDuplicateZoneCheck")];if(e.Zone&&(a||"function"!=typeof e.Zone.__symbol__))throw new Error("Zone already loaded.");return null!=e.Zone||(e.Zone=function yt(){const t=ce.performance;function e(F){t&&t.mark&&t.mark(F)}function a(F,s){t&&t.measure&&t.measure(F,s)}e("Zone");const n=class qe{constructor(s,o){D(this,"_parent"),D(this,"_name"),D(this,"_properties"),D(this,"_zoneDelegate"),this._parent=s,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,o)}static assertZonePatched(){if(ce.Promise!==C.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let s=qe.current;for(;s.parent;)s=s.parent;return s}static get current(){return b.zone}static get currentTask(){return J}static __load_patch(s,o,r=!1){if(C.hasOwnProperty(s)){const k=!0===ce[te("forceDuplicateZoneCheck")];if(!r&&k)throw Error("Already loaded patch: "+s)}else if(!ce["__Zone_disable_"+s]){const k="Zone:"+s;e(k),C[s]=o(ce,qe,L),a(k,k)}}get parent(){return this._parent}get name(){return this._name}get(s){const o=this.getZoneWith(s);if(o)return o._properties[s]}getZoneWith(s){let o=this;for(;o;){if(o._properties.hasOwnProperty(s))return o;o=o._parent}return null}fork(s){if(!s)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,s)}wrap(s,o){if("function"!=typeof s)throw new Error("Expecting function got: "+s);const r=this._zoneDelegate.intercept(this,s,o),k=this;return function(){return k.runGuarded(r,this,arguments,o)}}
1run(s,o,r,k){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,s,o,r,k)}finally{b=b.parent}}runGuarded(s,o=null,r,k){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,s,o,r,k)}catch(V){if(this._zoneDelegate.handleError(this,V))throw V}}finally{b=b.parent}}runTask(s,o,r){if(s.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(s.zone||$).name+"; Execution: "+this.name+")");const k=s,{type:V,data:{isPeriodic:M=!1,isRefreshable:ae=!1}={}}=s;if(s.state===m&&(V===S||V===q))return;const de=s.state!=H;de&&k._transitionTo(H,x);const Te=J;J=k,b={parent:b,zone:this};try{V==q&&s.data&&!M&&!ae&&(s.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,k,o,r)}catch(oe){if(this._zoneDelegate.handleError(this,oe))throw oe}}finally{const oe=s.state;if(oe!==m&&oe!==B)if(V==S||M||ae&&oe===_)de&&k._transitionTo(x,H,_);else{const f=k._zoneDelegates;this._updateTaskCount(k,-1),de&&k._transitionTo(m,H,m),ae&&(k._zoneDelegates=f)}b=b.parent,J=Te}}scheduleTask(s){if(s.zone&&s.zone!==this){let r=this;for(;r;){if(r===s.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${s.zone.name}`);r=r.parent}}s._transitionTo(_,m);const o=[];s._zoneDelegates=o,s._zone=this;try{s=this._zoneDelegate.scheduleTask(this,s)}catch(r){throw s._transitionTo(B,_,m),this._zoneDelegate.handleError(this,r),r}return s._zoneDelegates===o&&this._updateTaskCount(s,1),s.state==_&&s._transitionTo(x,_),s}scheduleMicroTask(s,o,r,k){return this.scheduleTask(new d(p,s,o,r,k,void 0))}scheduleMacroTask(s,o,r,k,V){return this.scheduleTask(new d(q,s,o,r,k,V))}scheduleEventTask(s,o,r,k,V){return this.scheduleTask(new d(S,s,o,r,k,V))}cancelTask(s){if(s.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(s.zone||$).name+"; Execution: "+this.name+")");if(s.state===x||s.state===H){s._transitionTo(W,x,H);try{this._zoneDelegate.cancelTask(this,s)}catch(o){throw s._transitionTo(B,W),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(s,-1),s._transitionTo(m,W),s.runCount=-1,s}}_updateTaskCount(s,o){const r=s._zoneDelegates;-1==o&&(s._zoneDelegates=null);for(let k=0;k<r.length;k++)r[k]._updateTaskCount(s.type,o)}};D(n,"__symbol__",te);let c=n;const l={name:"",onHasTask:(F,s,o,r)=>F.hasTask(o,r),onScheduleTask:(F,s,o,r)=>F.scheduleTask(o,r),onInvokeTask:(F,s,o,r,k,V)=>F.invokeTask(o,r,k,V),onCancelTask:(F,s,o,r)=>F.cancelTask(o,r)};class v{constructor(s,o,r){D(this,"_zone"),D(this,"_taskCounts",{microTask:0,macroTask:0,eventTask:0}),D(this,"_parentDelegate"),D(this,"_forkDlgt"),D(this,"_forkZS"),D(this,"_forkCurrZone"),D(this,"_interceptDlgt"),D(this,"_interceptZS"),D(this,"_interceptCurrZone"),D(this,"_invokeDlgt"),D(this,"_invokeZS"),D(this,"_invokeCurrZone"),D(this,"_handleErrorDlgt"),D(this,"_handleErrorZS"),D(this,"_handleErrorCurrZone"),D(this,"_scheduleTaskDlgt"),D(this,"_scheduleTaskZS"),D(this,"_scheduleTaskCurrZone"),D(this,"_invokeTaskDlgt"),D(this,"_invokeTaskZS"),D(this,"_invokeTaskCurrZone"),D(this,"_cancelTaskDlgt"),D(this,"_cancelTaskZS"),D(this,"_cancelTaskCurrZone"),D(this,"_hasTaskDlgt"),D(this,"_hasTaskDlgtOwner"),D(this,"_hasTaskZS"),D(this,"_hasTaskCurrZone"),this._zone=s,this._parentDelegate=o,this._forkZS=r&&(r&&r.onFork?r:o._forkZS),this._forkDlgt=r&&(r.onFork?o:o._forkDlgt),this._forkCurrZone=r&&(r.onFork?this._zone:o._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:o._interceptZS),this._interceptDlgt=r&&(r.onIntercept?o:o._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this._zone:o._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:o._invokeZS),this._invokeDlgt=r&&(r.onInvoke?o:o._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this._zone:o._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:o._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?o:o._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this._zone:o._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:o._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?o:o._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this._zone:o._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:o._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?o:o._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this._zone:o._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:o._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?o:o._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this._zone:o._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;
1const k=r&&r.onHasTask;(k||o&&o._hasTaskZS)&&(this._hasTaskZS=k?r:l,this._hasTaskDlgt=o,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,r.onScheduleTask||(this._scheduleTaskZS=l,this._scheduleTaskDlgt=o,this._scheduleTaskCurrZone=this._zone),r.onInvokeTask||(this._invokeTaskZS=l,this._invokeTaskDlgt=o,this._invokeTaskCurrZone=this._zone),r.onCancelTask||(this._cancelTaskZS=l,this._cancelTaskDlgt=o,this._cancelTaskCurrZone=this._zone))}get zone(){return this._zone}fork(s,o){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,s,o):new c(s,o)}intercept(s,o,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,s,o,r):o}invoke(s,o,r,k,V){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,s,o,r,k,V):o.apply(r,k)}handleError(s,o){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,s,o)}scheduleTask(s,o){let r=o;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,s,o),r||(r=o);else if(o.scheduleFn)o.scheduleFn(o);else{if(o.type!=p)throw new Error("Task is missing scheduleFn.");X(o)}return r}invokeTask(s,o,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,s,o,r,k):o.callback.apply(r,k)}cancelTask(s,o){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,s,o);else{if(!o.cancelFn)throw Error("Task is not cancelable");r=o.cancelFn(o)}return r}hasTask(s,o){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,s,o)}catch(r){this.handleError(s,r)}}_updateTaskCount(s,o){const r=this._taskCounts,k=r[s],V=r[s]=k+o;if(V<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=V||this.hasTask(this._zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:s})}}class d{constructor(s,o,r,k,V,M){if(D(this,"type"),D(this,"source"),D(this,"invoke"),D(this,"callback"),D(this,"data"),D(this,"scheduleFn"),D(this,"cancelFn"),D(this,"_zone",null),D(this,"runCount",0),D(this,"_zoneDelegates",null),D(this,"_state","notScheduled"),this.type=s,this.source=o,this.data=k,this.scheduleFn=V,this.cancelFn=M,!r)throw new Error("callback is not defined");this.callback=r;const ae=this;this.invoke=s===S&&k&&k.useG?d.invokeTask:function(){return d.invokeTask.call(ce,ae,this,arguments)}}static invokeTask(s,o,r){s||(s=this),ee++;try{return s.runCount++,s.zone.runTask(s,o,r)}finally{1==ee&&Q(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(m,_)}_transitionTo(s,o,r){if(this._state!==o&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${s}', expecting state '${o}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=s,s==m&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const y=te("setTimeout"),R=te("Promise"),E=te("then");let j,w=[],I=!1;function K(F){if(j||ce[R]&&(j=ce[R].resolve(0)),j){let s=j[E];s||(s=j.then),s.call(j,F)}else ce[y](F,0)}function X(F){0===ee&&0===w.length&&K(Q),F&&w.push(F)}function Q(){if(!I){for(I=!0;w.length;){const F=w;w=[];for(let s=0;s<F.length;s++){const o=F[s];try{o.zone.runTask(o,null,null)}catch(r){L.onUnhandledError(r)}}}L.microtaskDrainDone(),I=!1}}const $={name:"NO ZONE"},m="notScheduled",_="scheduling",x="scheduled",H="running",W="canceling",B="unknown",p="microTask",q="macroTask",S="eventTask",C={},L={symbol:te,currentZoneFrame:()=>b,onUnhandledError:G,microtaskDrainDone:G,scheduleMicroTask:X,showUncaughtError:()=>!c[te("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:G,patchMethod:()=>G,bindArguments:()=>[],patchThen:()=>G,patchMacroTask:()=>G,patchEventPrototype:()=>G,getGlobalObjects:()=>{},ObjectDefineProperty:()=>G,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>G,wrapWithCurrentZone:()=>G,filterProperties:()=>[],attachOriginToPatched:()=>G,_redefineProperty:()=>G,patchCallbacks:()=>G,nativeScheduleMicroTask:K};let b={parent:null,zone:new c(null,null)},J=null,ee=0;function G(){}return a("Zone","Zone"),c}()),e.Zone}();(function Gt(t){(function Ft(t){t.__load_patch("ZoneAwarePromise",(e,a,n)=>{const c=Object.getOwnPropertyDescriptor,l=Object.defineProperty,d=n.symbol,y=[],R=!1!==e[d("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],E=d("Promise"),w=d("then");n.onUnhandledError=f=>{if(n.showUncaughtError()){const u=f&&f.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(f)}},n.microtaskDrainDone=()=>{for(;y.length;){const f=y.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(u){K(u)}}};const j=d("unhandledPromiseRejectionHandler");function K(f){n.onUnhandledError(f);try{const u=a[j];"function"==typeof u&&u.call(this,f)}catch{}}function X(f){return f&&"function"==typeof f.then}function Q(f){return f}function $(f){return M.reject(f)}const m=d("state"),_=d("value"),x=d("finally"),H=d("parentPromiseValue"),W=d("parentPromiseState"),p=null,q=!0,S=!1;function L(f,u){return i=>{try{G(f,u,i)}catch(h){G(f,!1,h)}}}const b=function(){let f=!1;return function(i){return function(){f||(f=!0,i.apply(null,arguments))}}},J="Promise resolved with itself",ee=d("currentTaskTrace");function G(f,u,i){const h=b();if(f===i)throw new TypeError(J);if(f[m]===p){let g=null;try{("object"==typeof i||"function"==typeof i)&&(g=i&&i.then)}catch(P){return h(()=>{G(f,!1,P)})(),f}if(u!==S&&i instanceof M&&i.hasOwnProperty(m)&&i.hasOwnProperty(_)&&i[m]!==p)s(i),G(f,i[m],i[_]);else if(u!==S&&"function"==typeof g)try{g.call(i,h(L(f,u)),h(L(f,!1)))}catch(P){h(()=>{G(f,!1,P)})()}else{f[m]=u;const P=f[_];if(f[_]=i,f[x]===x&&u===q&&(f[m]=f[W],f[_]=f[H]),u===S&&i instanceof Error){const T=a.currentTask&&a.currentTask.data&&a.currentTask.data.__creationTrace__;T&&l(i,ee,{configurable:!0,enumerable:!1,writable:!0,value:T})}for(let T=0;T<P.length;)o(f,P[T++],P[T++],P[T++],P[T++]);if(0==P.length&&u==S){f[m]=0;let T=i;try{throw new Error("Uncaught (in promise): "+function v(f){return f&&f.toString===Object.prototype.toString?(f.constructor&&f.constructor.name||"")+": "+JSON.stringify(f):f?f.toString():Object.prototype.toString.call(f)}(i)+(i&&i.stack?"\n"+i.stack:""))}catch(O){T=O}R&&(T.throwOriginal=!0),T.rejection=i,T.promise=f,T.zone=a.current,T.task=a.currentTask,y.push(T),n.scheduleMicroTask()}}}return f}const F=d("rejectionHandledHandler");function s(f){if(0===f[m]){try{const u=a[F];u&&"function"==typeof u&&u.call(this,{rejection:f[_],promise:f})}catch{}f[m]=S;for(let u=0;u<y.length;u++)f===y[u].promise&&y.splice(u,1)}}function o(f,u,i,h,g){s(f);const P=f[m],T=P?"function"==typeof h?h:Q:"function"==typeof g?g:$;u.scheduleMicroTask("Promise.then",()=>{try{const O=f[_],N=!!i&&x===i[x];
1N&&(i[H]=O,i[W]=P);const Z=u.run(T,void 0,N&&T!==$&&T!==Q?[]:[O]);G(i,!0,Z)}catch(O){G(i,!1,O)}},i)}const k=function(){},V=e.AggregateError;class M{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return u instanceof M?u:G(new this(null),q,u)}static reject(u){return G(new this(null),S,u)}static withResolvers(){const u={};return u.promise=new M((i,h)=>{u.resolve=i,u.reject=h}),u}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new V([],"All promises were rejected"));const i=[];let h=0;try{for(let T of u)h++,i.push(M.resolve(T))}catch{return Promise.reject(new V([],"All promises were rejected"))}if(0===h)return Promise.reject(new V([],"All promises were rejected"));let g=!1;const P=[];return new M((T,O)=>{for(let N=0;N<i.length;N++)i[N].then(Z=>{g||(g=!0,T(Z))},Z=>{P.push(Z),h--,0===h&&(g=!0,O(new V(P,"All promises were rejected")))})})}static race(u){let i,h,g=new this((O,N)=>{i=O,h=N});function P(O){i(O)}function T(O){h(O)}for(let O of u)X(O)||(O=this.resolve(O)),O.then(P,T);return g}static all(u){return M.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof M?this:M).allWithCallback(u,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(u,i){let h,g,P=new this((Z,z)=>{h=Z,g=z}),T=2,O=0;const N=[];for(let Z of u){X(Z)||(Z=this.resolve(Z));const z=O;try{Z.then(U=>{N[z]=i?i.thenCallback(U):U,T--,0===T&&h(N)},U=>{i?(N[z]=i.errorCallback(U),T--,0===T&&h(N)):g(U)})}catch(U){g(U)}T++,O++}return T-=2,0===T&&h(N),P}constructor(u){const i=this;
1if(!(i instanceof M))throw new Error("Must be an instanceof Promise.");i[m]=p,i[_]=[];try{const h=b();u&&u(h(L(i,q)),h(L(i,S)))}catch(h){G(i,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return M}then(u,i){var h;let g=null==(h=this.constructor)?void 0:h[Symbol.species];(!g||"function"!=typeof g)&&(g=this.constructor||M);const P=new g(k),T=a.current;return this[m]==p?this[_].push(T,P,u,i):o(this,T,P,u,i),P}catch(u){return this.then(null,u)}finally(u){var i;let h=null==(i=this.constructor)?void 0:i[Symbol.species];(!h||"function"!=typeof h)&&(h=M);const g=new h(k);g[x]=x;const P=a.current;return this[m]==p?this[_].push(P,g,u,u):o(this,P,g,u,u),g}}M.resolve=M.resolve,M.reject=M.reject,M.race=M.race,M.all=M.all;const ae=e[E]=e.Promise;e.Promise=M;const de=d("thenPatched");function Te(f){const u=f.prototype,i=c(u,"then");if(i&&(!1===i.writable||!i.configurable))return;const h=u.then;u[w]=h,f.prototype.then=function(g,P){return new M((O,N)=>{h.call(this,O,N)}).then(g,P)},f[de]=!0}return n.patchThen=Te,ae&&(Te(ae),fe(e,"fetch",f=>function oe(f){return function(u,i){let h=f.apply(u,i);if(h instanceof M)return h;let g=h.constructor;return g[de]||Te(g),h}}(f))),Promise[a.__symbol__("uncaughtPromiseErrors")]=y,M})})(t),function Vt(t){t.__load_patch("toString",e=>{const a=Function.prototype.toString,n=A("OriginalDelegate"),c=A("Promise"),l=A("Error"),v=function(){if("function"==typeof this){const E=this[n];if(E)return"function"==typeof E?a.call(E):Object.prototype.toString.call(E);if(this===Promise){const w=e[c];if(w)return a.call(w)}if(this===Error){const w=e[l];if(w)return a.call(w)}}return a.call(this)};v[n]=a,Function.prototype.toString=v;const d=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":d.call(this)}})}(t),function Bt(t){t.__load_patch("util",(e,a,n)=>{const c=Ue(e);n.patchOnProperties=nt,n.patchMethod=fe,n.bindArguments=Ge,n.patchMacroTask=St;const l=a.__symbol__("BLACK_LISTED_EVENTS"),v=a.__symbol__("UNPATCHED_EVENTS");e[v]&&(e[l]=e[v]),e[l]&&(a[l]=a[v]=e[l]),n.patchEventPrototype=Zt,n.patchEventTarget=Nt,n.ObjectDefineProperty=Me,n.ObjectGetOwnPropertyDescriptor=be,n.ObjectCreate=vt,n.ArraySlice=bt,n.patchClass=we,n.wrapWithCurrentZone=xe,n.filterProperties=ut,n.attachOriginToPatched=_e,n._redefineProperty=Object.defineProperty,n.patchCallbacks=xt,n.getGlobalObjects=()=>({globalSources:st,zoneSymbolEventNames:ne,eventNames:c,isBrowser:ze,isMix:Qe,isNode:Oe,TRUE_STR:ue,FALSE_STR:he,ZONE_SYMBOL_PREFIX:Pe,ADD_EVENT_LISTENER_STR:Ae,REMOVE_EVENT_LISTENER_STR:He})})}(t)})(ft),function Ht(t){t.__load_patch("timers",e=>{const n="clear";me(e,"set",n,"Timeout"),me(e,"set",n,"Interval"),me(e,"set",n,"Immediate")}),t.__load_patch("requestAnimationFrame",e=>{me(e,"request","cancel","AnimationFrame"),me(e,"mozRequest","mozCancel","AnimationFrame"),me(e,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(e,a)=>{const n=["alert","prompt","confirm"];for(let c=0;c<n.length;c++)fe(e,n[c],(v,d,y)=>function(R,E){return a.current.run(v,e,E,y)})}),t.__load_patch("EventTarget",(e,a,n)=>{(function jt(t,e){e.patchEventPrototype(t,e)})(e,n),function Mt(t,e){if(Zone[e.symbol("patchEventTarget")])return;const{eventNames:a,zoneSymbolEventNames:n,TRUE_STR:c,FALSE_STR:l,ZONE_SYMBOL_PREFIX:v}=e.getGlobalObjects();for(let y=0;y<a.length;y++){const R=a[y],I=v+(R+l),j=v+(R+c);n[R]={},n[R][l]=I,n[R][c]=j}const d=t.EventTarget;d&&d.prototype&&e.patchEventTarget(t,e,[d&&d.prototype])}(e,n);const c=e.XMLHttpRequestEventTarget;c&&c.prototype&&n.patchEventTarget(e,n,[c.prototype])}),t.__load_patch("MutationObserver",(e,a,n)=>{we("MutationObserver"),we("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(e,a,n)=>{we("IntersectionObserver")}),t.__load_patch("FileReader",(e,a,n)=>{we("FileReader")}),t.__load_patch("on_property",(e,a,n)=>{!function At(t,e){if(Oe&&!Qe||Zone[t.symbol("patchEvents")])return;const a=e.__Zone_ignore_on_properties;let n=[];if(ze){const c=window;n=n.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]),ht(c,Ue(c),a,je(c))}n=n.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<n.length;c++){const l=e[n[c]];l?.prototype&&ht(l.prototype,Ue(l.prototype),a)}}(n,e)}),t.__load_patch("customElements",(e,a,n)=>{!function It(t,e){const{isBrowser:a,isMix:n}=e.getGlobalObjects();(a||n)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(e,n)}),t.__load_patch("XHR",(e,a)=>{!function R(E){const w=E.XMLHttpRequest;if(!w)return;const I=w.prototype;let K=I[Fe],X=I[Ve];if(!K){const C=E.XMLHttpRequestEventTarget;if(C){const L=C.prototype;K=L[Fe],X=L[Ve]}}const Q="readystatechange",$="scheduled";function m(C){const L=C.data,b=L.target;b[v]=!1,b[y]=!1;const J=b[l];K||(K=b[Fe],X=b[Ve]),J&&X.call(b,Q,J);const ee=b[l]=()=>
1{if(b.readyState===b.DONE)if(!L.aborted&&b[v]&&C.state===$){const F=b[a.__symbol__("loadfalse")];if(0!==b.status&&F&&F.length>0){const s=C.invoke;C.invoke=function(){const o=b[a.__symbol__("loadfalse")];for(let r=0;r<o.length;r++)o[r]===C&&o.splice(r,1);!L.aborted&&C.state===$&&s.call(C)},F.push(C)}else C.invoke()}else!L.aborted&&!1===b[v]&&(b[y]=!0)};return K.call(b,Q,ee),b[n]||(b[n]=C),q.apply(b,L.args),b[v]=!0,C}function _(){}function x(C){const L=C.data;return L.aborted=!0,S.apply(L.target,L.args)}const H=fe(I,"open",()=>function(C,L){return C[c]=0==L[2],C[d]=L[1],H.apply(C,L)}),B=A("fetchTaskAborting"),p=A("fetchTaskScheduling"),q=fe(I,"send",()=>function(C,L){if(!0===a.current[p]||C[c])return q.apply(C,L);{const b={target:C,url:C[d],isPeriodic:!1,args:L,aborted:!1},J=Be("XMLHttpRequest.send",_,b,m,x);C&&!0===C[y]&&!b.aborted&&J.state===$&&J.invoke()}}),S=fe(I,"abort",()=>function(C,L){const b=function j(C){return C[n]}(C);if(b&&"string"==typeof b.type){if(null==b.cancelFn||b.data&&b.data.aborted)return;b.zone.cancelTask(b)}else if(!0===a.current[B])return S.apply(C,L)})}(e);const n=A("xhrTask"),c=A("xhrSync"),l=A("xhrListener"),v=A("xhrScheduled"),d=A("xhrURL"),y=A("xhrErrorBeforeScheduled")}),t.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function wt(t,e){const a=t.constructor.name;for(let n=0;n<e.length;n++){const c=e[n],l=t[c];if(l){if(!Ke(be(t,c)))continue;t[c]=(d=>{const y=function(){return d.apply(this,Ge(arguments,a+"."+c))};return _e(y,d),y})(l)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(e,a)=>{function n(c){return function(l){lt(e,c).forEach(d=>{const y=e.PromiseRejectionEvent;if(y){const R=new y(c,{promise:l.promise,reason:l.rejection});d.invoke(R)}})}}e.PromiseRejectionEvent&&(a[A("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),a[A("rejectionHandledHandler")]=n("rejectionhandled"))}),t.__load_patch("queueMicrotask",(e,a,n)=>{!function Lt(t,e){e.patchMethod(t,"queueMicrotask",a=>function(n,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,n)})}(ft)}},ke=>{ke(ke.s=61)}]);(()=>{"use strict";var e,i={},b={};function a(e){var n=b[e];if(void 0!==n)return n.exports;var r=b[e]={exports:{}};return i[e](r,r.exports,a),r.exports}a.m=i,e=[],a.O=(n,r,l,o)=>{if(!r){var u=1/0;for(t=0;t<e.length;t++){for(var[r,l,o]=e[t],c=!0,f=0;f<r.length;f++)(!1&o||u>=o)&&Object.keys(a.O).every(p=>a.O[p](r[f]))?r.splice(f--,1):(c=!1,o<u&&(u=o));if(c){e.splice(t--,1);var _=l();void 0!==_&&(n=_)}}return n}o=o||0;for(var t=e.length;t>0&&e[t-1][2]>o;t--)e[t]=e[t-1];e[t]=[r,l,o]},a.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return a.d(n,{a:n}),n},a.d=(e,n)=>{for(var r in n)a.o(n,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},a.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),a.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={121:0};a.O.j=l=>0===e[l];var n=(l,o)=>{var f,_,[t,u,c]=o,s=0;if(t.some(v=>0!==e[v])){for(f in u)a.o(u,f)&&(a.m[f]=u[f]);if(c)var d=c(a)}for(l&&l(o);s<t.length;s++)a.o(e,_=t[s])&&e[_]&&e[_][0](),e[_]=0;return a.O(d)},r=self.webpackChunk_web_components_cs_sitewide_search_web=self.webpackChunk_web_components_cs_sitewide_search_web||[];r.forEach(n.bind(null,0)),r.push=n.bind(null,r.push.bind(r))})()})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.